kamikaze.sh
- Type
- Wiper
- Capabilities
- PersistencePrivilege escalationLateral movementPost exploitationExfiltration
- Platforms
- Linux
kamikazesh is an iteratively developed follow-on payload used by the threat actor TeamPCP during the 2026 compromise of Aqua Security’s Trivy ecosystem and related software supply chain activity. It was delivered through an Internet Computer Protocol canister polled by a persistent Linux backdoor installed on affected developer systems, and was updated rapidly across multiple versions during active operations.
The payload family was associated with post-compromise activity on Linux systems, particularly in Kubernetes-oriented environments. Reported capabilities included deployment as a Kubernetes DaemonSet, host escape from containers, establishment of systemd-based persistence, and destructive wiping behavior targeted at systems associated with Iran, including checks tied to Tehran timezone or Persian locale before executing destructive actions. The broader TeamPCP toolchain around this payload also supported credential collection, secret theft, encrypted exfiltration, and propagation across cloud-native and developer environments.
kamikazesh formed part of a larger multi-stage intrusion chain in which compromised Trivy artifacts and poisoned GitHub Actions were used to steal secrets and implant persistence. On developer machines, the malicious Trivy component installed a systemd-backed Python dropper that periodically polled attacker-controlled ICP infrastructure for follow-on payloads such as kamikazesh. The malware therefore functioned as a modular second-stage capability within a supply-chain-driven campaign affecting Linux developer hosts and Kubernetes-connected environments.
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.
On March 22, TeamPCP rotated through six payload versions in approximately five hours via the ICP canister, each one picked up by every infected machine on its next poll: Time (UTC) Version Capability ~11:45 v1 Monolithic K8s DaemonSet with host escape, systemd persistence, Iran-targeted wiper.
Techniques & procedures
26 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
Wiz Research, in concert with other industry parties, identified a multi-faceted supply chain attack targeting Aqua Security's Trivy. The attack compromised multiple components of the Trivy project: the core scanner, the trivy-action GitHub Action, and the setup-trivy GitHub Action.
The attacker force-pushed 110+ version tags across aquasecurity/trivy-action, aquasecurity/setup-trivy, Checkmarx/kics-github-action, and Checkmarx/ast-github-action, replacing them with malicious commits containing a three-stage credential stealer... Stolen npm tokens then fuelled CanisterWorm...
Execution
4 techniques
Execution
Version 1 - Monolithic Architecture : A 150-line bash script focused on environment fingerprinting and immediate credential harvesting... Version 2 also introduced a self-deletion command rm – “$0” to remove itself after execution.
By March 22, the ICP-hosted fallback C2 was actively serving an iteratively developed payload designated kamikaze.sh.
the malware attempts to create persistence by writing a python script as ~/.config/systemd/user/sysmon.py... sysmon.py initially sleeps for five minutes and then polls https://tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io/
On Kubernetes clusters, the kamikaze.sh payload deployed privileged DaemonSets with hostPath: / mounts in the kube-system namespace. Standard backdoor deployments used the host-provisioner-std DaemonSet name. Iranian-targeted nodes received host-provisioner-iran instead.
Persistence
1 technique
Persistence
the malware attempts to create persistence by writing a python script as ~/.config/systemd/user/sysmon.py and creating a systemd unit that persistently runs the python script.
Privilege Escalation
3 techniques
Privilege Escalation
It bypassed GitHub’s secret masking by reading the runner.worker process memory directly via /proc/<pid>/mem to extract plaintext tokens.
It bypassed GitHub’s secret masking by reading the runner.worker process memory directly via /proc/<pid>/mem to extract plaintext tokens.
the malware attempts to create persistence by writing a python script as ~/.config/systemd/user/sysmon.py and creating a systemd unit that persistently runs the python script.
Stealth
7 techniques
Stealth
The files carried authentic RIFF headers and presented as legitimate 8-bit mono audio at 44100 Hz to file type detection systems.
Version 3.3 introduced the most technically notable technique: Python payloads embedded as base64-encoded data inside valid WAV audio files.
On compromised hosts, TeamPCP installed systemd services named pgmon.service, pgmonitor.service, or internal-monitor.service with Restart=always, masquerading as PostgreSQL monitoring tooling.
It bypassed GitHub’s secret masking by reading the runner.worker process memory directly via /proc/<pid>/mem to extract plaintext tokens.
It bypassed GitHub’s secret masking by reading the runner.worker process memory directly via /proc/<pid>/mem to extract plaintext tokens.
Version 2 also introduced a self-deletion command rm – “$0” to remove itself after execution.
Version 2 also introduced a self-deletion command rm – “$0” to remove itself after execution.
Credential Access
2 techniques
Credential Access
It bypassed GitHub’s secret masking by reading the runner.worker process memory directly via /proc/<pid>/mem to extract plaintext tokens.
A 150-line bash script focused on environment fingerprinting and immediate credential harvesting from AWS/GCP/Azure credentials using the compromised endpoint’s instance metadata service (IMDS).
Discovery
2 techniques
Discovery
...the worm drops a script that scans for SSH keys and Docker API tokens, then probes the local subnet for port 22 (SSH) and port 2375 (Docker API).
On Kubernetes clusters, the kamikaze.sh payload deployed privileged DaemonSets with hostPath: / mounts in the kube-system namespace.
Lateral Movement
2 techniques
Lateral Movement
MITRE ATT&CK Mapping... T1021.004 Remote Services: SSH Using harvested SSH keys to propagate to local subnet hosts
The commits fetched malicious Go source files from the typosquatted C2 domain scan.aquasecurtiy[.]org and fed them into the build pipeline...
Command and Control
3 techniques
Command and Control
sysmon.py initially sleeps for five minutes and then polls https://tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io/.
It then compresses and encrypts the data and attempts to exfiltrate it via post request to https://scan.aquasecurtiy[.]org ... sysmon.py initially sleeps for five minutes and then polls https://tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io/
If a non-youtube link is found there the dropper downloads to /tmp/pglog and executes it in a new session.
Exfiltration
2 techniques
Exfiltration
sysmon.py initially sleeps for five minutes and then polls https://tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.io/ . If a non-youtube link is found there the dropper downloads to /tmp/pglog and executes it in a new session.
The malware transmitted the encrypted bundle to a typosquatted domain ( scan.aquasecurtiy[.]org ). As a fallback, it could create a tpcp-docs repository in the victim's GitHub account and upload the stolen credentials as a release asset.
Impact
1 technique
Impact
The broader campaign escalates with CanisterWorm propagation and destructive activity targeting Iranian environments.
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
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.