Hacktool Execution - Imphash

Detects the execution of different Windows based hacktools via their import hash (imphash) even if the files have been renamed

Sigma rule (View on GitHub)

  1title: Hacktool Execution - Imphash
  2id: 24e3e58a-646b-4b50-adef-02ef935b9fc8
  3status: test
  4description: Detects the execution of different Windows based hacktools via their import hash (imphash) even if the files have been renamed
  5references:
  6    - Internal Research
  7author: Florian Roth (Nextron Systems)
  8date: 2022-03-04
  9modified: 2024-02-07
 10tags:
 11    - attack.credential-access
 12    - attack.t1588.002
 13    - attack.t1003
 14logsource:
 15    category: process_creation
 16    product: windows
 17detection:
 18    selection:
 19        - Imphash:
 20              - bcca3c247b619dcd13c8cdff5f123932 # PetitPotam
 21              - 3a19059bd7688cb88e70005f18efc439 # PetitPotam
 22              - bf6223a49e45d99094406777eb6004ba # PetitPotam
 23              - 23867a89c2b8fc733be6cf5ef902f2d1 # JuicyPotato
 24              - a37ff327f8d48e8a4d2f757e1b6e70bc # JuicyPotato
 25              - f9a28c458284584a93b14216308d31bd # JuicyPotatoNG
 26              - 6118619783fc175bc7ebecff0769b46e # RoguePotato
 27              - 959a83047e80ab68b368fdb3f4c6e4ea # RoguePotato
 28              - 563233bfa169acc7892451f71ad5850a # RoguePotato
 29              - 87575cb7a0e0700eb37f2e3668671a08 # RoguePotato
 30              - 13f08707f759af6003837a150a371ba1 # Pwdump
 31              - 1781f06048a7e58b323f0b9259be798b # Pwdump
 32              - 233f85f2d4bc9d6521a6caae11a1e7f5 # Pwdump
 33              - 24af2584cbf4d60bbe5c6d1b31b3be6d # Pwdump
 34              - 632969ddf6dbf4e0f53424b75e4b91f2 # Pwdump
 35              - 713c29b396b907ed71a72482759ed757 # Pwdump
 36              - 749a7bb1f0b4c4455949c0b2bf7f9e9f # Pwdump
 37              - 8628b2608957a6b0c6330ac3de28ce2e # Pwdump
 38              - 8b114550386e31895dfab371e741123d # Pwdump
 39              - 94cb940a1a6b65bed4d5a8f849ce9793 # PwDumpX
 40              - 9d68781980370e00e0bd939ee5e6c141 # Pwdump
 41              - b18a1401ff8f444056d29450fbc0a6ce # Pwdump
 42              - cb567f9498452721d77a451374955f5f # Pwdump
 43              - 730073214094cd328547bf1f72289752 # Htran
 44              - 17b461a082950fc6332228572138b80c # Cobalt Strike beacons
 45              - dc25ee78e2ef4d36faa0badf1e7461c9 # Cobalt Strike beacons
 46              - 819b19d53ca6736448f9325a85736792 # Cobalt Strike beacons
 47              - 829da329ce140d873b4a8bde2cbfaa7e # Cobalt Strike beacons
 48              - c547f2e66061a8dffb6f5a3ff63c0a74 # PPLDump
 49              - 0588081ab0e63ba785938467e1b10cca # PPLDump
 50              - 0d9ec08bac6c07d9987dfd0f1506587c # NanoDump
 51              - bc129092b71c89b4d4c8cdf8ea590b29 # NanoDump
 52              - 4da924cf622d039d58bce71cdf05d242 # NanoDump
 53              - e7a3a5c377e2d29324093377d7db1c66 # NanoDump
 54              - 9a9dbec5c62f0380b4fa5fd31deffedf # NanoDump
 55              - af8a3976ad71e5d5fdfb67ddb8dadfce # NanoDump
 56              - 0c477898bbf137bbd6f2a54e3b805ff4 # NanoDump
 57              - 0ca9f02b537bcea20d4ea5eb1a9fe338 # NanoDump
 58              - 3ab3655e5a14d4eefc547f4781bf7f9e # NanoDump
 59              - e6f9d5152da699934b30daab206471f6 # NanoDump
 60              - 3ad59991ccf1d67339b319b15a41b35d # NanoDump
 61              - ffdd59e0318b85a3e480874d9796d872 # NanoDump
 62              - 0cf479628d7cc1ea25ec7998a92f5051 # NanoDump
 63              - 07a2d4dcbd6cb2c6a45e6b101f0b6d51 # NanoDump
 64              - d6d0f80386e1380d05cb78e871bc72b1 # NanoDump
 65              - 38d9e015591bbfd4929e0d0f47fa0055 # HandleKatz
 66              - 0e2216679ca6e1094d63322e3412d650 # HandleKatz
 67              - ada161bf41b8e5e9132858cb54cab5fb # DripLoader
 68              - 2a1bc4913cd5ecb0434df07cb675b798 # DripLoader
 69              - 11083e75553baae21dc89ce8f9a195e4 # DripLoader
 70              - a23d29c9e566f2fa8ffbb79267f5df80 # DripLoader
 71              - 4a07f944a83e8a7c2525efa35dd30e2f # CreateMiniDump
 72              - 767637c23bb42cd5d7397cf58b0be688 # UACMe Akagi
 73              - 14c4e4c72ba075e9069ee67f39188ad8 # UACMe Akagi
 74              - 3c782813d4afce07bbfc5a9772acdbdc # UACMe Akagi
 75              - 7d010c6bb6a3726f327f7e239166d127 # UACMe Akagi
 76              - 89159ba4dd04e4ce5559f132a9964eb3 # UACMe Akagi
 77              - 6f33f4a5fc42b8cec7314947bd13f30f # UACMe Akagi
 78              - 5834ed4291bdeb928270428ebbaf7604 # UACMe Akagi
 79              - 5a8a8a43f25485e7ee1b201edcbc7a38 # UACMe Akagi
 80              - dc7d30b90b2d8abf664fbed2b1b59894 # UACMe Akagi
 81              - 41923ea1f824fe63ea5beb84db7a3e74 # UACMe Akagi
 82              - 3de09703c8e79ed2ca3f01074719906b # UACMe Akagi
 83              - a53a02b997935fd8eedcb5f7abab9b9f # WCE
 84              - e96a73c7bf33a464c510ede582318bf2 # WCE
 85              - 32089b8851bbf8bc2d014e9f37288c83 # Sliver Stagers
 86              - 09D278F9DE118EF09163C6140255C690 # Dumpert
 87              - 03866661686829d806989e2fc5a72606 # Dumpert
 88              - e57401fbdadcd4571ff385ab82bd5d6d # Dumpert
 89              - 84B763C45C0E4A3E7CA5548C710DB4EE # SysmonEnte
 90              - 19584675d94829987952432e018d5056 # SysmonQuiet
 91              - 330768a4f172e10acb6287b87289d83b # ShaprEvtMute Hook
 92              - 885c99ccfbe77d1cbfcb9c4e7c1a3313 # Forkatz
 93              - 22a22bc9e4e0d2f189f1ea01748816ac # PPLKiller
 94              - 7fa30e6bb7e8e8a69155636e50bf1b28 # PPLKiller
 95              - 96df3a3731912449521f6f8d183279b1 # Backstab
 96              - 7e6cf3ff4576581271ac8a313b2aab46 # Backstab
 97              - 51791678f351c03a0eb4e2a7b05c6e17 # Backstab
 98              - 25ce42b079282632708fc846129e98a5 # Forensia
 99              - 021bcca20ba3381b11bdde26b4e62f20 # EDRSandBlast
