Skip to main content
Mallory
Malware

TajMahal

Tracked since Nov 25, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK32Techniques
IOCs1Tracked
Type
Spyware
Capabilities
KeyloggingExfiltrationPersistenceDefense evasionReconnaissanceProcess injection
Platforms
Windows

TajMahal is a modular spyware framework for Windows with extensive surveillance, data collection, and exfiltration capabilities. It uses malicious DLL plugins that can be injected into running processes. Its collection functions include keystroke logging, clipboard theft, webcam video capture, and screenshots, including captures of instant messaging application windows.

TajMahal steals local documents and documents retained in the print spooler. It can modify printer settings to preserve printed jobs for collection. It also collects written CD images and files of interest from previously connected removable drives when those drives become available again. Collected files can be indexed, compressed, staged in a transmission queue, and exfiltrated through its command-and-control channel.

The framework performs host reconnaissance by identifying running processes and associated plugins, MAC addresses, local system time, installed antivirus, firewall and antispyware products, and connected Apple devices. A .NET component manages Windows service configuration using RC4-encrypted data stored in the Registry. Its configuration includes service metadata, an entry point, and a self-destruction timestamp. TajMahal also uses string obfuscation and supports service-based persistence.

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
MITRE ATT&CK

Techniques & procedures

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

Execution

3 techniques
T1053Scheduled Task/JobEvidence1

Scheduled task with name MaintenancePolicy

T1129Shared ModulesEvidence3

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to inject the <code>LoadLibrary</code> call template DLL into running processes.(Citation: Kaspersky TajMahal April 2019)

T1574Hijack Execution FlowEvidence1

...uses the LoadLibraryExW() function to load additional modules... execute additional plugins by loading the respective DLLs... loaded and executed DLLs in memory during runtime... loads a dynamic library (.dylib file) using dlopen() and obtains a function pointer... using dlopen() and dlsym()... calls LoadLibrary then executes exports from a DLL.

Persistence

3 techniques
T1053Scheduled Task/JobEvidence1

Scheduled task with name MaintenancePolicy

T1112Modify RegistryEvidence11

