YARA · SEKOIA.IO Community
SEKOIA_Rat_Win_Arrow_Str
Finds Arrow RAT samples based on the specific malware strings
- Author
- Sekoia.io
- Date
- 2022-08-19
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds Arrow RAT samples based on the specific malware strings
Targets: Windows PE.
It defines 12 patterns (12 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rat-win-arrow-str.yarDetection Rule License 1.1
rule SEKOIA_Rat_Win_Arrow_Str : FILE
{
meta:
= "Finds Arrow RAT samples based on the specific malware strings"
= "Sekoia.io"
= "69f6572c-91ed-4fb6-b886-5ad2dabef3d3"
= "2022-08-19"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_arrow_str.yar#L1-L27"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "faf66a14e563066bb86ceadc787c092a5a13a43f936f0d9d19fbe7d4352ea5d8"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$hvnc01 = "DESKTOP_JOURNALRECORD" ascii
$hvnc02 = "DESKTOP_ENUMERATE" ascii
$hvnc03 = "DESKTOP_SWITCHDESKTOP" ascii
$hvnc04 = "DESKTOP_CREATEWINDOW" ascii
$hvnc05 = "StartHVNC" ascii
$str01 = "U29mdHdhcmVcTWljcm9zb2Z0XFdpbmRvd3MgTlRcQ3VycmVudFZlcnNpb25cV2lubG9nb25c" wide
$str02 = "powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -NoProfile -Command Add-MpPreference -ExclusionPath" wide
$str03 = "cvtres.exe" wide
$str04 = "qbkTHriRRbQjaArtJfF" wide
$str05 = "29mdHdhcmVcTWljcm9zb2Z0XFdpbmRvd3MgTlRcQ3VycmVudFZlcnNpb25cV2lubG9nb24=" wide
$str06 = "Stub.exe" ascii wide
$str07 = "DePikoloData" ascii
condition:
uint16be( 0 ) == 0x4d5a and 4 of ( $hvnc* ) and 5 of ( $str* )
}
Strings (12 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $hvnc01 | text | "DESKTOP_JOURNALRECORD" | ascii |
| $hvnc02 | text | "DESKTOP_ENUMERATE" | ascii |
| $hvnc03 | text | "DESKTOP_SWITCHDESKTOP" | ascii |
| $hvnc04 | text | "DESKTOP_CREATEWINDOW" | ascii |
| $hvnc05 | text | "StartHVNC" | ascii |
| $str01 | text | "U29mdHdhcmVcTWljcm9zb2Z0XFdpbmRvd3MgTlRcQ3VycmVudFZlcnNpb25cV2lubG9nb25c" | wide |
| $str02 | text | "powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -NoProfile -Command Add-MpPreference -ExclusionPath" | wide |
| $str03 | text | "cvtres.exe" | wide |
| $str04 | text | "qbkTHriRRbQjaArtJfF" | wide |
| $str05 | text | "29mdHdhcmVcTWljcm9zb2Z0XFdpbmRvd3MgTlRcQ3VycmVudFZlcnNpb25cV2lubG9nb24=" | wide |
| $str06 | text | "Stub.exe" | ascii wide |
| $str07 | text | "DePikoloData" | ascii |
Condition
uint16be( 0 ) == 0x4d5a and 4 of ( $hvnc* ) and 5 of ( $str* )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 4 patterns in ( $hvnc* ) must match.
- At least 5 patterns in ( $str* ) 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: 69f6572c-91ed-4fb6-b886-5ad2dabef3d3
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20