BADNEWS
- Type
- RAT
- Capabilities
- KeyloggingExfiltrationPersistenceDefense evasionDLL sideloadingProcess injectionPost exploitation
- Delivery
- SpearphishingLure
- Platforms
- Windows
BADNEWS is a C++ remote-access trojan and backdoor for Windows associated with Patchwork, also known as Dropping Elephant, a suspected India-nexus cyberespionage group. It has been deployed in spearphishing campaigns using malicious Office documents and military, government, and geopolitical lures, including operations targeting organizations in China and Pakistan.
BADNEWS provides remote command execution, additional payload download and execution, keylogging, screenshot capture, and file theft. On startup, it can search local and mapped drives for documents and begin recording keystrokes in a separate thread. It also monitors newly connected removable storage, copies files matching selected extensions, and stages collected documents locally. Operators can execute downloaded programs through Windows APIs or inject them into newly created processes using process hollowing.
The malware establishes persistence through registry autostart entries and scheduled tasks, including tasks configured to execute a payload every minute. Its execution chains use DLL side-loading through legitimate signed Java or VMware applications. Payloads may masquerade under legitimate-looking names, and some samples carry invalid Authenticode signatures to appear trustworthy.
BADNEWS communicates with command-and-control infrastructure over HTTP and can retrieve connection information through dead-drop resolvers hosted on services such as GitHub, blogs, forums, and RSS feeds. Its communications use encoding and custom obfuscation, including bit rotations, XOR operations, hexadecimal conversion, and Base64 encoding. These mechanisms support remote tasking, payload updates, and transmission of collected information.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The campaigns leveraged BADNEWS malware, a remote-access trojan attributed to Patchwork.
When it first starts, BADNEWS crawls the victim's mapped drives and collects documents with the following extensions: .doc, .docx, .pdf, .ppt, .pptx, and .txt.
Techniques & procedures
40 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
FortiGuard Labs... spotted a document with the politically themed file name “Senate_panel.doc”. This malicious RTF file takes advantage of the vulnerability CVE-2015-1641.
Execution
6 techniques
Execution
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[BADNEWS](https://attack.mitre.org/software/S0128) creates a scheduled task to establish by executing a malicious payload every subsequent minute.(Citation: PaloAlto Patchwork Mar 2018)
[BADNEWS](https://attack.mitre.org/software/S0128) is capable of executing commands via cmd.exe.(Citation: Forcepoint Monsoon)(Citation: TrendMicro Patchwork Dec 2017)
[BADNEWS](https://attack.mitre.org/software/S0128) has a command to download an .exe and execute it via CreateProcess API. It can also run with ShellExecute.(Citation: Forcepoint Monsoon)(Citation: TrendMicro Patchwork Dec 2017)
This malicious RTF file takes advantage of the vulnerability CVE-2015-1641. Upon successful exploitation, it drops a malware in the %appdata%\Microsoft directory.
[BADNEWS](https://attack.mitre.org/software/S0128) typically loads its DLL file into a legitimate signed Java or VMware executable.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)
Persistence
4 techniques
Persistence
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[BADNEWS](https://attack.mitre.org/software/S0128) creates a scheduled task to establish by executing a malicious payload every subsequent minute.(Citation: PaloAlto Patchwork Mar 2018)
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
[BADNEWS](https://attack.mitre.org/software/S0128) installs a registry Run key to establish persistence.(Citation: Forcepoint Monsoon)
Privilege Escalation
4 techniques
Privilege Escalation
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[BADNEWS](https://attack.mitre.org/software/S0128) creates a scheduled task to establish by executing a malicious payload every subsequent minute.(Citation: PaloAlto Patchwork Mar 2018)
[BADNEWS](https://attack.mitre.org/software/S0128) has a command to download an .exe and use process hollowing to inject it into a new process.(Citation: Forcepoint Monsoon)(Citation: TrendMicro Patchwork Dec 2017)
[BADNEWS](https://attack.mitre.org/software/S0128) installs a registry Run key to establish persistence.(Citation: Forcepoint Monsoon)
Stealth
8 techniques
Stealth
Hardcoded and encoded (sub 0x01) URL addresses... Examples of encoded configuration
actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.
[BADNEWS](https://attack.mitre.org/software/S0128) is sometimes signed with an invalid Authenticode certificate in an apparent effort to make it look more legitimate.(Citation: TrendMicro Patchwork Dec 2017)
[BADNEWS](https://attack.mitre.org/software/S0128) attempts to hide its payloads using legitimate filenames.(Citation: PaloAlto Patchwork Mar 2018)
[BADNEWS](https://attack.mitre.org/software/S0128) has a command to download an .exe and use process hollowing to inject it into a new process.(Citation: Forcepoint Monsoon)(Citation: TrendMicro Patchwork Dec 2017)
The shellcode then cleans up the registry in HKCU\Software\Microsoft\Office\1{0-6}.0\Word\Resiliency to prevent warning messages when someone re-opens a document that has crashed previously.
A long loop has been added before it performs its malicious routines. Many sandboxes and emulators only run for a certain short period of time until they time-out...
[BADNEWS](https://attack.mitre.org/software/S0128) typically loads its DLL file into a legitimate signed Java or VMware executable.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)
Defense Impairment
1 technique
Defense Impairment
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
Credential Access
1 technique
Credential Access
When it first starts, [BADNEWS](https://attack.mitre.org/software/S0128) spawns a new thread to log keystrokes.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)(Citation: TrendMicro Patchwork Dec 2017)
Discovery
3 techniques
Discovery
[BADNEWS](https://attack.mitre.org/software/S0128) identifies files with certain extensions from USB devices, then copies them to a predefined directory.(Citation: TrendMicro Patchwork Dec 2017)
[BADNEWS](https://attack.mitre.org/software/S0128) checks for new hard drives on the victim, such as USB devices, by listening for the WM_DEVICECHANGE window message.(Citation: Forcepoint Monsoon)(Citation: TrendMicro Patchwork Dec 2017)
A long loop has been added before it performs its malicious routines. Many sandboxes and emulators only run for a certain short period of time until they time-out...
Collection
8 techniques
Collection
When it first starts, [BADNEWS](https://attack.mitre.org/software/S0128) crawls the victim's local drives and collects documents with the following extensions: .doc, .docx, .pdf, .ppt, .pptx, and .txt.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)
[BADNEWS](https://attack.mitre.org/software/S0128) copies files with certain extensions from USB devices to a predefined directory.(Citation: TrendMicro Patchwork Dec 2017)
When it first starts, [BADNEWS](https://attack.mitre.org/software/S0128) crawls the victim's mapped drives and collects documents with the following extensions: .doc, .docx, .pdf, .ppt, .pptx, and .txt.(Citation: Forcepoint Monsoon)
When it first starts, [BADNEWS](https://attack.mitre.org/software/S0128) spawns a new thread to log keystrokes.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)(Citation: TrendMicro Patchwork Dec 2017)
The function then creates a folder named “SMB” in the %temp% folder... The following files are created in the SMB folder... files with random alphanumeric characters without extension names are actually copies of the files it tries to steal.
[BADNEWS](https://attack.mitre.org/software/S0128) copies documents under 15MB found on the victim system to is the user's <code>%temp%\SMB\</code> folder. It also copies files from USB devices to a predefined directory.(Citation: Forcepoint Monsoon)(Citation: TrendMicro Patchwork Dec 2017)
[BADNEWS](https://attack.mitre.org/software/S0128) has a command to take a screenshot and send it to the C2 server.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)
[BADNEWS](https://attack.mitre.org/software/S0128) monitors USB devices and copies files with certain extensions to a predefined directory.(Citation: TrendMicro Patchwork Dec 2017)
Command and Control
14 techniques
Command and Control
Many entries describe XOR, XOR/ADD, bitwise NOT and XOR, ROR plus XOR, hexadecimal encoding after encryption, and custom encoding/obfuscation of HTTP traffic or beacons.
This talk focuses on cloud abuse in the context of targeted attacks... Patchwork – Badnews... HTTPS GET request... Encrypted C&C... Connect to C&C
[BADNEWS](https://attack.mitre.org/software/S0128) establishes a backdoor over HTTP.(Citation: PaloAlto Patchwork Mar 2018)
The adversaries had communicated to both Dropbox and Pastebin. APT28 has used Google Drive for C2. APT37 leverages social networking sites and cloud platforms (AOL, Twitter, Yandex, Mediafire, pCloud, Dropbox, and Box) for C2.
[BADNEWS](https://attack.mitre.org/software/S0128) collects C2 information via a dead drop resolver.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)(Citation: TrendMicro Patchwork Dec 2017)
[BADNEWS](https://attack.mitre.org/software/S0128) can use multiple C2 channels, including RSS feeds, Github, forums, and blogs.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)(Citation: TrendMicro Patchwork Dec 2017)
"Comnie uses blogs and third-party sites (GitHub, tumbler, and BlogSpot) to avoid DNS-based blocking"; "Revenge RAT used blogpost.com as its primary command and control server"; "Turla JavaScript backdoor has used Google Apps Script as its C2 server"
[BADNEWS](https://attack.mitre.org/software/S0128) is capable of downloading additional files through C2 channels, including a new version of itself.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)(Citation: TrendMicro Patchwork Dec 2017)
After encrypting C2 data, [BADNEWS](https://attack.mitre.org/software/S0128) converts it into a hexadecimal representation and then encodes it into base64.(Citation: Forcepoint Monsoon)
[BADNEWS](https://attack.mitre.org/software/S0128) encodes C2 traffic with base64.(Citation: Forcepoint Monsoon)(Citation: PaloAlto Patchwork Mar 2018)(Citation: TrendMicro Patchwork Dec 2017)
hcmd Remote shell using hidden cmd.exe, pipe the output to %temp%\DMCZ0000.dat, then send it to C&C
BADNEWS backdoor has a bit of an interesting way of getting an updated C&C server. It uses legitimate web services like Github, Dynamic DNS, RSS feed, blog, and forum websites to host encrypted data that contains the actual C&C server.
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[BADNEWS](https://attack.mitre.org/software/S0128) encrypts C2 data with a ROR by 3 and an XOR by 0x23.(Citation: Forcepoint Monsoon)(Citation: TrendMicro Patchwork Dec 2017)
Observables
41 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
65 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.