Skip to content

TeamPCP Iran-targeted Wiper Malware

The TeamPCP hacking group is targeting Kubernetes clusters with a malicious script that wipes all machines when it detects systems configured for Iran. The malware is built to destroy any machine that matches Iran's timezone and locale, regardless if Kubernetes is present or not.

Severity awaiting reviewMalware
Incident date
Published
Read time
7 min
C
CertGPS

Not independently reviewed

AI-assisted content. Editorial policy ยท Suggest a correction

View source
On this page

Note: This analysis is based on publicly available information from source article. Facts are clearly separated from technical analysis.

Executive Summary

On March 20, 2026, a critical malware incident occurred, targeting Kubernetes clusters with a malicious script that wipes all machines when it detects systems configured for Iran. The TeamPCP hacking group deployed the Iran-targeted wiper in Kubernetes attacks, using the exact same ICP canister as seen in the CanisterWorm incidents. The malware is built to destroy any machine that matches Iran's timezone and locale, regardless if Kubernetes is present or not. This incident highlights the importance of cybersecurity measures, particularly in the context of Kubernetes and Linux systems.

The impact of this incident is still unknown, but it has already affected companies such as Trivy vulnerability scanner and NPM-based campaign (CanisterWorm). The duration of the incident is also unknown, but it is essential to take immediate action to prevent further damage.

What Happened: Timeline

โœ… Verified Facts

  • March 20: CanisterWorm campaign started
  • March 23, 2026 04:09 PM: TeamPCP deploys Iran-targeted wiper in Kubernetes attacks
  • Red Report 2026: Report reveals how new threats use math to detect sandboxes and hide in plain sight

Technical Deep Dive

Understanding Kubernetes

What is it?

Kubernetes is an open-source container orchestration system for automating the deployment, scaling, and management of containerized applications. It was originally designed by Google, and is now maintained by the Cloud Native Computing Foundation (CNCF). Kubernetes provides a platform-agnostic way to deploy and manage applications, and is widely used in cloud-native and DevOps environments.

How does it work?

Kubernetes uses a client-server architecture, where the client (kubectl) communicates with the server (API server) to manage the cluster. The cluster consists of multiple components, including:

  • Pods: The basic execution unit in Kubernetes, which is a logical host for one or more containers.
  • ReplicaSets: Ensure a specified number of replicas (identical pods) are running at any given time.
  • Deployments: Manage the rollout of new versions of an application.
  • Services: Provide a network identity and load balancing for accessing applications in a cluster.

Security considerations

Kubernetes provides a range of security features, including:

  • Network Policies: Control network traffic between pods and services.
  • Secrets: Store sensitive information, such as passwords and API keys.
  • Role-Based Access Control (RBAC): Manage access to cluster resources based on user roles.

Understanding SSH

What is it?

SSH (Secure Shell) is a secure protocol for remote access to a computer or network. It provides a secure way to access and manage remote systems, and is widely used in Linux and Unix environments.

How does it work?

SSH uses a client-server architecture, where the client (ssh client) communicates with the server (ssh server) to establish a secure connection. The connection is encrypted using a combination of symmetric and asymmetric encryption algorithms.

Security considerations

SSH provides a range of security features, including:

  • Authentication: Verify the identity of the user and the server.
  • Encryption: Protect data in transit using encryption algorithms.
  • Key exchange: Establish a shared secret key between the client and server.

Understanding Alpine Linux

What is it?

Alpine Linux is a lightweight Linux distribution designed for security and simplicity. It is based on the musl libc library and BusyBox, and is widely used in containerized environments.

How does it work?

Alpine Linux uses a minimalistic approach to provide a secure and efficient operating system. It includes a range of features, including:

  • Package manager: Manage packages using the apk package manager.
  • Network manager: Manage network connections using the netsetup script.
  • Security features: Include features such as SELinux and AppArmor.

Security considerations

Alpine Linux provides a range of security features, including:

  • Secure by default: Includes security features such as SELinux and AppArmor.
  • Minimalistic approach: Reduces the attack surface by removing unnecessary packages and features.

Analysis: What Went Wrong

๐Ÿ“Š Professional Analysis

Technical Root Cause

The technical root cause of this incident is the use of a malicious script that targets Kubernetes clusters with a wiper payload. The script uses the exact same ICP canister as seen in the CanisterWorm incidents, and is designed to destroy any machine that matches Iran's timezone and locale.

Contributing Factors

The contributing factors to this incident include:

  • Lack of security measures: The lack of security measures in place to detect and prevent the malicious script from executing.
  • Insufficient monitoring: The insufficient monitoring of the cluster to detect and respond to the incident.
  • Human error: The human error in deploying the malicious script in the first place.

Lessons for Security Professionals

Key Takeaways

  1. Implement security measures: Implement security measures such as network policies, secrets, and RBAC to prevent malicious scripts from executing.
  2. Monitor the cluster: Monitor the cluster for suspicious activity and respond quickly to incidents.
  3. Train personnel: Train personnel on security best practices and incident response procedures.

Prevention & Detection

How to Prevent

  • Implement security measures: Implement security measures such as network policies, secrets, and RBAC to prevent malicious scripts from executing.
  • Monitor the cluster: Monitor the cluster for suspicious activity and respond quickly to incidents.
  • Use secure protocols: Use secure protocols such as SSH to access and manage remote systems.

How to Detect

  • Use monitoring tools: Use monitoring tools such as Prometheus and Grafana to detect suspicious activity.
  • Use security tools: Use security tools such as Nessus and OpenVAS to detect vulnerabilities.
  • Use incident response procedures: Use incident response procedures to respond quickly to incidents.
View related certification topics

Security+

  • Domain 1: Security and Risk Management: Understand the importance of security measures and risk management in preventing malicious scripts from executing.
  • Domain 2: Asset Security: Understand the importance of asset security in protecting sensitive information and preventing unauthorized access.

CEH

  • Domain 1: Network Security: Understand the importance of network security in preventing malicious scripts from executing.
  • Domain 2: Vulnerability Assessment: Understand the importance of vulnerability assessment in detecting vulnerabilities and preventing malicious scripts from executing.

CySA+

  • Domain 1: Security and Risk Management: Understand the importance of security measures and risk management in preventing malicious scripts from executing.
  • Domain 2: Asset Security: Understand the importance of asset security in protecting sensitive information and preventing unauthorized access.

CISSP

  • Domain 1: Security and Risk Management: Understand the importance of security measures and risk management in preventing malicious scripts from executing.
  • Domain 2: Asset Security: Understand the importance of asset security in protecting sensitive information and preventing unauthorized access.

OSCP

  • Domain 1: Network Security: Understand the importance of network security in preventing malicious scripts from executing.
  • Domain 2: Vulnerability Assessment: Understand the importance of vulnerability assessment in detecting vulnerabilities and preventing malicious scripts from executing.

CISM

  • Domain 1: Information Security Governance: Understand the importance of information security governance in preventing malicious scripts from executing.
  • Domain 2: Information Risk Management: Understand the importance of information risk management in preventing malicious scripts from executing.

CISM

  • Domain 1: Information Security Governance: Understand the importance of information security governance in preventing malicious scripts from executing.
  • Domain 2: Information Risk Management: Understand the importance of information risk management in preventing malicious scripts from executing.

Source (1)

This analysis is based on: https://www.bleepingcomputer.com/news/security/teampcp-deploys-iran-targeted-wiper-in-kubernetes-attacks/


This incident analysis is provided for educational purposes. Facts are cited from the source article, while technical analysis represents professional interpretation.