Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
sorry-ransomware-analysis — Sorry ransomware (.sorry) IOCs, YARA rules and forensic analysis - CVE-2026-41940 cPanel campaign | Kitploit
Tools/GitHubGitHub/habibkaratas/sorry-ransomware-analysis
Indicator of Compromise (IOC) ManagementForensicsMalware AnalysisDigital ForensicsCryptographyThreat IntelligenceIncident Response
GitHubhabibkaratas/sorry-ransomware-analysis

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

sorry-ransomware-analysis

Sorry ransomware (.sorry) IOCs, YARA rules and forensic analysis - CVE-2026-41940 cPanel campaign

View Repository
53 months agoNot yet reviewed

Sorry Ransomware Analysis (CVE-2026-41940 cPanel Campaign)

Public IOC pack, YARA rules, forensic scripts and analysis methodology for the "Sorry" ransomware (.sorry extension) family that emerged in late April 2026, spread via the cPanel/WHM authentication bypass CVE-2026-41940.

⚠️ Files encrypted by this ransomware are NOT decryptable without the attacker's RSA-2048 private key. Do not pay. Patch cPanel, rotate all credentials, and preserve the encrypted files in case a free decryptor is released later.

📝 Full technical write-up (Turkish): link to be added once published

What's in this repo

PathPurpose
docs/IOC.mdAll indicators of compromise (encrypted-file, network, host)
docs/analysis_methodology.mdHow the analysis was done — fully reproducible
yara/sorry_ransomware.yarYARA rules for encrypted files and ransom notes
iocs/hashes.txtCampaign-wide and structural-prefix hashes
iocs/network.txtTox ID, CVE info, network IOCs
iocs/file_signatures.txtEncrypted-file structural signatures
scripts/analyze.pyPer-sample entropy / structure analysis
scripts/header_parse.pyParse the 2057-byte fixed header
scripts/keystream_test.pyChaCha20 keystream-reuse / known-plaintext test
scripts/server_collection.shRead-only forensic artefact collector for compromised cPanel hosts

Quick facts

  • CVE: CVE-2026-41940 (cPanel/WHM CRLF auth bypass, CVSS 9.8)
  • Encryptor: Linux ELF, written in Go
  • Cipher: ChaCha20 (per-file unique nonce) + RSA-2048 key wrapping
  • Extension: .sorry appended to original filename
  • Ransom note: README.md in every encrypted directory
  • Negotiation: Tox only, single campaign-wide ID
  • Compromised IPs: 44,000+ (Shadowserver)

Encrypted-file structure

root@kitploit:~
┌─────────────────────────────────────────────────────────┐
│  Offset 0x000 - 0x808  (2057 bytes)  FIXED PREFIX       │
│  • Magic: 99 00 00 08 00 21 CA 68 0C BD 7F 19 ...       │
│  • RSA-2048 wrapped per-victim master key + metadata    │
│  • Tail marker @ 0x800: F4 0B 00 B4 27 00 00 01 00      │
├─────────────────────────────────────────────────────────┤
│  Offset 0x809 - (EOF-4)              CIPHERTEXT         │
│  • ChaCha20 stream-encrypted original data              │
│  • Length is NOT 16-aligned (mod16 ∈ {2,4,8,13})        │
│  • Shannon entropy ~7.95 bits/byte                      │
├─────────────────────────────────────────────────────────┤
│  Last 4 bytes:  00 00 00 00          STATIC FOOTER      │
└─────────────────────────────────────────────────────────┘

Usage

root@kitploit:~
# Scan a directory with the YARA rule
yara -r yara/sorry_ransomware.yar /path/to/scan

# Run analysis on local samples
python3 scripts/analyze.py /path/to/sample.sorry

# Collect forensic artefacts from a compromised cPanel host (read-only)
bash scripts/server_collection.sh

Decryptability

No. We tested for every common implementation flaw:

TestResult
Pairwise ciphertext-XOR (keystream/nonce reuse)❌ no reuse
Known-plaintext keystream recovery → cross-file decrypt❌ failed
Embedded plaintext key / weak-RNG marker in header❌ none found
Padding oracle❌ N/A (stream cipher)

The cipher is correctly implemented. Only the operator's RSA-2048 private key can decrypt these files. Monitor NoMoreRansom and ID-Ransomware in case law enforcement seizes the operator's key.

Responsible-disclosure note

This repository contains:

  • Static-analysis IOCs derived from in-the-wild encrypted samples (anonymized)
  • Defensive YARA detection rules
  • Read-only forensic collection scripts

It does not contain:

  • The ransomware binary
  • Exploitation tooling for CVE-2026-41940
  • Decryption code (the cipher is correctly implemented)

License

  • Code: MIT
  • Documentation: CC BY 4.0

Contributing

PRs welcome — see CONTRIBUTING.md.

References

  • BleepingComputer — Critical cPanel flaw mass-exploited in "Sorry" ransomware attacks
  • NVD — CVE-2026-41940
  • Rapid7 — ETR: cPanel & WHM Authentication Bypass
  • watchTowr Labs — The Internet Is Falling Down
  • CISA KEV — CVE-2026-41940
  • Public PoC — ynsmroztas/cPanelSniper
Download Tool