IPsec Helper
- Type
- Backdoor
- Capabilities
- ExfiltrationPersistencePost exploitationDefense evasion
- Platforms
- Windows
IPsec Helper is a custom .NET backdoor associated with the Iran-linked threat actor Agrius and used in post-compromise operations against organizations in the Middle East, particularly Israeli targets. It has been deployed alongside Agrius destructive tooling, including Apostle and DEADWOOD, and appears to share code characteristics and development patterns with Apostle, suggesting common authorship. The malware is typically installed as a Windows service to establish persistence and operate covertly on selected hosts after initial access has already been obtained through other means such as exploitation of public-facing applications and web shell deployment.
Functionally, IPsec Helper provides remote backdoor access for follow-on operations. Reported capabilities include executing arbitrary PowerShell commands, running Visual Basic scripts and other attacker-supplied commands, exfiltrating selected files through its command-and-control channel, modifying registry keys based on operator input, and deleting registry artifacts related to its own execution and use. It has also been described as capable of supporting deployment of additional malware. The malware incorporates delayed execution behavior by sleeping in repeated randomized intervals before continuing, consistent with sandbox-evasion or anti-analysis tradecraft.
Operationally, IPsec Helper has been used as part of Agrius intrusions that combined espionage, data theft, and destructive activity masquerading as ransomware. Its role is best characterized as a persistent post-exploitation backdoor used to maintain access, execute commands, and facilitate exfiltration or staging for subsequent payloads on compromised Windows systems.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
[Agrius](https://attack.mitre.org/groups/G1030) uses [IPsec Helper](https://attack.mitre.org/software/S1132) as a post-exploitation remote access tool framework.(Citation: SentinelOne Agrius 2021)
A report about Agrius attacks mentions a custom .NET backdoor called IPsec Helper.
Techniques & procedures
20 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
5 techniques
Execution
[IPsec Helper](https://attack.mitre.org/software/S1132) can run arbitrary PowerShell commands passed to it.(Citation: SentinelOne Agrius 2021)
[IPsec Helper](https://attack.mitre.org/software/S1132) can run arbitrary commands passed to it through <code>cmd.exe</code>.(Citation: SentinelOne Agrius 2021)
[IPsec Helper](https://attack.mitre.org/software/S1132) can run arbitrary Visual Basic scripts and commands passed to it.(Citation: SentinelOne Agrius 2021)
“...downloading and executing an executable file…”
[IPsec Helper](https://attack.mitre.org/software/S1132) is run as a Windows service in victim environments.(Citation: SentinelOne Agrius 2021)
Persistence
2 techniques
Persistence
[IPsec Helper](https://attack.mitre.org/software/S1132) can make arbitrary changes to registry keys based on provided input.(Citation: SentinelOne Agrius 2021)
During the 2016 Ukraine Electric Power Attack, Sandworm Team used an arbitrary system service to load at system boot for persistence for Industroyer. They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
Privilege Escalation
1 technique
Privilege Escalation
During the 2016 Ukraine Electric Power Attack, Sandworm Team used an arbitrary system service to load at system boot for persistence for Industroyer. They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
Stealth
6 techniques
Stealth
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
[IPsec Helper](https://attack.mitre.org/software/S1132) contains an embedded XML configuration file with an encrypted list of command and control servers. These are written to an external configuration file during execution.(Citation: SentinelOne Agrius 2021)
[IPsec Helper](https://attack.mitre.org/software/S1132) can delete various registry keys related to its execution and use.(Citation: SentinelOne Agrius 2021)
[IPsec Helper](https://attack.mitre.org/software/S1132) can delete itself when given the appropriate command.(Citation: SentinelOne Agrius 2021)
[IPsec Helper](https://attack.mitre.org/software/S1132) can delete various service traces related to persistent execution when commanded.(Citation: SentinelOne Agrius 2021)
[IPsec Helper](https://attack.mitre.org/software/S1132) will sleep for a random number of seconds, iterating 200 times over sleeps between one to three seconds, before continuing execution flow.(Citation: SentinelOne Agrius 2021)
Defense Impairment
1 technique
Defense Impairment
[IPsec Helper](https://attack.mitre.org/software/S1132) can make arbitrary changes to registry keys based on provided input.(Citation: SentinelOne Agrius 2021)
Discovery
3 techniques
Discovery
[IPsec Helper](https://attack.mitre.org/software/S1132) can identify the process it is currently running under and its number, and pass this back to a command and control node.(Citation: SentinelOne Agrius 2021)
BADNEWS crawls the victim's local drives and collects documents with selected extensions; Machete searches the file system for files of interest; Rover searches for files on local drives based on a predefined list of file extensions.
[IPsec Helper](https://attack.mitre.org/software/S1132) will sleep for a random number of seconds, iterating 200 times over sleeps between one to three seconds, before continuing execution flow.(Citation: SentinelOne Agrius 2021)
Lateral Movement
1 technique
Lateral Movement
[IPsec Helper](https://attack.mitre.org/software/S1132) can download additional payloads from command and control nodes and execute them.(Citation: SentinelOne Agrius 2021)
Collection
1 technique
Collection
[IPsec Helper](https://attack.mitre.org/software/S1132) can identify specific files and folders for follow-on exfiltration.(Citation: SentinelOne Agrius 2021)
Command and Control
2 techniques
Command and Control
[IPsec Helper](https://attack.mitre.org/software/S1132) connects to command and control servers via HTTP POST requests based on parameters hard-coded into the malware.(Citation: SentinelOne Agrius 2021)
It can be used to exfiltrate data or deploy additional malware.
Exfiltration
1 technique
Exfiltration
[IPsec Helper](https://attack.mitre.org/software/S1132) exfiltrates specific files through its command and control framework.(Citation: SentinelOne Agrius 2021)
Observables
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.