HEAVYGRAM
- Type
- Backdoor
- Capabilities
- Credential theftSession hijackingExfiltrationPersistenceDefense evasionReconnaissanceDLL sideloading
- Delivery
- SpearphishingLure
- Platforms
- Windows
HEAVYGRAM, also known as CHOSEN BRICK, is a modular Windows surveillance backdoor used in espionage campaigns against Iranian dissidents, journalists, activists, and opposition organizations worldwide. Activity dates to at least fall 2023, with victims identified in the United States, United Kingdom, Netherlands, and other countries. The FBI attributes its use to actors operating on behalf of Iran’s Ministry of Intelligence and Security. The malware is also associated with Handala Hack operations.
Operators approach targets through messaging platforms, including Telegram, WhatsApp, and Instagram, impersonating trusted contacts or technical-support personnel. They induce victims to execute malicious installers or files masquerading as legitimate applications, documents, or videos. Delivery chains include scripts, HTML applications, and executables containing embedded archives. The associated CRUDEEXCLUDE utility stages HEAVYGRAM and configures Microsoft Defender exclusions.
HEAVYGRAM includes Python implants packaged with PyInstaller. It uses Telegram bots, accounts, and groups for command retrieval, host check-ins, payload delivery, and exfiltration; some variants also transfer data through cloud storage or conceal Telegram traffic with proxies. Its capabilities include arbitrary command execution, host and process discovery, file transfer, execution of additional payloads, screenshot capture, and microphone and screen recording. It can steal stored browser passwords, browser session data, Telegram Desktop data, browser-accessible Telegram and WhatsApp information, and email messages and attachments from Outlook and Gmail. It can also collect files from removable and connected devices.
The malware maintains persistence through Windows Registry autorun entries and uses DLL sideloading during payload execution. Defense-evasion behaviors include Microsoft Defender exclusions, masquerading, and deletion of collected or staged files. At least one variant supports wiping the compromised computer. The associated operations support intelligence collection, data leaks, and reputational harm against targeted individuals.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
AKSK publishes a technical analysis of HEAVYGRAM, also known as CHOSEN BRICK, used in cyber-espionage campaigns against activists and journalists in various countries. The analysis covers malicious execution and persistence mechanisms, Telegram-based command reception, C2 communications, malicious functions, and indicators of compromise.
Handala Hack is employing a sophisticated surveillance backdoor named HEAVYGRAM, which operates via Telegram.
The FBI calls it HEAVYGRAM, and the U.K.'s National Cyber Security Center (NCSC) calls it CHOSEN BRICK. The malware is controlled via Telegram and can copy emails and chat messages, take screenshots, activate the microphone, steal credentials, download additional malware, and in at least one version wipe the computer.
Techniques & procedures
37 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
MOIS cyber actors used social engineering via social media platforms such as Telegram, WhatsApp, and Instagram to communicate with victims while offering IT services.
Victims were approached through messaging apps by people posing as familiar contacts or technical support, then sent files disguised as applications or services.
Attacks typically involve social engineering via messaging platforms like Telegram to deliver malware disguised as harmless installers.
Execution
6 techniques
Execution
“The malware supports ... remote command execution.”
WSF/VBS scripts... run PowerShell cradles to download or write decoy files, and download/execute additional stages.
Prefix @@, to execute arbitrary system commands via os.popen.
Prefix @@ – used to execute arbitrary system commands via os.popen, returning command output directly to the Telegram command-and-control channel.
Delivery methods include WSF/VBS scripts, HTA files, and executables with embedded archives.
“Victims are lured through messaging applications with fake legitimate programs, leading to malware.”
Persistence
2 techniques
Persistence
"mekanizmat e ekzekutimit dhe qëndrueshmërisë në sistem" (execution and persistence mechanisms on the system).
HEAVYGRAM ... establish[es] persistence through Windows registry keys.
Privilege Escalation
2 techniques
Privilege Escalation
"mekanizmat e ekzekutimit dhe qëndrueshmërisë në sistem" (execution and persistence mechanisms on the system).
HEAVYGRAM ... establish[es] persistence through Windows registry keys.
Stealth
5 techniques
Stealth
The WSF first stage contains obfuscated VBScript... before executing the encoded PowerShell. The executable contains base64-encoded data in an embedded resource.
CRUDEEXCLUDE ... prepares environments for HEAVYGRAM deployment by masquerading as legitimate applications.
Malware samples... facilitated... file deletion... The spoofed directory C:\Windows \SysWOW64\ and its contents are deleted.
HEAVYGRAM has been found to be delivered through ... VBScripts and HTML Application (HTA) files.
[Scripts] check if the C: drive volume is larger than 50GB, before executing the encoded PowerShell.
Defense Impairment
1 technique
Defense Impairment
CRUDEEXCLUDE ... configur[es] Microsoft Defender exclusions for defense evasion.
Credential Access
2 techniques
Credential Access
dt – Exfiltrate Telegram Desktop application data from %APPDATA%\Telegram Desktop and %LOCALAPPDATA%\Packages\TelegramMessengerLLP.
[HEAVYGRAM can] capture web browser data ... steal saved passwords.
Discovery
6 techniques
Discovery
HEAVYGRAM is ... capable of ... system and network information discovery.
pl – Enumerate running processes, including access-level information.
HEAVYGRAM is ... capable of ... system and network information discovery.
The attachment handler... conditionally branches execution [and] extracts archives to specified program-data and application-data directories.
[Scripts] check if the C: drive volume is larger than 50GB, before executing the encoded PowerShell.
Откако ќе се активира, malware-от може да добива команди... да ги прикаже активните програми.
Collection
4 techniques
Collection
HEAVYGRAM offers builtin commands supporting ... data and Telegram session files exfiltration ... [and can] copy Telegram and WhatsApp data.
HEAVYGRAM is ... capable of ... screenshot capture.
Malware samples... facilitated screen and audio recording.
Malware samples... facilitated screen and audio recording, cache captures, encrypted file compression, file deletion and exfiltration via the Telegram API.
Command and Control
5 techniques
Command and Control
"HEAVYGRAM ... merr komanda përmes Telegram-it" (receives commands through Telegram).
Поновите верзии го испраќаат Telegram сообраќајот преку proxy сервери за да го сокријат.
“The malware uses Telegram bots, users, and groups for C2 and data exfiltration.”
Downloads and extracts a ZIP archive from Vultr Object Storage... Executes one of the extracted files (RuntimeSSH.exe).
HEAVYGRAM is a versatile tool capable of remote command execution.
Exfiltration
3 techniques
Exfiltration
HEAVYGRAM leverages Telegram for command-and-control, enabling ... file exfiltration.
Malware samples... facilitated screen and audio recording, cache captures, encrypted file compression, file deletion and exfiltration via the Telegram API.
Rather than relying on a dedicated server, it uses bots, accounts and groups to receive instructions, move stolen data and keep infected devices under control.
Impact
1 technique
Impact
Според заедничкото предупредување, најмалку една верзија може и целосно да го избрише компјутерот.
Observables
181 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.