YARA · Volexity threat-intel
VOLEXITY_Apt_Malware_Py_Agentpsd
Detection for AgentPSD, a python-based malware typically delivered within PyInstaller-built binaries.
- Author
- threatintel@volexity.com
- Date
- 2025-09-05
- Modified
- 2025-10-30
- Score / Quality
- 75 / 80
What this rule detects
Detection for AgentPSD, a python-based malware typically delivered within PyInstaller-built binaries.
It defines 11 patterns (11 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule VOLEXITY_Apt_Malware_Py_Agentpsd : VERDANTBAMBOO AGENTPSD MEMORY
{
meta:
= "Detection for AgentPSD, a python-based malware typically delivered within PyInstaller-built binaries."
= "threatintel@volexity.com"
= "4a7d531f-926d-557e-b2a0-d4f103e9c63a"
= "2025-09-05"
= "2025-10-30"
= "https://github.com/volexity/threat-intel"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2026/2026-06-04 VerdantBamboo/rules.yar#L137-L171"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "ee41e06ed96182ce80cd4544a6abd5d7719c4a5c0e5ddb266a83842d39b99b0a"
= "dd0b957bc2a61ddebd392b86b35bae8c1052a285fa31ccd700e580c2ad9cce59"
= 75
= 80
= "VERDANTBAMBOO, AGENTPSD, MEMORY"
= "all"
= "all"
= "memory"
= "critical"
= "TIB-20251104"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 12297
= 5
strings:
$s1 = "g_strPhpUrl" ascii
$s2 = "g_nSleepMinits" ascii
$s3 = "g_nDuringTime" ascii
$func1 = "startwork" ascii
$func2 = "ifrunning" ascii
$func3 = "getsysinfo" ascii
$func4 = "getcmdfromweb" ascii
$func5 = "ParseCmdFromResponse" ascii
$func6 = "PostDataToServer" ascii
$func7 = "DealWithBuildinCommand" ascii
$func8 = "PostBuildinResultToWeb" ascii
condition:
2 of ( $s* ) or 4 of ( $func* )
}
Strings (11 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "g_strPhpUrl" | ascii |
| $s2 | text | "g_nSleepMinits" | ascii |
| $s3 | text | "g_nDuringTime" | ascii |
| $func1 | text | "startwork" | ascii |
| $func2 | text | "ifrunning" | ascii |
| $func3 | text | "getsysinfo" | ascii |
| $func4 | text | "getcmdfromweb" | ascii |
| $func5 | text | "ParseCmdFromResponse" | ascii |
| $func6 | text | "PostDataToServer" | ascii |
| $func7 | text | "DealWithBuildinCommand" | ascii |
| $func8 | text | "PostBuildinResultToWeb" | ascii |
Condition
2 of ( $s* ) or 4 of ( $func* )In plain words (Heuristic)
- At least 2 patterns in ( $s* ) must match.
- At least 4 patterns in ( $func* ) 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
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- ee41e06ed96182ce80cd4544a6abd5d7719c4a5c0e5ddb266a83842d39b99b0a
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: 4a7d531f-926d-557e-b2a0-d4f103e9c63a
Metadata
| os | all |
|---|---|
| os_arch | all |
| scan_context | memory |
| severity | critical |
| report1 | TIB-20251104 |
| rule_id | 12297 |
| version | 5 |
Tags:VERDANTBAMBOOAGENTPSDMEMORY
Related rules
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2026-02-24
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2025-09-22
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2025-09-22
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2025-09-04
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2025-09-05
- 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