SHARE
Facebook X Pinterest WhatsApp

Misconfigured AWS Accounts Are Fueling Phishing Campaigns

Misconfigured AWS accounts are letting hackers hijack cloud services for phishing attacks. Learn how they do it — and how to protect your organization.

Written By
thumbnail Matt Gonzales
Matt Gonzales
Mar 4, 2025
eSecurity Planet content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Cybersecurity researchers have uncovered a campaign where threat actors exploit misconfigured Amazon Web Services (AWS) environments to send phishing emails.

The attackers, identified as TGR-UNK-0011, or JavaGhost, leverage exposed AWS credentials to gain access to cloud accounts and use legitimate services like Amazon Simple Email Service (SES) and WorkMail to distribute phishing messages.

How the attack works

The JavaGhost group, active since 2019, initially focused on website defacements before shifting to financially motivated phishing attacks in 2022. Their current tactics include:

  • Gaining access to AWS accounts using identify and access management (IAM) keys.
  • Using AWS CLI to generate temporary credentials and manipulate AWS services.
  • Setting up SES and WorkMail accounts to send phishing emails that appear legitimate.
  • Creating multiple IAM users, some of whom remain unused for potential future attacks.

By hijacking legitimate AWS resources, the attackers reduce operational costs and increase credibility, making their phishing emails more convincing.

JavaGhost’s distinctive footprint

According to researchers, one unique feature of JavaGhost’s activity is their “calling card” left in AWS environments. Security researchers have found:

  • EC2 security groups named “Java_Ghost” with the description “We Are There But Not Visible.”
  • Unused IAM users and security groups that are potentially responsible for long-term persistence.

These indicators are red flags for organizations looking to detect compromises in their AWS environments.

How organizations can avoid these attacks

To reduce the risk of AWS-based phishing attacks, companies can:

  • Regularly rotate and securely store access keys to prevent unauthorized use.
  • Enforce multifactor authentication to add an extra security layer.
  • Apply the principle of least privilege to restrict IAM permissions.
  • Monitor CloudTrail logs for unusual activities, such as unexpected IAM user creation.

JavaGhost’s evolution from simple website defacements to sophisticated phishing operations demonstrates how cybercriminals continuously adapt to exploit weaknesses in cloud security.

Companies can avoid these threats by:

  • Reviewing their AWS configurations.
  • Strengthening access controls.
  • Incorporating continuous security monitoring to reduce threats.

By proactively securing cloud environments, businesses can prevent their AWS accounts from becoming launchpads for cyberattacks.

thumbnail Matt Gonzales

Matt Gonzales is the Managing Editor of Cybersecurity for eSecurity Planet. An award-winning journalist and editor, Matt brings over a decade of expertise across diverse fields, including technology, cybersecurity, and military acquisition. He combines his editorial experience with a keen eye for industry trends, ensuring readers stay informed about the latest developments in cybersecurity.

Recommended for you...

Wormable Malware Compromises npm Supply Chain
Microsoft Disrupts Major Phishing Operation Targeting Microsoft 365
When Ads Attack: Inside the Growing Malvertising Threat
AI Penetration Testing Tools: How Villager Is Shaping the Next Wave of Offensive Security
eSecurity Planet Logo

eSecurity Planet is a leading resource for IT professionals at large enterprises who are actively researching cybersecurity vendors and latest trends. eSecurity Planet focuses on providing instruction for how to approach common security challenges, as well as informational deep-dives about advanced cybersecurity topics.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.