Skip to main content

Panchan's Mining Island [Guest Diary], (Wed, Oct 14th)

0
Medium
News
Published: 10/15/2026 (10/15/2026, 01:10:57 UTC)
Source: SANS ISC Handlers Diary

Description

Panchan is a peer-to-peer crypto mining worm first identified in 2022 that propagates by stealing SSH keys and using a rootkit to maintain persistence. It targets insecure internet-facing servers, especially those with exposed SSH services lacking proper access controls. The worm uses a Discord channel as its command-and-control server and can pivot to other hosts by leveraging stolen SSH credentials. Indicators of compromise include repeated failed SSH login attempts, unusual resource usage, hidden directories with high-entropy names, and network traffic to Discord. Mitigations include implementing egress and ingress filtering, access control lists, multi-factor authentication for SSH, disabling root login, using SSH key management solutions like HashiCorp Vault, and deploying firewalls and intrusion detection/prevention systems. Monitoring via SIEM solutions is recommended for scalable detection. Systems with strong security controls are not vulnerable to this worm.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/15/2026, 01:18:32 UTC

Technical Analysis

Panchan is a Golang-written peer-to-peer botnet worm that spreads by stealing SSH private keys after gaining access to a system and maintains persistence through a rootkit. It was first identified in 2022 and continues to propagate due to many insecure and unpatched systems. The worm uses a Discord channel for command-and-control communications, as identified through dynamic network analysis with FakeNet-NG and Wireshark. It attempts lateral movement by pivoting to hosts listed in the compromised user's SSH known_hosts file. Detection can be aided by monitoring logs for privilege escalation, software installation/removal, and SSH access patterns, preferably using SIEM tools. Typical indicators include multiple failed SSH authentications, hidden directories with high-entropy names, and processes resistant to termination. The worm is a threat primarily to internet-facing servers with weak SSH security configurations.

Potential Impact

The Panchan worm enables unauthorized crypto mining on infected systems, potentially degrading system performance and consuming resources. It compromises SSH private keys, allowing lateral movement within networks. Persistence is maintained via a rootkit, complicating removal. The worm's activity can lead to unauthorized access and control of multiple hosts in a network, increasing the attack surface and risk of further compromise. Systems lacking proper SSH security controls and network filtering are vulnerable to infection and propagation.

Defensive Guidance

Systems with proper security controls such as egress and ingress filtering, access control lists, continuous monitoring, and passwordless authentication are protected against Panchan. Specific mitigations include deploying multi-factor authentication for SSH, disabling root login, restricting SSH access via IP whitelisting or jump boxes, and using SSH key management solutions like HashiCorp Vault to issue short-lived signed certificates. Implementing Fail2Ban or similar tools to block repeated failed login attempts is recommended. Network traffic should be filtered through firewalls and monitored by intrusion detection/prevention systems. Leveraging SIEM solutions to parse logs for suspicious activities improves detection at scale. These measures collectively reduce the risk of infection and lateral movement by the worm.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Classification
{"confidence":0.3,"severitySource":"default","classifier":"rss-v2"}
Article Source
{"url":"https://isc.sans.edu/diary/rss/33426","fetched":true,"fetchedAt":"2026-10-15T01:18:26.516Z","wordCount":1234}

Threat ID: 6ad029e22cdf04f656f066ab

Added to database: 10/15/2026, 01:18:26 UTC

Last enriched: 10/15/2026, 01:18:32 UTC

Last updated: 10/15/2026, 04:33:24 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses