-
Notifications
You must be signed in to change notification settings - Fork 7
/
Splunk Incident Response Search Queries.txt
525 lines (378 loc) · 35.3 KB
/
Splunk Incident Response Search Queries.txt
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
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
Search for all failed login attempts in the last 24 hours:
index=SecnNet sourcetype=access_* action=failure
Identify all privileged user actions taken during a specified timeframe:
index=SecnNet sourcetype=access_* user_type=privileged earliest=-7d
Search for all traffic to a specific IP address in the last 24 hours:
index=SecnNet sourcetype=network_traffic dest_ip=192.168.0.1 earliest=-24h
Identify all user authentication failures followed by successful authentication within a specified timeframe:
index=SecnNet sourcetype=access_* action=failure OR action=success earliest=-7d
| eval failure=if(action="failure",1,0)
| eval success=if(action="success",1,0)
| eventstats sum(failure) as failures sum(success) as successes by user
| where failures > 0 AND successes > 0
Search for any indications of command and control activity:
index=SecnNet sourcetype=network_traffic dest_port=443
| where dest_ip IN ("192.168.0.1","192.168.0.2","192.168.0.3")
| stats count by src_ip,dest_ip
| where count > 10
Identify all user activity from a specific department during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user_department=HR OR user_department=IT
Search for any indications of malware infections on a specific endpoint:
index=SecnNet sourcetype=endpoint_logs host="endpoint-01"
| where EventID=4678 AND ImagePath="C:\Windows\System32\svchost.exe"
Identify all user activity from a specific IP address during a specified timeframe:
index=SecnNet sourcetype=access_* src_ip="192.168.0.1" earliest=-7d
Search for all activity related to a specific file or process during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h FileName="malware.exe" OR ImagePath="C:\Windows\System32\svchost.exe"
Identify all activity related to a specific user during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-7d user="SecnNet"
Search for all DNS queries made by a specific endpoint during a specified timeframe:
index=SecnNet sourcetype=dns_logs dest_host="malicious.com" earliest=-24h
Identify all login activity outside of normal business hours:
index=SecnNet sourcetype=access_* earliest=-7d
| eval hour=strftime(_time, "%H")
| where hour < "08" OR hour > "18"
Search for all traffic to a specific domain in the last 24 hours:
index=SecnNet sourcetype=network_traffic dest_domain="malicious.com" earliest=-24h
Identify all attempts to escalate privileges during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-7d
| search "Privilege escalation" OR "User added to administrator group"
Search for all failed login attempts from a specific IP address in the last 24 hours:
index=SecnNet sourcetype=access_* action=failure src_ip="192.168.0.1" earliest=-24h
Identify all user activity that occurred during a specified timeframe, sorted by the number of events generated by each user:
index=SecnNet sourcetype=access_* earliest=-24h
| stats count by user
| sort -count
Search for all network traffic to a specific port in the last 24 hours:
index=SecnNet sourcetype=network_traffic dest_port=443 earliest=-24h
Identify all activity related to a specific process or service during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\services.exe" OR ImagePath="C:\Windows\System32\svchost.exe"
Search for all failed login attempts from a specific user in the last 24 hours:
index=SecnNet sourcetype=access_* action=failure user="SecnNet" earliest=-24h
Identify all changes to critical system files or registry keys during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h EventID=4656
| where Object_Name LIKE "%System32%" OR Object_Name LIKE "%registry%"
These queries can help security teams quickly identify and investigate
Identify all login activity from a specific geographic location during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h City="New York" OR City="Los Angeles"
Search for all traffic to a specific URL in the last 24 hours:
index=SecnNet sourcetype=network_traffic dest_url="http://malicious.com" earliest=-24h
Identify all activity related to a specific process that spawned child processes during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ParentImage="C:\Windows\System32\svchost.exe"
Search for all traffic to a specific IP address and port in the last 24 hours:
index=SecnNet sourcetype=network_traffic dest_ip="192.168.0.1" dest_port=80 earliest=-24h
Identify all activity related to a specific domain during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h dest_domain="malicious.com"
Search for all network traffic to a specific subnet in the last 24 hours:
index=SecnNet sourcetype=network_traffic dest_ip="192.168.0.*" earliest=-24h
Identify all activity related to a specific process that made network connections during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=3 OR EventCode=10
Search for all traffic to a specific hostname in the last 24 hours:
index=SecnNet sourcetype=network_traffic dest_hostname="malicious.com" earliest=-24h
Identify all changes to critical system files during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h EventID=4656
| where Object_Name LIKE "%System32%"
Search for all activity related to a specific user and process during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h user="SecnNet" ImagePath="C:\Windows\System32\svchost.exe"
Identify all activity related to a specific service during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\services.exe"
Search for all traffic to a specific protocol in the last 24 hours:
index=SecnNet sourcetype=network_traffic protocol=TCP earliest=-24h
Identify all activity related to a specific process that modified system files during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4657
Search for all activity related to a specific user and IP address during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific user and process that accessed sensitive data during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h user="SecnNet" ImagePath="C:\Windows\System32\svchost.exe"
| search Object_Name="C:\Windows\System32\config"
Search for all traffic to a specific IP address that occurred during non-business hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_ip="192.168.0.1"
| eval hour=strftime(_time, "%H")
| where hour < "08" OR hour > "18"
Identify all activity related to a specific process that accessed sensitive registry keys during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search Object_Name LIKE "%registry%"
Search for all activity related to a specific domain and user during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" dest_domain="malicious.com"
Identify all activity related to a specific process that modified critical system files during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4657 AND Object_Name LIKE "%System32%"
Search for all activity related to a specific process and port during a specified timeframe:
index=SecnNet sourcetype=network_traffic earliest=-24h ImagePath="C:\Windows\System32\svchost.exe" dest_port=80
Identify all activity related to a specific user and process that created or deleted files during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h user="SecnNet" ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData%"
Search for all traffic to a specific protocol and port in the last 24 hours:
index=SecnNet sourcetype=network_traffic protocol=UDP dest_port=53 earliest=-24h
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=10
Search for all activity related to a specific user and domain during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" dest_domain="example.com"
Identify all activity related to a specific process that created or deleted registry keys during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4657 AND Object_Name LIKE "%registry%"
index=SecnNet sourcetype=network_traffic earliest=-24h Country="China"
Identify all activity related to a specific process that accessed sensitive files during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search Object_Name LIKE "%\AppData%"
Search for all activity related to a specific user and IP address that occurred during non-business hours:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" src_ip="192.168.0.1"
| eval hour=strftime(_time, "%H")
| where hour < "08" OR hour > "18"
Identify all activity related to a specific process that created or deleted files in sensitive directories during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%System32%"
Search for all activity related to a specific user and URL during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" dest_url="http://malicious.com"
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4657 AND Object_Name LIKE "%registry%"
Search for all traffic to a specific IP address that was denied by a firewall in the last 24 hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_ip="192.168.0.1" action="deny"
Identify all activity related to a specific process that accessed sensitive directories during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search Object_Name LIKE "%System32%"
Search for all activity related to a specific user and keyword in access logs during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" | search "password" OR "login"
Identify all activity related to a specific process that created or deleted files on removable media during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%Removable%"
Search for all traffic to a specific port that was denied by a firewall in the last 24 hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_port=22 action="deny"
Identify all activity related to a specific process that created or deleted registry keys in sensitive areas during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4657 AND Object_Name LIKE "%HKLM%"
Search for all activity related to a specific user and file hash during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h user="SecnNet" md5="d41d8cd98f00b204e9800998ecf8427e"
Identify all activity related to a specific process that accessed a specific DLL during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search Object_Name="C:\Windows\System32\ntdll.dll"
Search for all activity related to a specific user and IP address that occurred during business hours:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" src_ip="192.168.0.1"
| eval hour=strftime(_time, "%H")
| where hour >= "08" AND hour <= "18"
Search for all activity related to a specific user and file path during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h user="SecnNet" Object_Name="C:\Users\SecnNet\Desktop\test.exe"
Identify all activity related to a specific process that created or deleted files on network shares during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%"
Search for all activity related to a specific user and file type during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h user="SecnNet" Object_Name LIKE "%\.docx%"
Identify all activity related to a specific process that accessed sensitive folders on local disk during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%"
Search for all traffic to a specific domain that occurred during business hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_domain="malicious.com"
| eval hour=strftime(_time, "%H")
| where hour >= "08" AND hour <= "18"
Identify all activity related to a specific process that created or deleted files in a specific folder during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\Downloads%"
Search for all activity related to a specific user and email address during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" dest_email="john@example.com"
Identify all activity related to a specific process that spawned child processes that created or deleted files during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=10 AND Object_Name LIKE "%\AppData%"
Search for all traffic to a specific IP address that occurred during non-business hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_ip="192.168.0.1"
| eval hour=strftime(_time, "%H")
| where hour < "08" OR hour > "18"
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%"
Search for all activity related to a specific user and source IP address during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific process that created or deleted files in a specific folder during a specified timeframe and was signed by a trusted publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\Downloads%" AND Signature_Status="Signed Trusted"
Search for all traffic to a specific domain that was denied by a firewall in the last 24 hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_domain="malicious.com" action="deny"
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%"
Search for all activity related to a specific user and HTTP status code during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" status=404
Identify all activity related to a specific process that created or deleted files with a specific file extension during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\.docx%"
Search for all activity related to a specific user and keyword in firewall logs during a specified timeframe:
index=SecnNet sourcetype=firewall_logs earliest=-24h user="SecnNet" | search "blocked" OR "denied"
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and was signed by a trusted publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Signature_Status="Signed Trusted"
Search for all traffic to a specific port that occurred during non-business hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_port=22
| eval hour=strftime(_time, "%H")
| where hour < "08" OR hour > "18"
Identify all activity related to a specific process that created or deleted files with a specific file name during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%test.docx%"
Search for all activity related to a specific user and file creation during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h user="SecnNet" EventCode=4656 Action=CREATE
Identify all activity related to a specific process that accessed sensitive folders on network shares during a specified timeframe and was signed by a trusted publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Signature_Status="Signed Trusted"
Search for all activity related to a specific user and HTTP method during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" method=POST
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and was signed by a trusted publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Signature_Status="Signed Trusted"
Search for all traffic to a specific IP address that was denied by a firewall in the last 24 hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_ip="192.168.0.1" action="deny"
Identify all activity related to a specific process that accessed sensitive folders on local disk during a specified timeframe and created or deleted files:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND (Action=CREATE OR Action=DELETE)
Search for all activity related to a specific user and IP address during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific process that created or deleted files in sensitive folders on local disk during a specified timeframe and was signed by a trusted publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND (Action=CREATE OR Action=DELETE) AND Signature_Status="Signed Trusted"
Search for all traffic to a specific port that was allowed by a firewall in the last 24 hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_port=80 action="allow"
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and created or deleted files:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND (Action=CREATE OR Action=DELETE)
Search for all activity related to a specific user and command line during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h user="SecnNet" CommandLine="*powershell*"
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and was signed by an untrusted publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Signature_Status="Signed Untrusted"
Search for all traffic to a specific domain that was allowed by a firewall in the last 24 hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_domain="example.com" action="allow"
Identify all activity related to a specific process that created or deleted files with a specific extension in a specific folder on local disk during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local\Downloads%" AND Object_Name LIKE "%.exe%"
Search for all activity related to a specific user and IP address during a specified timeframe in IIS logs:
index=SecnNet sourcetype=iis earliest=-24h cs_username="SecnNet" c_ip="192.168.0.1"
Identify all activity related to a specific process that created or deleted files with a specific file name in a specific folder on local disk during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local\Downloads\test.exe%"
Search for all activity related to a specific user and HTTP response code during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" status=401
Identify all activity related to a specific process that accessed sensitive folders on local disk during a specified timeframe and created or deleted files with a specific file name:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND (Action=CREATE OR Action=DELETE) AND Object_Name LIKE "%.docx%"
Search for all traffic to a specific IP address that occurred during non-business hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_ip="192.168.0.1"
| eval hour=strftime(_time, "%H")
| where hour < "08" OR hour > "18"
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and was not signed by any publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Signature_Status="Unsigned"
Search for all activity related to a specific user and HTTP URI during a specified timeframe:
index=SecnNet sourcetype=access_* earliest=-24h user="SecnNet" uri="/login"
Identify all activity related to a specific process that accessed sensitive folders on network shares during a specified timeframe and was not signed by any publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Signature_Status="Unsigned"
Search for all traffic to a specific domain that occurred during non-business hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_domain="example.com"
| eval hour=strftime(_time, "%H")
| where hour < "08" OR hour > "18"
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and was not signed by any publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Signature_Status="Unsigned"
Search for all activity related to a specific user and HTTP response code during a specified timeframe in IIS logs:
index=SecnNet sourcetype=iis earliest=-24h cs_username="SecnNet" sc_status=500
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and was signed by an untrusted publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Signature_Status="Signed Untrusted"
Search for all traffic to a specific IP address that was blocked by a firewall in the last 24 hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_ip="192.168.0.1" action="block"
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and was signed by an untrusted publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Signature_Status="Signed Untrusted"
Search for all activity related to a specific user and HTTP response code during a specified timeframe in Apache logs:
index=SecnNet sourcetype=apache earliest=-24h username="SecnNet" status=404
Identify all activity related to a specific process that accessed sensitive folders on network shares during a specified timeframe and created or deleted files with a specific file name:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND (Action=CREATE OR Action=DELETE) AND Object_Name LIKE "%.txt%"
Search for all activity related to a specific user and port during a specified timeframe in firewall logs:
index=SecnNet sourcetype=firewall earliest=-24h user="SecnNet" dst_port=3389
Identify all activity related to a specific process that accessed sensitive folders on local disk during a specified timeframe and created or deleted files with a specific extension:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND (Action=CREATE OR Action=DELETE) AND Object_Name LIKE "%.xls%"
Search for all activity related to a specific user and IP address during a specified timeframe in firewall logs:
index=SecnNet sourcetype=firewall earliest=-24h user="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific process that created or deleted files in a specific folder on local disk during a specified timeframe:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local\Temp%" AND (Action=CREATE OR Action=DELETE)
Search for all activity related to a specific user and HTTP method during a specified timeframe in Apache logs:
index=SecnNet sourcetype=apache earliest=-24h username="SecnNet" method=GET
Identify all activity related to a specific process that accessed sensitive folders on network shares during a specified timeframe and was signed by a revoked publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Signature_Status="Signed Revoked"
Search for all activity related to a specific user and IP address during a specified timeframe in VPN logs:
index=SecnNet sourcetype=vpn earliest=-24h user="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and was signed by a revoked publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Signature_Status="Signed Revoked"
Search for all activity related to a specific user and HTTP response code during a specified timeframe in NGINX logs:
index=SecnNet sourcetype=nginx earliest=-24h user="SecnNet" status=500
Identify all activity related to a specific process that accessed sensitive folders on network shares during a specified timeframe and was signed by a trusted publisher:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Signature_Status="Signed Trusted"
Search for all traffic to a specific IP address that exceeded a specified threshold during the last 24 hours:
index=SecnNet sourcetype=network_traffic earliest=-24h dest_ip="192.168.0.1"
| stats count by src_ip
| where count > 1000
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and triggered a specific event:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND EventID=12345
Search for all activity related to a specific user and HTTP method during a specified timeframe in IIS logs:
index=SecnNet sourcetype=iis earliest=-24h cs_username="SecnNet" cs_method=POST
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and triggered a specific event:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND EventID=12345
Search for all activity related to a specific user and IP address during a specified timeframe in web server logs:
index=SecnNet sourcetype=web_server earliest=-24h username="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and triggered a specific alert:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Alert_Name="Suspicious Activity Detected"
Search for all activity related to a specific user and HTTP response code during a specified timeframe in Tomcat logs:
index=SecnNet sourcetype=tomcat earliest=-24h user="SecnNet" status=403
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and triggered a specific alert:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Alert_Name="Suspicious Activity Detected"
Search for all activity related to a specific user and IP address during a specified timeframe in SSH logs:
index=SecnNet sourcetype=ssh earliest=-24h user="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and triggered a specific event type:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND EventType="Access Denied"
index=SecnNet sourcetype=tomcat earliest=-24h user="SecnNet" status=500
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and triggered a specific alert type:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Alert_Type="Malware Detected"
Search for all activity related to a specific user and HTTP method during a specified timeframe in NGINX access logs:
index=SecnNet sourcetype=nginx earliest=-24h username="SecnNet" method=GET
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and triggered a specific alert category:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Alert_Category="Unauthorized Access"
Search for all activity related to a specific user and IP address during a specified timeframe in RDP logs:
index=SecnNet sourcetype=rdp earliest=-24h user="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and triggered a specific event category:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Event_Category="File Access"
Search for all activity related to a specific user and HTTP response code during a specified timeframe in Apache access logs:
index=SecnNet sourcetype=apache earliest=-24h user="SecnNet" status=404
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and triggered a specific alert severity:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Alert_Severity="High"
Search for all activity related to a specific user and IP address during a specified timeframe in FTP logs:
index=SecnNet sourcetype=ftp earliest=-24h user="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and triggered a specific alert name:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Alert_Name="Malware Detected"
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and triggered a specific event severity:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Event_Severity="High"
Search for all activity related to a specific user and HTTP status code during a specified timeframe in IIS logs:
index=SecnNet sourcetype=iis earliest=-24h cs_username="SecnNet" sc_status=200
Identify all activity related to a specific process that accessed sensitive files on network shares during a specified timeframe and triggered a specific alert description:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\\server\share%" AND Alert_Description="Unauthorized Access Detected"
Search for all activity related to a specific user and IP address during a specified timeframe in DNS logs:
index=SecnNet sourcetype=dns earliest=-24h user="SecnNet" src_ip="192.168.0.1"
Identify all activity related to a specific process that accessed sensitive files on local disk during a specified timeframe and triggered a specific event description:
index=SecnNet sourcetype=endpoint_logs earliest=-24h ImagePath="C:\Windows\System32\svchost.exe"
| search EventCode=4663 AND Object_Name LIKE "%\AppData\Local%" AND Event_Description="File Access Attempt Detected"