Skip to content

Commit 38be9eb

Browse files
author
Jason Brewer
committed
CRL-1646 , CRL-1697 - Making minor tweaks to excessive run instance detections (using ARN vs username) added -MLTK to labels. Added reference for Cloud Compute Instance Created With Previously Unseen Image to cloud_cryptomining.yml.
1 parent 12d6587 commit 38be9eb

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎baselines/train_ec2_excessive_runinstances.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ baseline:
66
cron_schedule: ''
77
earliest_time: -91d@d
88
latest_time: -1d@d
9-
search: >-
9+
search: >-
1010
sourcetype=aws:cloudtrail eventName=RunInstances errorCode=success `ec2_excessive_runinstances_mltk_input_filter`
1111
| bucket span=10m _time
12+
| rename arn AS userName
1213
| stats count as instances_launched by _time userName
1314
| fit DensityFunction instances_launched threshold=0.0005 into ec2_excessive_runinstances_v1
1415
creation_date: '2019-11-14'
@@ -50,7 +51,7 @@ maintainers:
5051
email: jbrewer@splunk.com
5152
name: Jason Brewer
5253
modification_date: '2019-11-14'
53-
name: Baseline of Excessive AWS Instances Launched by User
54+
name: Baseline of Excessive AWS Instances Launched by User - MLTK
5455
original_authors:
5556
- company: Splunk
5657
email: jbrewer@splunk.com

‎detections/ec2_excessive_runinstances_mltk.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
asset_type: AWS Instance
22
baselines:
33
- id: fa5634df-fb05-4b4b-aba0-6115138bb1ba
4-
name: Baseline of Excessive AWS Instances Launched by User
4+
name: Baseline of Excessive AWS Instances Launched by User - MLTK
55
type: splunk
66
confidence: medium
77
creation_date: '2019-11-14'
@@ -36,6 +36,7 @@ detect:
3636
search: >-
3737
sourcetype=aws:cloudtrail eventName=RunInstances errorCode=success `ec2_excessive_runinstances_mltk_input_filter`
3838
| bucket span=10m _time
39+
| rename arn AS userName
3940
| stats count as instances_launched by _time userName
4041
| apply ec2_excessive_runinstances_v1
4142
| rename "IsOutlier(instances_launched)" as isOutlier
@@ -95,7 +96,7 @@ mappings:
9596
- DE.DP
9697
- DE.AE
9798
modification_date: '2019-11-14'
98-
name: Abnormally High AWS Instances Launched by User
99+
name: Abnormally High AWS Instances Launched by User - MLTK
99100
original_authors:
100101
- company: Splunk
101102
email: jbrewer@splunk.com

‎stories/aws_ec2.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ detections:
2020
- detection_id: 22773e84-bac0-4595-b086-20d3f735b4f1
2121
name: EC2 Instance Started With Previously Unseen User
2222
type: splunk
23+
- detection_id: dec41ad5-d579-42cb-b4c6-f5dbb778bbe5
24+
name: Abnormally High AWS Instances Launched by User - MLTK
25+
type: splunk
2326
id: 2e8948a5-5239-406b-b56b-6c50f1268af3
2427
maintainers:
2528
- company: Splunk

‎stories/cloud_cryptomining.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ detections:
1313
- detection_id: c6ddbf53-9715-49f3-bb4c-fb2e8a309cda
1414
name: Cloud Compute Instance Created With Previously Unseen Instance Type
1515
type: splunk
16-
- detection_id: 8dbcf362-ae43-44ea-9084-77db4bed2c68
16+
- detection_id: bc24922d-987c-4645-b288-f8c73ec194c4
1717
name: Cloud Compute Instance Created With Previously Unseen Image
1818
type: splunk
1919
- detection_id: 76988f6a-3935-48f6-a9e5-6fca8b3ed843

0 commit comments

Comments
 (0)