YARA · ditekSHen detection
DITEKSHEN_INDICATOR_TOOLS_Edrsandblast
Detects EDRSandBlast
- Author
- ditekShen
- Date
- 2020-11-06
- Modified
- 2024-09-25
- Score / Quality
- 75 / 75
What this rule detects
Detects EDRSandBlast
Targets: Windows PE.
It defines 15 patterns (13 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
indicator-tools-edrsandblast.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_TOOLS_Edrsandblast : FILE
{
meta:
= "Detects EDRSandBlast"
= "ditekShen"
= "85d6d82b-a30e-5c79-93e7-8a3bbbf4a403"
= "2020-11-06"
= "2024-09-25"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1745-L1767"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "9b801f053e42fbd646cf62fecf6cbf5f2cceeec82bed93ecd8625984eccb08c6"
= 75
= 75
= "FILE"
strings:
$s1 = "credguard" fullword wide
$s2 = "\\cmd.exe" fullword wide
$s3 = "ci_%s.dll" fullword wide
$s4 = "cmd /c sc" wide
$s5 = "fltmgr_%s.sys" fullword wide
$s6 = "ntoskrnl_%s.exe" fullword wide
$s7 = "ProductDir" fullword wide
$s8 = "lsass.exe" fullword wide
$s9 = "0x%p;%ws;%ws;;;" ascii
$s10 = "MiniDumpWriteDump" ascii
$s11 = "EDRSB_Init: %u" ascii
$s12 = "ntoskrnloffsets.csv" fullword wide nocase
$s13 = "wdigestoffsets.csv" fullword wide nocase
$o1 = { eb 0e 8b 85 34 15 00 00 ff c0 89 85 34 15 00 00 }
$o2 = { 74 48 8b 85 34 15 00 00 41 b9 04 01 00 00 4c 8d }
condition:
uint16( 0 ) == 0x5a4d and 7 of them
}
Strings (15 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "credguard" | fullword wide |
| $s2 | text | "\\cmd.exe" | fullword wide |
| $s3 | text | "ci_%s.dll" | fullword wide |
| $s4 | text | "cmd /c sc" | wide |
| $s5 | text | "fltmgr_%s.sys" | fullword wide |
| $s6 | text | "ntoskrnl_%s.exe" | fullword wide |
| $s7 | text | "ProductDir" | fullword wide |
| $s8 | text | "lsass.exe" | fullword wide |
| $s9 | text | "0x%p;%ws;%ws;;;" | ascii |
| $s10 | text | "MiniDumpWriteDump" | ascii |
| $s11 | text | "EDRSB_Init: %u" | ascii |
| $s12 | text | "ntoskrnloffsets.csv" | fullword wide nocase |
| $s13 | text | "wdigestoffsets.csv" | fullword wide nocase |
| $o1 | hex | { eb 0e 8b 85 34 15 00 00 ff c0 89 85 34 15 00 00 } | |
| $o2 | hex | { 74 48 8b 85 34 15 00 00 41 b9 04 01 00 00 4c 8d } |
Condition
uint16( 0 ) == 0x5a4d and 7 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 7 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: ditekShen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 85d6d82b-a30e-5c79-93e7-8a3bbbf4a403
Tags:FILE
Related rules
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21