YARA · Volexity threat-intel
VOLEXITY_Apt_Malware_Win_CLEANGULP_Memoryonly
CLEANGULP: Detects decoded runtime strings associated with command-and-control, tasking, and persistence.
- Author
- threatintel@volexity.com
- Date
- 2026-09-16
- Score / Quality
- 75 / 80
What this rule detects
CLEANGULP: Detects decoded runtime strings associated with command-and-control, tasking, and persistence.
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule VOLEXITY_Apt_Malware_Win_CLEANGULP_Memoryonly : CLEANGULP MEMORY
{
meta:
= "CLEANGULP: Detects decoded runtime strings associated with command-and-control, tasking, and persistence."
= "threatintel@volexity.com"
= "e1c0e877-2d11-567c-8e9f-c40ef9d8f784"
= "2026-09-16"
= "2026-09-16"
= "https://github.com/volexity/threat-intel"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2026/2026-09-21 Chrome-part-2/rules.yar#L1-L29"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "dd65a0a286689427b296b4468147231e9ff17aa2ba1e6ce582f53db50b5b543f"
= 75
= 80
= "CLEANGULP, MEMORY"
= "win"
= "all"
= "memory"
= "high"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 13450
= 1
strings:
$protocol_pre_register = "%s/beacon/pre-register" ascii
$protocol_register = "%s/beacon/register" ascii
$protocol_registration = "{\"uuid\":\"%s\",\"username\":\"%s\",\"computer\":\"%s\",\"internal_ip\":\"%s\",\"process\":\"%s\",\"pid\":%d,\"arch\":\"%s\",\"is_admin\":%s}" ascii
$protocol_file_transfer = "{\"task_id\":\"%s\",\"filename\":\"%s\",\"data\":\"%s\",\"size\":%ld,\"chunk\":%d,\"total_chunks\":%d,\"file_transfer\":true}" ascii
$capability_help = "Available: shell, ps, ls, upload, download, sleep, exit, help, bof" ascii
$capability_upload = "[-] Usage: upload <server_filename>:<target_path>" ascii
$capability_bof = "[-] Usage: bof <encoded_bof>:<encoded_args>" ascii
condition:
2 of ( $protocol* ) or 2 of ( $capability* )
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $protocol_pre_register | text | "%s/beacon/pre-register" | ascii |
| $protocol_register | text | "%s/beacon/register" | ascii |
| $protocol_registration | text | "{\"uuid\":\"%s\",\"username\":\"%s\",\"computer\":\"%s\",\"internal_ip\":\"%s\",\"process\":\"%s\",\"pid\":%d,\"arch\":\"%s\",\"is_admin\":%s}" | ascii |
| $protocol_file_transfer | text | "{\"task_id\":\"%s\",\"filename\":\"%s\",\"data\":\"%s\",\"size\":%ld,\"chunk\":%d,\"total_chunks\":%d,\"file_transfer\":true}" | ascii |
| $capability_help | text | "Available: shell, ps, ls, upload, download, sleep, exit, help, bof" | ascii |
| $capability_upload | text | "[-] Usage: upload <server_filename>:<target_path>" | ascii |
| $capability_bof | text | "[-] Usage: bof <encoded_bof>:<encoded_args>" | ascii |
Condition
2 of ( $protocol* ) or 2 of ( $capability* )In plain words (Heuristic)
- At least 2 patterns in ( $protocol* ) must match.
- At least 2 patterns in ( $capability* ) 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.
References
Licence & attribution
Author: threatintel@volexity.com
Source repository: Volexity threat-intel @ 3a9d0b5245
Licence: BSD 2-Clause License (stated in the rule's own meta)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Copyright notice: Copyright 2022 by Volexity, Inc.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: e1c0e877-2d11-567c-8e9f-c40ef9d8f784
Metadata
| os | win |
|---|---|
| os_arch | all |
| scan_context | memory |
| severity | high |
| rule_id | 13450 |
| version | 1 |
Related rules
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-02
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03