Tonnerre
- Type
- Spyware
- Capabilities
- ExfiltrationPersistenceDefense evasionReconnaissance
- Delivery
- PhishingLure
- Platforms
- Windows
Tonnerre is a Delphi-written Windows espionage implant used by the Iranian state-sponsored threat group Infy, also known as Prince of Persia. It serves as a second-stage payload, typically downloaded and executed by Foudre after attackers identify a victim as valuable. Associated infection chains use phishing and malicious Microsoft Office documents containing macros or embedded executables. Targets include Iranian dissidents and government and private-sector entities, with victims documented in Iran and internationally, including Turkey, Iraq, India, Canada, and Europe.
Tonnerre supports sensitive-file theft, screenshot capture, microphone recording, system-information collection, and remote command execution. It searches user folders, removable storage, logical drives, and network drives for documents and other valuable files. Operators can upload and download files, manipulate directories, launch programs, terminate processes, and archive collected data. Microphone recording in analyzed versions is disabled by default and requires activation. Persistence is established through scheduled tasks, with a registry-based startup mechanism as a fallback.
Earlier versions use HTTP for command-and-control validation, metadata exchange, and updates, alongside FTP for command retrieval and data exfiltration. Newer variants incorporate Telegram-based command and control and data theft, with configuration selectively supplied to designated victims rather than embedded directly in the implant. Domain generation algorithms and RSA-based server authentication increase infrastructure resilience and hinder sinkholing. Analyzed versions also check for security or system-restoration software as part of their evasion logic.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Malware Lineage Infy (2007) ──► Foudre (2016) ──► Tonnerre (2020) ──► Tornado (2026)
Techniques & procedures
31 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Initial Access Spearphishing Attachment (T1566.001)
Execution
3 techniques
Execution
Persistence: Scheduled Task; in case it can’t add a scheduled task, as backup it adds a registers run key
The second installation stage creates a link and runs its persistence mechanism: A scheduled task for helper.exe -ex <machine GUID in hex>.
Executes commands from the C2 server... The second C2 is used to store the stolen data, and it can also provide a list of commands to run.
Persistence
3 techniques
Persistence
Persistence: Scheduled Task; in case it can’t add a scheduled task, as backup it adds a registers run key
The second installation stage creates a link and runs its persistence mechanism: A scheduled task for helper.exe -ex <machine GUID in hex>.
The second installation stage creates a link and runs its persistence mechanism: ... Registry “Run” key.
Privilege Escalation
3 techniques
Privilege Escalation
Persistence: Scheduled Task; in case it can’t add a scheduled task, as backup it adds a registers run key
The second installation stage creates a link and runs its persistence mechanism: A scheduled task for helper.exe -ex <machine GUID in hex>.
The second installation stage creates a link and runs its persistence mechanism: ... Registry “Run” key.
Stealth
3 techniques
Stealth
The malware is a rar sfx password-protected exe, downloaded and executed by the initial Foudre backdoor.
The executable is exceptionally large at 56Mb, and camouflages itself as legitimate software. Version 1 is camouflaged as “SilverSoft Speed”, and version 11 as “Synaptics”.
It also verifies that the “Deep Freeze” process is not running, otherwise Tonnerre exits immediately. Tonnerre also checks for the presence of Kaspersky endpoint protection by looking for a “Kaspersky Lab” folder under %programfiles%.
Discovery
6 techniques
Discovery
This commands gets the list of antivirus products, firewall products, running processes, network adapters and uploads it to the ftp server
This commands gets the list of antivirus products, firewall products, running processes, network adapters and uploads it to the ftp server
The timer function: Collects files measuring between 1 byte and 8mb from the current user’s: Documents folder, Desktop folder, Download folder, Contacts folder, Pictures folder | Network drives • It looks only in same folders as for logical drives
<time_string> has this format: “<year>-<month>-<day>--<hour>-<minute>-<second>”
Files are also collected from network shares using WNetOpenEnumW and WNetEnumResourceW functions from mpr.dll.
It also verifies that the “Deep Freeze” process is not running, otherwise Tonnerre exits immediately. Tonnerre also checks for the presence of Kaspersky endpoint protection by looking for a “Kaspersky Lab” folder under %programfiles%.
Collection
8 techniques
Collection
Steals files from predefined folders as well as external devices... Collects files from predefined folders – Documents, Downloads, Pictures and more.
Collects files from removable devices for exfiltration. This is done by monitoring WM_DEVICECHANGE messages and enumerating the devices.
Files are also collected from network shares using WNetOpenEnumW and WNetEnumResourceW functions from mpr.dll.
The files collected are archived (one archive per file) and the archives are saved in the “H” folder
Captures screen... Print screens are also collected if the screen saver is not active at the moment of checking.
Mitre Matrix TTPs ... Clipboard Data (T1115)
Records sound... Form5 – Uses the lame command line tool to record sound.
Before being saved in its corresponding folder... each file is compressed with FlexCompress (.fxc format) and the archive is password protected
Command and Control
6 techniques
Command and Control
If none of above cncs responded: <base_url> = md5(GET http://www.breakingnews.com/feeds/rss) ... <base_url> = md5(GET http://www.platts.com/rssfeeddetail/metals)
Finally, for command and control and exfiltration, Iranian-linked groups most commonly rely on application layer protocols (T1071), such as HTTP
A GET request is made to http://<cnc>//2016/?c=<computer_name>&u=<username>&v=<malware_version>&f=<base_folder>&mi=<machine_guid>&t=<time_string>
After connecting to the C2, Foudre downloads an encrypted self-extracting archive (SFX), and then decrypts and runs it... Tonnerre uses this C2 to... Download updates.
Like Foudre, Tonnerre uses a DGA to find its C2... Similar to Foudre, Tonnerre uses a DGA to find its C2, and verifies it as a valid server using an RSA signature.
Then, a DGA is used to get a responsive cnc; the DGA is similar to the Foudre’s DGA, but it uses other TLDs
Exfiltration
4 techniques
Exfiltration
Then it uploads each collected archive measuring at least 100 bytes and maximum 8mb to the cnc
A POST request is made to http://<cnc>/blog/?<time_string> with the following body : c=<computer_name>&u=<username>&v=<malware_version>&f=<base_folder>&txt=<base64(archive_content)>&e=EOF
Communication to the first C2 uses HTTP, whereas the second C2 communicates using FTP... Exfiltration of data which was collected based on the C2 server command is performed via FTP.
Exfiltration of data collected otherwise (built in Tonnerre logic) is performed via HTTP POST request: POST /blog/?<timestamp>
Observables
85 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.