Skip to main content
Mallory
Malware2 associated actors

BadPatch

Tracked since Dec 5, 2025 · Updated 4 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors2Associated
ATT&CK14Techniques
IOCs2Tracked
Type
Spyware
Capabilities
KeyloggingExfiltrationPersistenceDefense evasionReconnaissance
Platforms
Windows

BadPatch is a Windows espionage malware family associated with long-running Middle East-focused activity and linked by MITRE to the Gaza Hackers group, also known as Molerats. It functions as a surveillance and collection implant with capabilities centered on victim monitoring, host profiling, document theft, and data exfiltration over HTTP-based command and control.

Observed functionality includes keylogging, screenshot capture, local file collection, and system reconnaissance. BadPatch can capture screenshots in JPG format and exfiltrate them, record keystrokes, collect host metadata such as operating system details, MAC address, and computer name, and search for documents and archives of interest based on extension. Reported targeted file types include common office documents, PDFs, databases, and compressed archives, indicating an emphasis on intelligence collection from user workstations. Collected information may be staged in local log files before exfiltration.

For environmental awareness, BadPatch uses WMI to enumerate installed security products, consistent with security software discovery prior to follow-on actions. For persistence, it establishes a foothold by placing a shortcut to its executable in the Windows Startup folder so it will execute after user logon. Command and control communications have been observed over HTTP, and reporting has also associated the family with command and control of Windows systems over a nonstandard SMTP-related port.

BadPatch has also been linked through shared infrastructure and malware-family overlap to Android espionage activity in the Middle East, including the Welcome Chat operation targeting Arabic-speaking users. That linkage suggests a broader campaign ecosystem operated by the same threat cluster, though BadPatch itself is directly documented here as a Windows malware family.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

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.

View more details →
Gaza Hackers Team

The Welcome Chat espionage app belongs to the very same Android malware family that we identified at the beginning of 2018. That malware used the same C&C server, pal4u.net, as the espionage campaign targeting the Middle East that was identified in late 2017 by Palo Alto Networks and named BadPatch.

via eset welivesecurity blogwelivesecurity.com
Molerats

The Welcome Chat espionage app belongs to the very same Android malware family that we identified at the beginning of 2018. That malware used the same C&C server, pal4u.net, as the espionage campaign targeting the Middle East that was identified in late 2017 by Palo Alto Networks and named BadPatch.

via eset welivesecurity blogwelivesecurity.com
MITRE ATT&CK

Techniques & procedures

14 distinct techniques documented for this family, organized by ATT&CK tactic.

Persistence

2 techniques
T1547Boot or Logon Autostart ExecutionEvidence1

C:\Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

T1547.001Registry Run Keys / Startup FolderEvidence9

[BadPatch](https://attack.mitre.org/software/S0337) establishes a foothold by adding a link to the malware executable in the startup folder.(Citation: Unit 42 BadPatch Oct 2017)

Privilege Escalation

2 techniques
T1547Boot or Logon Autostart ExecutionEvidence1

C:\Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

T1547.001Registry Run Keys / Startup FolderEvidence9

[BadPatch](https://attack.mitre.org/software/S0337) establishes a foothold by adding a link to the malware executable in the startup folder.(Citation: Unit 42 BadPatch Oct 2017)

Stealth

1 technique
T1497.001System ChecksEvidence3

[BadPatch](https://attack.mitre.org/software/S0337) attempts to detect if it is being run in a Virtual Machine (VM) using a WMI query for disk drive name, BIOS, and motherboard information. (Citation: Unit 42 BadPatch Oct 2017)

Credential Access

1 technique
T1056.001KeyloggingEvidence4

[BadPatch](https://attack.mitre.org/software/S0337) has a keylogging capability.(Citation: Unit 42 BadPatch Oct 2017)

Discovery

4 techniques
T1082System Information DiscoveryEvidence11

[BadPatch](https://attack.mitre.org/software/S0337) collects the OS system, OS version, MAC address, and the computer name from the victim’s machine.(Citation: Unit 42 BadPatch Oct 2017)

T1083File and Directory DiscoveryEvidence7

[BadPatch](https://attack.mitre.org/software/S0337) searches for files with specific file extensions.(Citation: Unit 42 BadPatch Oct 2017)

T1497.001System ChecksEvidence3

[BadPatch](https://attack.mitre.org/software/S0337) attempts to detect if it is being run in a Virtual Machine (VM) using a WMI query for disk drive name, BIOS, and motherboard information. (Citation: Unit 42 BadPatch Oct 2017)

T1518.001Security Software DiscoveryEvidence5

[BadPatch](https://attack.mitre.org/software/S0337) uses WMI to enumerate installed security products in the victim’s environment.(Citation: Unit 42 BadPatch Oct 2017)

Collection

5 techniques
T1005Data from Local SystemEvidence6

[BadPatch](https://attack.mitre.org/software/S0337) collects files from the local system that have the following extensions, then prepares them for exfiltration: .xls, .xlsx, .pdf, .mdb, .rar, .zip, .doc, .docx.(Citation: Unit 42 BadPatch Oct 2017)

T1056.001KeyloggingEvidence4

[BadPatch](https://attack.mitre.org/software/S0337) has a keylogging capability.(Citation: Unit 42 BadPatch Oct 2017)

T1074Data StagedEvidence2

The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.

T1074.001Local Data StagingEvidence3

[BadPatch](https://attack.mitre.org/software/S0337) stores collected data in log files before exfiltration.(Citation: Unit 42 BadPatch Oct 2017)

T1113Screen CaptureEvidence6

[BadPatch](https://attack.mitre.org/software/S0337) captures screenshots in .jpg format and then exfiltrates them.(Citation: Unit 42 BadPatch Oct 2017)

Command and Control

3 techniques
T1071.001Web ProtocolsEvidence7

[BadPatch](https://attack.mitre.org/software/S0337) uses HTTP for C2.(Citation: Unit 42 BadPatch Oct 2017)

T1071.003Mail ProtocolsEvidence3

[BadPatch](https://attack.mitre.org/software/S0337) uses SMTP for C2.(Citation: Unit 42 BadPatch Oct 2017)

T1105Ingress Tool TransferEvidence4

[BadPatch](https://attack.mitre.org/software/S0337) can download and execute or update malware.(Citation: Unit 42 BadPatch Oct 2017)

Indicators of compromise

Observables

2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching2Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping14Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.