Aws Updatelambdafunctioncode
Description
Manual generation of attack data by updating a lambda function
MITRE ATT&CK Techniques
| ID | Technique | Tactic |
|---|---|---|
| T1204 | User Execution | Execution |
Environment Details
| Field | Value |
|---|---|
| Environment | attack_range |
| Directory | aws_updatelambdafunctioncode |
| Test Date | 2022-02-28 |
Datasets
The following datasets were collected during this attack simulation:
Aws_cloudtrail_events-Json
- Path:
/datasets/attack_techniques/T1204/aws_updatelambdafunctioncode/aws_cloudtrail_events.json - Sourcetype:
aws:cloudtrail - Source:
aws_cloudtrail
Related Detections
The following detections in our security content repository use this attack data for testing:
| Detection Name | Type | Source | MITRE ATT&CK | Analytic Story |
|---|---|---|---|---|
| AWS Lambda UpdateFunctionCode | Hunting |
Cloud | T1204 | Suspicious Cloud User Activities |
Usage Instructions
Replay with Splunk Attack Data
Replay attack data with replay.py from Splunk Attack Data.
1python replay.py --dataset /datasets/attack_techniques/T1204/aws_updatelambdafunctioncode/aws_cloudtrail_events.json --index attack_data
Manual Import
- Download the dataset files from the paths listed above
- Configure your Splunk instance with the appropriate sourcetypes
- Import the logs using the Splunk Add Data wizard
Related Content
Find more detections and analytics for this attack technique in our security content repository.
Source: GitHub | Version: 1.0