More than 17,000 web domains have been infected with digital skimming code caused by the scanning of misconfigured Amazon S3 buckets.
RiskIQ’s Yonathan Klijnsma explained that the campaign started in early April 2019, and by May, there were reports of thousands of websites being infected.
Due to the misconfigurations, Amazon S3 buckets are “un-secure”, allowing anyone with an Amazon Web Services account to read or write content to them.
According to RiskIQ data, the hacking group had compromised a large amount of S3 buckets, impacting over 17,000 domains, including websites in the top 2,000 of Alexa rankings.
However due to the nature of the attack, many of the compromised scripts do not load payment pages.
“Perhaps most importantly, the widespread nature of this attack illustrates just how easy it is to compromise a vast quantity of websites at once with scripts stored in misconfigured S3 buckets.
“Without greater awareness and an increased effort to implement the security controls needed to protect the content stored in these buckets from theft or alteration by malicious attackers, there will be more—and more impactful— attacks using techniques similar to the ones outlined in this blog.”
Klijnsma has recommended organisations improve security controls to S3 buckets by using a whitelisting approach; rather than listing who shouldn’t have access, list who should have access.
Additionally Klijnsma recommended organisations to limit those with write permissions;
“Never give write permissions to everyone. The cause of the thousands of Magecart compromises we are now observing from S3 buckets is administrators setting the access control to allow anyone to write content to buckets. Even if your bucket has information that anyone can access, it does not mean everyone should be able to modify the content.”
Finally, Klijnsma recommended administrators block public access to prevent anyone in their account from opening a bucket to the public, regardless of the S3 bucket policy.
Join our free-to-attend digital event, Last Thursday in Privacy, addressing data protection, privacy and security challenges including working from home, COVID-19, global regulations and more. Visit https://digital.privsec.info/.
We have been awarded the number 1 GDPR Blog in 2019 by Feedspot.
Privacy Culture: Data Privacy and Information Security Consulting, Culture & Behaviour, Training, and GDPR maturity, covered. https://www.privacyculture.com/