YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_CN_Wocao_Agent_Py
Strings from Python version of Agent
APT / threat actorSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
- Author
- Fox-IT SRT
- Date
- 2019-12-20
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Strings from Python version of Agent
It defines 10 patterns (8 text, 0 hex, 2 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-mal-cn-wocao-agent-py.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_MAL_CN_Wocao_Agent_Py
{
meta:
= "Strings from Python version of Agent"
= "Fox-IT SRT"
= "ca30dd6a-b596-54ab-b4f0-50e6b1382f73"
= "2019-12-20"
= "2023-12-05"
= "https://www.fox-it.com/en/news/whitepapers/operation-wocao-shining-a-light-on-one-of-chinas-hidden-hacking-groups/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_op_wocao.yar#L54-L75"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "9b6eba750c96501aae1d86eef458d3e80de665efc7ce9d5aff842bc44363bad2"
= 75
= 85
= ""
strings:
$a = "vpshex.decode"
$b = "self._newsock.recv"
$c = "Rsock.connect"
$d = /MAX_DATALEN\s?=\s?10240/
$e = /LISTEN_MAXCOUNT\s?=\s?80/
$f = "ListenSock.listen(LISTEN_MAXCOUNT)"
$g = "nextsock.send(head)"
$h = "elif transnode"
$i = "infobuf[4:6]"
$key = "L\\x1bh\\x0bj\\x18\\tAZ6\\x1fV&*\\x03D}_\\x03{\\x07n\\x03w0pRBSg\\n*"
condition:
1 of them
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a | text | "vpshex.decode" | |
| $b | text | "self._newsock.recv" | |
| $c | text | "Rsock.connect" | |
| $d | regex | /MAX_DATALEN\s?=\s?10240/ | |
| $e | regex | /LISTEN_MAXCOUNT\s?=\s?80/ | |
| $f | text | "ListenSock.listen(LISTEN_MAXCOUNT)" | |
| $g | text | "nextsock.send(head)" | |
| $h | text | "elif transnode" | |
| $i | text | "infobuf[4:6]" | |
| $key | text | "L\\x1bh\\x0bj\\x18\\tAZ6\\x1fV&*\\x03D}_\\x03{\\x07n\\x03w0pRBSg\\n*" |
Condition
1 of themIn plain words (Heuristic)
- At least 1 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: Fox-IT SRT
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: ca30dd6a-b596-54ab-b4f0-50e6b1382f73
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· Fox-IT SRT· 2019-12-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Fox-IT SRT· 2019-12-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Fox-IT SRT· 2019-12-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Fox-IT SRT· 2019-12-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Fox-IT SRT· 2019-12-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Fox-IT SRT· 2019-12-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Fox-IT SRT· 2019-12-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Fox-IT SRT· 2019-12-20