2020-02-12 21:09:16 +00:00
title : AWS EC2 Download Userdata
2020-02-11 21:25:54 +00:00
id : 26ff4080-194e-47e7-9889-ef7602efed0c
status : experimental
2020-09-14 04:03:04 +00:00
description : Detects bulk downloading of User Data associated with AWS EC2 instances. Instance User Data may include installation scripts and hard-coded secrets for deployment.
2020-02-11 21:25:54 +00:00
author : faloker
date : 2020 /02/11
2020-09-03 14:16:47 +00:00
modified : 2020 /09/01
2020-02-11 21:25:54 +00:00
references :
2020-02-12 20:48:46 +00:00
- https://github.com/RhinoSecurityLabs/pacu/blob/master/modules/ec2__download_userdata/main.py#L24
2020-02-11 21:25:54 +00:00
logsource :
2020-02-12 20:48:46 +00:00
service : cloudtrail
2020-02-11 21:25:54 +00:00
detection :
2020-02-12 20:48:46 +00:00
selection_source :
- eventSource : ec2.amazonaws.com
selection_requesttype :
- requestParameters.attribute : userData
selection_eventname :
- eventName : DescribeInstanceAttribute
timeframe : 30m
condition : all of them | count() > 10
2020-02-11 21:25:54 +00:00
falsepositives :
- Assets management software like device42
2020-09-14 04:03:04 +00:00
level : medium
2020-02-11 21:25:54 +00:00
tags :
2020-09-03 14:16:47 +00:00
- attack.exfiltration
2020-02-12 20:48:46 +00:00
- attack.t1020