-
Notifications
You must be signed in to change notification settings - Fork 15
/
Get_host_forensics_-_Generic.yml
284 lines (284 loc) · 6.91 KB
/
Get_host_forensics_-_Generic.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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
id: Get host forensics - Generic
version: 1
contentitemexportablefields:
contentitemfields:
packID: CommonPlaybooks
packName: Common Playbooks
itemVersion: 2.2.1
fromServerVersion: 6.0.0
toServerVersion: ""
definitionid: ""
vcShouldKeepItemLegacyProdMachine: false
name: Get host forensics - Generic
description: "This playbook retrieves forensics from hosts for the following integrations:\n
- Illusive Networks \n - Microsoft Defender For Endpoint"
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: f20f2deb-51b2-43bc-8c19-ea19d795c1ce
type: start
task:
id: f20f2deb-51b2-43bc-8c19-ea19d795c1ce
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
- "5"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 377.5,
"y": 50
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"2":
id: "2"
taskid: 44e2bef7-db14-418e-8899-05b87ce087c1
type: condition
task:
id: 44e2bef7-db14-418e-8899-05b87ce087c1
version: -1
name: Is illusive enabled
description: Returns 'yes' if the Illusive Networks integration is enabled.
scriptName: IsIntegrationAvailable
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "3"
"yes":
- "4"
scriptarguments:
brandname:
simple: IllusiveNetworks
results:
- brandInstances
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 162.5,
"y": 195
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"3":
id: "3"
taskid: a407e17a-7005-4b1a-87c0-00e1e1c2cae2
type: title
task:
id: a407e17a-7005-4b1a-87c0-00e1e1c2cae2
version: -1
name: Done
type: title
iscommand: false
brand: ""
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 377.5,
"y": 545
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"4":
id: "4"
taskid: 4e87acfb-c838-448f-8c35-a81c306b37bf
type: playbook
task:
id: 4e87acfb-c838-448f-8c35-a81c306b37bf
version: -1
name: Illusive-Collect-Forensics-On-Demand
playbookName: Illusive-Collect-Forensics-On-Demand
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "3"
scriptarguments:
end_date:
simple: ${inputs.end_date}
fqdn_or_ip:
simple: ${inputs.fqdn_or_ip}
start_date:
simple: ${inputs.start_date}
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": -30,
"y": 370
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"5":
id: "5"
taskid: c7004145-36f8-47b3-8bbf-b08852b7b00c
type: condition
task:
id: c7004145-36f8-47b3-8bbf-b08852b7b00c
version: -1
name: Is Microsoft Defender For Endpoint Integration Enabled?
description: Returns 'yes' if the Microsoft Defender for Endpoint integration
brand is enabled.
scriptName: IsIntegrationAvailable
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "3"
"yes":
- "6"
scriptarguments:
brandname:
simple: Microsoft Defender Advanced Threat Protection
results:
- brandInstances
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 592.5,
"y": 195
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"6":
id: "6"
taskid: 1fb6f15e-7c4b-429b-8974-e30dcac00512
type: playbook
task:
id: 1fb6f15e-7c4b-429b-8974-e30dcac00512
version: -1
name: Microsoft Defender For Endpoint - Collect investigation package
description: "This playbook simplifies retrieving investigation packages to
Cortex XSOAR from supported machines (See https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/collect-investigation-package?view=o365-worldwide).
\n\n The playbook receives information about the target devices (host name,
IP, and device ID), validates the devices exist, and retrieves the collection
package from those machines into the Cortex XSOAR console. \n Note: This action
may take time, the average package size is around ~15 MB."
playbookName: Microsoft Defender For Endpoint - Collect investigation package
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "3"
scriptarguments:
AutoCollectinvestigationPackege:
simple: "True"
Hostnames:
simple: ${inputs.fqdn_or_ip}
IPs:
simple: ${inputs.fqdn_or_ip}
MachineIDs:
simple: ${inputs.machine_ID}
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": 795,
"y": 370
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
system: true
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 560,
"width": 1205,
"x": -30,
"y": 50
}
}
}
inputs:
- key: fqdn_or_ip
value: {}
required: false
description: 'If using the Illusive Networks integration to retrieve additional
forensics, provide the host fqdn_or_ip from which to get the forensics. '
playbookInputQuery: null
- key: start_date
value: {}
required: false
description: Date_range must be "number date_range_unit", for example 2 hours, 4
minutes, 6 months, 1 day.
playbookInputQuery: null
- key: end_date
value: {}
required: false
description: Date_range must be "number date_range_unit" for example 2 hours, 4
minutes, 6 months, 1 day.
playbookInputQuery: null
- key: machine_ID
value: {}
required: false
description: Provide the machine IDs of the systems you want to retrieve.
playbookInputQuery: null
outputs: []