This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
local_rules.xml
1751 lines (1502 loc) · 60.8 KB
/
local_rules.xml
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
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<group name="sysmon,MITRE,">
<rule id="255000" level="6">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.sourceImage">\\powershell.exe||\\.ps1||\\.ps2</field>
<description>Sysmon - Event 1: Powershell exe: $(win.eventdata.sourceImage)</description>
<group>sysmon_event1,powershell_execution,</group>
</rule>
<rule id="255001" level="6">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.sourceImage">\\cmd.exe</field>
<description>Sysmon - Event 2: CMD exe: $(win.eventdata.sourceImage)</description>
<group>sysmon_event1,cmd_execution,</group>
</rule>
<rule id="255002" level="7">
<if_sid>185001</if_sid>
<match>Network connection detected</match>
<regex>powershell.exe</regex>
<description>Powershell Network Connection</description>
<group>sysmon_event3,network,</group>
</rule>
<rule id="255003" level="12">
<if_sid>255000</if_sid>
<regex>.doc</regex>
<description>Powershell Spawned from Office Doc</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255004" level="12">
<if_sid>255000</if_sid>
<regex>.xls</regex>
<description>Powershell Spawned from Excel Doc</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255005" level="12">
<if_sid>255001</if_sid>
<regex>WINWORD.EXE</regex>
<description>Command Line process spawned from Mircosoft Word Doc</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255006" level="12">
<if_sid>255001</if_sid>
<regex>EXCEL.EXE</regex>
<description>Command Line process spawned from Mircosoft Excel Doc</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255007" level="10">
<if_group>sysmon_event1</if_group>
<match>mshta.exe</match>
<regex>http</regex>
<description>Possible Malicious HTA file executed</description>
<group>MITRE,attack.t1170,</group>
</rule>
<rule id="255008" level="12">
<if_sid>255001</if_sid>
<regex>POWERPNT.exe</regex>
<description>Command Line process spawned from Mircosoft Powerpoint Doc</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255009" level="12">
<if_sid>255001</if_sid>
<regex>OUTLOOK.EXE</regex>
<description>Command Line process spawned from Mircosoft Outlook</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255010" level="12">
<if_sid>255001</if_sid>
<regex>VISIO.exe</regex>
<description>Command Line process spawned from Mircosoft Visio Doc</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255011" level="12">
<if_sid>255001</if_sid>
<regex>MSPUB.exe</regex>
<description>Command Line process spawned from Mircosoft Publisher Doc</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255012" level="12">
<if_sid>255000</if_sid>
<regex>POWERPNT.exe</regex>
<description>Powershell Spawned from Powerpoint Doc</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255013" level="12">
<if_sid>255000</if_sid>
<regex>OUTLOOK.EXE</regex>
<description>Powershell Spawned from Microsoft Outlook</description>
<group>MITRE,attack.t1059,attack.t1202</group>
</rule>
<rule id="255014" level="12">
<if_sid>255000</if_sid>
<regex>MSPUB.exe</regex>
<description>Powershell Spawned from Microsoft Publisher</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255015" level="12">
<if_sid>255000</if_sid>
<regex>VISIO.exe</regex>
<description>Powershell Spawned from Microsoft Visio</description>
<group>MITRE,attack.t1059,attack.t1202,</group>
</rule>
<rule id="255016" level="12">
<if_sid>255001</if_sid>
<match>regsvr32</match>
<regex>http</regex>
<description>MITRE ATT&CK T1117 - Regsvr32 https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1117/T1117.md</description>
<group>MITRE,attack.t1117,</group>
</rule>
<rule id="255017" level="12">
<if_sid>255001</if_sid>
<match>cscript.exe</match>
<regex>http</regex>
<description>MITRE ATT&CK T1216 - Signed Script Proxy Execution https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1216/T1216.md</description>
<group>MITRE,attack.t1216,</group>
</rule>
<rule id="255018" level="8">
<if_sid>255001</if_sid>
<match>sc.exe</match>
<regex>create|start|delete</regex>
<description>New Service Created with sc.exe : MITRE ATT&CK T1035 - Service Execution https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1035/T1035.md</description>
<group>MITRE,attack.t1035,</group>
</rule>
<rule id="255019" level="8">
<if_sid>255000</if_sid>
<match>sc.exe</match>
<regex>create|start|delete</regex>
<description>New Service Created with sc.exe : MITRE ATT&CK T1035 - Service Execution https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1035/T1035.md</description>
<group>MITRE,attack.t1035,</group>
</rule>
</group>
<group name="sysmon-modular,">
<rule id="255500" level="5">
<if_group>sysmon_event8</if_group>
<match>technique_name=Process Injection</match>
<description>MITRE T1055 Process Injection: $(win.eventdata.image)</description>
<group>MITRE,attack.t1055,</group>
</rule>
<rule id="255501" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Masquerading</match>
<description>MITRE T1036 Masquerading: $(win.eventdata.image)</description>
<group>MITRE,attack.t1036,</group>
</rule>
<rule id="255502" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Credential Dumping</match>
<description>MITRE T1003 Credential Dumping: $(win.eventdata.image)</description>
<group>MITRE,attack.t1003,</group>
</rule>
<rule id="255503" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Winlogon Helper DLL</match>
<description>MITRE T1004 Winlogon Helper DLL: $(win.eventdata.image)</description>
<group>MITRE,attack.t1004,</group>
</rule>
<rule id="255504" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Data from Local System</match>
<description>MITRE T1005 Data from Local System: $(win.eventdata.image)</description>
<group>MITRE,attack.t1005,</group>
</rule>
<rule id="255505" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=System Service Discovery</match>
<description>MITRE T1007 System Service Discovery: $(win.eventdata.image)</description>
<group>MITRE,attack.t1007,</group>
</rule>
<rule id="255506" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Query Registry</match>
<description>MITRE T1012 Query registry: $(win.eventdata.image)</description>
<group>MITRE,attack.t1012,</group>
</rule>
<rule id="255507" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Forced Authentication</match>
<description>MITRE T1013 Forced Authentication: $(win.eventdata.image)</description>
<group>MITRE,attack.t1013,</group>
</rule>
<rule id="255508" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Accessibility Features</match>
<description>MITRE T1015 Accessibility Features: $(win.eventdata.image)</description>
<group>MITRE,attack.t1015,</group>
</rule>
<rule id="255509" level="5">
<if_group>sysmon_event3</if_group>
<match>technique_name=System Network Configuration Discovery</match>
<description>MITRE T1016 System Network Configuration Discovery: $(win.eventdata.image)</description>
<group>MITRE,attack.t1016,</group>
</rule>
<rule id="255510" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Remote System Discovery</match>
<description>MITRE T1018 Remote Systen Discovery: $(win.eventdata.image)</description>
<group>MITRE,attack.t1018,</group>
</rule>
<rule id="255511" level="5">
<if_group>sysmon_event2</if_group>
<match>technique_name=Remote Services</match>
<description>MITRE T1021 Remote Services : $(win.eventdata.image)</description>
<group>MITRE,attack.t1021,</group>
</rule>
<rule id="255512" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Obfuscated Files or Information</match>
<description>MITRE T1027 Obfuscated Files or Information : $(win.eventdata.image)</description>
<group>MITRE,attack.t1027,</group>
</rule>
<rule id="255513" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Windows Remote Management</match>
<description>MITRE T1028 Windows Remote Management: $(win.eventdata.image)</description>
<group>MITRE,attack.t1028,</group>
</rule>
<rule id="255514" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Modify Existing Service</match>
<description>MITRE T1031 Modify Existing Service : $(win.eventdata.image)</description>
<group>MITRE,attack.t1031,</group>
</rule>
<rule id="255515" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=System Owner/User Discovery</match>
<description>MITRE T1033 System Owner/User Discovery : $(win.eventdata.image)</description>
<group>MITRE,attack.t1033,</group>
</rule>
<rule id="255516" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Service Execution</match>
<description>MITRE T1035 Service Execution: $(win.eventdata.image)</description>
<group>MITRE,attack.t1035,</group>
</rule>
<rule id="255517" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Logon Scripts</match>
<description>MITRE T1037 Logon Scripts: $(win.eventdata.image)</description>
<group>MITRE,attack.t1037,</group>
</rule>
<rule id="255518" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Change Default File Association</match>
<description>MITRE T1042 Change Default File Association: $(win.eventdata.image)</description>
<group>MITRE,attack.t1042,</group>
</rule>
<rule id="255519" level="5">
<if_group>sysmon_event3</if_group>
<match>technique_name=Windows Management Instrumentation</match>
<description>MITRE T1047 Windows Management Instrumentation : $(win.eventdata.image)</description>
<group>MITRE,attack.t1047,</group>
</rule>
<rule id="255520" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=System Network Connections Discovery</match>
<description>MITRE T1049 System Network Connections Discovery: $(win.eventdata.image)</description>
<group>MITRE,attack.t1049,</group>
</rule>
<rule id="255521" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Scheduled Task</match>
<description>MITRE T1053 Scheduled Task: $(win.eventdata.image)</description>
<group>MITRE,attack.t1053,</group>
</rule>
<rule id="255522" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Indicator Blocking</match>
<description>MITRE T1054 Indicator Blocking : $(win.eventdata.image)</description>
<group>MITRE,attack.t1054,</group>
</rule>
<rule id="255523" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Process Discovery</match>
<description>MITRE T1057 Process Discovery: $(win.eventdata.image)</description>
<group>MITRE,attack.t1057,</group>
</rule>
<rule id="255524" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Command-Line Interface</match>
<description>MITRE T1059 Command-Line Interface: $(win.eventdata.image)</description>
<group>MITRE,attack.t1059,</group>
</rule>
<rule id="255525" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Registry Run Keys / Start Folder</match>
<description>MITRE T1060 Registry Run Keys / Start Folder: $(win.eventdata.image)</description>
<group>MITRE,attack.t1060,</group>
</rule>
<rule id="255526" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Security Software Discovery</match>
<description>MITRE T1063 Security Software Discovery: $(win.eventdata.image)</description>
<group>MITRE,attack.t1063,</group>
</rule>
<rule id="255527" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Permission Groups Discovery</match>
<description>MITRE T1069 Permission Groups Discovery: $(win.eventdata.image)</description>
<group>MITRE,attack.t1069,</group>
</rule>
<rule id="255528" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Indicator Removal on Host</match>
<description>MITRE T1070 Indicator Removal on Host: $(win.eventdata.image)</description>
<group>MITRE,attack.t1070,</group>
</rule>
<rule id="255529" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=File and Directory Discovery</match>
<description>MITRE T1083 File and Directory Discovery: $(win.eventdata.image)</description>
<group>MITRE,attack.t1083,</group>
</rule>
<rule id="255530" level="5">
<if_group>sysmon_event3</if_group>
<match>technique_name=Rundll32</match>
<description>MITRE T1085 Rundll32: $(win.eventdata.image)</description>
<group>MITRE,attack.t1085,</group>
</rule>
<rule id="255531" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=PowerShell</match>
<description>MITRE T1086 Powershell: $(win.eventdata.image)</description>
<group>MITRE,attack.t1086,</group>
</rule>
<rule id="255532" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Bypass User Account Control</match>
<description>MITRE T1088 Bypass User Account Control: $(win.eventdata.image)</description>
<group>MITRE,attack.t1088,</group>
</rule>
<rule id="255533" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Disabling Security Tools</match>
<description>MITRE T1089 Disabling Security Tools: $(win.eventdata.image)</description>
<group>MITRE,attack.t1089,</group>
</rule>
<rule id="255534" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Account Manipulation</match>
<description>MITRE T1098 =Account Manipulation: $(win.eventdata.image)</description>
<group>MITRE,attack.t1098,</group>
</rule>
<rule id="255535" level="5">
<if_group>sysmon_event2</if_group>
<match>technique_name=Timestomp</match>
<description>MITRE T1099 Timestomp: $(win.eventdata.image)</description>
<group>MITRE,attack.t1099,</group>
</rule>
<rule id="255536" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Security Support Provider</match>
<description>MITRE T1101 Security Support Provider: $(win.eventdata.image)</description>
<group>MITRE,attack.t1101,</group>
</rule>
<rule id="255537" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Appinit DLLs</match>
<description>MITRE T1103 Appinit DLLs: $(win.eventdata.image)</description>
<group>MITRE,attack.t1103,</group>
</rule>
<rule id="255538" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Remote File Copy</match>
<description>MITRE T1105 Remote File Copy: $(win.eventdata.image)</description>
<group>MITRE,attack.t1105,</group>
</rule>
<rule id="255539" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Modify Registry</match>
<description>MITRE T1112 Modify Registry: $(win.eventdata.image)</description>
<group>MITRE,attack.t1112,</group>
</rule>
<rule id="255540" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Regsvr32</match>
<description>MITRE T1117 Regsvr32: $(win.eventdata.image)</description>
<group>MITRE,attack.t1117,</group>
</rule>
<rule id="255541" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=InstallUtil</match>
<description>MITRE T1118 InstallUtil: $(win.eventdata.image)</description>
<group>MITRE,attack.t1118,</group>
</rule>
<rule id="255542" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Regsvcs/Regasm</match>
<description>MITRE T1121 Regsvcs/Regasm: $(win.eventdata.image)</description>
<group>MITRE,attack.t1121,</group>
</rule>
<rule id="255543" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Component Object Model Hijacking</match>
<description>MITRE T1122 Component Object Model Hijacking: $(win.eventdata.image)</description>
<group>MITRE,attack.t1122,</group>
</rule>
<rule id="255544" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Trusted Developer Utilities</match>
<description>MITRE T1127 Trusted Developer Utilities: $(win.eventdata.image)</description>
<group>MITRE,attack.t1127,</group>
</rule>
<rule id="255545" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Netsh Helper DLL</match>
<description>MITRE T1128 Netsh Helper DLL: $(win.eventdata.image)</description>
<group>MITRE,attack.t1128,</group>
</rule>
<rule id="255546" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Install Root Certificate</match>
<description>MITRE T1130 Install Root Certificate: $(win.eventdata.image)</description>
<group>MITRE,attack.t1130,</group>
</rule>
<rule id="255547" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Authentication Package</match>
<description>MITRE T1131 Authentication Package: $(win.eventdata.image)</description>
<group>MITRE,attack.t1131,</group>
</rule>
<rule id="255548" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Access Token Manipulation</match>
<description>MITRE T1134 Access Token Manipulation: $(win.eventdata.image)</description>
<group>MITRE,attack.t1134,</group>
</rule>
<rule id="255549" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Application Shimming</match>
<description>MITRE T1138 Application Shimming: $(win.eventdata.image)</description>
<group>MITRE,attack.t1138,</group>
</rule>
<rule id="255550" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Hidden Files and Files Directories</match>
<description>MITRE T1158 Hidden Files and Directories: $(win.eventdata.image)</description>
<group>MITRE,attack.t1158,</group>
</rule>
<rule id="255551" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Mshta</match>
<description>MITRE T1170 Mshta: $(win.eventdata.image)</description>
<group>MITRE,attack.t1170,</group>
</rule>
<rule id="255552" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=AppCert DLLs</match>
<description>MITRE T1182: $(win.eventdata.image)</description>
<group>MITRE,attack.t1182,</group>
</rule>
<rule id="255553" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Image File Execution Options Injection</match>
<description>MITRE T1183 Image File Execution Options Injection: $(win.eventdata.image)</description>
<group>MITRE,attack.t1183,</group>
</rule>
<rule id="255554" level="5">
<if_group>sysmon_event_11</if_group>
<match>technique_name=Forced Authentication</match>
<description>MITRE T1187 Forced Authentication: $(win.eventdata.image)</description>
<group>MITRE,attack.t1187,</group>
</rule>
<rule id="255555" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=CMSTP</match>
<description>MITRE T1191 CMSTP: $(win.eventdata.image)</description>
<group>MITRE,attack.t1191,</group>
</rule>
<rule id="255556" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Control Panel Items</match>
<description>MITRE T1196: $(win.eventdata.image)</description>
<group>MITRE,attack.t1196,</group>
</rule>
<rule id="255557" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=BITS Jobs</match>
<description>MITRE T1197 BITS Jobs: $(win.eventdata.image)</description>
<group>MITRE,attack.t1197,</group>
</rule>
<rule id="255558" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=SIP and Trust Provider Hijacking</match>
<description>MITRE T1198 SIP and Trust Provider Hijacking: $(win.eventdata.image)</description>
<group>MITRE,attack.t1198,</group>
</rule>
<rule id="255559" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Indirect Command Execution</match>
<description>MITRE T1202 Indirect Command Execution: $(win.eventdata.image)</description>
<group>MITRE,attack.t1202,</group>
</rule>
<rule id="255560" level="5">
<if_group>sysmon_event_12</if_group>
<match>technique_name=Time Providers</match>
<description>MITRE T1209 Time Providers: $(win.eventdata.image)</description>
<group>MITRE,attack.t1209,</group>
</rule>
<rule id="255561" level="5">
<if_group>sysmon</if_group>
<match>technique_name=Regsvr32</match>
<description>MITRE T1218 Regsvr32: $(win.eventdata.image)</description>
<group>MITRE,attack.t1218,</group>
</rule>
<rule id="255562" level="5">
<if_group>sysmon_event1</if_group>
<match>technique_name=Signed Binary Proxy Execution</match>
<description>MITRE T1218 Signed Binary Proxy Execution: $(win.eventdata.image)</description>
<group>MITRE,attack.t1218,</group>
</rule>
<rule id="255563" level="10">
<if_group>sysmon</if_group>
<match>technique_name=Signed Binary Proxy Execution</match>
<description>MITRE T1218 Signed Script Proxy Execution: $(win.eventdata.image)</description>
<group>MITRE,attack.t1218,</group>
</rule>
<rule id="255564" level="5">
<if_group>sysmon_event3</if_group>
<match>technique_name=Masquerading</match>
<description>MITRE T1036 Masquerading: $(win.eventdata.image)</description>
<group>MITRE,attack.t1036,</group>
</rule>
<rule id="255565" level="5">
<if_group>sysmon</if_group>
<match>technique_name=System Network Configuration Discovery</match>
<description>MITRE T1016 System Network Configuration Discovery: $(win.eventdata.image)</description>
<group>MITRE,attack.t1016,</group>
</rule>
<rule id="255566" level="5">
<if_group>sysmon</if_group>
<match>technique_name=Windows Remote Management</match>
<description>MITRE T1028 Windows Remote Management: $(win.eventdata.image)</description>
<group>MITRE,attack.t1028,</group>
</rule>
<rule id="255567" level="5">
<if_group>sysmon</if_group>
<match>technique_name=Service Execution</match>
<description>MITRE T1035 Service Execution: $(win.eventdata.image)</description>
<group>MITRE,attack.t1035,</group>
</rule>
<rule id="255568" level="5">
<if_group>sysmon_event3</if_group>
<match>technique_name=Regsvr32</match>
<description>MITRE T1218 Regsvr32: $(win.eventdata.image)</description>
<group>MITRE,attack.t1218,</group>
</rule>
<rule id="255569" level="6">
<if_group>sysmon_event3</if_group>
<match>technique_name=Commonly Used Port</match>
<description>MITRE T043 Commonly Used Port: $(win.eventdata.image)</description>
<group>MITRE,attack.t1043,</group>
</rule>
<rule id="255570" level="5">
<if_group>sysmon_event3</if_group>
<match>technique_name=PowerShell</match>
<description>MITRE T1086 Powershell Network Connection: $(win.eventdata.image)</description>
<group>MITRE,attack.t1086,</group>
</rule>
<rule id="255571" level="5">
<if_group>sysmon_event3</if_group>
<match>technique_name=Indirect Command Execution</match>
<description>MITRE T1202 Indirect Command Execution Network Activity: $(win.eventdata.image)</description>
<group>MITRE,attack.t1202,</group>
</rule>
<rule id="255572" level="5">
<if_group>sysmon_event_13</if_group>
<match>technique_name=Registry Run</match>
<description>MITRE T1060 Run Key Persistence: $(win.eventdata.image)</description>
<group>MITRE,attack.t1060,</group>
</rule>
<rule id="255573" level="6">
<if_group>sysmon_event3</if_group>
<match>technique_name=UnCommonly Used Port</match>
<description>MITRE T1065 Commonly Used Port: $(win.eventdata.image)</description>
<group>MITRE,attack.t1065,</group>
</rule>
<rule id="255574" level="6">
<if_group>sysmon_event7</if_group>
<match>technique_name=User Execution</match>
<description>MITRE T1204 User Execution: $(win.eventdata.image)</description>
<group>MITRE,attack.t204,</group>
</rule>
</group>
<group name="credential_access,MITRE,">
<rule id="255103" level="8">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\findstr.exe</field>
<regex>cpassword</regex>
<description>Finding Passwords in SYSVOL & Exploiting Group Policy Preferences : MITRE ATT&CK T1081 - https://adsecurity.org/?p=2288</description>
<group>MITRE,attack.t1081,</group>
</rule>
<rule id="255104" level="10">
<if_sid>255547</if_sid>
<regex>HKLM\\System\\CurrentControlSet\\Control\\Lsa\\LMCompatibilityLevel</regex>
<description>ATT&CK T1075: Edit to registry key potentially downgrading NTLM authentication, potential Internal Monologue attack https://github.com/eladshamir/Internal-Monologue</description>
<group>MITRE,attack.t1075</group>
</rule>
<rule id="255105" level="10">
<if_sid>255547</if_sid>
<regex>HKLM\\System\\CurrentControlSet\\Control\\Lsa\\MSV1_0\\RestrictSendingNTLMTraffic</regex>
<description>ATT&CK T1075: Edit to registry key potentially downgrading NTLM authentication, potential Internal Monologue attack https://github.com/eladshamir/Internal-Monologue</description>
<group>MITRE,attack.t1075</group>
</rule>
<rule id="255106" level="10">
<if_group>sysmon_event_11</if_group>
<regex>\\Temp\\debug.bin</regex>
<description>Detects possible SafetyKatz Behaviour</description>
<group>MITRE,attack.t1003,sigma</group>
</rule>
<rule id="255107" level="12">
<if_group>sysmon_event_10</if_group>
<match>lsass.exe</match>
<regex>dbgcore</regex>
<description>ATT&CK T1003: dbgcore.DLL potentially used to dump credentials from LSASS</description>
<group>MITRE,attack.t1003</group>
</rule>
<rule id="255108" level="12">
<if_group>sysmon_event_13</if_group>
<field name="win.eventdata.targetObject">\\WDigest\\UseLogonCredential</field>
<description>ATT&CK T1003: Detects possible Mimikatz Activity, registry edit for WDigest plain text credentials</description>
<group>MITRE,attack.t1003,</group>
</rule>
<rule id="255109" level="0">
<if_sid>255107</if_sid>
<field name="win.eventdata.image">\\MsMpEng.exe|\\ossec-agent.exe|\\wininit.exe|\\csrss.exe</field>
<description>Whitelist Interaction with LSASS</description>
<group>MITRE,attack.t1003,</group>
</rule>
<rule id="255110" level="12">
<if_group>windows_application</if_group>
<regex>grabber_temp</regex>
<description>Microsoft Internet Explorer Passwords dumped, TTP indicative of Trickbot infection</description>
<group>MITRE,attack.t1003</group>
</rule>
<rule id="255111" level="12">
<if_sid>255531</if_sid>
<match>comsvcs.dll</match>
<regex>MiniDump|#24</regex>
<description>Comsvcs.dll potentially used to dump credentials from LSASS</description>
<group>MITRE,attack.t1003</group>
</rule>
<rule id="255112" level="12">
<if_sid>255524</if_sid>
<match>comsvcs.dll</match>
<regex>MiniDump|#24</regex>
<description>Comsvcs.dll potentially used to dump credentials from LSASS</description>
<group>MITRE,attack.t1003</group>
</rule>
<rule id="255113" level="12">
<if_sid>255524</if_sid>
<match>comsvcs.dll</match>
<regex>MiniDump|#24</regex>
<description>Comsvcs.dll potentially used to dump credentials from LSASS</description>
<group>MITRE,attack.t1003</group>
</rule>
<rule id="255114" level="12">
<if_group>sysmon_event1</if_group>
<match>mimikatz</match>
<description>Mimikatz potentially used to dump credentials from LSASS</description>
<group>MITRE,attack.t1003</group>
</rule>
<rule id="255115" level="12">
<if_group>sysmon_event1</if_group>
<match>procdump</match>
<regex>lsass</regex>
<description>Procdump potentially used to dump credentials from LSASS</description>
<group>MITRE,attack.t1003</group>
</rule>
<rule id="255116" level="12">
<if_group>sysmon_event_10</if_group>
<match>lsass.exe</match>
<regex>dbgcore</regex>
<description>dbgcore.DLL potentially used to dump credentials from LSASS</description>
<group>MITRE,attack.t1003</group>
</rule>
</group>
<group name="windows,sysmon,">
<rule id="254000" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^16$</field>
<description>Sysmon - Event 16: ServiceConfigurationChange by $(win.eventdata.image)</description>
<group>sysmon_event_16,</group>
</rule>
<rule id="254001" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^17$</field>
<description>Sysmon - Event 17: PipeEvent (Pipe Created) by $(win.eventdata.image)</description>
<group>sysmon_event_17,</group>
</rule>
<rule id="254002" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^18$</field>
<description>Sysmon - Event 18: PipeEvent (Pipe Connected) by $(win.eventdata.image)</description>
<group>sysmon_event_18,</group>
</rule>
<rule id="254003" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^19$</field>
<description>Sysmon - Event 19: WmiEvent (WmiEventFilter activity detected) by $(win.eventdata.image)</description>
<group>sysmon_event_19,</group>
</rule>
<rule id="254004" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^20$</field>
<description>Sysmon - Event 20: WmiEvent (WmiEventConsumer activity detected) by $(win.eventdata.image)</description>
<group>sysmon_event_20,</group>
</rule>
<rule id="254005" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^21$</field>
<description>Sysmon - Event 21: WmiEvent (WmiEventConsumerToFilter activity detected) by $(win.eventdata.image)</description>
<group>sysmon_event_21,</group>
</rule>
<rule id="254006" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^22$</field>
<description>Sysmon - Event 22: DNSEvent (DNS query) by $(win.eventdata.image)</description>
<group>sysmon_event_22,</group>
</rule>
<rule id="254007" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^23$</field>
<description>Sysmon - Event 23: FileDelete (A file delete was detected) by $(win.eventdata.image)</description>
<group>sysmon_event_23,</group>
</rule>
<rule id="254008" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^24$</field>
<description>Sysmon - Event 24: ClipboardChange (New content in the clipboard) by $(win.eventdata.image)</description>
<group>sysmon_event_24,</group>
</rule>
<rule id="254009" level="3">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^25$</field>
<description>Sysmon - Event 25: ProcessTampering (Process image change) by $(win.eventdata.image)</description>
<group>sysmon_event_25,</group>
</rule>
</group>
<group name="WMI,">
<rule id="255200" level="12">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\WMIC.exe</field>
<regex>process call create</regex>
<description>Using WMIC for process creation: https://attack.mitre.org/techniques/T1047/</description>
<group>MITRE,attack.t1047</group>
</rule>
<rule id="255201" level="12">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\WMIC.exe</field>
<regex>/namespace:\\root\securitycenter2 path antivirusproduct</regex>
<description>Using WMIC for Antivirus Enumeration: https://attack.mitre.org/techniques/T1047/</description>
<group>MITRE,attack.t1047</group>
</rule>
<rule id="255202" level="8">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\WMIC.exe</field>
<regex>/NAMESPACE:\\\\root\\directory\\ldap PATH ds_user</regex>
<description>Using WMIC for Domain User Enumeration: https://attack.mitre.org/techniques/T1047/</description>
<group>MITRE,attack.t1047</group>
</rule>
<rule id="255203" level="8">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\WMIC.exe</field>
<regex>/NAMESPACE:\\\\root\\directory\\ldap PATH ds_group</regex>
<description>Using WMIC for Domain Group Enumeration: https://attack.mitre.org/techniques/T1047/</description>
<group>MITRE,attack.t1047</group>
</rule>
<rule id="255204" level="8">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\WMIC.exe</field>
<regex>USERACCOUNT</regex>
<description>Using WMIC for Local Account Enumeration: https://attack.mitre.org/techniques/T1047/</description>
<group>MITRE,attack.t1047</group>
</rule>
<rule id="255205" level="8">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\WMIC.exe</field>
<regex>NTDOMAIN</regex>
<description>Using WMIC for Domain Enumeration: https://attack.mitre.org/techniques/T1047/</description>
<group>MITRE,attack.t1047</group>
</rule>
<rule id="255206" level="8">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\WMIC.exe</field>
<regex>gfe list brief</regex>
<description>Using WMIC for Host Patch Level Enumeration: https://attack.mitre.org/techniques/T1047/</description>
<group>MITRE,attack.t1047</group>
</rule>
<rule id="255207" level="8">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\scrcons.exe</field>
<description>WMI persistence Script Event Consumer File Write : https://www.eideon.com/2018-03-02-THL03-WMIBackdoors/ </description>
<group>MITRE,attack.t1084</group>
</rule>
<rule id="255208" level="10">
<if_sid>255000</if_sid>
<field name="win.eventdata.parentImage">\\WmiPrvSE.exe</field>
<description>WmiPrvSE event spawning powershell</description>
<group>MITRE,attack.t1047</group>
</rule>
<rule id="255209" level="12">
<if_group>sysmon_event1</if_group>
<field name="win.eventdata.image">\\WmiPrvSE.exe</field>
<regex>cmd.exe</regex>
<match>127.0.0.1</match>
<description>Red Team WMI technique matching Impacket wmiexec.py tooling</description>
<group>MITRE,attack.t1047</group>
</rule>
</group>
<group name="Defense Evasion,Windows Defender">
<rule id="255300" level="10">
<if_group>windows</if_group>
<regex>Windows Defender Antivirus Real-time Protection scanning for malware and other potentially unwanted software was disabled</regex>
<description>Windows Defender: Realtime Detection Disabled: https://attack.mitre.org/techniques/T1089/</description>
<group>gdpr_IV_35.7.d,MITRE,attack.t1089,defender</group>
</rule>
<rule id="255301" level="12">
<if_group>windows</if_group>
<id>3002</id>
<description>Windows Defender: Antivirus Rules Missing: https://attack.mitre.org/techniques/T1089/</description>
<group>MITRE,attack.t1089,defender</group>
</rule>
<!-- Defender eventid alerting https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-antivirus/troubleshoot-windows-defender-antivirus -->
<rule id="255302" level="12">
<if_sid>255531</if_sid>
<field name="win.eventdata.commandline">DisableRealtimeMonitoring $true</field>
<description>Defender Realtime Monitoring Disabled</description>
<group>defender,attack.t1089</group>
</rule>
<rule id="255303" level="12">
<if_sid>62100</if_sid>
<field name="win.system.eventID">^5001$</field>
<description>Windows Defender Real-time Protection was disabled.</description>
<group>defender,attack.t1089</group>
</rule>
<rule id="255304" level="12">
<if_sid>62100</if_sid>
<field name="win.system.eventID">^1006$|^1116$</field>
<description>Windows Defender found malware or other potentially unwanted software. </description>
<group>defender,attack.t1089</group>
</rule>
<rule id="255305" level="11">
<if_sid>62100</if_sid>
<field name="win.system.eventID">^1008$</field>
<description>Windows Defender found malware and failed to clean it. </description>
<group>defender,attack.t1089</group>
</rule>
<rule id="255306" level="12">
<if_sid>62100</if_sid>
<field name="win.system.eventID">^1015$</field>
<description>Windows Defender detected suspicious behavior. </description>
<group>defender,attack.t1089</group>
</rule>
<rule id="255307" level="12">
<if_sid>62100</if_sid>
<field name="win.system.eventID">^5010$</field>
<description> Scanning for malware and other potentially unwanted software is disabled.</description>
<group>defender,attack.t1089</group>
</rule>
<rule id="255308" level="12">
<if_sid>62100</if_sid>