Skip to content

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Win_CLEANGULP_Memoryonly

CLEANGULP: Detects decoded runtime strings associated with command-and-control, tasking, and persistence.

APT / threat actorVolexity threat-intelBSD 2-Clause LicenseCompiles with YARA-X
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

apt-malware-win-cleangulp-memoryonly.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Win_CLEANGULP_Memoryonly : CLEANGULP MEMORY
{
	meta:
		description = "CLEANGULP: Detects decoded runtime strings associated with command-and-control, tasking, and persistence."
		author = "threatintel@volexity.com"
		id = "e1c0e877-2d11-567c-8e9f-c40ef9d8f784"
		date = "2026-09-16"
		modified = "2026-09-16"
		reference = "https://github.com/volexity/threat-intel"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2026/2026-09-21 Chrome-part-2/rules.yar#L1-L29"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		logic_hash = "dd65a0a286689427b296b4468147231e9ff17aa2ba1e6ce582f53db50b5b543f"
		score = 75
		quality = 80
		tags = "CLEANGULP, MEMORY"
		os = "win"
		os_arch = "all"
		scan_context = "memory"
		severity = "high"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 13450
		version = 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)

IdentifierTypeValueModifiers
$protocol_pre_registertext"%s/beacon/pre-register"ascii
$protocol_registertext"%s/beacon/register"ascii
$protocol_registrationtext"{\"uuid\":\"%s\",\"username\":\"%s\",\"computer\":\"%s\",\"internal_ip\":\"%s\",\"process\":\"%s\",\"pid\":%d,\"arch\":\"%s\",\"is_admin\":%s}"ascii
$protocol_file_transfertext"{\"task_id\":\"%s\",\"filename\":\"%s\",\"data\":\"%s\",\"size\":%ld,\"chunk\":%d,\"total_chunks\":%d,\"file_transfer\":true}"ascii
$capability_helptext"Available: shell, ps, ls, upload, download, sleep, exit, help, bof"ascii
$capability_uploadtext"[-] Usage: upload <server_filename>:<target_path>"ascii
$capability_boftext"[-] 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.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

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.

Original rule

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

oswin
os_archall
scan_contextmemory
severityhigh
rule_id13450
version1

Tags:CLEANGULPMEMORY