/
crowdstrike_detection_passthrough.yml
180 lines (180 loc) · 8.38 KB
/
crowdstrike_detection_passthrough.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
AnalysisType: rule
Filename: crowdstrike_detection_passthrough.py
RuleID: "Crowdstrike.Detection.passthrough"
DisplayName: "Crowdstrike Detection Passthrough"
Enabled: true
Severity: Medium
LogTypes:
- Crowdstrike.DetectionSummary
- Crowdstrike.FDREvent
Tags:
- Crowdstrike
Description: Crowdstrike Falcon has detected malicious activity on a host.
Runbook: Follow the Falcon console link and follow the IR process as needed.
Reference: https://www.crowdstrike.com/blog/tech-center/hunt-threat-activity-falcon-endpoint-protection/
DedupPeriodMinutes: 0
SummaryAttributes:
- p_any_ip_addresses
Tests:
- Name: Low Severity Finding
ExpectedResult: true
Log:
{
"cid": "11111111111111111111111111111111",
"Technique": "PUP",
"ProcessId": 377077835340488700,
"AgentIdString": "00000000000000000000000000000000",
"DetectName": "NGAV",
"ComputerName": "macbook",
"ProcessStartTime": "2021-09-18 20:38:51Z",
"GrandparentCommandLine": "/sbin/launchd",
"MACAddress": "aa-00-00-00-00-00",
"CommandLine": "/Applications/app.app/Contents/MacOS/pup app",
"Objective": "Falcon Detection Method",
"Nonce": 1,
"SHA256String": "3333333333333333333333333333333333333333333333333333333333333333",
"ExternalApiType": "Event_DetectionSummaryEvent",
"PatternDispositionValue": 2176,
"DetectId": "ldt:00000000000000000000000000000000:222222222222222222",
"Severity": 2,
"PatternDispositionDescription": "Prevention/Quarantine, process was blocked from execution and quarantine was attempted.",
"SeverityName": "Low",
"MD5String": "33333333333333333333333333333333",
"EventUUID": "33333333333333333333333333333333",
"UserName": "bobert",
"FilePath": "/Applications/app.app/Contents/MacOS/",
"timestamp": "2021-09-18 20:38:52Z",
"ParentCommandLine": "/usr/libexec/runningboardd",
"DetectDescription": "This file is classified as Adware/PUP based on its SHA256 hash.",
"LocalIP": "192.168.1.1",
"ProcessEndTime": "1970-01-01 00:00:00Z",
"SHA1String": "0000000000000000000000000000000000000000",
"OriginSourceIpAddress": "",
"GrandparentImageFileName": "/sbin/launchd",
"MachineDomain": "",
"ParentImageFileName": "/usr/libexec/runningboardd",
"FalconHostLink": "https://falcon.us-2.crowdstrike.com/activity/detections/detail/00000000000000000000000000000000/222222222222222222?",
"UTCTimestamp": "2021-09-18 20:38:52Z",
"FileName": "pup app",
"ParentProcessId": 376330001421757630,
"EventType": "Event_ExternalApiEvent",
"CustomerIdString": "11111111111111111111111111111111",
"Tactic": "Malware",
"SensorId": "00000000000000000000000000000000",
"eid": 118,
"PatternDispositionFlags": "{\n \"BlockingUnsupportedOrDisabled\": false,\n \"BootupSafeguardEnabled\": false,\n \"CriticalProcessDisabled\": false,\n \"Detect\": false,\n \"FsOperationBlocked\": false,\n \"HandleOperationDowngraded\": false,\n \"InddetMask\": false,\n \"Indicator\": false,\n \"KillActionFailed\": false,\n \"KillParent\": false,\n \"KillProcess\": false,\n \"KillSubProcess\": false,\n \"OperationBlocked\": false,\n \"PolicyDisabled\": false,\n \"ProcessBlocked\": true,\n \"QuarantineFile\": true,\n \"QuarantineMachine\": false,\n \"RegistryOperationBlocked\": false,\n \"Rooting\": false,\n \"SensorOnly\": false,\n \"SuspendParent\": false,\n \"SuspendProcess\": false\n}",
}
- Name: Low Severity Finding (FDREvent)
ExpectedResult: true
Log:
{
"aid": "fa6a04a7f18d473fa06771b4961aa3d9",
"cid": "712bcd164963442ea43d52917cecdecc",
"ComputerName": "hostname.lan",
"event":
{
"AgentIdString": "fa6a04a7f18d473fa06771b4961aa3d9",
"CommandLine": "/bin/echo CROWDSTRIKE_SAMPLE_DETECTION",
"ComputerName": "hostname.lan",
"CustomerIdString": "712bcd164963442ea43d52917cecdecc",
"DetectDescription": "Non-malicious sample detection generated for evaluation purposes.",
"DetectId": "ldt:fa6a04a7f18d473fa06771b4961aa3d9:346037607921826886",
"DetectName": "Suspicious Activity",
"EventType": "Event_ExternalApiEvent",
"EventUUID": "4624ba0c46c8405ea4998a0df7a5fa53",
"ExternalApiType": "Event_DetectionSummaryEvent",
"FalconHostLink": "https://falcon.us-2.crowdstrike.com/activity/detections/detail/00000000000000000000000000000000/222222222222222222?",
"FileName": "echo",
"FilePath": "/bin/",
"GrandparentCommandLine": "-bash",
"GrandparentImageFileName": "/bin/bash",
"LocalIP": "192.168.86.255",
"MACAddress": "a4-83-e7-19-28-8b",
"MD5String": "2153a89b0a91c38f152acbefafd69b99",
"MachineDomain": "",
"Nonce": 1,
"Objective": "N/A",
"OriginSourceIpAddress": "",
"ParentCommandLine": "bash",
"ParentImageFileName": "/bin/bash",
"ParentProcessId": 346017374056168100,
"PatternDispositionDescription": "Detection, standard detection.",
"PatternDispositionFlags":
{
"BootupSafeguardEnabled": false,
"CriticalProcessDisabled": false,
"Detect": false,
"FsOperationBlocked": false,
"InddetMask": false,
"Indicator": false,
"KillParent": false,
"KillProcess": false,
"KillSubProcess": false,
"OperationBlocked": false,
"PolicyDisabled": false,
"ProcessBlocked": false,
"QuarantineFile": false,
"QuarantineMachine": false,
"RegistryOperationBlocked": false,
"Rooting": false,
"SensorOnly": false,
},
"PatternDispositionValue": 0,
"ProcessEndTime": 1616609989,
"ProcessId": 346037607908199600,
"ProcessStartTime": 1616609989,
"SHA1String": "0000000000000000000000000000000000000000",
"SHA256String": "9e8a9e9f8cab6f07d8e711043bf856893660143aaf4385cb4e7b6faa97d6e61e",
"SensorId": "fa6a04a7f18d473fa06771b4961aa3d9",
"Severity": 2,
"SeverityName": "Low",
"Tactic": "N/A",
"Technique": "N/A",
"UTCTimestamp": 1616609989000,
"UserName": "username",
"cid": "712bcd164963442ea43d52917cecdecc",
"eid": 118,
"timestamp": "2021-03-24T18:19:49Z",
},
"fdr_event_type": "Event_DetectionSummaryEvent",
"p_any_domain_names": ["hostname.lan"],
"p_any_md5_hashes":
[
"2153a89b0a91c38f152acbefafd69b99",
"712bcd164963442ea43d52917cecdecc",
"fa6a04a7f18d473fa06771b4961aa3d9",
],
"p_any_sha1_hashes": ["0000000000000000000000000000000000000000"],
"p_any_sha256_hashes":
["9e8a9e9f8cab6f07d8e711043bf856893660143aaf4385cb4e7b6faa97d6e61e"],
"p_any_trace_ids":
[
"712bcd164963442ea43d52917cecdecc",
"fa6a04a7f18d473fa06771b4961aa3d9",
],
"p_any_usernames": ["russ"],
"p_event_time": "2021-03-24 18:19:49",
"p_log_type": "Crowdstrike.FDREvent",
"p_parse_time": "2023-01-25 13:56:51.82",
"p_row_id": "be33cdd7f1bfdba6f483df811601",
"p_schema_version": 0,
"timestamp": "2021-03-24 18:19:49",
}
- Name: Non-match (FDREvent)
ExpectedResult: false
Log:
{
"cid": "11111111111111111111111111111111",
"CommandLine": "/Applications/app.app/Contents/MacOS/pup app",
"Objective": "Falcon Detection Method",
"Nonce": 1,
"SHA256String": "3333333333333333333333333333333333333333333333333333333333333333",
"event": { "ExternalApiType": "something else" },
"fdr_event_type": "something else",
"PatternDispositionValue": 2176,
"Severity": 2,
"PatternDispositionDescription": "Prevention/Quarantine, process was blocked from execution and quarantine was attempted.",
"SeverityName": "Low",
"MD5String": "33333333333333333333333333333333",
"eid": 118,
}