YARA · SEKOIA.IO Community
SEKOIA_Rat_Win_Xworm_V2
Finds XWorm v2 samples based on characteristic strings
- Author
- Sekoia.io
- Date
- 2022-11-07
- Modified
- 2024-12-19
- Score / Quality
- 75 / 78
What this rule detects
Finds XWorm v2 samples based on characteristic strings
Targets: Windows PE.
It defines 23 patterns (23 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rat-win-xworm-v2.yarDetection Rule License 1.1
rule SEKOIA_Rat_Win_Xworm_V2 : FILE
{
meta:
= "Finds XWorm v2 samples based on characteristic strings"
= "Sekoia.io"
= "6cf06f52-0337-415d-8f29-f63d67e228f8"
= "2022-11-07"
= "2024-12-19"
= "https://blog.cyble.com/2022/08/19/evilcoder-project-selling-multiple-dangerous-tools-online/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_xworm_v2.yar#L1-L38"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "58a2dbfbd453855021942902a6d55d150eee3acba67a294da24448cfca4f811e"
= 75
= 78
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "XWorm.exe" wide ascii
$str02 = "ngrok" wide ascii
$str03 = "Mutexx" ascii
$str04 = "FileManagerSplitFileManagerSplit" wide
$str05 = "InstallngC" wide
$str06 = "downloadedfile" wide
$str07 = "creatfile" wide
$str08 = "creatnewfolder" wide
$str09 = "showfolderfile" wide
$str10 = "hidefolderfile" wide
$str11 = "txtttt" wide
$str12 = "\\root\\SecurityCenter2" wide
$str13 = "[USB]" wide
$str14 = "[Drive]" wide
$str15 = "[Folder]" wide
$str16 = "HVNC" wide
$str17 = "http://exmple.com/Uploader.php" wide
$str18 = "XKlog.txt" wide
$str19 = "Select * from AntivirusProduct" wide
$str20 = "runnnnnn" wide
$str21 = "RunBotKiller" wide
$str22 = "bypss" wide
$str23 = "<Xwormmm>" wide
condition:
uint16( 0 ) == 0x5A4D and 12 of them
}
Strings (23 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "XWorm.exe" | wide ascii |
| $str02 | text | "ngrok" | wide ascii |
| $str03 | text | "Mutexx" | ascii |
| $str04 | text | "FileManagerSplitFileManagerSplit" | wide |
| $str05 | text | "InstallngC" | wide |
| $str06 | text | "downloadedfile" | wide |
| $str07 | text | "creatfile" | wide |
| $str08 | text | "creatnewfolder" | wide |
| $str09 | text | "showfolderfile" | wide |
| $str10 | text | "hidefolderfile" | wide |
| $str11 | text | "txtttt" | wide |
| $str12 | text | "\\root\\SecurityCenter2" | wide |
| $str13 | text | "[USB]" | wide |
| $str14 | text | "[Drive]" | wide |
| $str15 | text | "[Folder]" | wide |
| $str16 | text | "HVNC" | wide |
| $str17 | text | "http://exmple.com/Uploader.php" | wide |
| $str18 | text | "XKlog.txt" | wide |
| $str19 | text | "Select * from AntivirusProduct" | wide |
| $str20 | text | "runnnnnn" | wide |
| $str21 | text | "RunBotKiller" | wide |
| $str22 | text | "bypss" | wide |
| $str23 | text | "<Xwormmm>" | wide |
Condition
uint16( 0 ) == 0x5A4D and 12 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 12 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.
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: 6cf06f52-0337-415d-8f29-f63d67e228f8
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