Event type
GuardDuty Lambda Protection Finding Types
Threat detection for AWS Lambda functions
AWS GuardDuty Lambda Protection finding types detecting threats against AWS Lambda functions through network activity monitoring, including command and control communications, cryptocurrency mining, trojan activity, malicious IP access, and Tor network usage
Overview
What this event covers
Lambda Protection monitors network activity from AWS Lambda functions to detect malicious behavior including command and control communications, cryptocurrency mining, trojan activity, malicious IP access, and Tor network usage. Uses threat intelligence and network pattern analysis to identify suspicious Lambda function behavior.
When generated
- ›Lambda function queries IP address associated with known command and control server
- ›Lambda function queries IP address associated with cryptocurrency-related activity
- ›Lambda function exhibits blackhole traffic pattern
- ›Lambda function exhibits drop point trojan activity
- ›Lambda function makes connections to known malicious IP address (custom threat list)
- ›Lambda function makes connections to Tor Guard or Authority node
- ›Lambda function acts as Tor relay
Security relevance
HighCompliance
Frequency notes
Lambda Protection findings frequency depends on Lambda function network activity and threat landscape. Production environments typically see 5-30 findings per day. C&C and cryptocurrency findings are high-severity but lower frequency (2-15 per day). Trojan activity findings are medium-severity (5-20 per day). Malicious IP and Tor findings indicate active attacks (3-15 per day during attacks). All Lambda Protection findings have High default severity (8.0).
Resources
Docs and tools
Generation
Configuration
- Base frequency
- 20 events/hour
- Time patterns
- business_hours night_hours weekend
- Business hours
- 2.0x
- Night hours
- 1.5x
- Weekend
- 1.0x
Schema
Field definitions
Field reference for this event type — types, requirements, examples, and allowed values.
detail.type
Lambda Protection finding type indicating attack category and detection method
Source: random_choice() of 7 Lambda Protection finding types
Backdoor:Lambda/C&CActivity.B-
Backdoor:Lambda/C&CActivity.BLambda function querying IP associated with known C&C server (severity: High) -
CryptoCurrency:Lambda/BitcoinTool.BLambda function querying IP associated with cryptocurrency activity (severity: High) -
Trojan:Lambda/BlackholeTrafficLambda function blackhole traffic pattern detected (severity: High) -
Trojan:Lambda/DropPointLambda function drop point trojan activity detected (severity: High) -
UnauthorizedAccess:Lambda/MaliciousIPCaller.CustomLambda function making connections to known malicious IP (custom threat list) (severity: High) -
UnauthorizedAccess:Lambda/TorClientLambda function making connections to Tor Guard or Authority node (severity: High) -
UnauthorizedAccess:Lambda/TorRelayLambda function acting as Tor relay (severity: High)
detail.resource.resourceType
Type of resource (always Lambda for Lambda Protection findings)
Source: Fixed value: 'Lambda'
Lambda-
LambdaAWS Lambda function
detail.resource.lambdaDetails
Details about the Lambda function where activity was detected
Source: Lambda function metadata from GuardDuty
{functionArn, functionName, description, runtime, handler, role, vpcConfig}detail.resource.lambdaDetails.functionArn
Amazon Resource Name (ARN) of the Lambda function
Source: Lambda function ARN from GuardDuty
AWS Lambda function ARNarn:aws:lambda:us-east-1:123456789012:function:api-handlerdetail.resource.lambdaDetails.functionName
Name of the Lambda function
Source: Lambda function name from GuardDuty
Lambda function nameapi-handlerdetail.resource.lambdaDetails.runtime
Runtime environment for the Lambda function
Source: random_choice() of Lambda runtime environments
Lambda runtime identifierpython3.11-
python3.11Python 3.11 -
python3.12Python 3.12 -
nodejs20.xNode.js 20.x -
nodejs18.xNode.js 18.x -
java17Java 17 -
java21Java 21 -
go1.xGo 1.x -
ruby3.2Ruby 3.2 -
dotnet8.NET 8
detail.resource.lambdaDetails.handler
Lambda function handler (entry point)
Source: random_choice() of common Lambda handlers
Handler identifierindex.handlerdetail.resource.lambdaDetails.role
IAM role ARN used by the Lambda function
Source: Lambda execution role ARN
IAM role ARNarn:aws:iam::123456789012:role/lambda-execution-roledetail.resource.lambdaDetails.vpcConfig
VPC configuration for Lambda function (if function is in VPC)
Source: VPC configuration from Lambda function metadata
{vpcId, subnetIds, securityGroupIds}detail.service.action.actionType
Type of action that triggered the finding
Source: random_choice(['NETWORK_CONNECTION', 'DNS_REQUEST'])
NETWORK_CONNECTION-
NETWORK_CONNECTIONNetwork connection from Lambda function -
DNS_REQUESTDNS query from Lambda function
detail.service.action.networkConnectionAction.connectionDirection
Direction of network connection (usually OUTBOUND for Lambda)
Source: random_choice(['OUTBOUND', 'INBOUND'])
OUTBOUND-
OUTBOUNDLambda function initiated connection to remote host -
INBOUNDRemote host initiated connection to Lambda function (rare)
detail.service.action.networkConnectionAction.remoteIpDetails.ipAddressV4
Remote IP address that Lambda function connected to
Source: random_public_ip()
IPv4 address203.0.113.42detail.service.action.networkConnectionAction.remotePortDetails.port
Remote port number that Lambda function connected to
Source: random_choice() of common service ports
Integer (1-65535)443-
80HTTP -
443HTTPS -
8333Bitcoin P2P -
8332Bitcoin RPC -
4444Common backdoor port -
8080HTTP alternate
detail.service.action.networkConnectionAction.protocol
Network protocol used
Source: random_choice(['TCP', 'UDP'])
TCP-
TCPTransmission Control Protocol -
UDPUser Datagram Protocol
detail.service.action.dnsRequestAction.domain
Domain name queried by Lambda function (for DNS-based findings)
Source: random_choice() of test and malicious domains
Domain nameguarddutyc2activityb.comdetail.service.additionalInfo.threatListName
Name of threat intelligence list that matched
Source: random_choice() of threat intelligence list names
Threat list nameProofPoint-
ProofPointProofPoint threat intelligence feed -
Custom Threat ListCustom user-defined threat list (for MaliciousIPCaller.Custom) -
AWS Threat IntelligenceAWS managed threat intelligence -
Tor Exit NodesTor exit node list -
AmazonAmazon threat intelligence (includes Log4j-related threats)
detail.service.additionalInfo.threatName
Name of the specific threat identified
Source: random_choice() of threat names
Threat nameC&C Server-
C&C ServerCommand and control server -
Bitcoin MiningCryptocurrency mining activity -
Tor NetworkTor network node -
Log4j RelatedLog4j vulnerability exploitation -
Malicious DomainKnown malicious domain
detail.severity
Finding severity level (all Lambda Protection findings have High default severity)
Source: random_choice([8, 8, 8]) - default is High
8-
8High severity (7.0-8.9) - default for all Lambda Protection findings