-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathwindows.yaml
1404 lines (1374 loc) · 59.5 KB
/
windows.yaml
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
# Windows specific artifacts.
name: WindowsActiveDesktop
doc: Windows Active Desktop settings and components.
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Internet Explorer\Desktop\Components\*'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Internet Explorer\Desktop\General'
supported_os: [ Windows ]
---
name: WindowsActivitiesCacheDatabase
doc: SQLite database containing the Windows activities cache.
sources:
- type: FILE
attributes:
paths: [ '%%users.localappdata%%\ConnectedDevicesPlatform\L.%%users.username%%\ActivitiesCache.db' ]
separator: '\'
supported_os: [ Windows ]
---
name: WindowsAlternateShell
doc: Alternate Shell to be run via Userinit.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SafeBoot', value: 'AlternateShell' }
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SafeBoot\Option', value: 'UseAlternateShell' }
supported_os: [ Windows ]
---
name: WindowsAMCacheHveFile
doc: The AMCache file, stored in the Windows NT Registry file format.
sources:
- type: FILE
attributes:
paths:
- '%%environ_systemroot%%\AppCompat\Programs\Amcache.hve'
- '%%environ_systemroot%%\AppCompat\Programs\Amcache.hve.LOG1'
- '%%environ_systemroot%%\AppCompat\Programs\Amcache.hve.LOG2'
separator: '\'
supported_os: [ Windows ]
---
name: WindowsAppCertDLLs
doc: Windows AppCertDLLs persistence.
sources:
- type: REGISTRY_KEY
attributes:
keys: [ 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\AppCertDLLs' ]
supported_os: [ Windows ]
---
name: WindowsAppCompatCache
doc: Windows Application Compatibility Cache
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\AppCompatibility', value: 'AppCompatCache' }
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\AppCompatCache', value: 'AppCompatCache' }
supported_os: [ Windows ]
---
name: WindowsAppInitDLLs
doc: |
Windows Application Initial (AppInit) DLLs persistence.
AppInit DLLs is a mechanism that allows an arbitrary list of DLLs to be loaded
into each user mode process on the system.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows', value: 'AppInit_DLLs' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows', value: 'AppInit_DLLs' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows NT\CurrentVersion\Windows', value: 'AppInit_DLLs' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows', value: 'AppInit_DLLs' }
supported_os: [ Windows ]
---
name: WindowsApplicationCompatibilityInstalledShimDatabases
doc: |
Windows Application Compatibility Installed Shim Databases.
drvmain.sdb, frxmain.sdb, msimain.sdb, pcamain.sdb, and sysmain.sdb are
shim database files (SDB files) that are provided by Windows, and contain
many predefined shims that address known application compatibility issues.
Note that these database files are not signed.
Windows also supports custom shim database. These are typically installed
by the sdbinst.exe utility. Note, that shim database files can also exist
elsewhere in the file system.
Windows application shims provide a way for the operating system to
apply patches to executables before they are run, ultimately providing
a lightweight mechanism for applying hot fixes and making modifications to
ensure compatibility across the various versions of Windows. This
functionality can also be leveraged maliciously to change how certain
programs operate, or to provide capabilities to malware, such as the
ability to bypass UAC, gain persistence by injecting loading into legitimate
processes, or avoid detection by disabling anti-virus software.
sources:
- type: FILE
attributes:
paths:
- '%%environ_systemroot%%\AppPatch\drvmain.sdb'
- '%%environ_systemroot%%\AppPatch\frxmain.sdb'
- '%%environ_systemroot%%\AppPatch\msimain.sdb'
- '%%environ_systemroot%%\AppPatch\pcamain.sdb'
- '%%environ_systemroot%%\AppPatch\sysmain.sdb'
- '%%environ_systemroot%%\AppPatch\AppPatch64\Custom\*'
- '%%environ_systemroot%%\AppPatch\Custom\*'
- '%%environ_systemroot%%\AppPatch\Custom\Custom64\*'
- '%%environ_systemroot%%\AppPatch\CustomSDB\*'
separator: '\'
supported_os: [ Windows ]
---
name: WindowsApplicationCompatibilityShimDatabaseMappings
doc: |
Windows Application Compatibility Shim Database Mappings.
Mappings between the Windows Application Compatibility shim database files and
the programs that they apply to.
Windows allows for custom application shims to be installed via the
sdbinst.exe application. For example a mapping for 'notepad.exe':
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\
AppCompatFlags\Custom\notepad.exe
Value: {00000000-1111-2222-3333-444444444444}.sdb = 0
Key: AppCompatFlags\InstalledSDB\{00000000-1111-2222-3333-444444444444}
Value: DatabasePath =
"C:\Windows\AppPatch\Custom\{00000000-1111-2222-3333-444444444444}.sdb"
Windows application shims provide a way for the operating system to
apply patches to executables before they are run, ultimately providing
a lightweight mechanism for applying hot fixes and making modifications to
ensure compatibility across the various versions of Windows. This
functionality can also be leveraged maliciously to change how certain
programs operate, or to provide capabilities to malware, such as the
ability to bypass UAC, gain persistence by injecting loading into legitimate
processes, or avoid detection by disabling anti-virus software.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\InstalledSDB\*', value: 'DatabaseDescription' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\InstalledSDB\*', value: 'DatabasePath' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Custom\*', value: '*' }
supported_os: [ Windows ]
---
name: WindowsApplicationCompatibilityShims
doc: Windows Application Compatibility Shim Database Files and Application Mappings
sources:
- type: ARTIFACT_GROUP
attributes:
names:
- 'WindowsApplicationCompatibilityInstalledShimDatabases'
- 'WindowsApplicationCompatibilityShimDatabaseMappings'
supported_os: [ Windows ]
---
name: WindowsBootVerificationProgram
doc: Path to custom startup verification program.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs: [ { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\BootVerificationProgram', value: 'ImagePath' } ]
supported_os: [ Windows ]
---
name: WindowsComputerName
doc: The name of the system.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName', value: 'ComputerName' }
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ActiveComputerName', value: 'ComputerName' }
supported_os: [ Windows ]
---
name: WindowsCommandProcessorAutoRun
doc: Commands that are run each time the Command Processor (Cmd.exe) is started.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor', value: 'AutoRun' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Command Processor', value: 'AutoRun' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Command Processor', value: 'AutoRun' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Command Processor', value: 'AutoRun' }
supported_os: [ Windows ]
---
name: WindowsCOMProperties
doc: |
Various properties of Windows COM Objects.
These artifacts are meant to highlight properties of COM objects that,
although legitimate, are known to be associated with persistence techniques
or other capabilities that malware can leverage.
ShellFolder\HideOnDesktop, ShellFolder\Attributes (specifically with value
0xf090013d), and InprocServer\LoadWithoutCOM are associated with a technique
to cause iexplore or explorer to load a malicious DLL by registering a COM
object and invoking it through the use of Junction Folders.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\CLSID\*\ShellFolder', value: 'Attributes' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\CLSID\*\ShellFolder', value: 'Attributes' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\*\ShellFolder', value: 'Attributes' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\Wow6432Node\CLSID\*\ShellFolder', value: 'Attributes' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\CLSID\*\ShellFolder', value: 'HideOnDesktop' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\CLSID\*\ShellFolder', value: 'HideOnDesktop' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\*\ShellFolder', value: 'HideOnDesktop' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\Wow6432Node\CLSID\*\ShellFolder', value: 'HideOnDesktop' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\CLSID\*\InprocServer32', value: 'LoadWithoutCOM' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\CLSID\*\InprocServer32', value: 'LoadWithoutCOM' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\*\InprocServer32', value: 'LoadWithoutCOM' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\Wow6432Node\CLSID\*\InprocServer32', value: 'LoadWithoutCOM' }
supported_os: [ Windows ]
---
name: WindowsSearchFilterHandlers
doc: |
Windows Search filter handlers configured for file types and applications.
Windows Search loads DLLs that implement the IFilter interface in order to
scan files for text and extract certain types of information. Malware can
replace the filter handler for a given file type or CLSID with itself to gain
execution when a search operation is performed on that file. Search
operations can be performed indirectly in a number of cases; for instance,
the .txt, .html, and .rtf filter handlers are invoked when indexing email
message bodies.
The filter handler to use is specified indirectly via a persistent handler.
The persistent handler GUID is indicated via the PersistentHandler subkey for
a file type or application GUID. The filter handler CLSID is indicated via
the PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF} subkey
under the persistent handler GUID key path. This artifact inspects both of
these paths.
NOTE: Only the HKEY_LOCAL_MACHINE root key needs be checked, because these
are the only keys used. SearchFilterHost.exe runs under the SYSTEM account,
which does not have access to HKEY_CURRENT_USER.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\*\PersistentHandler', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\*\PersistentHandler', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\CLSID\*\PersistentHandler', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\*\PersistentHandler', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\CLSID\*\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\*\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}', value: '' }
supported_os: [ Windows ]
---
name: WindowsCredentialProviderFilters
doc: Windows Credential Provider Filters
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Authentication\Credential Provider Filters\*'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Authentication\Credential Provider Filters\*'
supported_os: [ Windows ]
---
name: WindowsCredentialProviders
doc: CLSIDs of applications to use as Credential Providers
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\*'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\*'
supported_os: [ Windows ]
---
name: WindowsDebugger
doc: Windows Debugger peristence or AV disable.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\*', value: 'Debugger' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\*', value: 'Debugger' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\*', value: 'Debugger' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\*', value: 'Debugger' }
supported_os: [ Windows ]
---
name: WindowsEnvironmentUserLoginScripts
doc: User login scripts configured via Windows environment variables.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_USERS\%%users.sid%%\Environment', value: 'UserInitLogonServer' }
- { key: 'HKEY_USERS\%%users.sid%%\Environment', value: 'UserInitLogonScript' }
- { key: 'HKEY_USERS\%%users.sid%%\Environment', value: 'UserInitMprLogonScript' }
supported_os: [ Windows ]
---
name: WindowsEnvironmentVariableAllUsersProfile
doc: The system-wide %AllUsersProfile% environment variable contains the path of the of the "All Users" or "Common" profile directory.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList', value: 'AllUsersProfile' }
provides:
- key: environ_allusersappdata
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList', value: 'ProgramData' }
provides:
- key: environ_allusersappdata
- type: PATH
attributes:
paths:
- '\ProgramData'
- '\Documents and Settings\All Users'
separator: '\'
provides:
- key: environ_allusersappdata
supported_os: [ Windows ]
---
name: WindowsEnvironmentVariableProfilesDirectory
doc: The %ProfilesDirectory% environment variable contain a path of a directory that contains the users' profile directories, typically "%SystemDrive%\Users".
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList', value: 'ProfilesDirectory' }
provides:
- key: environ_profilesdirectory
supported_os: [ Windows ]
---
name: WindowsEnvironmentVariableSystemRoot
doc: The %SystemRoot%, environment variable contains the path of the system directory, typically "C:\Windows".
sources:
- type: PATH
attributes:
paths:
- '\Windows'
- '\WinNT'
- '\WINNT35'
- '\WTSRV'
separator: '\'
provides:
- key: environ_systemroot
- key: environ_systemdrive
regex: '^(..)'
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion', value: 'SystemRoot' }
provides:
- key: environ_systemroot
- key: environ_systemdrive
regex: '^(..)'
supported_os: [ Windows ]
---
name: WindowsExplorerAutoplayHandlers
doc: Handlers for autoplay events in Windows Explorer.
sources:
- type: REGISTRY_KEY
attributes:
keys: [ 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\*' ]
supported_os: [ Windows ]
---
name: WindowsFileTypeAutorunAssociations
doc: |
Registry value for what application class identifier (CLSID) to launch for a file extension.
Extension subkeys start with a dot. The '(Default)' value will be a ProgID,
which points to another entry in HKCR specifying the command to run to open
a file of the given type. The WindowsShellOpenCommand artifact is associated
with these ProgID command invocations.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\.*', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\.*', value: '' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\.*', value: '' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\Wow6432Node\.*', value: '' }
supported_os: [ Windows ]
---
name: WindowsGroupPolicyScripts
doc: Windows group policy scripts
sources:
- type: FILE
attributes:
paths:
- '%%environ_systemroot%%\System32\GroupPolicy\User\Scripts\psscripts.ini'
- '%%environ_systemroot%%\System32\GroupPolicy\User\Scripts\scripts.ini'
- '%%environ_systemroot%%\System32\GroupPolicy\User\Scripts\Logoff\*'
- '%%environ_systemroot%%\System32\GroupPolicy\User\Scripts\Logon\*'
- '%%environ_systemroot%%\System32\GroupPolicy\Machine\Scripts\psscripts.ini'
- '%%environ_systemroot%%\System32\GroupPolicy\Machine\Scripts\scripts.ini'
- '%%environ_systemroot%%\System32\GroupPolicy\Machine\Scripts\Shutdown\*'
- '%%environ_systemroot%%\System32\GroupPolicy\Machine\Scripts\Startup\*'
separator: '\'
supported_os: [ Windows ]
---
name: WindowsLogoffScript
doc: Windows policy logoff script
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_USERS\%%users.sid%%\Software\Policies\Microsoft\Windows\System\Scripts', value: 'Logoff' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System\Scripts', value: 'Logoff' }
supported_os: [ Windows ]
---
name: WindowsLogonScript
doc: Windows policy logon script
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_USERS\%%users.sid%%\Software\Policies\Microsoft\Windows\System\Scripts', value: 'Logon' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System\Scripts', value: 'Logon' }
supported_os: [ Windows ]
---
name: WindowsLSAAuthenticationPackages
doc: Authentication Packages can be injected into LSASS.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa', value: 'Authentication Packages' }
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\OSConfig', value: 'Authentication Packages' }
supported_os: [ Windows ]
---
name: WindowsLSANotificationPackages
doc: Notification Packages can be injected into LSASS.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa', value: 'Notification Packages' }
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\OSConfig', value: 'Notification Packages' }
supported_os: [ Windows ]
---
name: WindowsLSASecurityPackages
doc: Security Packages can be injected into LSASS.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa', value: 'Security Packages' }
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\OSConfig', value: 'Security Packages' }
supported_os: [ Windows ]
---
name: WindowsMostRecentApplication
doc: Windows Most Recent Application name key
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\*\MostRecentApplication', value: 'Name' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Microsoft\*\MostRecentApplication', value: 'Name' }
supported_os: [ Windows ]
---
name: WindowsMSDTCDLLs
doc: Windows MSDTC attempts to load these DLLs on start
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC\MTxOCI\*'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\MSDTC\MTxOCI\*'
supported_os: [ Windows ]
---
name: WindowsMultiMediaDrivers
doc: Configured drivers for different multimedia filetypes.
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32\*'
- 'HKEY_USERS\%%users.sid%%\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32\*'
- 'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32\*'
- 'HKEY_USERS\%%users.sid%%\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32\*'
supported_os: [ Windows ]
---
name: WindowsNetworkShellHelpers
doc: Windows Network Shell (netsh) helpers are loaded on boot
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Netsh'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Netsh'
supported_os: [ Windows ]
---
name: WindowsOpenSaveMRU
doc: Information about files opened or saved in a Windows shell dialog.
sources:
- type: REGISTRY_KEY
attributes:
keys: [ 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDIg32\OpenSaveMRU\*' ]
supported_os: [ Windows ]
---
name: WindowsOpenSavePidlMRU
doc: Information about files opened or saved in a Windows shell dialog.
sources:
- type: REGISTRY_KEY
attributes:
keys: [ 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU\*' ]
supported_os: [ Windows ]
---
name: WindowsPendingGPOs
doc: |
Windows Pending GPOs registry settings.
This is a persistence mechanism known to be used by the Gootkit malware family.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_USERS\%%users.sid%%\Software\Microsoft\IEAK\GroupPolicy\PendingGPOs', value: 'Path1' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\IEAK\GroupPolicy\PendingGPOs', value: 'Path1' }
supported_os: [ Windows ]
---
name: WindowsPersistenceMechanisms
doc: Persistence mechanisms in Windows.
sources:
- type: ARTIFACT_GROUP
attributes:
names:
- WindowsPersistenceRegistryKeys
- WindowsPowerShellDefaultProfiles
- WindowsServices
- WindowsJobFiles
supported_os: [ Windows ]
---
name: WindowsPersistenceRegistryKeys
doc: Windows Registry keys used for persistence.
sources:
- type: ARTIFACT_GROUP
attributes:
names:
- InternetExplorerBrowserHelperObjectsRegistryKeys
- WindowsActiveDesktop
- WindowsActiveSyncAutoStart
- WindowsAlternateShell
- WindowsAppCertDLLs
- WindowsAppInitDLLs
- WindowsBootVerificationProgram
- WindowsCommandProcessorAutoRun
- WindowsCredentialProviderFilters
- WindowsCredentialProviders
- WindowsDebugger
- WindowsEnvironmentUserLoginScripts
- WindowsExplorerAutoplayHandlers
- WindowsFileTypeAutorunAssociations
- WindowsFontDrivers
- WindowsIconServiceLib
- WindowsLSAAuthenticationPackages
- WindowsLSANotificationPackages
- WindowsLSASecurityPackages
- WindowsMSDTCDLLs
- WindowsMultiMediaDrivers
- WindowsNetworkShellHelpers
- WindowsPendingGPOs
- WindowsPLAPProviders
- WindowsPrintMonitors
- WindowsRunGrpConv
- WindowsRunKeys
- WindowsRunServices
- WindowsScreenSaverExecutable
- WindowsSearchFilterHandlers
- WindowsSecurityProviders
- WindowsServiceControlManagerExtension
- WindowsSessionManagerBootExecute
- WindowsSessionManagerExecute
- WindowsSessionManagerS0InitialCommand
- WindowsSessionManagerSetupExecute
- WindowsSessionManagerSubSystems
- WindowsSessionManagerWOWCommandLine
- WindowsSetupCommandLine
- WindowsSharedTaskScheduler
- WindowsShellExecuteHooks
- WindowsShellExtensions
- WindowsShellIconOverlayIdentifiers
- WindowsShellLoadAndRun
- WindowsShellOpenCommand
- WindowsShellRunasCommand
- WindowsShellServiceObjects
- WindowsStubPaths
- WindowsSystemPolicyShell
- WindowsTerminalServerInitialProgram
- WindowsTerminalServerRunKeys
- WindowsTerminalServerStartupPrograms
- WindowsToolPaths
- WindowsWinlogonAppSetup
- WindowsWinlogonAvailableShells
- WindowsWinlogonGinaDLL
- WindowsWinlogonGPExtensions
- WindowsWinlogonNotify
- WindowsWinlogonShell
- WindowsWinlogonSystem
- WindowsWinlogonTaskman
- WindowsWinlogonUiHost
- WindowsWinlogonUserinit
- WindowsWinlogonVMApplet
- WinSock2LayeredServiceProviders
- WinSock2NamespaceProviders
supported_os: [ Windows ]
---
name: WindowsPLAPProviders
doc: Windows Pre-Logon Access Provider (PLAP) Providers
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Authentication\PLAP Providers\*'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Authentication\PLAP Providers\*'
supported_os: [ Windows ]
---
name: WindowsPowerShellDefaultProfiles
doc: Default PowerShell Profile files. These files are executed by default when PowerShell starts up.
sources:
- type: FILE
attributes:
paths:
- '%%environ_systemroot%%\system32\WindowsPowerShell\v1.0\profile.ps1'
- '%%environ_systemroot%%\system32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1'
- '%%users.userprofile%%\Documents\WindowsPowerShell\profile.ps1'
- '%%users.userprofile%%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'
separator: '\'
supported_os: [ Windows ]
---
name: WindowsPrefetchFiles
doc: Windows Prefetch files.
sources:
- type: FILE
attributes:
paths: [ '%%environ_systemroot%%\Prefetch\*.pf' ]
separator: '\'
supported_os: [ Windows ]
---
name: WindowsPrintMonitors
doc: Windows Print Monitor DLL config.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs: [ { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Monitors\*', value: 'Driver' } ]
supported_os: [ Windows ]
---
name: WindowsRecycleBin
doc: Windows Recycle Bin (Recyler, $Recycle.Bin) files.
sources:
- type: FILE
attributes:
paths:
- '\$Recycle.Bin\**'
- '\Recycler\**'
separator: '\'
supported_os: [ Windows ]
---
name: WindowsRegistryProfileSIDs
doc: Get SIDs for all users on the system with profiles present in the Registry.
sources:
- type: REGISTRY_KEY
attributes: { keys: [ 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\*' ] }
provides:
- key: users.sid
regex: 'ProfileList\\(.+)$'
supported_os: [ Windows ]
---
name: WindowsRegistryProfiles
doc: |
Get SIDs for all users on the system with profiles present in the Registry.
This looks in the Windows Registry where the profiles are stored and retrieves
the paths for each profile.
sources:
- type: REGISTRY_VALUE
attributes: { key_value_pairs: [ { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\*', value: 'ProfileImagePath' } ] }
provides:
- key: users.userprofile
- key: users.username
regex: '.*\\(.+)'
supported_os: [ Windows ]
---
name: WindowsRunGrpConv
doc: |
The Windows RunGrpConv Registry value.
When this Registry value is non-zero userinit.exe will launch grpconv.exe at user login.
sources:
- type: REGISTRY_VALUE
attributes: { key_value_pairs: [ { key: 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows NT\CurrentVersion\Winlogon', value: 'RunGrpConv' } ] }
supported_os: [ Windows ]
---
name: WindowsRunKeys
doc: |
Windows Run and RunOnce keys.
Note users.sid will currently only expand to SIDs with profiles
on the system, not all SIDs.
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run'
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run'
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce'
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup'
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Run'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce\Setup'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnceEx'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\Run'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\RunOnce'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\RunOnceEx'
- 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run'
- 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Run'
- 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce'
- 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce\Setup'
- 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnceEx'
supported_os: [ Windows ]
---
name: WindowsRunServices
doc: Windows Run Services.
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce'
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunServicesOnce'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunServices'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\RunServices'
- 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunServicesOnce'
- 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunServices'
supported_os: [ Windows ]
---
name: WindowsScheduledTasks
doc: Windows Scheduled Tasks.
sources:
- type: FILE
attributes:
paths:
- '%%environ_systemroot%%\Tasks\**10'
- '%%environ_systemroot%%\System32\Tasks\**10'
- '%%environ_systemroot%%\SysWow64\Tasks\**10'
separator: '\'
supported_os: [ Windows ]
---
name: WindowsScreenSaverExecutable
doc: ScreenSaver Executable
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_USERS\%%users.sid%%\Software\Policies\Microsoft\Windows\Control Panel\Desktop', value: 'scrnsave.exe' }
- { key: 'HKEY_USERS\%%users.sid%%\Control Panel\Desktop', value: 'scrnsave.exe' }
supported_os: [ Windows ]
---
name: WindowsSecurityProviders
doc: Security Providers DLLs
sources:
- type: REGISTRY_KEY
attributes:
keys: [ 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SecurityProviders' ]
supported_os: [ Windows ]
---
name: WindowsServiceControlManagerExtension
doc: Windows service control manager extension
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs: [ { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control', value: 'ServiceControlManagerExtension' } ]
supported_os: [ Windows ]
---
name: WindowsServices
doc: |
Windows services from the Registry.
Malware can add new services to gain persistence, or modify
existing ones to avoid detection. For example, the ZeroAccess
rootkit will make the following changes to the WSCSVC (Windows
Security Service Center), WINDEFEND (Windows Defender),
and MPSSVC (Windows Firewall) services, among others
* Set 'Start' to 4, indicating that the service should be disabled
* Set 'DeleteFlag' to 1, indicating that the service should be removed
* Set 'ErrorControl' to 0 and 'Type' to 32, causing it to fail to be
started by the Service Controller and no error messages generated
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\*'
- 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\*\Parameters'
supported_os: [ Windows ]
---
name: WindowsFontDrivers
doc: Windows font drivers from the Registry.
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Font Drivers\*'
supported_os: [ Windows ]
---
name: WindowsSessionManagerBootExecute
doc: Windows Session Manager BootExecute persistence.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs: [ { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager', value: 'BootExecute' } ]
supported_os: [ Windows ]
---
name: WindowsSessionManagerExecute
doc: |
Windows Session Manager Execute persistence
This entry shouldn't be populated after Windows has been installed
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs: [ { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager', value: 'Execute' } ]
supported_os: [ Windows ]
---
name: WindowsSessionManagerS0InitialCommand
doc: |
Windows Session Manager S0InitialCommand persistence
This entry shouldn't be populated after Windows has been installed
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs: [ { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager', value: 'S0InitialCommand' } ]
supported_os: [ Windows ]
---
name: WindowsSessionManagerSetupExecute
doc: |
Windows Session Manager SetupExecute persistence
This entry shouldn't be populated after Windows has been installed
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs: [ { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager', value: 'SetupExecute' } ]
supported_os: [ Windows ]
---
name: WindowsSessionManagerSubSystems
doc: Windows Session Manager SubSystems persistence
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs: [ { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems', value: 'Windows' } ]
supported_os: [ Windows ]
---
name: WindowsSessionManagerWOWCommandLine
doc: Windows Session Manager Windows-on-Windows (WOW) command line
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\WOW', value: 'cmdline' }
- { key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\WOW', value: 'wowcmdline' }
supported_os: [ Windows ]
---
name: WindowsSetupCommandLine
doc: Command line invocation used for custom setup and deployment tasks
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\System\Setup', value: 'CmdLine' }
supported_os: [ Windows ]
---
name: WindowsSharedTaskScheduler
doc: Runs on windows boot.
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler\*'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler\*'
supported_os: [ Windows ]
---
name: WindowsShellExecuteHooks
doc: Shell execution hooks are called when ShellExecuteEx() is called.
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks'
supported_os: [ Windows ]
---
name: WindowsShellExtensions
doc: Approved extensions to the Windows Shell (explorer.exe).
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved'
- 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved'
supported_os: [ Windows ]
---
name: WindowsShellIconOverlayIdentifiers
doc: Called to display custom icons.
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\*'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\*'
- 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\*'
- 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\*'
supported_os: [ Windows ]
---
name: WindowsShellLoadAndRun
doc: Windows Shell Load and Run values
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows NT\CurrentVersion\Windows', value: 'Load' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Microsoft\Windows NT\CurrentVersion\Windows', value: 'Run' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows', value: 'Load' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows', value: 'Run' }
supported_os: [ Windows ]
---
name: WindowsIconServiceLib
doc: |
Windows Icon Service Library Name
The value should default to 'IconCodecService.dll'
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows', value: 'IconServiceLib' }
supported_os: [ Windows ]
---
name: WindowsShellOpenCommand
doc: Executed every time this file type is opened. For most file types, the value should be '"%1" %*'.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\*\shell\open\command', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\*\shell\open\command', value: 'IsolatedCommand' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\*\shell\open\command', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\*\shell\open\command', value: 'IsolatedCommand' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\*\shell\open\command', value: '' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\*\shell\open\command', value: 'IsolatedCommand' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\Wow6432Node\*\shell\open\command', value: '' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\Wow6432Node\*\shell\open\command', value: 'IsolatedCommand' }
supported_os: [ Windows ]
---
name: WindowsShellRunasCommand
doc: |
Executed every time an executable or script file type is run as administrator.
For most file types, the value should be '"%1" %*' or something similar.
Example file type subkeys include 'exefile', 'batfile', and 'cmdfile'. These
keys can be modified by malware as a way to be periodically executed or to
bypass UAC.
sources:
- type: REGISTRY_VALUE
attributes:
key_value_pairs:
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\*\shell\runas\command', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\*\shell\runas\command', value: 'IsolatedCommand' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\*\shell\runas\command', value: '' }
- { key: 'HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\*\shell\runas\command', value: 'IsolatedCommand' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\*\shell\runas\command', value: '' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\*\shell\runas\command', value: 'IsolatedCommand' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\Wow6432Node\*\shell\runas\command', value: '' }
- { key: 'HKEY_USERS\%%users.sid%%\Software\Classes\Wow6432Node\*\shell\runas\command', value: 'IsolatedCommand' }
supported_os: [ Windows ]
---
name: WindowsShellServiceObjects
doc: Windows Shell (explorer.exe) service objects delayed load.
sources:
- type: REGISTRY_KEY
attributes:
keys:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad'
- 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad'
supported_os: [ Windows ]
---
name: WindowsSetupApiLogs
doc: Windows setup API logs.
sources:
- type: FILE
attributes:
paths: