Denonia Malware Targets AWS Lambda With Cloud-Specific Crypto Mining
Emerging Technology Risk · 2 sources · Updated 4mo ago · First seen Feb 25, 2022

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


