Exposed AWS credentials stolen within minutes by Github hackers


GitHub has a unique security feature – it scans the code for exposed Amazon Web Services (AWS) keys (among other things) and if it finds them, it reports them to AWS which can act to prevent misuse – all within minutes.
However, it doesn’t work with 100% accuracy, and sometimes keys stay exposed for a bit longer. Some hackers managed to take advantage of that window of opportunity, grabbing the keys and creating Amazon Elastic Compute Cloud (EC2) instances.
They would later use those instances to mine the Monero cryptocurrency.
Mining Monero
The findings were published by Unit 42, the cybersecurity arm of Palo Alto Networks, whose researchers dubbed the cryptojacking campaign “EleKtra-Leak” and claim it took hackers only five minutes to grab the exposed keys.
In roughly a week of time, the attackers managed to generate at least 474 different miners, the researchers added.
“We believe the threat actor might be able to find exposed AWS keys that aren’t automatically detected by AWS and subsequently control these keys outside of the AWSCompromisedKeyQuarantine policy,” said William Gamazo and Nathaniel Quist, senior principal researcher and manager of cloud threat intelligence at Unit 42.
“According to our evidence, they likely did. In that case, the threat actor could proceed with the attack with no policy interfering with their malicious actions to steal resources from the victims.
“Even when GitHub and AWS are coordinated to implement a certain level of protection when AWS keys are leaked, not all cases are covered. We highly recommend that CI/CD security practices, like scanning repos on commit, should be implemented independently.”
After grabbing the keys, the crooks would analyze the account, looking for enabled regions. After that, they create security groups and launch as many EC2 instances as they can.
Monero is described as a “private” cryptocurrency, one that is almost impossible to track. That is why it’s one of the most popular choices among cybercriminals, especially those engaged in ransomware and cryptojacking. Now that most people understand how Bitcoin’s transparent ledger works, it’s not as popular among criminals (although it still ranks quite high).
Via TheRegister
More from TechRadar Pro
GitHub has a unique security feature – it scans the code for exposed Amazon Web Services (AWS) keys (among other things) and if it finds them, it reports them to AWS which can act to prevent misuse – all within minutes. However, it doesn’t work with 100% accuracy, and sometimes…
Recent Posts
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010