YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Venomrat
Detects VenomRAT
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects VenomRAT
Associated malware family: Venomrat.
Targets: Windows PE.
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-venomrat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Venomrat : FILE
{
meta:
= "Detects VenomRAT"
= "ditekSHen"
= "93cd5ae3-c222-51a2-bbb9-bdd3254006e5"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11156-L11170"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "47d343def76a323c66db4ba6fb1c0d119f45323f9b7f36695e4aeb7b070819d7"
= 75
= 75
= "FILE"
strings:
$x1 = "Venom RAT + HVNC" fullword ascii
$x2 = "Venom" fullword ascii
$x3 = "VenomByVenom" fullword wide
$s1 = "/c schtasks /create /f /sc onlogon /rl highest /tn \"" fullword wide
$s2 = "UmVjZWl2ZWQ" wide
$s3 = "Pac_ket" fullword wide
$s4 = "Po_ng" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) and 2 of ( $s* ) )
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "Venom RAT + HVNC" | fullword ascii |
| $x2 | text | "Venom" | fullword ascii |
| $x3 | text | "VenomByVenom" | fullword wide |
| $s1 | text | "/c schtasks /create /f /sc onlogon /rl highest /tn \"" | fullword wide |
| $s2 | text | "UmVjZWl2ZWQ" | wide |
| $s3 | text | "Pac_ket" | fullword wide |
| $s4 | text | "Po_ng" | fullword wide |
Condition
uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) and 2 of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 1 patterns in ( $x* ) must match.
- At least 2 patterns in ( $s* ) 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: 93cd5ae3-c222-51a2-bbb9-bdd3254006e5
Tags:FILE
Related rules
- 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
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06