forked from SwiftOnSecurity/sysmon-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsysmonconfig-export.xml
3306 lines (3054 loc) · 295 KB
/
sysmonconfig-export.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
<!--
sysmon-config | A Sysmon configuration focused on default high-quality event tracing and easy customization by the community
Source version:
Source author: @SwiftOnSecurity, other contributors also credited in-line or on Git
Source project: https://github.com/SwiftOnSecurity/sysmon-config
Source license: Creative Commons Attribution 4.0 | You may privatize, fork, edit, teach, publish, or deploy for commercial use - with attribution in the text.
Fork version: <N/A>
Fork author: Ceramicskate0
Fork project: https://github.com/ceramicskate0/sysmon-config
Fork license: <N/A>
REQUIRED: Sysmon version 9.10 or higher (due to changes in syntax and bug-fixes)
https://docs.microsoft.com/en-us/sysinternals/downloads/sysmon
Note that 6.03 and 7.01 have critical fixes for filtering, it's VERY recommended you stay updated.
NOTE: To collect Sysmon logs centrally for free, see https://aka.ms/WEF | Command to allow log access to the Network Service:
wevtutil.exe sl Microsoft-Windows-Sysmon/Operational /ca:O:BAG:SYD:(A;;0xf0005;;;SY)(A;;0x5;;;BA)(A;;0x1;;;S-1-5-32-573)(A;;0x1;;;NS)
NOTE: Do not let the size and complexity of this configuration discourage you from customizing it or building your own.
This configuration is based around known, high-signal event tracing, and thus appears complicated, but it is only very
detailed. Significant effort over years has been invested in front-loading as much filtering as possible onto the
client. This is to make analysis of intrusions possible by hand, and to try to surface anomalous activity as quickly
as possible to technicians armed only with Event Viewer. Its purpose is to democratize system monitoring for all organizations.
NOTE: Sysmon is NOT a whitelist solution or HIDS correlation engine, it is a computer change logging tool.
Do NOT ignore everything possible. Sysmon's purpose is providing context during a threat or problem investigation. Legitimate
processes are routinely used by threats - do not blindly exclude them. Additionally, be mindful of process-hollowing / imitation.
NOTE: By default this monitors DNS, which is extremely noisy. If you are starting out on your monitoring journey, just remove that section.
You can remove DNS events from Event Viewer screen by applying a 'Filter Current View' for event IDs of: -22
Additionally, if you want to monitor DNS, you should deploy client-side adblocking to reduce lookups. See the DNS section for info.
NOTE: This configuration is designed for PER-MACHINE installs of Chrome and OneDrive. That moves their binaries out of user-controlled folders.
Otherwise, attackers could imitate these common applications, and bypass your logging. Below are silent upgrades you can do, no user impact:
https://docs.microsoft.com/en-us/onedrive/per-machine-installation
https://cloud.google.com/chrome-enterprise/browser/download/
NOTE: Sysmon is not hardened against an attacker with admin rights. Additionally, this configuration offers an attacker, willing
to study it, limited ways to evade some of the logging. If you are in a very high-threat environment, you should consider a broader,
log-most approach. However, in the vast majority of cases, an attacker will bumble through multiple behavioral traps which
this configuration monitors, especially in the first minutes. Even APT do not send their A-team unless they know you're hardened.
10% of the effort gets 95% of the results. APT rely on nobody watching because almost nobody does. Your effort makes the difference.
What matters is you. Start acting like it. Start demanding it. I spent 10 years not doing that. I regret every moment I didn't.
YOU make the difference. I went from a department with nothing, to a deparment with everything. And yet, PEOPLE are what matter.
If you are reading this, you are already far along the path to changing the world for the better. Advocate for yourself.
Find somewhere new if you are selfless, yet unvalued. These words are what I would have told an earlier me. I wish I did.
You are already the candidate of the future. A mirror will never tell truth. Tools can only show what you already beleive.
NOTE: If you encounter unexplanable event inclusion/exclusion, you may have a second Sysmon instance installed under a different exe filename.
To clear this, try downloading the latest version and uninstalling with -u force. If it hangs, kill the processes and run it again to cleanup.
TECHNICAL:
- Run sysmon.exe -? for a briefing on Sysmon configuration.
- Sysmon 8+ can track which rule caused an event to be logged through the "RuleName" field.
- If you only specify exclude for a filtering subsection, everything in that subsection is logged by default.
- Some Sysmon monitoring abilities are not meant for widely deployed general-purpose use due to performance impact. Depends on environment.
- Duplicate or overlapping "Include" rules do not result in duplicate events being logged.
- All characters enclosed by XML tags are always interpreted literally. Sysmon does not support wildcards (*), alternate characters, or RegEx.
- In registry events, the value name is appended to the full key path with a "\" delimiter. Default key values are named "\(Default)"
- "Image" is a technical term for a compiled binary file like an EXE or DLL. Also, it can match just the filename, or entire path.
- "ProcessGuid" and "LoginGuid" are not random, they contain some embedded information. https://gist.github.com/mattifestation/0102042160c9a60b2b847378c0ef70b4
FILTERING: Filter conditions available for use are: is, is not, contains, excludes, begin with, end with, less than, more than, image
- The "image" filter is usable on any field. Same as "is" but can either match entire string, or only the text after last "\". Credit: @mattifestation
-->
<Sysmon schemaversion="4.90">
<!--SYSMON META CONFIG-->
<HashAlgorithms>md5,sha256,IMPHASH</HashAlgorithms> <!-- Both MD5 and SHA256 are the industry-standard algorithms for identifying files -->
<CheckRevocation/> <!-- Check loaded drivers, log if their code-signing certificate has been revoked, in case malware stole one to sign a kernel driver -->
<!-- <ImageLoad/> --> <!-- Would manually force-on ImageLoad monitoring, even without configuration below. Included only documentation. -->
<!-- <ProcessAccessConfig/> --> <!-- Would manually force-on ProcessAccess monitoring, even without configuration below. Included only documentation. -->
<!-- <PipeMonitoringConfig/> --> <!-- Would manually force-on PipeCreated / PipeConnected events, even without configuration below. Included only documentation. -->
<EventFiltering>
<!--SYSMON EVENT ID 1 : PROCESS CREATION [ProcessCreate]-->
<!--COMMENT: All process launched will be included, except for what matches a rule below. It's best to be as specific as possible, to
avoid user-mode executables imitating other process names to avoid logging, or if malware drops files in an existing directory.
Ultimately, you must weigh CPU time checking many detailed rules, against the risk of malware exploiting the blindness created.
Beware of Masquerading, where attackers imitate the names and paths of legitimate tools. Ideally, you'd use both file path and
code signatures to validate, but Sysmon does not support that. Look into Windows Device Guard for whitelisting support. -->
<!--DATA: UtcTime, ProcessGuid, ProcessID, Image, FileVersion, Description, Product, Company, CommandLine, CurrentDirectory, User, LogonGuid, LogonId, TerminalSessionId, IntegrityLevel, Hashes, ParentProcessGuid, ParentProcessId, ParentImage, ParentCommandLine-->
<RuleGroup name="ProcessCreate Exclude" groupRelation="or">
<ProcessCreate onmatch="exclude">
<!--SECTION: Microsoft Windows-->
<IntegrityLevel condition="is">AppContainer</IntegrityLevel> <!--Microsoft:Windows: Don't care about sandboxed processes--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\System32\usocoreworker.exe</Image>
<Image condition="is">C:\Windows\System32\SpatialAudioLicenseSrv.exe</Image>
<Image condition="is">c:\riot games\league of legends\leagueclient.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">c:\program files (x86)\microsoft visual studio\2019\community\common7\servicehub\hosts\servicehub.host.clr.x64\servicehub.datawarehousehost.exe</Image>
<Image condition="is">C:\Windows\System32\UsoClient.exe</Image>
<Image condition="is">c:\Windows\system32\sdclt.exe</Image>
<Image condition="is">c:\Windows\system32\mmc.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\System32\CompPkgSrv.exe</Image>
<Image condition="is">c:\Windows\system32\sgrmbroker.exe</Image>
<Image condition="is">C:\Windows\System32\WerFault.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Program Files (x86)\Microsoft Office\root\VFS\ProgramFilesCommonX86\Microsoft Shared\OFFICE16\SDXHelper.exe</Image>
<Image condition="end with">AppData\Roaming\Resilio Sync\Resilio Sync.exe</Image> <!--Resilio Sync-->
<Image condition="is">C:\Windows\ImmersiveControlPanel\SystemSettings.exe</Image>
<Image condition="begin with">C:\ProgramData\Microsoft\Windows Defender\Platform\</Image>
<Image condition="begin with">C:\Program Files\Windows Defender</Image> <!--Microsoft:Windows:Defender in Win10-->
<Image condition="is">c:\Windows\system32\conhost.exe</Image><!-- Child process of conhost not very good tell, parent of conhost is better for detection. But this is useful if you want to track who is using console per process-->
<Image condition="is">C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe</Image>
<Image condition="is">C:\Program Files (x86)\Common Files\microsoft shared\ink\TabTip32.exe</Image> <!--Microsoft:Windows: Touch Keyboard and Handwriting Panel Helper-->
<Image condition="is">C:\Windows\System32\SearchFilterHost.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\System32\audiodg.exe</Image>
<Image condition="is">C:\Windows\System32\wsqmcons.exe</Image>
<Image condition="is">C:\Windows\System32\RuntimeBroker.exe</Image>
<Image condition="is">C:\Program Files (x86)\Notepad++\notepad++.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\System32\SearchProtocolHost.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe</Image>
<Image condition="is">C:\Program Files\Oracle\VirtualBox\VBoxNetDHCP.exe</Image>
<Image condition="begin with">C:\Program Files (x86)\NVIDIA Corporation\Update Core\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files (x86)\Fortinet\FortiClient\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files\Fortinet\FortiClient\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files\Fortinet\FortiClient\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Program Files (x86)\SWELF\SWELF.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe</Image>
<Image condition="is">C:\Program Files (x86)\Fortinet\FortiClient\update_task.exe</Image>
<Image condition="is">C:\Windows\system32\CompatTelRunner.exe</Image> <!--Microsoft:Windows: Customer Experience Improvement-->
<Image condition="is">C:\Windows\system32\audiodg.exe</Image> <!--Microsoft:Windows: Launched constantly-->
<Image condition="is">C:\Windows\system32\musNotification.exe</Image> <!--Microsoft:Windows: Update pop-ups-->
<Image condition="is">C:\Windows\system32\musNotificationUx.exe</Image> <!--Microsoft:Windows: Update pop-ups-->
<Image condition="is">C:\Windows\system32\powercfg.exe</Image> <!--Microsoft:Power configuration management-->
<Image condition="is">C:\Windows\system32\sndVol.exe</Image> <!--Microsoft:Windows: Volume control-->
<Image condition="is">C:\Windows\system32\sppsvc.exe</Image> <!--Microsoft:Windows: Software Protection Service-->
<Image condition="is">C:\Windows\system32\wbem\WmiApSrv.exe</Image> <!--Microsoft:Windows: WMI performance adapter host process-->
<Image condition="is">C:\Windows\System32\plasrv.exe</Image> <!--Microsoft:Windows: Performance Logs and Alerts DCOM Server-->
<Image condition="is"> C:\Windows\System32\wuauclt.exe</Image>
<Image condition="is">C:\Windows\System32\MusNotifyIcon.exe</Image>
<Image condition="is">C:\Windows\System32\appidcertstorecheck.exe</Image>
<Image condition="is">C:\Windows\Microsoft.Net\Framework64\v3.0\WPF\PresentationFontCache.exe</Image> <!--Microsoft:Windows: Font cache service-->
<Image condition="is">C:\Windows\system32\mobsync.exe</Image> <!--Microsoft:Windows: Network file syncing--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\system32\SppExtComObj.Exe</Image> <!--Microsoft:Windows: KMS activation-->
<Image condition="is">C:\Windows\system32\PrintIsolationHost.exe</Image> <!--Microsoft:Windows: Printing-->
<Image condition="is">C:\Windows\system32\MpSigStub.exe</Image> <!--Microsoft:Windows: Microsoft Malware Protection Signature Update Stub-->
<Image condition="begin with">C:\Windows\SoftwareDistribution\Download\Install\AM_</Image> <!--Microsoft:Defender: Signature updates-->
<Image condition="is">C:\Windows\System32\dxgiadaptercache.exe</Image>
<Image condition="is">C:\Program Files\Microsoft Office\Office16\MSOSYNC.EXE</Image> <!--Microsoft:Office: Background process for SharePoint/Office365 connectivity-->
<Image condition="is">C:\Program Files (x86)\Microsoft Office\Office16\MSOSYNC.EXE</Image> <!--Microsoft:Office: Background process for SharePoint/Office365 connectivity-->
<Image condition="is">C:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\OSPPSVC.EXE</Image> <!--Microsoft:Office: Licensing service-->
<Image condition="is">C:\Program Files\Microsoft Office\Office16\msoia.exe</Image> <!--Microsoft:Office: Telemetry collector-->
<Image condition="is">C:\Program Files (x86)\Microsoft Office\root\Office16\officebackgroundtaskhandler.exe</Image>
<Image condition="is">C:\Windows\System32\TokenBrokerCookies.exe</Image> <!--Microsoft:Windows: SSO sign-in assistant for MicrosoftOnline.com-->
<Image condition="end with">\ngentask.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">\ngen.exe</Image> <!--Microsoft:DotNet--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">\mscorsvw.exe</Image> <!--Microsoft:DotNet--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">\ngentask.exe</Image> <!--Microsoft:DotNet: Spawns thousands of ngen.exe processes--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<!--Microsoft:Visual Studio 2019-->
<Image condition="is">c:\program files (x86)\microsoft visual studio\2019\community\team tools\static analysis tools\fxcop\fxcopcmd.exe</Image>
<ParentImage condition="is">C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe</ParentImage>
<Image condition="is">C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\DiagnosticsHub.Collection.Service\StandardCollector.Service.exe</Image>
<Image condition="is">C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\PrivateAssemblies\ScriptedSandbox64.exe</Image>
<Image condition="is">C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe</Image>
<Image condition="is">C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe</Image> <!--Microsoft:Office: Background process-->
<Image condition="is">C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Roslyn\VBCSCompiler.exe</Image>
<Image condition="is">C:\Windows\system32\svchost.exe</Image>
<Image condition="is">c:\program files (x86)\notepad++\updater\gup.exe</Image>
<Image condition="is">c:\Windows\system32\xblgamesavetask.exe</Image>
<Image condition="is">c:\Windows\system32\provtool.exe</Image>
<Image condition="is">c:\Windows\system32\surfaceservice.exe</Image>
<Image condition="is">c:\program files (x86)\microsoft office\root\office16\sdxhelper.exe</Image>
<Image condition="is">c:\program files (x86)\microsoft visual studio\2019\community\common7\servicehub\hosts\servicehub.host.clr.anycpu\servicehub.testWindowstorehost.exe</Image>
<Image condition="is">c:\program files (x86)\microsoft visual studio\installer\resources\app\servicehub\services\microsoft.visualstudio.setup.service\backgrounddownload.exe</Image>
<!-- Commandline excludes are weak at best -->
<Image condition="is">C:\Windows\system32\SearchIndexer.exe</Image> <!--Microsoft:Windows: Search Indexer--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\System32\smss.exe</Image> <!--Microsoft:Bootup: Windows Session Manager--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\system32\autochk.exe </Image> <!--Microsoft:Bootup: Auto Check Utility--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Program Files\Mozilla Firefox\firefox.exe</Image>
<!--Microsoft:Office: -->
<ParentImage condition="end with">C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe</ParentImage> <!--Microsoft:Office: Background process-->
<ParentImage condition="is">C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe</ParentImage> <!--Microsoft:Office: Background process-->
<!--SECTION: Microsoft:Windows: Media player-->
<Image condition="is">C:\Program Files\Windows Media Player\wmpnscfg.exe</Image> <!--Microsoft:Windows: Windows Media Player Network Sharing Service Configuration Application-->
<!--SECTION: Google-->
<Image condition="is">"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe</Image> <!--Google:Chrome: massive command-line arguments-->
<Image condition="begin with">C:\Program Files (x86)\Google\Update\</Image> <!--Google:Chrome:Updater: You should experiment with this line since attackers sometimes hide in this folder-->
<ParentImage condition="begin with">C:\Program Files (x86)\Google\Update\</ParentImage> <!--Google:Chrome:Updater: You should experiment with this line since attackers sometimes hide in this folder-->
<!--SECTION: Firefox-->
<Image condition="is">"C:\Program Files\Mozilla Firefox\plugin-container.exe</Image> <!-- Mozilla:Firefox: Large command-line arguments | Credit @Darkbat91 -->
<Image condition="is">"C:\Program Files (x86)\Mozilla Firefox\plugin-container.exe</Image> <!-- Mozilla:Firefox: Large command-line arguments | Credit @Darkbat91 -->
<ParentImage condition="end with">C:\Program Files (x86)\Common Files\Adobe\AdobeGCClient\AGSService.exe</ParentImage>
<!--SECTION: Adobe:Acrobat DC-->
<Image condition="end with">C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\AcroCEF\AcroCEF.exe</Image> <!--Adobe:Acrobat: Sandbox subprocess, still evaluating security exposure-->
<Image condition="end with">C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\LogTransport2.exe</Image> <!--Adobe: Telemetry [ https://forums.adobe.com/thread/1006701 ] -->
<!--SECTION: Adobe:Acrobat 2015-->
<Image condition="end with">C:\Program Files (x86)\Adobe\Acrobat 2015\Acrobat\AcroCEF\AcroCEF.exe</Image> <!--Adobe:Acrobat: Sandbox subprocess, still evaluating security exposure-->
<Image condition="end with">C:\Program Files (x86)\Adobe\Acrobat 2015\Acrobat\LogTransport2.exe</Image> <!--Adobe: Telemetry [ https://forums.adobe.com/thread/1006701 ] -->
<!--SECTION: Adobe:Acrobat Reader DC-->
<Image condition="end with">C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroCEF\RdrCEF.exe</Image> <!--Adobe:AcrobatReader: Sandbox subprocess, still evaluating security exposure-->
<Image condition="end with">C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\LogTransport2.exe</Image> <!--Adobe: Telemetry [ https://forums.adobe.com/thread/1006701 ] -->
<!--SECTION: Adobe:Flash-->
<Image condition="end with">C:\Windows\SysWOW64\Macromed\Flash\FlashPlayerUpdateService.exe</Image> <!--Adobe:Flash: Properly hardened updater, not a risk-->
<!--SECTION: Adobe:Updater-->
<Image condition="end with">C:\Program Files (x86)\Common Files\Adobe\ARM\1.0\AdobeARM.exe</Image> <!--Adobe:Updater: Properly hardened updater, not a risk-->
<ParentImage condition="end with">C:\Program Files (x86)\Common Files\Adobe\ARM\1.0\AdobeARM.exe</ParentImage> <!--Adobe:Updater: Properly hardened updater, not a risk-->
<Image condition="end with">C:\Program Files (x86)\Common Files\Adobe\ARM\1.0\armsvc.exe</Image> <!--Adobe:Updater: Properly hardened updater, not a risk-->
<!--SECTION: Adobe:Supporting processes-->
<Image condition="end with">C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\AdobeCollabSync.exe</Image>
<Image condition="end with">C:\Program Files (x86)\Common Files\Adobe\Adobe Desktop Common\HEX\Adobe CEF Helper.exe</Image>
<Image condition="end with">C:\Program Files (x86)\Common Files\Adobe\AdobeGCClient\AdobeGCClient.exe</Image> <!--Adobe:Creative Cloud-->
<Image condition="end with">C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\P6\adobe_licutil.exe</Image> <!--Adobe:License utility-->
<Image condition="end with">C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\P7\adobe_licutil.exe</Image> <!--Adobe:License utility-->
<ParentImage condition="end with">C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\P7\adobe_licutil.exe</ParentImage> <!--Adobe:License utility-->
<Image condition="end with">C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\UWA\updaterstartuputility.exe</Image>
<ParentImage condition="end with">C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\UWA\updaterstartuputility.exe</ParentImage>
<Image condition="end with">C:\Program Files (x86)\Adobe\Adobe Creative Cloud\ACC\Creative Cloud.exe</Image>
<ParentImage condition="end with">C:\Program Files (x86)\Adobe\Adobe Creative Cloud\ACC\Creative Cloud.exe</ParentImage>
<ParentImage condition="end with">C:\Program Files (x86)\Adobe\Adobe Creative Cloud\CCXProcess\CCXProcess.exe</ParentImage>
<ParentImage condition="end with">C:\Program Files (x86)\Adobe\Adobe Creative Cloud\CoreSync\CoreSync.exe</ParentImage>
<ParentCommandLine condition="contains">\system32\csrss.exe ObjectDirectory=\Windows</ParentCommandLine> <!--Microsoft:Windows:CommandShell: Triggered when programs use the command shell, but doesn't provide attribution for what caused it--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<ParentCommandLine condition="begin with">C:\Windows\system32\wermgr.exe -queuereporting</ParentCommandLine> <!--Microsoft:Windows:Windows error reporting/telemetry--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<ParentImage condition="is">C:\Windows\system32\SearchIndexer.exe</ParentImage> <!--Microsoft:Windows:Search: Launches many uninteresting sub-processes--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<!--SECTION: Cisco-->
<ParentImage condition="end with">C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpnagent.exe</ParentImage> <!--Cisco: Calls netsh to change settings on connect-->
<ParentImage condition="end with">C:\Program Files\Realtek\Audio\HDA\RtkAudioService64.exe</ParentImage> <!--Realtek:Driver: routine actions-->
<!--SECTION: Dropbox-->
<Image condition="is">C:\Program Files (x86)\Dropbox\Update\DropboxUpdate.exe</Image> <!--Dropbox:Updater: Lots of command-line arguments-->
<ParentImage condition="end with">C:\Program Files (x86)\Dropbox\Update\DropboxUpdate.exe</ParentImage>
<!--SECTION: Dell-->
<ParentImage condition="is">C:\Program Files (x86)\Dell\CommandUpdate\InvColPC.exe</ParentImage> <!--Dell:CommandUpdate: Detection process-->
<ParentImage condition="end with">C:\Program Files\DellTPad\HidMonitorSvc.exe</ParentImage>
<Image condition="is">C:\Program Files\Dell\SupportAssist\pcdrcui.exe</Image> <!--Dell:SupportAssist: routine actions-->
<Image condition="is">C:\Program Files\Dell\SupportAssist\koala.exe</Image> <!--Dell:SupportAssist: routine actions-->
<CurrentDirectory condition="is">C:\Program Files (x86)\ossec-agent\</CurrentDirectory><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<ParentCommandLine condition="end with">"-outc=C:\ProgramData\Dell\CommandUpdate\inventory.xml" "-logc=C:\ProgramData\Dell\CommandUpdate\scanerrs.xml" "-lang=en" "-enc=UTF-16" </ParentCommandLine><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<!--Nosie EXEs-->
<Rule groupRelation="and">
<Image condition="is">C:\Windows\System32\MoUsoCoreWorker.exe</Image>
<CommandLine condition="begin with">C:\Windows\System32\mousocoreworker.exe -Embedding</CommandLine>
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Windows\System32\smartscreen.exe</Image>
<CommandLine condition="begin with">C:\Windows\System32\smartscreen.exe -Embedding</CommandLine>
</Rule>
<Rule groupRelation="and"><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\system32\DllHost.exe</Image>
<CommandLine condition="begin with"> "C:\WINDOWS\SysWOW64\DllHost.exe" /Processid:</CommandLine>
</Rule>
<Rule groupRelation="and"><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\SysWOW64\dllhost.exe</Image>
<CommandLine condition="begin with">"C:\WINDOWS\SysWOW64\DllHost.exe" /Processid:</CommandLine>
</Rule>
<Rule groupRelation="and"><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\System32\dmclient.exe</Image>
<CommandLine condition="begin with">C:\Windows\System32\dmclient.exe</CommandLine>
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Windows\system32\wermgr.exe</Image>
<CommandLine condition="contains">-p</CommandLine>
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Windows\system32\wermgr.exe</Image>
<CommandLine condition="contains">shared Global</CommandLine>
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Windows\system32\rundll32.exe</Image>
<CommandLine condition="is">C:\Windows\system32\rundll32.exe /d sdengin2.dll,ExecuteScheduledBackup</CommandLine>
</Rule>
<Rule groupRelation="and">
<Image condition="is">c:\Windows\system32\taskhostw.exe</Image>
<ParentImage condition="is">c:\Windows\system32\svchost.exe</ParentImage>
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Windows\System32\smartscreen.exe</Image>
<ParentImage condition="is">C:\Windows\System32\svchost.exe</ParentImage>
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Windows\System32\wbem\WmiPrvSE.exe</Image>
<ParentImage condition="is">C:\Windows\System32\svchost.exe</ParentImage>
<CommandLine condition="is">C:\Windows\system32\wbem\wmiprvse.exe -secured -Embedding</CommandLine>
<ParentCommandLine condition="is">C:\Windows\system32\svchost.exe -k DcomLaunch -p</ParentCommandLine>
<User condition="is">NT AUTHORITY\NETWORK SERVICE</User>
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Windows\System32\wermgr.exe</Image>
<ParentImage condition="is">C:\Windows\System32\svchost.exee</ParentImage>
<CommandLine condition="is">C:\Windows\system32\wermgr.exe -upload</CommandLine>
<ParentCommandLine condition="is">C:\Windows\system32\svchost.exe -k netsvcs -p -s Schedule</ParentCommandLine>
</Rule>
<Rule groupRelation="and">
<Image condition="is">c:\Windows\system32\logonui.exe</Image>
<ParentImage condition="is">c:\Windows\system32\winlogon.exe</ParentImage>
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Windows\System32\ctfmon.exe</Image>
<ParentImage condition="is">C:\Windows\System32\svchost.exe</ParentImage>
<ParentCommandLine condition="is">C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s TabletInputService</ParentCommandLine>
</Rule>
<Rule groupRelation="and">
<Image condition="is">c:\Windows\syswow64\cmd.exe</Image>
<ParentImage condition="is">c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\devenv.exe</ParentImage>
</Rule>
<!--SECTION: Adobe-->
<Rule groupRelation="and">
<Image condition="begin with">C:\Program Files (x86)\Adobe\</Image>
<CommandLine condition="contains">AcroRd32.exe" /CR </CommandLine> <!--Adobe:AcrobatReader: Uninteresting sandbox subprocess-->
</Rule>
<Rule groupRelation="and">
<Image condition="begin with">C:\Program Files (x86)\Adobe\</Image>
<CommandLine condition="contains">AcroRd32.exe" --channel=</CommandLine> <!--Adobe:AcrobatReader: Uninteresting sandbox subprocess-->
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Program Files\DellTPad\ApMsgFwd.exe</Image>
<CommandLine condition="begin with">"C:\Program Files\DellTPad\ApMsgFwd.exe" -s{</CommandLine>
</Rule>
<Rule groupRelation="and">
<Image condition="is">C:\Program Files\DellTPad\ApMsgFwd.exe</Image>
<CommandLine condition="is">C:\Windows\system32\igfxsrvc.exe -Embedding</CommandLine>
</Rule>
</ProcessCreate>
</RuleGroup>
<!--SYSMON EVENT ID 2 : FILE CREATION TIME RETROACTIVELY CHANGED IN THE FILESYSTEM [FileCreateTime]-->
<!--COMMENT: [ https://attack.mitre.org/wiki/Technique/T1099 ] -->
<!--DATA: UtcTime, ProcessGuid, ProcessId, Image, TargetFilename, CreationUtcTime, PreviousCreationUtcTime-->
<RuleGroup name="FileCreateTime Include" groupRelation="or">
<FileCreateTime onmatch="include">
<Image name="FileCreateTime (TimeStomped) changed from file in Windows Temp" condition="begin with">C:\Windows\Temp</Image>
<Image name="FileCreateTime (TimeStomped) changed from file in ProgramData" condition="begin with">C:\Program Data</Image>
<Image name="FileCreateTime (TimeStomped) changed from file in RecycleBin" condition="begin with">C:\$Recycle.Bin</Image>
<Image name="FileCreateTime (TimeStomped) changed from file in ProgramData" condition="begin with">C:\Program Files</Image>
<Image name="FileCreateTime (TimeStomped) changed from file in Users Folder" condition="begin with">C:\Users</Image> <!--Look for timestomping in user area-->
<TargetFilename name="FileCreateTime (TimeStomped) changed a file located in RecycleBin" condition="begin with">C:\$Recycle.Bin</TargetFilename>
<TargetFilename name="persistence - office templates trusted location" condition="contains" >AppData\Roaming\Microsoft\Templates</TargetFilename>
<TargetFilename name="KeeFarce.exe default injected DLL name-" condition="end with">BootStrapDLL.dll</TargetFilename><!-- KeeFarce.exe default injected DLL name-->
<TargetFilename name="persistence - backdoored default docm template" condition="end with" >Templates\Normal.dotm</TargetFilename>
<TargetFilename name="persistence - backdoored outlook template" condition="end with" >NormalEmail.dotm</TargetFilename>
<TargetFilename name="persistence - backdoored excel default macro template" condition="end with" >XLSTART\PERSONAL.XLSB</TargetFilename>
<TargetFilename name="persistence - Word Library Add-Ins" condition="contains" >Roaming\Microsoft\Word\Startup\</TargetFilename>
<TargetFilename name="persistence - Excel VBA Add-Ins" condition="contains" >Roaming\Microsoft\Excel\XLSTART\</TargetFilename>
<TargetFilename name="persistence - Powerpoint and Excel VBA Add-Ins Trusted Location" condition="contains" >Roaming\Microsoft\AddIns</TargetFilename>
<TargetFilename name="FileCreateTime (TimeStomped) changed a file located in Appdata" condition="contains">\AppData\</TargetFilename>
<TargetFilename name="FileCreateTime (TimeStomped) changed a file located in Users folder" condition="begin with">C:\Users\</TargetFilename>
<TargetFilename name="FileCreateTime (TimeStomped) changed a file located in Windows folder" condition="begin with">C:\Windows\</TargetFilename>
<TargetFilename name="Possible Memory dump file" condition="end with">.dmp</TargetFilename>
<TargetFilename name="Very likely LSASS Memory dump file" condition="contains">lsass</TargetFilename>
<TargetFilename name="Confirmed LSASS Memory dump file" condition="contains">lsass.dmp</TargetFilename>
<TargetFilename name="Possible Kerbroasting" condition="end with">.ccache</TargetFilename>
<TargetFilename name="Possible Kerbroasting" condition="end with">.kirbi</TargetFilename>
<TargetFilename name="possible wmi persistence" condition="end with">.mof</TargetFilename> <!-- wmi persistence -->
<TargetFilename name="XML Script file extension" condition="end with">.xsl</TargetFilename> <!-- XML Script -->
<TargetFilename name="Schedule task creation" condition="begin with">C:\Windows\Tasks\</TargetFilename>
<TargetFilename name="Schedule task creation" condition="begin with">c:\Windows\system32\tasks\</TargetFilename>
<TargetFilename name="Web server dir file added" condition="contains">Exchange Server\ClientAccess\Owa\</TargetFilename> <!-- webshell stuff on exchange CAS -->
<TargetFilename name="Web server dir file added" condition="contains">\inetpub\wwwroot\</TargetFilename><!-- webshell stuff -->
<TargetFilename condition="begin with">C:\Windows\AppPatch\Custom</TargetFilename>
<TargetFilename condition="begin with">c:\Windows\AppPatch64\Custom</TargetFilename>
<TargetFilename name="Persistence - Outlook VBA Backdoor" condition="end with" >VBAProject.OTM</TargetFilename> <!-- office less famous extensions -->
<TargetFilename name="UAC Bypass via rogue manifest" condition="end with">wscript.exe</TargetFilename><!-- UAC Bypass via rogue manifest -->
<TargetFilename name="Possible persist or hijack exec flow via appcompat shim database" condition="end with">.sdb</TargetFilename> <!-- persist or hijack exec flow via appcompat shim database -->
<TargetFilename name="UAC Bypass via custom manifest targeting vulnerable trusted programs" condition="end with">.manifest</TargetFilename> <!-- UAC Bypass via custom manifest targeting vulnerable trusted programs -->
<TargetFilename name="by default bloodhound drops this file to disk if not disabled by cmdline " condition="end with">bloodhound.bin</TargetFilename> <!-- by default bloodhound drops this file to disk if not disabled by cmdline -->
<TargetFilename name="Persistence - Outlook VBA Backdoor" condition="end with" >VBAProject.OTM</TargetFilename> <!-- office less famous extensions -->
<TargetFilename name="UAC Bypass via rogue manifest" condition="end with">wscript.exe</TargetFilename><!-- UAC Bypass via rogue manifest -->
<TargetFilename name="Possible persist or hijack exec flow via appcompat shim database" condition="end with">.sdb</TargetFilename> <!-- persist or hijack exec flow via appcompat shim database -->
<TargetFilename name="UAC Bypass via custom manifest targeting vulnerable trusted programs" condition="end with">.manifest</TargetFilename> <!-- UAC Bypass via custom manifest targeting vulnerable trusted programs -->
<TargetFilename name="by default bloodhound drops this file to disk if not disabled by cmdline " condition="end with">bloodhound.bin</TargetFilename> <!-- by default bloodhound drops this file to disk if not disabled by cmdline -->
<TargetFilename name="Minidump default file name" condition="contains">minidump</TargetFilename> <!-- by default this is file name for mimikatz and other tools for lsass dump -->
</FileCreateTime>
</RuleGroup>
<RuleGroup name="FileCreateTime Exclude" groupRelation="or">
<FileCreateTime onmatch="exclude">
<Image condition="end with">\XboxAppServices.exe</Image>
<TargetFilename condition="end with">\AppData\Local\Microsoft\Windows\Explorer\iconcache_custom_stream.db</TargetFilename>
<Image condition="is">C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe</Image>
<Image condition="is">C:\Program Files (x86)\Notepad++\notepad++.exe</Image>
<Image condition="is">C:\Program Files (x86)\Mozilla Firefox\firefox.exe</Image>
<Image condition="is">C:\program files (x86)\adobe\acrobat reader dc\reader\acrocef\rdrservicesupdater.exe</Image>
<Image condition="end with">\OneDrive.exe</Image> <!--OneDrive constantly changes file times--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\system32\backgroundTaskHost.exe</Image>
<Image condition="contains">setup</Image> <!--Ignore setups--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="contains">install</Image> <!--Ignore setups--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="contains">\Update\</Image> <!--Ignore setups--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">\redist.exe</Image> <!--Ignore setups--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">TrustedInstaller.exe</Image> <!--Ignore setups--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">\notepad++.exe</Image> <!--Ignore setups--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">\SWELF.exe</Image> <!--Ignore setups--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Windows\winsxs\amd64_microsoft-Windows</Image> <!-- Windows: Windows update-->
<Image condition="is">C:\Windows\system32\igfxCUIService.exe</Image>
<TargetFilename condition="begin with">C:\$Windows.~BT\Sources\</TargetFilename> <!-- Windows: Feature updates containing lots of .exe and .sys-->
<TargetFilename condition="end with">.temp</TargetFilename><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<TargetFilename condition="end with">.tmp</TargetFilename><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<TargetFilename condition="begin with">C:\Windows\SoftwareDistribution\Download\</TargetFilename>
</FileCreateTime>
</RuleGroup>
<!--SYSMON EVENT ID 3 : NETWORK CONNECTION INITIATED [NetworkConnect]-->
<!--COMMENT: By default this configuration takes a very conservative approach to network logging, limited to only extremely high-signal events.-->
<!--COMMENT: [ https://attack.mitre.org/wiki/Command_and_Control ] [ https://attack.mitre.org/wiki/Exfiltration ] [ https://attack.mitre.org/wiki/Lateral_Movement ] -->
<!--TECHNICAL: For the DestinationHostname, Sysmon uses the GetNameInfo API, which will often not have any information, and may just be a CDN. This is NOT reliable for filtering.-->
<!--TECHNICAL: For the DestinationPortName, Sysmon uses the GetNameInfo API for the friendly name of ports you see in logs.-->
<!--TECHNICAL: These exe do not initiate their connections, and thus includes do not work in this section: BITSADMIN NLTEST-->
<!-- https://www.first.org/resources/papers/conf2017/APT-Log-Analysis-Tracking-Attack-Tools-by-Audit-Policy-and-Sysmon.pdf -->
<!--<NetworkConnect onmatch="include">
</NetworkConnect>-->
<!--DATA: UtcTime, ProcessGuid, ProcessId, Image, User, Protocol, Initiated, SourceIsIpv6, SourceIp, SourceHostname, SourcePort, SourcePortName, DestinationIsIpV6, DestinationIp, DestinationHostname, DestinationPort, DestinationPortName-->
<RuleGroup name="NetworkConnect exclude" groupRelation="or">
<NetworkConnect onmatch="exclude">
<!--<Image condition="contains">C:\Windows\System32\svchost.exe</Image>-->
<Image condition="begin with">C:\Windows\SystemApps\Microsoft.Windows.Search</Image>
<Image condition="begin with">c:\riot games\riot client\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">c:\program files\Windowsapps\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">c:\riot games\league of legends\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">c:\program files (x86)\steam\steam.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\program files\nvidia corporation\nvcontainer\nvcontainer.exe</Image>
<Image condition="is">C:\program files (x86)\steam\bin\cef\cef.win7x64\steamwebhelper.exe</Image>
<Image condition="end with">\g2ax_comm_expert.exe</Image> <!--GoToMeeting-->
<Image condition="end with">\g2mcomm.exe</Image> <!--GoToMeeting-->
<Image condition="end with">\SWELF.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">\chrome.exe</Image><!--Browser--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">\firefox.exe</Image><!--Browser--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">\iexplore.exe</Image><!--Browser--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">MicrosoftEdge.exe</Image><!--Browser--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\System32\dns.exe</Image><!-- noisy for dns -->
<Image condition="begin with">c:\program files\oracle\virtualbox\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">c:\program files (x86)\microsoft office\root\office16\sdxhelper.exe</Image>
<Image condition="is">c:\Windows\system32\usocoreworker.exe</Image>
<Image condition="is">c:\Windows\system32\dxgiadaptercache.exe</Image>
<Image condition="is">C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe</Image>
<Image condition="is">C:\Windows\System32\smartscreen.exe</Image><!-- noisy -->
<Image condition="is">C:\Windows\System32\svchost.exe</Image><!-- noisy for dns and ldap -->
<Image condition="is">C:\Windows\System32\lsass.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Windows\System32\dfsrs.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Windows\System32\taskhost.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Windows\System32\wbem\WmiPrvSE.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Windows\System32\wbem\WmiApSrv.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Windows\System32\taskhostw.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Windows\CCM\CcmExec.exe</Image>
<Image condition="is">C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeClickToRun.exe</Image><!-- noisy-->
<Image condition="is">C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\ServiceHub\Hosts\ServiceHub.Host.CLR.x86\ServiceHub.SettingsHost.exe</Image><!-- noisy-->
<Image condition="is">C:\Windows\ADWS\Microsoft.ActiveDirectory.WebServices.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Program Files (x86)\BigFix Enterprise\BES Client\BESClient.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Program Files (x86)\Google\Chrome\Application\chrome.exe</Image><!-- noisy for 5353 MDNS -->
<Image condition="is">C:\Windows\System32\dfssvc.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Windows\System32\dsregcmd.exe</Image><!-- noisy for ldap -->
<Image condition="is">C:\Windows\System32\certsrv.exe</Image>
<Image condition="is">C:\Program Files (x86)\Trend Micro\Control Manager\ReportServer.exe</Image>
<Image condition="is">C:\Program Files (x86)\Citrix\XenCenter\XenCenterMain.exe</Image>
<Image condition="is">C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpnagent.exe</Image>
<Image condition="is">C:\Program Files (x86)\BigFix Enterprise\BES Server\BESRootServer.exe</Image>
<Image condition="is">C:\Program Files (x86)\Trend Micro\Control Manager\CmdProcessor.exe</Image>
<Image condition="is">D:\Program Files (x86)\Symantec\LiveUpdate Administrator\pgsql\bin\postgres.exe</Image>
<Image condition="begin with">C:\Program Files\Fortinet\FortiClient\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Program Files (x86)\ossec-agent\ossec-agent.exe</Image>
<Image condition="begin with">C:\ProgramData\Microsoft\Windows Defender\Platform\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files (x86)\Fortinet\FortiClient\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files\Fortinet\FortiClient\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files (x86)\OpenDNS Updater\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="end with">AppData\Local\Microsoft\Teams\current\Teams.exe</Image> <!--Microsoft: Teams--><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files\HP Inc\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files (x86)\Trend Micro\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files\Trend Micro\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files (x86)\Microsoft Visual Studio\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files\Microsoft Office\root\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files (x86)\Symantec\Symantec Endpoint Protection\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">c:\riot games\league of legends\leagueclient.exe</Image>
<Image condition="is">c:\Windows\system32\svchost.exe</Image>
<Image condition="is">c:\program files (x86)\steam\steam.exe</Image>
<Image condition="is">c:\riot games\riot client\riotclientservices.exe</Image>
<Image condition="is">c:\riot games\league of legends\game\league of legends.exe</Image>
<Image condition="is">c:\Windows\sysmon.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">c:\program files\Windowsapps\microsoft.xboxgamingoverlay_3.38.25003.0_x64__8wekyb3d8bbwe\gamebar.exe</Image>
<Image condition="is">c:\Windows\system32\gamebarpresencewriter.exe</Image>
<DestinationHostname condition="end with">microsoft.com</DestinationHostname> <!--Microsoft:Update delivery-->
<DestinationHostname condition="end with">microsoft.com.akadns.net</DestinationHostname> <!--Microsoft:Update delivery-->
<DestinationHostname condition="end with">microsoft.com.nsatc.net</DestinationHostname> <!--Microsoft:Update delivery-->
<DestinationHostname condition="end with">a-0003.a-msedge.net</DestinationHostname>
<DestinationPort condition="is">137</DestinationPort>
<DestinationPort condition="is">138</DestinationPort>
</NetworkConnect>
</RuleGroup>
<!--SYSMON EVENT ID 4 : RESERVED FOR SYSMON STATUS MESSAGES-->
<!--DATA: UtcTime, State, Version, SchemaVersion-->
<!--Cannot be filtered.-->
<!--SYSMON EVENT ID 5 : PROCESS ENDED [ProcessTerminate]-->
<!--COMMENT: Useful data in building infection timelines.-->
<!--DATA: UtcTime, ProcessGuid, ProcessId, Image-->
<RuleGroup name="ProcessTerminate exclude" groupRelation="or">
<ProcessTerminate onmatch="exclude">
<Image condition="is">C:\Windows\System32\SearchProtocolHost.exe</Image>
<Image condition="is">C:\Windows\System32\smartscreen.exe</Image>
<Image condition="end with">AppData\Local\Programs\Microsoft VS Code\Code.exe</Image>
<Image condition="begin with">C:\Program Files (x86)\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="begin with">C:\Program Files\</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\System32\conhost.exe</Image>
<Image condition="is">C:\Windows\System32\dllhost.exe</Image>
<Image condition="is">C:\Windows\System32\svchost.exe</Image>
<Image condition="is">C:\Windows\System32\wbem\WmiPrvSE.exe</Image>
<Image condition="is">C:\Windows\SysWOW64\wbem\WMIC.exe</Image>
<Image condition="is">C:\Windows\system32\RuntimeBroker.exe</Image>
<Image condition="is">C:\Windows\system32\backgroundtaskhost.exe</Image>
<Image condition="is">C:\Windows\System32\SearchFilterHost.exe</Image>
<Image condition="is">C:\Windows\System32\UsoClient.exe</Image>
<Image condition="end with">\SWELF.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">c:\Windows\syswow64\cmd.exe</Image><!-- Could find more things if you comment this, but as it is it also reduces noise when its uncommented-->
<Image condition="is">C:\Windows\System32\ctfmon.exe</Image>
<Image condition="is">C:\Windows\System32\SpatialAudioLicenseSrv.exe</Image>
<Image condition="is">C:\Windows\System32\MoUsoCoreWorker.exe</Image>
<Image condition="begin with">AppData\Local\Microsoft\Teams\current\Teams.exe</Image>
</ProcessTerminate>
</RuleGroup>
<!--SYSMON EVENT ID 6 : DRIVER LOADED INTO KERNEL [DriverLoad]-->
<!--COMMENT: Because drivers with bugs can be used to escalate to kernel permissions, be extremely selective
about what you exclude from monitoring. Low event volume, little incentive to exclude.
[ https://attack.mitre.org/wiki/Technique/T1014 ] -->
<!--TECHNICAL: Sysmon will check the signing certificate revocation status of any driver you don't exclude.-->
<!--DATA: UtcTime, ImageLoaded, Hashes, Signed, Signature, SignatureStatus-->
<RuleGroup name="DriverLoad exclude" groupRelation="or">
<DriverLoad onmatch="exclude">
<Rule groupRelation="and">
<Signature condition="begin with">Fortinet Technologies (Canada) Inc.</Signature>
<SignatureStatus condition="is">Valid</SignatureStatus>
</Rule>
<!--Exclude signed Microsoft drivers-->
<Rule groupRelation="and">
<Signature condition="contains">Microsoft</Signature>
<SignatureStatus condition="is">Valid</SignatureStatus>
</Rule>
<Rule groupRelation="and">
<Signature condition="contains">Windows</Signature>
<SignatureStatus condition="is">Valid</SignatureStatus>
</Rule>
<!--Exclude signed Inter drivers-->
<Rule groupRelation="and">
<Signature condition="begin with">Intel </Signature>
<SignatureStatus condition="is">Valid</SignatureStatus>
</Rule>
<!--Exclude signed VMware drivers-->
<Rule groupRelation="and">
<Signature condition="begin with">VMware</Signature>
<SignatureStatus condition="is">Valid</SignatureStatus>
</Rule>
</DriverLoad>
</RuleGroup>
<!--SYSMON EVENT ID 7 : DLL (IMAGE) LOADED BY PROCESS [ImageLoad]-->
<!--COMMENT: Can cause high system load, disabled by default.-->
<!--COMMENT: [ https://attack.mitre.org/wiki/Technique/T1073 ] [ https://attack.mitre.org/wiki/Technique/T1038 ] [ https://attack.mitre.org/wiki/Technique/T1034 ] -->
<!--DATA: UtcTime, ProcessGuid, ProcessId, Image, ImageLoaded, Hashes, Signed, Signature, SignatureStatus-->
<!--NOTE: There is possibly a huge gap here for LOLbin's. Please add as you find them to the repo-->
<RuleGroup name="ImageLoad include" groupRelation="or">
<ImageLoad onmatch="include">
<Image condition="end with">mshta.exe</Image>
<Image condition="end with">Dism.exe</Image>
<Image name="MitreRef=T1128,Technique=Netsh Helper Beacon DLL,Tactic=Persistence, also it manages Windows firewall." condition="end with">netsh.exe</Image>
<ImageLoaded name="technique_id=T1047,technique_name=Windows Management Instrumentation" condition="end with">wmiutils.dll</ImageLoaded>
<ImageLoaded condition="end with" name="comsvcs dll load- Look for Possible minidump or com bypass">comsvcs.dll</ImageLoaded><!-- This DLL is known to be able to minidump lsass using minidump arg -->
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">\\</ImageLoaded><!-- loaded from network file share -->
<ImageLoaded condition="contains" name="Execution - Image Loaded from suspicious path">admin$</ImageLoaded><!-- loaded from network file share -->
<ImageLoaded condition="contains" name="Execution - Image Loaded from suspicious path">c$</ImageLoaded><!-- loaded from network file share -->
<ImageLoaded condition="contains" name="Execution - Image Loaded from suspicious path">\appdata\</ImageLoaded>
<ImageLoaded condition="contains" name="Execution - Image Loaded from suspicious path">\temp\</ImageLoaded>
<ImageLoaded condition="contains" name="Execution - Image Loaded from suspicious path">\Notpad++\plugins</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">c:\Program Files\Microsoft SQL Server\130\Shared\ErrorDumps</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">c:\Program Files\ViPER4Windows\DriverComm</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">c:\Program Files (x86)\Common Files\Adobe\SLCache</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\System32\Microsoft\Crypto\RSA\MachineKeys</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Unusual Module Extension">.png</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Unusual Module Extension">.jpg</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Unusual Module Extension">.cpl</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Unusual Module Extension">.dat</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Unusual Module Extension">.tmp</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Unusual Module Extension">.inf</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Unusual Module Extension">.ini</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Unusual Module Extension">.log</ImageLoaded>
<ImageLoaded condition="end with" name="Persistence - Winword Library Addin Loaded">.wll</ImageLoaded>
<ImageLoaded condition="end with" name="Persistence - Excel Library Addin Loaded">.xll</ImageLoaded>
<ImageLoaded condition="end with" name="Persistence - Office Library Addin Loaded">.pll</ImageLoaded>
<ImageLoaded condition="end with" name="Abnormal dll load with odd extension">.log</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">c:\programdata\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\Media\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\addins\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\system32\config\systemprofile\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\Debug\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\Temp</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\PerfLogs\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\Help\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Intel\Logs\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Temp</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\repair\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\security\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">C:\Windows\Fonts\</ImageLoaded>
<ImageLoaded condition="begin with" name="Execution - Image Loaded from suspicious path">file:</ImageLoaded>
<ImageLoaded condition="contains" name="Execution - Image Loaded from suspicious path">$Recycle.bin\</ImageLoaded>
<ImageLoaded condition="contains" name="Execution - Image Loaded from suspicious path">\Windows\IME\</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">wwlib.dll</ImageLoaded> <!-- winword.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">sxsoa.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">BIB.dll</ImageLoaded> <!-- Adobe A3DUtility.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">goopdate.dll</ImageLoaded> <!-- vuln GoogleUpdate.exe version-->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">msfte.dll</ImageLoaded> <!-- searchindexer.exe and searchprotocolhost.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">Flash Video Extension.dll</ImageLoaded> <!-- Adobe AcroTranscoder.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">UxTheme.dll</ImageLoaded> <!-- Adobe FlashPlayerApp.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">WeChatWin.dll</ImageLoaded> <!-- WeChat.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">coccocpdate.dll</ImageLoaded> <!-- CocCocUpdate.exe -->
<ImageLoaded condition="end with" name="Keefarce attack tool dll load">BootStrapDLL.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">chrome_elf.dll</ImageLoaded> <!-- 360se.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading, possible minidump of lsass">dbghelp.dll</ImageLoaded> <!-- 360 SoftManager.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">FaultRep.dll</ImageLoaded> <!-- FontsSet.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">McVsoCfg.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - RDP DLL's used for lateral movement.">MSTSCLib.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - RDP DLL's used for lateral movement.">AxMSTSCLib.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">ActCtx.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Teams DLL HIJACK">WINSTA.dll</ImageLoaded>
<!--TEAMS DLL Hijack rules -->
<ImageLoaded condition="end with" name="Defense Evasion - Teams DLL HIJACK Teams">\AppData\Local\Microsoft\Teams\current\WINSTA.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Teams DLL HIJACK">\AppData\Local\Microsoft\Teams\current\ntshrui.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Teams DLL HIJACK">\AppData\Local\Microsoft\Teams\current\ntshrui.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Teams DLL HIJACK">\AppData\Local\Microsoft\Teams\current\cscapi.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Teams DLL HIJACK">\AppData\Local\Microsoft\Teams\current\WindowsCodecs.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - Teams DLL HIJACK">\AppData\Local\Microsoft\Teams\current\TextInputFramework.dll</ImageLoaded>
<!--BOO DLL rules -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Boo Lang">Boo.Lang.Compiler.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Boo Lang">Boo.Lang.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Boo Lang">Boo.Lang.Parser.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">CLRJIT.DLL</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading - dcdiag.exe">msftedit.DLL</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">dwmapi.DLL</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">product_info.dll</ImageLoaded> <!-- Kasper avpla.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">wsc.dll</ImageLoaded> <!-- Avast wsc_proxy.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">winspool.drv</ImageLoaded><!-- loaded by avz.exe free AV https://www.welivesecurity.com/2019/07/11/buhtrap-zero-day-espionage-campaigns/ -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">WptsExtensions.dll</ImageLoaded> <!-- https://remoteawesomethoughts.blogspot.com/2019/05/Windows-10-task-schedulerservice.html -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">NvSmartMax.dll</ImageLoaded> <!--https://quequero.org/2013/09/quick-analysissome-observation-about-a-low-detection-flash_update-exe/ -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">Duser.dll</ImageLoaded> <!-- https://app.any.run/tasks/3fcfd265-ef80-4749-a24b-39364a079802 loaded by credwiz.exe -->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">AShldRes.DLL</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">CommFunc.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">chrome_frame_helper.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">DESqmWrapper.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">fslapi.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Hijack">vulkan-1.dll</ImageLoaded>
<!--DLL PROC DUMP rules -->
<ImageLoaded condition="end with" name="Debugging DLL Loaded">dbgeng.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Debugging DLL Loaded">dbghelp.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Debuging DLL Loaded">dbgcore.dll</ImageLoaded>
<!--Loading c#/.Net rule -->
<ImageLoaded condition="end with" name="Possible Defense Evasion - .Net Code loaded">clr.dll</ImageLoaded><!-- This is a dll loaded often by both good ware and .Net malware. Its required for .Net --><!-- https://www.youtube.com/watch?v=FuxpMXTgV9s&feature=emb_logo-->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">FSPMAPI.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading service IKEET">wlbsctrl.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">Sidebar.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">hha.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">hccutils.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">NtUserEx.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">McUtil.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">MpSvc.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">mPclient.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">NvSmartMax.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">OInfo11.ocx</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">ACLUI.DLL</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">iviewers.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">NtUserEx.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">RasTls.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">rc.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">ssMUIDLL.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">winmm.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">msi.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">Ushata.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">libvlc.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">AhnI2.dll</ImageLoaded>
<ImageLoaded condition="contains" name="Possible MSBUILD Payload">Microsoft.Build.Tasks</ImageLoaded>
<ImageLoaded condition="contains" name="Possible MSBUILD Payload">Microsoft.Build.Framework</ImageLoaded>
<ImageLoaded condition="contains" name="Possible MSBUILD Payload">Microsoft.Build.Utilities</ImageLoaded>
<ImageLoaded condition="contains" name=".Net Lib InstallAssembly to register the dll as a COM+ obj">System.EnterpriseServices.RegistrationHelper</ImageLoaded>
<ImageLoaded condition="end with" name="Evasion - Possible DLL Side Loading via jjs.exe">jli.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Evasion - Possible DLL Side Loading via jjs.exe">tapi32.dll</ImageLoaded>
<ImageLoaded condition="is" name="Suspicious image load - ntoskrnl.exe. Possible Exploit">C:\Windows\System32\ntoskrnl.exe</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">sspisrv.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">ftllib.dll</ImageLoaded>
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading">userenv.dll</ImageLoaded>
<ImageLoaded condition="contains" name="DLL loaded from suspicious location (\Temp\)">\Temp\</ImageLoaded>
<ImageLoaded condition="begin with" name="DLL loaded from suspicious location (C:\Users\)">C:\Users</ImageLoaded>
<ImageLoaded condition="contains" name="Powershell DLL loaded, Possible Powershell use without Powershell.exe" >system.management.automation</ImageLoaded>
<ImageLoaded condition="contains" name="PLoad of .Net Reflection DLL. Could be used for injection.">System.Runtime.InteropServices.</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID by name the DLL that deals with Certificate and Cryptographic Messaging functions" >Crypt</ImageLoaded>
<ImageLoaded condition="contains" name="Javascript Lib was loaded into process">jscript</ImageLoaded>
<ImageLoaded condition="contains" name="Visual basic Lib">vbscript</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID Microsoft DLL that contains a set of services that allowed applications written in JScript, VBScript, and Microsoft development tools to build Windows-native XML-based applications.">msxm</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID Microsoft DLL that contains a library which contains core OLE functions">ole32</ImageLoaded>
<ImageLoaded condition="contains" name="Possible unaltered Mimikatz DLL Load">mimi</ImageLoaded>
<ImageLoaded condition="contains" name="DLL lxssmanager loaded. Microsoft recommends blocking it.">lxssmanager</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID Microsoft DLL used to Download and upload">WebClient</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID Microsoft DLL used to allow injection and other suspicious activities.">Reflection</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID Microsoft DLL loaded that is often used in Malware to add functionality to do things like injection">runtime</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID Microsoft DLL loaded that is often used in Malware to add functionality to do things like injection">InteropServices</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID Microsoft DLL loaded that is often used in Malware to add functionality to do things like native Windows execution and injection">Win32</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID Microsoft DLL loaded that is often used in Malware to add functionality to do things like encrypt and encrypt data, files, and other things in memory and on disk.">Cryptography</ImageLoaded>
<ImageLoaded condition="contains" name="Attempts to ID Microsoft DLL loaded that is often used in Malware to add functionality to do things like encrypt and encrypt data, files, and other things in memory and on disk.">System.Security.Cryptography.X509Certificates</ImageLoaded>
<ImageLoaded condition="end with" name="Alert=Ramnit Banker Malware!" >rmnsoft.dll</ImageLoaded>
<ImageLoaded condition="begin with" name=".Net Assembly used">C:\Windows\assembly\NativeImages</ImageLoaded>
<ImageLoaded condition="contains" name="Mitre: https://attack.mitre.org/wiki/Technique/T1098">samlib.dll</ImageLoaded>
<ImageLoaded condition="contains" name="Mitre: https://attack.mitre.org/wiki/Technique/T1098">WinSCard.dll</ImageLoaded>
<ImageLoaded condition="is" name="fxsst.dll loaded">C:\Windows\system32\fxsst.dll</ImageLoaded>
<ImageLoaded condition="contains" name="Powershell Lib loaded" >powershell</ImageLoaded>
<ImageLoaded condition="contains" name="CSharp(C#) Lib loaded" >clr.dll</ImageLoaded>
<ImageLoaded condition="end with" name="oci.dll loaded">oci.dll</ImageLoaded>
<ImageLoaded condition="end with" name="PrivEsc - DLL Hijack - UACME 32">osksupport.dll</ImageLoaded>
<ImageLoaded condition="end with" name="PrivEsc - DLL Hijack - UACME 30">wow64log.dll</ImageLoaded>
<ImageLoaded condition="end with" name="PrivEsc - DLL Hijack - UACME 23">DismCore.dll</ImageLoaded>
<ImageLoaded condition="end with" name="PrivEsc - DLL Hijack - UACME 22">comctl32.dll</ImageLoaded>
<ImageLoaded condition="contains" name="PrivEsc - DLL Hijack - UACME 54">AppData\Local\Microsoft\WindowsApps\srrstr.dll</ImageLoaded>
<ImageLoaded condition="begin with" name="PrivEsc - UACBypass Mocking Trusted WinFolders">C:\Windows \</ImageLoaded>
<ImageLoaded condition="begin with" name="PrivEsc - UACBypass Mocking Trusted WinFolders">C:\ Windows \</ImageLoaded>
<ImageLoaded condition="begin with" name="PrivEsc - UACBypass Mocking Trusted WinFolders">C:\ Windows</ImageLoaded>
<ImageLoaded condition="end with" name="PrivEsc - UACBypass - DiskCleanup">logprovider.dll</ImageLoaded>
<ImageLoaded condition="end with" name="PrivEsc - Possible UACBypass - mcx2prov DLL">CRYPTBASE.dll</ImageLoaded><!-- UACBypass via mcx2prov executable and rogue CRYPTBASE.dll-->
<ImageLoaded condition="end with" name="Defense Evasion - DLL Side Loading or UACBypass">Duser.dll</ImageLoaded>
<ImageLoaded condition="end with" name="PrivEsc - UACBypass - UACME 39">pe386.dll</ImageLoaded>
<ImageLoaded condition="end with" name="PrivEsc - UACBypass - DLL hijack Cliconfig">NTWDBLIB.dll</ImageLoaded>
<ImageLoaded condition="contains" name="MitreRef=T1128,Technique=Netsh Helper Beacon DLL,Tactic=Persistence,Alert=Cobalt Strike Netsh Helper Beacon">NetshHelperBeacon</ImageLoaded>
<ImageLoaded name="technique_id=T1170,technique_name=MSHTA with AMSI Bypass" condition="end with">jscript9.dll</ImageLoaded>
<ImageLoaded name="technique_id=T1047,technique_name=Windows Scheduled Tasks" condition="end with">mstask.dll</ImageLoaded>
<ImageLoaded name="technique_id=T1059,technique_name=Command and Scripting Interpreter" condition="end with">wshom.ocx</ImageLoaded>
<OriginalFileName condition="is">scrrun.dll</OriginalFileName>
<OriginalFileName condition="is">vbscript.dll</OriginalFileName>
<OriginalFileName condition="is">urlmon.dll</OriginalFileName>
<ImageLoaded name="technique_id=T1047,technique_name=Windows Management Instrumentation" condition="end with">wmiutils.dll</ImageLoaded>
<OriginalFileName name="technique_id=T1112,technique_name=Modify Registry" condition="is">regsvc.dll</OriginalFileName>
<!--Detect execution of HTA using the IE Javascript engine to bypass AMSI-->
<!--Note: Rule placed before Windows Scriptingh to ensure it triggers on this on case any other component is used.-->
<!---Thanks to Carlos Perez-->
<Rule groupRelation="and">
<OriginalFileName name="technique_id=T1218.005,technique_name=MSHTA with AMSI Bypass" condition="is">jscript.dll</OriginalFileName>
<Image condition="end with">mshta.exe</Image>
</Rule>
<Rule groupRelation="and">
<OriginalFileName name="technique_id=T1218.005,technique_name=MSHTA with AMSI Bypass" condition="is">jscript9.dll</OriginalFileName>
<Image condition="end with">mshta.exe</Image>
</Rule>
<!--Check for loading of the PowerShell engine-->
<ImageLoaded name="technique_id=T1086,technique_name=PowerShell Engine" condition="end with">System.Management.Automation.ni.dll</ImageLoaded>
<ImageLoaded name="technique_id=T1086,technique_name=PowerShell Engine" condition="end with">System.Management.Automation.dll</ImageLoaded>
<ImageLoaded name="Load of a suspicious runtime Library" condition="end with">mscoree.dll</ImageLoaded>
<ImageLoaded name="Load of a dll used in Discord DLL Hijack" condition="end with">ffmpeg.dll</ImageLoaded>
<ImageLoaded name="Load of a dll used in dotnet process dumping" condition="end with">dotnet-dump.dll</ImageLoaded>
<Rule groupRelation="and">
<OriginalFileName name="technique_id=T1059.001,technique_name=PowerShell" condition="is">amsi.dll</OriginalFileName>
<Image condition="excludes any">powershell.exe;powershell_ise.exe</Image>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">rundll32.exe</Image>
<OriginalFileName name="technique_id=T1003.004,technique_name=LSASS Memory" condition="is">comsvcs.dll</OriginalFileName>
</Rule>
<!--Default named C# OffSec Tooling, Google name with Word Github at the end to find it-->
<Rule groupRelation="and">
<Image condition="end with">Control.exe</Image>
<ImageLoaded condition="end with" name="Defense Evasion -Application Whitelisting Bypasses. Lolbins">.cpl</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">rundll32.exe</Image>
<ImageLoaded condition="end with" name="Defense Evasion - Unusual Module Extension">.cpl</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">SubWCRev.exe</Image>
<ImageLoaded condition="end with" name="Defense Evasion - Application Whitelisting Bypasses">crshhndl.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">PotPlayer.exe</Image>
<ImageLoaded condition="end with" name="Defense Evasion - Application Whitelisting Bypasses">PotPlayer.dll</ImageLoaded>
</Rule>
<Rule groupRelation="or">
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">Sharphound</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">SharpUp</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">SharpDump</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">Internal-Monologue</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">Seatbelt</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">SharpSploit</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">SharpDPAPI</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">SharpWMI</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">SafetyKatz</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">Kiwi</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">Katz</ImageLoaded>
<ImageLoaded name="Possible Default named CSharp Offensive Sec Tool" condition="contains">Sharp</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">Inveigh</ImageLoaded>
<ImageLoaded name="Default named CSharp Offensive Sec Tool" condition="contains">Rubeus</ImageLoaded>
</Rule>
<!--Capture components used by malicious macros and scripts.-->
<Rule groupRelation="or">
<ImageLoaded name="technique_id=T1064,technique_name=Windows Scripting Host Component" condition="end with">wshom.ocx</ImageLoaded>
<ImageLoaded name="technique_id=T1064,technique_name=Windows Scripting Host Component" condition="end with">scrrun.dll</ImageLoaded>
<ImageLoaded name="technique_id=T1064,technique_name=Windows Scripting Host Component" condition="end with">vbscript.dll</ImageLoaded>
</Rule>
<Rule groupRelation="or">
<ImageLoaded condition="end with" name="Defense Evasion - Unusual EXE Extension loaded as DLL">.exe</ImageLoaded>
<Signed condition="is" name="Unsigned DLL loaded" >false</Signed>
</Rule>
<Rule groupRelation="and">
<ImageLoaded name="technique_id=T1003,technique_name=Credential Dumping mimikatz_inmem" condition="is">C:\Windows\System32\samlib.dll</ImageLoaded> <!--Mitre T1098--> <!--Mitre T1075--> <!--Mitre T1003-->
<ImageLoaded name="technique_id=T1003,technique_name=Credential Dumping mimikatz_inmem" condition="is">C:\Windows\System32\WinSCard.dll</ImageLoaded> <!--Mitre T1098--> <!--Mitre T1075--> <!--Mitre T1003-->
<ImageLoaded name="technique_id=T1003,technique_name=Credential Dumping mimikatz_inmem" condition="is">C:\Windows\System32\cryptdll.dll</ImageLoaded> <!--Mitre T1098--> <!--Mitre T1075--> <!--Mitre T1003-->
<ImageLoaded name="technique_id=T1003,technique_name=Credential Dumping mimikatz_inmem" condition="is">C:\Windows\System32\hid.dll</ImageLoaded> <!--Mitre T1098--> <!--Mitre T1075--> <!--Mitre T1003-->
<ImageLoaded name="technique_id=T1003,technique_name=Credential Dumping mimikatz_inmem" condition="is">C:\Windows\System32\vaultcli.dll</ImageLoaded> <!--Mitre T1098--> <!--Mitre T1075--> <!--Mitre T1003-->
<ImageLoaded name="technique_id=T1003,technique_name=Credential Dumping mimikatz_inmem" condition="is">C:\Windows\System32\wlanapi.dll</ImageLoaded> <!--Mitre T1098--> <!--Mitre T1075--> <!--Mitre T1003-->
<ImageLoaded name="technique_id=1137,technique_name=Office Application Startup" condition="end with">.wll</ImageLoaded>
<ImageLoaded name="technique_id=T1137,technique_name=Office Application Startup" condition="end with">.xll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<ImageLoaded condition="contains" name="Execution - Image Loaded CSharp Dll used in Red Team Tooling">System.Diagnostics</ImageLoaded>
<ImageLoaded condition="contains" name="Execution - Image Loaded CSharp Dll used in Red Team Tooling">System.Runtime.InteropServices</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="is not">C:\Windows\System32\vaultcmd.exe</Image>
<ImageLoaded name="technique_id=T1003,technique_name=Credential Dumping via access to Windows cred vault by Suspicious Process" condition="is">C:\Windows\System32\vaultcli.dll</ImageLoaded> <!--Mitre T1098--> <!--Mitre T1075--> <!--Mitre T1003-->
</Rule>
<ImageLoaded name="technique_id=T1073,technique_name=DLL Side-Loading" condition="contains any" >admin$;c$;\\;\appdata\;\temp\</ImageLoaded><!-- loaded from network file share -->
<!--Detect execution of HTA using the IE Javascript engine to bypass AMSI-->
<!--Note: Rule placed before Windows Scriptingh to ensure it triggers on this on case any other component is used.-->
<Rule groupRelation="and">
<ImageLoaded name="technique_id=T1170,technique_name=MSHTA with AMSI Bypass" condition="end with">jscript9.dll</ImageLoaded>
<Image condition="end with">mshta.exe</Image>
</Rule>
<!--Detect the Squiblydoo technique-->
<Rule groupRelation="or">
<ImageLoaded name="technique_id=T1117,technique_name=Regsvr32" condition="end with">scrobj.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">excel.exe</Image>
<ImageLoaded condition="end with" name="MS Excel loading task scheduler functionality">taskschd.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">winword.exe</Image>
<ImageLoaded condition="end with" name="MS Word loading task scheduler functionality">taskschd.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">powerpnt.exe</Image>
<ImageLoaded condition="end with" name="MS Powerpoint loading task scheduler functionality">taskschd.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">outlook.exe</Image>
<ImageLoaded condition="end with" name="MS Outlook loading task scheduler functionality">taskschd.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">excel.exe</Image>
<ImageLoaded condition="end with" name="MS Excel loading WMI">wmiutils.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">winword.exe</Image>
<ImageLoaded condition="end with" name="MS Word loading WMI">wmiutils.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">powerpnt.exe</Image>
<ImageLoaded condition="end with" name="MS powerpoint loading WMI">wmiutils.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">outlook.exe</Image>
<ImageLoaded condition="end with" name="MS outlook loading WMI">wmiutils.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">excel.exe</Image>
<ImageLoaded condition="end with" name="MS Excel loading WMI">wbemsvc.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">winword.exe</Image>
<ImageLoaded condition="end with" name="MS Word loading WMI">wbemsvc.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">powerpnt.exe</Image>
<ImageLoaded condition="end with" name="MS powerpoint loading WMI">wbemsvc.dll</ImageLoaded>
</Rule>
<Rule groupRelation="and">
<Image condition="end with">outlook.exe</Image>
<ImageLoaded condition="end with" name="MS outlook loading WMI">wbemsvc.dll</ImageLoaded>
</Rule>
<!-- Begin Rules from https://github.com/XForceIR/SideLoadHunter/blob/main/Sysmon-SideLoadHunter/sideloadhunter.xml -->
<Rule name="AppVStreamingUX_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">AppVStreamingUX.exe</Image>
<ImageLoaded condition="contains">DWMAPI.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="AppVStreamingUX_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">AppVStreamingUX.exe</Image>
<ImageLoaded condition="contains">d3d9.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="AppVStreamingUX_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">AppVStreamingUX.exe</Image>
<ImageLoaded condition="contains">igdumdim64.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="calc_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">calc.exe</Image>
<ImageLoaded condition="contains">PROPSYS.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="calc_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">calc.exe</Image>
<ImageLoaded condition="contains">Secur32.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="calc_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">calc.exe</Image>
<ImageLoaded condition="contains">MLANG.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="calc_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">calc.exe</Image>
<ImageLoaded condition="contains">WININET.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="certreq_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">certreq.exe</Image>
<ImageLoaded condition="contains">rdpendp.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="change_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">change.exe</Image>
<ImageLoaded condition="contains">utildll.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="charmap_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">charmap.exe</Image>
<ImageLoaded condition="contains">MSFTEDIT.DLL</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="chglogon_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">chglogon.exe</Image>
<ImageLoaded condition="contains">utildll.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="DeviceCensus_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">DeviceCensus.exe</Image>
<ImageLoaded condition="contains">dcntel.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="DeviceCensus_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">DeviceCensus.exe</Image>
<ImageLoaded condition="contains">rdpendp.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="DeviceCensus_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">DeviceCensus.exe</Image>
<ImageLoaded condition="contains">igd10iumd64.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="DeviceCensus_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">DeviceCensus.exe</Image>
<ImageLoaded condition="contains">igd12umd64.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="DeviceCensus_sideload" groupRelation="and">
<!-- Log only image loads where modules match these conditions -->
<Image condition="contains">DeviceCensus.exe</Image>
<ImageLoaded condition="contains">igd12umd64.dll</ImageLoaded>
<Signature condition="is not">Microsoft Windows</Signature>
</Rule>
<Rule name="DeviceCensus_sideload" groupRelation="and">