YARA · SEKOIA.IO Community
SEKOIA_Hacktool_Mimikatz_Obfuscated
Detects Mimikatz on strings obfuscation
- Author
- Sekoia.io
- Date
- 2022-07-22
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects Mimikatz on strings obfuscation
Associated malware family: Mimikatz.
Targets: Windows PE.
It defines 10 patterns (10 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
hacktool-mimikatz-obfuscated.yarDetection Rule License 1.1
rule SEKOIA_Hacktool_Mimikatz_Obfuscated : FILE
{
meta:
= "Detects Mimikatz on strings obfuscation"
= "Sekoia.io"
= "bac4bb61-d250-4fc3-95a5-edd4e3c7ff83"
= "2022-07-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/hacktool_mimikatz_obfuscated.yar#L1-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "9f75e10122df0f57382e939d82b0ab4047d3d42f198c59faa22177d6d5d9afd7"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$xor1 = "Benjamin Delpy" xor
$xor2 = "sekurlsa" xor wide
$xor3 = "minidumpfile.dmp" wide
$xor4 = "lsadump_dcsync" xor wide
$xor5 = "kuhl_m_lsadump_getSamKey" xor wide
$b1 = "Benjamin Delpy" base64
$b2 = "sekurlsa" base64 wide
$b3 = "minidumpfile.dmp" base64 wide
$b4 = "lsadump_dcsync" base64 wide
$b5 = "kuhl_m_lsadump_getSamKey" base64 wide
condition:
uint16be( 0 ) == 0x4d5a and 3 of them and filesize < 5MB
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $xor1 | text | "Benjamin Delpy" | xor |
| $xor2 | text | "sekurlsa" | xor wide |
| $xor3 | text | "minidumpfile.dmp" | wide |
| $xor4 | text | "lsadump_dcsync" | xor wide |
| $xor5 | text | "kuhl_m_lsadump_getSamKey" | xor wide |
| $b1 | text | "Benjamin Delpy" | base64 |
| $b2 | text | "sekurlsa" | base64 wide |
| $b3 | text | "minidumpfile.dmp" | base64 wide |
| $b4 | text | "lsadump_dcsync" | base64 wide |
| $b5 | text | "kuhl_m_lsadump_getSamKey" | base64 wide |
Condition
uint16be( 0 ) == 0x4d5a and 3 of them and filesize < 5MBIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 5MB (a cheap guard that skips large files).
- At least 3 patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: bac4bb61-d250-4fc3-95a5-edd4e3c7ff83
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- Hack toolSignature Base (Florian Roth / Nextron)· Benjamin DELPY (gentilkiwi)· 2022-11-16
- Hack toolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-08-09
- Hack toolMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- Hack toolSignature Base (Florian Roth / Nextron)· SBousseaden· 2020-08-26
- SBOUSSEADEN_Mimikatz_KiwikeyMetadata onlyHack toolSamir Bousseaden (YaraHunts)· SBousseaden· 2020-08-08
- SBOUSSEADEN_Mimikatz_Memssp_HookfnMetadata onlyHack toolSamir Bousseaden (YaraHunts)· SBousseaden· 2020-08-26
- Suspicious / huntingditekSHen detection· ditekSHen· 2020-11-06
- Hack toolSEKOIA.IO Community· Sekoia.io· 2024-09-06