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
Matt Gonzales
Matt Gonzales
Mar 4, 2025
2 minute read
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.

Advertisement

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.

Matt Gonzales

Matt Gonzales is a technology journalist, editor, and content strategist with more than a decade of experience covering emerging technologies, enterprise IT, cybersecurity, artificial intelligence, and workplace innovation. As Managing Editor for eWeek and TechRepublic, he leads editorial strategy and newsroom operations while helping business and IT leaders navigate an evolving technology landscape. Throughout his career, Matt has held leadership roles overseeing content development, editorial planning, and newsroom operations across digital publications and enterprise media organizations. Before joining TechnologyAdvice, he served as an editor at SHRM, where he covered workplace trends and emerging technologies, and as Lead Writer and Editor for Marine Corps Systems Command, where he reported on defense technologies, innovation initiatives, and government technology programs. Matt's expertise spans cybersecurity, enterprise technology, AI, B2B software, technical writing, and digital publishing. He has reported on major technology developments, including the rapid evolution of generative AI, helping readers understand both the opportunities and risks associated with emerging technologies. His work combines deep research, editorial rigor, and practical business insights to make complex technical topics accessible to a broad audience. An award-winning journalist, Matt has earned recognition for excellence in reporting and editorial leadership. He holds a Bachelor of Science in Communication with a concentration in Journalism from East Carolina University and continues to focus on delivering trusted analysis and actionable insights for technology, cybersecurity, and business professionals.

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. © 2026 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.