YARA · SEKOIA.IO Community
SEKOIA_Backdoor_Win_Spacecolon
Finds Spacecolon samples based on specific strings (ScHackTool component)
- Author
- Sekoia.io
- Date
- 2023-08-25
- Modified
- 2024-12-19
- Score / Quality
- 75 / 78
What this rule detects
Finds Spacecolon samples based on specific strings (ScHackTool component)
Targets: Windows PE.
It defines 24 patterns (24 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
backdoor-win-spacecolon.yarDetection Rule License 1.1
rule SEKOIA_Backdoor_Win_Spacecolon : FILE
{
meta:
= "Finds Spacecolon samples based on specific strings (ScHackTool component)"
= "Sekoia.io"
= "ae09f0e2-e913-44d5-abe1-715170368cc8"
= "2023-08-25"
= "2024-12-19"
= "https://www.welivesecurity.com/en/eset-research/scarabs-colon-izing-vulnerable-servers/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/backdoor_win_spacecolon.yar#L1-L39"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "1251df19c521e9ee9da307d56eea265265f2bee4a8e7eec099e4ebfb4e2bd7a2"
= 75
= 78
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "Before Work" ascii
$str02 = "DEFENDER OFF" ascii
$str03 = "Stop Service" ascii
$str04 = "Kill All (Default)" ascii
$str05 = "Keyboard EN" ascii
$str06 = "After Work" ascii
$str07 = "Del Shadow Log" ascii
$str08 = "Kill OSK" ascii
$str09 = "PWGEN" ascii
$str10 = "Character :" ascii
$str11 = "PW GEN" ascii
$str12 = "Cobian UI Pass" ascii
$str13 = "Credssp" ascii
$str14 = "Username :" ascii
$str15 = "Password :" ascii
$str16 = "TSpeedButton" ascii
$str17 = "Ab1q2w3e!" ascii
$str18 = "PC Details" ascii
$str19 = "Mimi Dump" ascii
$str20 = "MIMI Dump" ascii
$str21 = "powershell -ExecutionPolicy Bypass -File \"" wide
$str22 = "lastlog.txt" wide
$str23 = "$AdminGroupName = (Get-WmiObject -Class Win32_Group -Filter 'LocalAccount = True AND SID = \"S-1-5-32-544\"').Name" wide
$str24 = "net localgroup $AdminGroupName " wide
condition:
uint16( 0 ) == 0x5a4d and 17 of them
}
Strings (24 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "Before Work" | ascii |
| $str02 | text | "DEFENDER OFF" | ascii |
| $str03 | text | "Stop Service" | ascii |
| $str04 | text | "Kill All (Default)" | ascii |
| $str05 | text | "Keyboard EN" | ascii |
| $str06 | text | "After Work" | ascii |
| $str07 | text | "Del Shadow Log" | ascii |
| $str08 | text | "Kill OSK" | ascii |
| $str09 | text | "PWGEN" | ascii |
| $str10 | text | "Character :" | ascii |
| $str11 | text | "PW GEN" | ascii |
| $str12 | text | "Cobian UI Pass" | ascii |
| $str13 | text | "Credssp" | ascii |
| $str14 | text | "Username :" | ascii |
| $str15 | text | "Password :" | ascii |
| $str16 | text | "TSpeedButton" | ascii |
| $str17 | text | "Ab1q2w3e!" | ascii |
| $str18 | text | "PC Details" | ascii |
| $str19 | text | "Mimi Dump" | ascii |
| $str20 | text | "MIMI Dump" | ascii |
| $str21 | text | "powershell -ExecutionPolicy Bypass -File \"" | wide |
| $str22 | text | "lastlog.txt" | wide |
| $str23 | text | "$AdminGroupName = (Get-WmiObject -Class Win32_Group -Filter 'LocalAccount = True AND SID = \"S-1-5-32-544\"').Name" | wide |
| $str24 | text | "net localgroup $AdminGroupName " | wide |
Condition
uint16( 0 ) == 0x5a4d and 17 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 17 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: ae09f0e2-e913-44d5-abe1-715170368cc8
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