Kaspersky’s Project TajMahal malware framework was further dissected in public analysis that examined a .NET sample tied to the campaign and later uploaded to VirusTotal. The sample appears focused on maintaining Windows persistence by managing a malicious service and a scheduled task named MaintenancePolicy, while storing configuration data in the registry under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AdaptiveDisplayBrightness.
The analysis found that an encrypted registry value, seg4, contains RC4-encrypted service configuration data that is decrypted to recover fields including the service name, display name, description, entry point, and a self-destruction timestamp. Researchers also published decompiled and deobfuscated code, extracted indicators of compromise, and a registry configuration decrypter, while noting apparent coding or decompilation anomalies in the malware’s Tools class, including incorrect handling of a service Enum registry key and a DeleteTask routine that invokes Security instead of the more likely intended schtasks.exe.

Get the actors, campaigns, and ATT&CK mapping behind it.
3 events from the most recent confirmed update back to the earliest known activity.
A GitHub repository was published with decompiled and deobfuscated code for the TajMahal .NET sample, extracted indicators of compromise, and a registry configuration decrypter. The analysis concluded the sample’s main purpose was managing Windows service persistence via a scheduled task and encrypted registry data.
The analyzed sample had been referenced in Kaspersky’s TajMahal report and was later uploaded to VirusTotal. This made the sample available for follow-on public analysis.
Kaspersky previously published an article describing TajMahal as a complex malware framework. The GitHub analysis explicitly references this earlier report as the source that had identified the sample family.
Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.
Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.
Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.