100              - 59223b5f52d8799d38e0754855cbdf42 # EDRSandBlast
101              - 81e75d8f1d276c156653d3d8813e4a43 # EDRSandBlast
102              - 17244e8b6b8227e57fe709ccad421420 # EDRSandBlast
103              - 5b76da3acdedc8a5cdf23a798b5936b4 # EDRSandBlast
104              - cb2b65bb77d995cc1c0e5df1c860133c # EDRSandBlast
105              - 40445337761d80cf465136fafb1f63e6 # EDRSandBlast
106              - 8a790f401b29fa87bc1e56f7272b3aa6 # EDRSilencer
107              - b50199e952c875241b9ce06c971ce3c1 # EventLogCrasher
108        - Hashes|contains: # Sysmon field hashes contains all types
109              - IMPHASH=BCCA3C247B619DCD13C8CDFF5F123932 # PetitPotam
110              - IMPHASH=3A19059BD7688CB88E70005F18EFC439 # PetitPotam
111              - IMPHASH=bf6223a49e45d99094406777eb6004ba # PetitPotam
112              - IMPHASH=23867A89C2B8FC733BE6CF5EF902F2D1 # JuicyPotato
113              - IMPHASH=A37FF327F8D48E8A4D2F757E1B6E70BC # JuicyPotato
114              - IMPHASH=F9A28C458284584A93B14216308D31BD # JuicyPotatoNG
115              - IMPHASH=6118619783FC175BC7EBECFF0769B46E # RoguePotato
116              - IMPHASH=959A83047E80AB68B368FDB3F4C6E4EA # RoguePotato
117              - IMPHASH=563233BFA169ACC7892451F71AD5850A # RoguePotato
118              - IMPHASH=87575CB7A0E0700EB37F2E3668671A08 # RoguePotato
119              - IMPHASH=13F08707F759AF6003837A150A371BA1 # Pwdump
120              - IMPHASH=1781F06048A7E58B323F0B9259BE798B # Pwdump
121              - IMPHASH=233F85F2D4BC9D6521A6CAAE11A1E7F5 # Pwdump
122              - IMPHASH=24AF2584CBF4D60BBE5C6D1B31B3BE6D # Pwdump
123              - IMPHASH=632969DDF6DBF4E0F53424B75E4B91F2 # Pwdump
124              - IMPHASH=713C29B396B907ED71A72482759ED757 # Pwdump
125              - IMPHASH=749A7BB1F0B4C4455949C0B2BF7F9E9F # Pwdump
126              - IMPHASH=8628B2608957A6B0C6330AC3DE28CE2E # Pwdump
127              - IMPHASH=8B114550386E31895DFAB371E741123D # Pwdump
128              - IMPHASH=94CB940A1A6B65BED4D5A8F849CE9793 # PwDumpX
129              - IMPHASH=9D68781980370E00E0BD939EE5E6C141 # Pwdump
130              - IMPHASH=B18A1401FF8F444056D29450FBC0A6CE # Pwdump
131              - IMPHASH=CB567F9498452721D77A451374955F5F # Pwdump
132              - IMPHASH=730073214094CD328547BF1F72289752 # Htran
133              - IMPHASH=17B461A082950FC6332228572138B80C # Cobalt Strike beacons
134              - IMPHASH=DC25EE78E2EF4D36FAA0BADF1E7461C9 # Cobalt Strike beacons
135              - IMPHASH=819B19D53CA6736448F9325A85736792 # Cobalt Strike beacons
136              - IMPHASH=829DA329CE140D873B4A8BDE2CBFAA7E # Cobalt Strike beacons
137              - IMPHASH=C547F2E66061A8DFFB6F5A3FF63C0A74 # PPLDump
138              - IMPHASH=0588081AB0E63BA785938467E1B10CCA # PPLDump
139              - IMPHASH=0D9EC08BAC6C07D9987DFD0F1506587C # NanoDump
140              - IMPHASH=BC129092B71C89B4D4C8CDF8EA590B29 # NanoDump
141              - IMPHASH=4DA924CF622D039D58BCE71CDF05D242 # NanoDump
142              - IMPHASH=E7A3A5C377E2D29324093377D7DB1C66 # NanoDump
143              - IMPHASH=9A9DBEC5C62F0380B4FA5FD31DEFFEDF # NanoDump
144              - IMPHASH=AF8A3976AD71E5D5FDFB67DDB8DADFCE # NanoDump
145              - IMPHASH=0C477898BBF137BBD6F2A54E3B805FF4 # NanoDump
146              - IMPHASH=0CA9F02B537BCEA20D4EA5EB1A9FE338 # NanoDump
147              - IMPHASH=3AB3655E5A14D4EEFC547F4781BF7F9E # NanoDump
148              - IMPHASH=E6F9D5152DA699934B30DAAB206471F6 # NanoDump
149              - IMPHASH=3AD59991CCF1D67339B319B15A41B35D # NanoDump
150              - IMPHASH=FFDD59E0318B85A3E480874D9796D872 # NanoDump
151              - IMPHASH=0CF479628D7CC1EA25EC7998A92F5051 # NanoDump
152              - IMPHASH=07A2D4DCBD6CB2C6A45E6B101F0B6D51 # NanoDump
153              - IMPHASH=D6D0F80386E1380D05CB78E871BC72B1 # NanoDump
154              - IMPHASH=38D9E015591BBFD4929E0D0F47FA0055 # HandleKatz
155              - IMPHASH=0E2216679CA6E1094D63322E3412D650 # HandleKatz
156              - IMPHASH=ADA161BF41B8E5E9132858CB54CAB5FB # DripLoader
157              - IMPHASH=2A1BC4913CD5ECB0434DF07CB675B798 # DripLoader
158              - IMPHASH=11083E75553BAAE21DC89CE8F9A195E4 # DripLoader
159              - IMPHASH=A23D29C9E566F2FA8FFBB79267F5DF80 # DripLoader
160              - IMPHASH=4A07F944A83E8A7C2525EFA35DD30E2F # CreateMiniDump
161              - IMPHASH=767637C23BB42CD5D7397CF58B0BE688 # UACMe Akagi
162              - IMPHASH=14C4E4C72BA075E9069EE67F39188AD8 # UACMe Akagi
163              - IMPHASH=3C782813D4AFCE07BBFC5A9772ACDBDC # UACMe Akagi
164              - IMPHASH=7D010C6BB6A3726F327F7E239166D127 # UACMe Akagi
165              - IMPHASH=89159BA4DD04E4CE5559F132A9964EB3 # UACMe Akagi
166              - IMPHASH=6F33F4A5FC42B8CEC7314947BD13F30F # UACMe Akagi
167              - IMPHASH=5834ED4291BDEB928270428EBBAF7604 # UACMe Akagi
168              - IMPHASH=5A8A8A43F25485E7EE1B201EDCBC7A38 # UACMe Akagi
169              - IMPHASH=DC7D30B90B2D8ABF664FBED2B1B59894 # UACMe Akagi
170              - IMPHASH=41923EA1F824FE63EA5BEB84DB7A3E74 # UACMe Akagi
171              - IMPHASH=3DE09703C8E79ED2CA3F01074719906B # UACMe Akagi
172              - IMPHASH=A53A02B997935FD8EEDCB5F7ABAB9B9F # WCE
173              - IMPHASH=E96A73C7BF33A464C510EDE582318BF2 # WCE
174              - IMPHASH=32089B8851BBF8BC2D014E9F37288C83 # Sliver Stagers
175              - IMPHASH=09D278F9DE118EF09163C6140255C690 # Dumpert
176              - IMPHASH=03866661686829d806989e2fc5a72606 # Dumpert
177              - IMPHASH=e57401fbdadcd4571ff385ab82bd5d6d # Dumpert
178              - IMPHASH=84B763C45C0E4A3E7CA5548C710DB4EE # SysmonEnte
179              - IMPHASH=19584675D94829987952432E018D5056 # SysmonQuiet
180              - IMPHASH=330768A4F172E10ACB6287B87289D83B # ShaprEvtMute Hook
181              - IMPHASH=885C99CCFBE77D1CBFCB9C4E7C1A3313 # Forkatz
182              - IMPHASH=22A22BC9E4E0D2F189F1EA01748816AC # PPLKiller
183              - IMPHASH=7FA30E6BB7E8E8A69155636E50BF1B28 # PPLKiller
184              - IMPHASH=96DF3A3731912449521F6F8D183279B1 # Backstab
185              - IMPHASH=7E6CF3FF4576581271AC8A313B2AAB46 # Backstab
186              - IMPHASH=51791678F351C03A0EB4E2A7B05C6E17 # Backstab
187              - IMPHASH=25CE42B079282632708FC846129E98A5 # Forensia
188              - IMPHASH=021BCCA20BA3381B11BDDE26B4E62F20 # EDRSandBlast
189              - IMPHASH=59223B5F52D8799D38E0754855CBDF42 # EDRSandBlast
190              - IMPHASH=81E75D8F1D276C156653D3D8813E4A43 # EDRSandBlast
191              - IMPHASH=17244E8B6B8227E57FE709CCAD421420 # EDRSandBlast
192              - IMPHASH=5B76DA3ACDEDC8A5CDF23A798B5936B4 # EDRSandBlast
193              - IMPHASH=CB2B65BB77D995CC1C0E5DF1C860133C # EDRSandBlast
194              - IMPHASH=40445337761D80CF465136FAFB1F63E6 # EDRSandBlast
195              - IMPHASH=8A790F401B29FA87BC1E56F7272B3AA6 # EDRSilencer
196              - IMPHASH=B50199E952C875241B9CE06C971CE3C1 # EventLogCrasher
197    condition: selection
198falsepositives:
199    - Legitimate use of one of these tools
200level: critical

References

Related rules

to-top