Patchwork

From PurpleAILAB/Decepticon · View interactive version

Patchwork is an AI agent skill from the GitHub repository PurpleAILAB/Decepticon. Adversary-emulation profile for Patchwork (G0040 / Dropping Elephant / Chinastrats / MONSOON / Hangover Group / Operation Hangover), an India-linked cyber-espionage actor.

How to use this skill

Skill file

Patchwork (Dropping Elephant, Chinastrats, MONSOON, Hangover Group) — Adversary Emulation Profile

Patchwork (MITRE ATT&CK G0040) is a cyber-espionage group believed to operate from India, active since at least 2009 and first publicly documented in December 2015. The group earned its name because much of the code used in its tooling is copied and pasted from online forums and public repositories — a "patchwork" of borrowed exploit code and open-source RATs stitched together with custom malware. Despite this low-sophistication approach, Patchwork compensates with high-quality social engineering and aggressive targeting of diplomatic, government, defense, and research organizations primarily across South Asia — with heavy emphasis on Pakistan and China's foreign relations apparatus. The group's malware arsenal includes the custom BADNEWS RAT (and its Ragnatela variant), the public QuasarRAT, BackConfig, VajraSpy (Android), and multiple document exploit chains leveraging CVE-2017-11882, CVE-2017-0199, CVE-2012-0158, and EPS vulnerabilities.

Attribution & motivation

Targeting

Notable campaigns

TTPs by ATT&CK tactic

Resource Development

Initial Access

Execution

Persistence

Privilege Escalation

Defense Evasion

Credential Access

Discovery

Lateral Movement

Collection

Command & Control

Exfiltration

Signature tooling & malware

| Name | ATT&CK ID | Type | Public/Custom |

|---|---|---|---|

| BADNEWS | S0128 | Windows RAT — keylogging, screen capture, file collection, C2 via dead-drop resolvers | Custom |

| Ragnatela | (variant of S0128) | Updated BADNEWS variant — enhanced RAT with command execution, file upload, screenshot, keylogging | Custom |

| BackConfig | S0475 | Modular Windows backdoor — C2 over HTTP, scheduled tasks, DDE delivery | Custom |

| NDiskMonitor | S0272 | Windows backdoor — file discovery, system recon, encrypted C2 | Custom |

| TINYTYPHON | S0131 | Lightweight file exfiltration tool — automated document theft | Custom |

| Unknown Logger | S0130 | Keylogger and credential stealer — browser credentials, USB replication | Custom |

| AutoIt backdoor | S0129 | AutoIt-compiled backdoor — UAC bypass, PowerShell execution | Custom |

| VajraSpy | S9006 | Android RAT — contacts/SMS/call-log theft, WhatsApp/Signal interception, camera/mic capture, honey-trap distribution | Custom |

| QuasarRAT | S0262 | Open-source .NET RAT — RDP, keylogging, screen/video capture, credential theft | Public |

| PowerSploit | S0194 | PowerShell post-exploitation framework — credential dumping, code execution | Public |

| Meterpreter | (Metasploit) | Reverse shell / post-exploitation agent | Public |

| UPX | — | Executable packer | Public |

| Crypto Obfuscator | — | .NET obfuscation tool | Public |

Note: Patchwork's defining characteristic is heavy reuse of publicly available code — exploit code from forums, open-source RATs (QuasarRAT), and public post-exploitation frameworks (PowerSploit, Meterpreter). Custom tools like BADNEWS are themselves built with significant copy-pasted components.

Emulation guidance (Decepticon)

Authorized-use caveat: Execute the following ONLY within the documented rules of engagement, target scope, and time window of an authorized engagement. Patchwork's techniques are relatively low-sophistication but high-impact through social engineering — emulate the full kill chain, not just the tooling.

Map Patchwork's signature plays to Decepticon's own capabilities:

Detection & defense

Sources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.