YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Dotrunpex
Detects dotRunpeX injector
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects dotRunpeX injector
Associated malware family: Dotrunpex.
Targets: Windows PE.
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-dotrunpex.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Dotrunpex : FILE
{
meta:
= "Detects dotRunpeX injector"
= "ditekSHen"
= "4845edc1-110c-59a2-ace0-57a62b1e69e8"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9906-L9918"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "d7f802f233b2b4ff2c250bb8e96649f307bbb3457c78004751401b3ea7f531a0"
= 75
= 75
= "FILE"
strings:
$s1 = "\\Registry\\Machine\\System\\CurrentControlSet\\Services\\TaskKill" fullword wide
$s2 = "KoiVM" ascii
$s3 = "RunpeX.Stub.Framework" wide
$s4 = "ExceptionServices.ExceptionDispatchInfo" wide
$s5 = "Kernel32.Dll" wide
condition:
uint16( 0 ) == 0x5a4d and all of them
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "\\Registry\\Machine\\System\\CurrentControlSet\\Services\\TaskKill" | fullword wide |
| $s2 | text | "KoiVM" | ascii |
| $s3 | text | "RunpeX.Stub.Framework" | wide |
| $s4 | text | "ExceptionServices.ExceptionDispatchInfo" | wide |
| $s5 | text | "Kernel32.Dll" | wide |
Condition
uint16( 0 ) == 0x5a4d and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All 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: 4845edc1-110c-59a2-ace0-57a62b1e69e8
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-06-08
- CHECK_POINT_Injector_ZZ_Dotrunpex_OldnewMetadata onlyMalwareCheck Point (via Open-Source-YARA-rules)· Jiri Vinopal (jiriv)· 2022-10-30
- CHECK_POINT_Injector_ZZ_DotrunpexMetadata onlyMalwareCheck Point (via Open-Source-YARA-rules)· Jiri Vinopal (jiriv)· 2022-10-30
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06