Apostle
- Type
- Ransomware
- Capabilities
- PersistenceDefense evasionExtortion
- Platforms
- Windows
Apostle is a Windows malware family written in .NET and used by the Iran-linked threat actor Agrius, also known as Spectral Kitten, in destructive operations primarily against Israeli organizations. Initially developed as a file wiper disguised as ransomware, it was subsequently modified into fully functional ransomware. Its operational history combines data destruction with financial-extortion themes that obscure the disruptive nature of the attacks.
Apostle searches available drives for files matching hard-coded extensions. Its destructive implementation creates encrypted copies, overwrites the originals with random data, truncates them, modifies their timestamps, and deletes them. Encrypted copies receive randomly generated names. Later ransomware variants leave ransom demands and require a Base64-encoded public key supplied as a command-line argument; execution without the required argument triggers self-deletion.
The malware establishes persistence through Windows scheduled tasks. It uses batch scripts for anti-analysis and anti-forensic activity, attempts to clear Windows event logs after wiping, and removes its scripts and executable following destructive or encryption operations. It can reboot or shut down the compromised system afterward.
Agrius has deployed Apostle after compromising public-facing applications and establishing access through webshells. Some variants have been concealed within Jennlog, a .NET loader that decrypts and executes the payload in memory. Apostle shares substantial code characteristics and functions with Agrius's IPsec Helper backdoor.
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.
Techniques & procedures
22 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
As in previous attacks, the threat actors gained entry via public-facing web servers and the deployment of “unique variants of ASPXSPY”
Execution
2 techniques
Execution
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[Apostle](https://attack.mitre.org/software/S1133) achieves persistence by creating a scheduled task, such as <code>MicrosoftCrashHandlerUAC</code>.(Citation: SentinelOne Agrius 2021)
Persistence
3 techniques
Persistence
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[Apostle](https://attack.mitre.org/software/S1133) achieves persistence by creating a scheduled task, such as <code>MicrosoftCrashHandlerUAC</code>.(Citation: SentinelOne Agrius 2021)
Agonizing Serpens frequently exploited publicly available one-day vulnerabilities in public-facing web applications to drop custom web shells.
Privilege Escalation
2 techniques
Privilege Escalation
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[Apostle](https://attack.mitre.org/software/S1133) achieves persistence by creating a scheduled task, such as <code>MicrosoftCrashHandlerUAC</code>.(Citation: SentinelOne Agrius 2021)
Stealth
9 techniques
Stealth
The content contains many examples of base64, XOR, RC4, AES, Rijndael, custom ciphers, rolling XOR, and multi-layer obfuscation used to hide payloads, strings, scripts, and C2 data.
The new version of Apostle is obfuscated, encrypted and compressed as a resource in a loader we call Jennlog, as it attempts to masquerade payload in resources as log files.
APT-C-36 has used a macro function to set scheduled tasks, disguised as those used by Google.
Many examples describe post-intrusion cleanup, anti-forensics, and removal of artifacts such as logs, scripts, malware components, scheduled tasks, registry keys, and temporary files.
[Apostle](https://attack.mitre.org/software/S1133) writes batch scripts to disk, such as <code>system.bat</code> and <code>remover.bat</code>, that perform various anti-analysis and anti-forensic tasks, before finally deleting themselves at the end of execution. [Apostle](https://attack.mitre.org/software/S1133) attempts to delete itself after encryption or wiping operations are complete and before shutting down the victim machine.(Citation: SentinelOne Agrius 2021)
[Apostle](https://attack.mitre.org/software/S1133) compiled code is obfuscated in an unspecified fashion prior to delivery to victims.(Citation: SentinelOne Agrius 2021)
[Apostle](https://attack.mitre.org/software/S1133)'s ransomware variant requires that a base64-encoded argument is passed when executed, that is used as the Public Key for subsequent encryption operations. If [Apostle](https://attack.mitre.org/software/S1133) is executed without this argument, it automatically runs a self-delete function.(Citation: SentinelOne Agrius 2021)
Before executing the Apostle payload, Jennlog runs a set of tests to verify that it is not being executed in an analysis environment based on an embedded configuration.
The extracted content found in this sample is a new version of the Apostle ransomware, which is loaded into memory and ran using the parameters given to Jennlog at execution.
Defense Impairment
1 technique
Defense Impairment
[Apostle](https://attack.mitre.org/software/S1133) will attempt to delete all event logs on a victim machine following file wipe activity.(Citation: SentinelOne Agrius 2021)
Discovery
2 techniques
Discovery
[Apostle](https://attack.mitre.org/software/S1133) retrieves a list of all running processes on a victim host, and stops all services containing the string "sql," likely to propagate ransomware activity to database files.(Citation: SentinelOne Agrius 2021)
Before executing the Apostle payload, Jennlog runs a set of tests to verify that it is not being executed in an analysis environment based on an embedded configuration.
Command and Control
1 technique
Command and Control
It can be used to exfiltrate data or deploy additional malware.
Impact
6 techniques
Impact
[Apostle](https://attack.mitre.org/software/S1133) initially masqueraded as ransomware but actual functionality is a data destruction tool, supported by an internal name linked to an early version, <code>wiper-action</code>. [Apostle](https://attack.mitre.org/software/S1133) writes random data to original files after an encrypted copy is created, along with resizing the original file to zero and changing time property metadata before finally deleting the original file.(Citation: SentinelOne Agrius 2021)
[Apostle](https://attack.mitre.org/software/S1133) creates new, encrypted versions of files then deletes the originals, with the new filenames consisting of a random GUID and ".lock" for an extension.(Citation: SentinelOne Agrius 2021)
Apostle retrieves a list of all running processes on a victim host, and stops all services containing the string "sql," likely to propagate ransomware activity to database files. LockBit 3.0 can identify and terminate specific services. RansomHub can stop processes associated with files currently in use to maximize the impact of encryption.
[Apostle](https://attack.mitre.org/software/S1133) reboots the victim machine following wiping and related activity.(Citation: SentinelOne Agrius 2021)
Iran has a new cyber trick in the form of destructive smokescreens that leverage ransomware-style encryption to disguise data destruction, sabotage, or political retribution.
[Apostle](https://attack.mitre.org/software/S1133) searches for files on available drives based on a list of extensions hard-coded into the sample for follow-on wipe activity.(Citation: SentinelOne Agrius 2021)
Observables
7 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.