[TajMahal](https://attack.mitre.org/software/S0467) can set the <code>KeepPrintedJobs</code> attribute for configured printers in <code>SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print\\Printers</code> to enable document stealing.(Citation: Kaspersky TajMahal April 2019)

T1543.003Windows ServiceEvidence1

the sample's main purpose is to manage the Windows service persistency

Privilege Escalation

4 techniques
T1053Scheduled Task/JobEvidence1

Scheduled task with name MaintenancePolicy

T1055Process InjectionEvidence3

Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.

T1055.001Dynamic-link Library InjectionEvidence3

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to inject DLLs for malicious plugins into running processes.(Citation: Kaspersky TajMahal April 2019)

T1543.003Windows ServiceEvidence1

the sample's main purpose is to manage the Windows service persistency

Stealth

5 techniques
T1027Obfuscated Files or InformationEvidence7

[TajMahal](https://attack.mitre.org/software/S0467) has used an encrypted Virtual File System to store plugins.(Citation: Kaspersky TajMahal April 2019)

T1055Process InjectionEvidence3

Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.

T1055.001Dynamic-link Library InjectionEvidence3

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to inject DLLs for malicious plugins into running processes.(Citation: Kaspersky TajMahal April 2019)

T1070.004File DeletionEvidence1

Config data description: ... ttl Date of self destruction

T1574Hijack Execution FlowEvidence1

...uses the LoadLibraryExW() function to load additional modules... execute additional plugins by loading the respective DLLs... loaded and executed DLLs in memory during runtime... loads a dynamic library (.dylib file) using dlopen() and obtains a function pointer... using dlopen() and dlsym()... calls LoadLibrary then executes exports from a DLL.

Defense Impairment

1 technique
T1112Modify RegistryEvidence11

[TajMahal](https://attack.mitre.org/software/S0467) can set the <code>KeepPrintedJobs</code> attribute for configured printers in <code>SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print\\Printers</code> to enable document stealing.(Citation: Kaspersky TajMahal April 2019)

Credential Access

3 techniques
T1056Input CaptureEvidence1

"TajMahal can set the KeepPrintedJobs attribute for configured printers ... to enable document stealing."

T1056.001KeyloggingEvidence4

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to capture keystrokes on an infected host.(Citation: Kaspersky TajMahal April 2019)

T1539Steal Web Session CookieEvidence5

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to steal web session cookies from Internet Explorer, Netscape Navigator, FireFox and RealNetworks applications.(Citation: Kaspersky TajMahal April 2019)

Discovery

9 techniques
T1016System Network Configuration DiscoveryEvidence8

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to identify the MAC address on an infected host.(Citation: Kaspersky TajMahal April 2019)

T1057Process DiscoveryEvidence7

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to identify running processes and associated plugins on an infected host.(Citation: Kaspersky TajMahal April 2019)

T1082System Information DiscoveryEvidence11

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to identify hardware information, the computer name, and OS information on an infected host.(Citation: Kaspersky TajMahal April 2019)

T1083File and Directory DiscoveryEvidence7

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to index files from drives, user profiles, and removable drives.(Citation: Kaspersky TajMahal April 2019)

T1120Peripheral Device DiscoveryEvidence6

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to identify connected Apple devices.(Citation: Kaspersky TajMahal April 2019)

T1124System Time DiscoveryEvidence5

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to determine local time on a compromised host.(Citation: Kaspersky TajMahal April 2019)

T1217Browser Information DiscoveryEvidence1

"Bundlore has the ability to enumerate what browser is being used as well as version information"; "Orz can gather the victim's Internet Explorer version"; "SUGARDUMP can identify ... browsers, including version number"; "SideCopy has collected browser information"

T1518Software DiscoveryEvidence6

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to identify the Internet Explorer (IE) version on an infected host.(Citation: Kaspersky TajMahal April 2019)

T1518.001Security Software DiscoveryEvidence5

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to identify which anti-virus products, firewalls, and anti-spyware products are in use.(Citation: Kaspersky TajMahal April 2019)

Collection

11 techniques
T1005Data from Local SystemEvidence7

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to steal documents from the local system including the print spooler queue.(Citation: Kaspersky TajMahal April 2019)

T1025Data from Removable MediaEvidence4

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to steal written CD images and files of interest from previously connected removable drives when they become available again.(Citation: Kaspersky TajMahal April 2019)

T1056Input CaptureEvidence1

"TajMahal can set the KeepPrintedJobs attribute for configured printers ... to enable document stealing."

T1056.001KeyloggingEvidence4

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to capture keystrokes on an infected host.(Citation: Kaspersky TajMahal April 2019)

T1113Screen CaptureEvidence6

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to take screenshots on an infected host including capturing content from windows of instant messaging applications.(Citation: Kaspersky TajMahal April 2019)

T1115Clipboard DataEvidence5

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to steal data from the clipboard of an infected host.(Citation: Kaspersky TajMahal April 2019)

T1119Automated CollectionEvidence4

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to index and compress files into a send queue for exfiltration.(Citation: Kaspersky TajMahal April 2019)

T1123Audio CaptureEvidence3

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to capture VoiceIP application audio on an infected host.(Citation: Kaspersky TajMahal April 2019)

T1125Video CaptureEvidence4

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to capture webcam video.(Citation: Kaspersky TajMahal April 2019)

T1560Archive Collected DataEvidence2

APT28 used a publicly available tool to gather and compress multiple documents... LoFiSe can collect all the files from the working directory every three hours and place them into a password-protected archive... NETWIRE can automatically archive collected data.

T1560.002Archive via LibraryEvidence3

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to use the open source libraries XZip/Xunzip and zlib to compress files.(Citation: Kaspersky TajMahal April 2019)

Exfiltration

2 techniques
T1020Automated ExfiltrationEvidence3

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to manage an automated queue of egress files and commands sent to its C2.(Citation: Kaspersky TajMahal April 2019)

T1041Exfiltration Over C2 ChannelEvidence6

[TajMahal](https://attack.mitre.org/software/S0467) has the ability to send collected files over its C2.(Citation: Kaspersky TajMahal April 2019)

Indicators of compromise

Observables

1 indicator 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 matching1Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups 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 mapping32Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.