Monday, October 5, 2026

HazyBeacon Campaign Abuses AWS for Stealthy C2 Communications

A newly documented cyber espionage operation known as HazyBeacon, tracked as CL-STA-1020, is leveraging Amazon Web Services (AWS) to build stealthy command-and-control (C2) channels that are difficult for defenders to detect.

The campaign primarily targets government networks in Southeast Asia and represents a growing shift toward cloud-native attack infrastructure.

This misconfiguration enables threat actors to create covert communication relays within trusted AWS environments, effectively masking malicious traffic as legitimate cloud activity.

Traditionally, C2 infrastructure resided on attacker-controlled servers hosted on virtual private servers or compromised websites. Security teams relied on IP reputation, domain intelligence, and blocking known malicious endpoints. However, cloud platforms have blurred these boundaries.

In the HazyBeacon campaign, attackers no longer rely on external infrastructure. Instead, they deploy malicious relay points directly inside legitimate AWS accounts using stolen Identity and Access Management (IAM) credentials.

The attack begins with credential compromise. Threat actors obtain exposed AWS access keys through public repositories, phishing campaigns, or malware harvesting local credential files.

These credentials are often long-lived and poorly managed, making them ideal for exploitation. Once access is gained, attackers validate permissions using low-noise API calls and identify whether they can create Lambda functions and configure public endpoints.

According to research published by Palo Alto Networks Unit 42 in July 2025, the attackers abuse AWS Lambda Function URLs configured with AuthType set to NONE, allowing unauthenticated public access.

HazyBeacon Campaign Abuses AWS

After validation, attackers deploy lightweight Lambda functions using standard AWS APIs. These functions are typically named to appear benign and are often placed in less-monitored regions.

The critical step is enabling a Function URL with AuthType set to NONE, which exposes the function as a public HTTPS endpoint without authentication.

The Lambda function then acts as a proxy between infected systems and the attacker’s backend infrastructure. Malware on a compromised endpoint sends encrypted HTTP requests to the Lambda URL hosted within AWS.

The function forwards the payload to the attacker-controlled server, receives instructions, and relays them back to the malware. This creates a “middleman” architecture where both the victim and the attacker appear to be communicating only with AWS infrastructure.

This approach significantly complicates detection and attribution. From a defender’s perspective, network traffic appears as normal HTTPS communication with trusted AWS domains ending in on.aws.

Meanwhile, the attacker’s backend sees traffic originating from AWS, further obscuring the true source. In many cases, the AWS account owner remains unaware until abnormal billing or abuse reports surface.

The malware itself operates as a lightweight and flexible framework. It performs system enumeration to collect host details, executes remote commands delivered through encrypted channels, and supports data exfiltration including documents and keystrokes.

The effectiveness of this campaign lies in the simplicity and legitimacy of the abused feature. AWS Lambda Function URLs, introduced in 2022, allow developers to expose serverless functions without complex configurations like API Gateway.

HTTPS relay inside AWS (Source : Qualys).
HTTPS relay inside AWS (Source : Qualys).

While useful, this feature creates a low-friction path for attackers to deploy public-facing infrastructure within seconds.

Security experts emphasize that this is not a vulnerability in AWS itself but a failure in identity and configuration management.

Organizations can reduce risk by enforcing strict IAM controls, rotating credentials regularly, enabling global CloudTrail logging, and monitoring VPC flow logs for anomalies.

Additionally, implementing Service Control Policies to restrict Lambda Function URL exposure and continuously auditing configurations can help prevent misuse.

The HazyBeacon campaign highlights a broader trend where attackers weaponize trusted cloud services to evade detection. As cloud adoption accelerates, visibility and identity governance are becoming critical pillars of enterprise security.

MITRE ATT&CK

TacticTechnique IDTechnique NameContext in HazyBeacon
Initial AccessT1078.004Valid Accounts Cloud AccountsUsage of stolen, static IAM Access Keys to enter the cloud environment.
ExecutionT1648Serverless ExecutionCreating new Lambda functions that persist independently of the compromised user session.
Defense EvasionT1564Hide ArtifactsDeploying in unused regions; using benign naming conventions (“BackupHandler”, “ImageResizer”).
Command & ControlT1102Web ServiceUsing AWS Lambda as the communication channel to blend with legitimate web traffic.
Command & ControlT1090ProxyThe Lambda function serves purely as a hop point to obscure the true destination.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Mayura Kathir
Mayura Kathirhttps://gbhackers.com/
Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

New RemoveMacAI Tool Removes Apple Intelligence Models and Reclaims Mac Storage

A new open-source command-line utility called RemoveMacAI lets Apple...

Apple Strengthens macOS Privacy Controls as AI Agents Become More Autonomous

Apple has announced plans to strengthen macOS controls for...

Google Gemini to Gain Full Computer Access With New Permission

Google is reportedly testing a new Gemini Desktop feature...

Critical libheif Vulnerability Could Enable Remote Code Execution Through WordPress Image Uploads

A critical heap-buffer-overflow vulnerability in libheif could allow authenticated...

Japanese Police Impersonation Scam Operation Dismantled as 16 Suspects Detained in Timor-Leste

Timor-Leste investigators have dismantled a suspected cross-border telecom fraud...

Denmark Confirms Major Security Incident Exposing 8.8 Million Citizen Records

Denmark has confirmed a serious cybersecurity incident involving unauthorized...

CISA Flags Citrix NetScaler Flaw Exploited in Ongoing Attacks

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has...

MediaTek Fixes 31 Security Flaws Affecting Modem, Video and AI Components

MediaTek has released its October 2026 Product Security Bulletin,...

Related Articles

Recent News