Skip to main content
Mallory
← Back to News
cryptocurrency-platform-riskcommand-and-control-methoddefense-evasion-methodcredential-access-method

Denonia Malware Targets AWS Lambda With Cloud-Specific Crypto Mining

Emerging Technology Risk · 2 sources · Updated 4mo ago · First seen Feb 25, 2022

Denonia Malware Targets AWS Lambda With Cloud-Specific Crypto Mining

Researchers identified Denonia, a Go-based 64-bit ELF malware strain described as the first known malware observed targeting AWS Lambda in the wild. The binary masquerades as python and contains a customized version of the XMRig cryptocurrency miner, indicating the operators aimed to hijack serverless compute resources for illicit mining rather than exploit a flaw in Amazon's platform itself.

Analysis found that Denonia checks for AWS Lambda environment variables before running and uses DNS over HTTPS to contact its command-and-control domain, gw.denonia[.]xyz, helping it evade traditional network monitoring and controls. Investigators said the initial access vector remains unknown but likely involved compromised AWS credentials instead of an AWS vulnerability, while Amazon stated that Lambda is secure by default and that the malware does not abuse any weakness in Lambda or other AWS services.

Why it matters

Impact assessment

Denonia affects organizations running AWS Lambda workloads and, secondarily, Linux environments where the binary can execute. The immediate impact is unauthorized consumption of cloud compute for cryptocurrency mining, which can drive direct financial loss, service degradation, and account abuse rather than data theft from an AWS platform flaw.

This appears targeted at cloud accounts with compromised AWS credentials rather than a widespread platform vulnerability. There is confirmed in-the-wild activity, but the reporting indicates opportunistic abuse of exposed or stolen credentials and serverless resources, with potential for broader cloud-focused tradecraft in future campaigns.

Supporting details

  • Affected environment: AWS Lambda serverless functions.
  • Secondary affected environment: standard Linux servers, based on researcher testing.
  • Impact type: illicit cryptomining using hijacked compute resources.
  • Likely business effects: increased AWS spend, resource exhaustion, degraded application performance, operational disruption, and reputational impact from cloud account compromise.
  • Scope: targeted abuse of specific AWS accounts, not exploitation of an AWS service vulnerability.
  • Exploitation status: observed in the wild.
  • Vendor position: Amazon stated Lambda is secure by default and the malware does not exploit a weakness in Lambda or other AWS services.

Structured facts

  • Malware family: Denonia
  • Cloud platform targeted: AWS Lambda
  • Operating system / format: 64-bit ELF
  • Language: Go
  • Embedded capability: customized XMRig miner
  • Suspected access method: compromised AWS Access Keys and Secret Keys
  • Known incidents: at least two samples identified on VirusTotal
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Jan 3, 2022 – Feb 25, 2022
  1. Reported Apr 7, 20225y ago

    Amazon says Denonia did not exploit an AWS weakness

    Amazon stated that Lambda remained secure by default and that the malware did not exploit any weakness in Lambda or other AWS services. The company said the activity instead relied on fraudulently obtained account credentials.

    First Malware Targeting AWS Lambda Serverless Platform Discovered
  2. Reported Apr 7, 20225y ago

    Researchers identify Denonia targeting AWS Lambda

    Cado Labs discovered and analyzed Denonia, describing it as the first malware observed in the wild targeting Amazon Web Services' Lambda serverless platform. The malware used DNS over HTTPS for command-and-control traffic and appeared likely to rely on compromised AWS credentials rather than an AWS vulnerability.

    First Malware Targeting AWS Lambda Serverless Platform Discovered
  3. Feb 25, 20225y ago

    Denonia sample uploaded to VirusTotal as "python"

    A 64-bit ELF Denonia sample masquerading as "python" was uploaded to VirusTotal. The Go-based malware contained a customized XMRig cryptocurrency miner and checked for AWS Lambda environment variables before execution.

    First Malware Targeting AWS Lambda Serverless Platform Discovered
  4. Jan 3, 20225y ago

    Second Denonia sample uploaded to VirusTotal

    A Denonia sample named "bc50541af8fe6239f0faa7c57a44d119.virus" was uploaded to VirusTotal. Researchers later linked it to the malware family targeting AWS Lambda.

    First Malware Targeting AWS Lambda Serverless Platform Discovered
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

1 linked
Aws-Lambda

Organizations

1 linked
Amazon Web Services

Observables

2 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.