YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Arrowrat
Detects ArrowRAT
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects ArrowRAT
Associated malware family: Arrowrat.
Targets: Windows PE.
It defines 11 patterns (10 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-arrowrat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Arrowrat : FILE
{
meta:
= "Detects ArrowRAT"
= "ditekSHen"
= "14d3aabe-1ef5-599f-adbd-61b580099447"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9943-L9961"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "13e6d4fd274f75c50aa4110276812d02885c03cfc269dde480db66955e5f703a"
= 75
= 75
= "FILE"
strings:
$s1 = "29mdHdhcmVcTWljcm9zb2Z0XFdpbmRvd3MgTlRcQ3VycmVudFZlcnNpb25cV2lubG9nb" wide
$s2 = "Software\\Classes\\ms-settings\\shell\\open\\command" wide
$s3 = "DelegateExecute" fullword wide
$s4 = "powershell" wide
$s5 = "DESKTOP_HOOKCONTROL" fullword ascii
$s6 = "PROCESS_INFORMATION" fullword ascii
$s7 = "STARTUP_INFORMATION" fullword ascii
$s8 = /(Venom|Pandora)\shVNC/ fullword wide
$s9 = "cmd.exe /k START" fullword wide
$s10 = "ExclusionWD" fullword ascii
$s11 = "WinExec" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and 5 of them
}
Strings (11 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "29mdHdhcmVcTWljcm9zb2Z0XFdpbmRvd3MgTlRcQ3VycmVudFZlcnNpb25cV2lubG9nb" | wide |
| $s2 | text | "Software\\Classes\\ms-settings\\shell\\open\\command" | wide |
| $s3 | text | "DelegateExecute" | fullword wide |
| $s4 | text | "powershell" | wide |
| $s5 | text | "DESKTOP_HOOKCONTROL" | fullword ascii |
| $s6 | text | "PROCESS_INFORMATION" | fullword ascii |
| $s7 | text | "STARTUP_INFORMATION" | fullword ascii |
| $s8 | regex | /(Venom|Pandora)\shVNC/ | fullword wide |
| $s9 | text | "cmd.exe /k START" | fullword wide |
| $s10 | text | "ExclusionWD" | fullword ascii |
| $s11 | text | "WinExec" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and 5 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 5 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: 14d3aabe-1ef5-599f-adbd-61b580099447
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