YARA · WithSecure Labs IOCs
WITHSECURELABS_Phantomrelay_Client
Detects PhantomRelay client script
- Author
- WithSecure
- Date
- 2026-05-28
- Score / Quality
- 75 / 75
What this rule detects
Detects PhantomRelay client script
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
phantomrelay-client.yarBSD 2-Clause License
rule WITHSECURELABS_Phantomrelay_Client : FILE
{
meta:
= "Detects PhantomRelay client script"
= "WithSecure"
= "d65c65a3-beab-51cd-8700-1204ce40791e"
= "2026-05-28"
= "2026-05-28"
= "https://github.com/WithSecureLabs/iocs"
= "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/GREYVIBE/greyvibe.yara#L141-L153"
= "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/LICENSE"
= "3d5ad744d1689b71604d55ec75a971f1a1f89c3f030c069a5ea205e4a3e4fac4"
= 75
= 75
= "FILE"
strings:
$a = ".idc"
$b = ".cmd"
$c = ".psh"
$d = "WebSockets.ClientWebSocket"
condition:
filesize < 100KB and all of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a | text | ".idc" | |
| $b | text | ".cmd" | |
| $c | text | ".psh" | |
| $d | text | "WebSockets.ClientWebSocket" |
Condition
filesize < 100KB and all of themIn plain words (Heuristic)
- The file must be smaller than 100KB (a cheap guard that skips large files).
- All 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: WithSecure
Source repository: WithSecure Labs IOCs @ 1a8384468d
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright (c) 2022, WithSecure Oyj
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: d65c65a3-beab-51cd-8700-1204ce40791e
Tags:FILE
Related rules
- Suspicious / huntingWithSecure Labs IOCs· WithSecure· 2026-01-22
- MalwareWithSecure Labs IOCs· WithSecure· 2026-01-22
- MalwareWithSecure Labs IOCs· WithSecure· 2022-11-17
- GenericWithSecure Labs IOCs· WithSecure· 2026-01-22
- GenericWithSecure Labs IOCs· WithSecure· 2026-01-22
- GenericWithSecure Labs IOCs· WithSecure· 2026-01-22
- GenericWithSecure Labs IOCs· WithSecure· 2026-01-22
- GenericWithSecure Labs IOCs· WithSecure· 2026-01-22