Skip to main content
Mallory
Malware

Mahdi

Tracked since Jan 29, 2026 · Updated 7 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK0Techniques
IOCs0Tracked

Mahdi is a malware family used for targeted cyber espionage. It was initially discovered in February 2012 and publicly reported in July 2012. Kaspersky Lab and Seculert assessed that it had been active since at least December 2011 and had infected at least 800 computers, primarily in Iran and other Middle Eastern countries, with the highest number of infections reported in Iran. Reported targets included sensitive infrastructure organizations, engineering students, financial services institutions, and government embassies. Mahdi was described as less sophisticated than Stuxnet and built using existing publicly available software components. Its capabilities included stealing files and conducting extensive surveillance, including monitoring emails, text messages and chats, keylogging, audio recording, and screen capture. The malware’s naming derived from operator artifacts found on infected systems, including a folder named Mehdi/Mahdi and a text file named "mahdi.txt".

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
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 matchingMatch 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 mappingEvery documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.