Skip to main content
Mallory
Malware

OSX/MaMi

Tracked since Dec 11, 2025 · Updated 3 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&CK8Techniques
IOCs16Tracked
Type
Backdoor
Capabilities
Credential theftExfiltrationPost exploitationDefense evasionSpoofing
Platforms
macOS

OSX/MaMi is a macOS malware family discovered in 2018 that hijacks network configuration to redirect victim traffic through attacker-controlled infrastructure. Its defining behavior is modification of DNS settings on infected systems and installation of a rogue trusted root certificate into the system keychain, enabling interception and manipulation of network traffic and creating conditions for adversary-in-the-middle activity. This combination can facilitate credential theft, traffic tampering, content injection, and broader post-compromise abuse of web sessions and encrypted communications.

The malware is an unsigned Mach-O executable for macOS. It alters system network settings, including DNS configuration, and has been associated with use of native macOS tooling for network configuration changes. Although it was not observed to rely on robust launch-item persistence by default and may delete its own executable after execution, the configuration changes it leaves behind can remain in effect until manually remediated. Reported functionality also includes command execution, file transfer, screenshot capture, simulated mouse events, and AppleScript-related control, indicating broader remote-access and post-exploitation potential beyond DNS hijacking alone.

OSX/MaMi has been assessed as closely related to the Windows malware DNSUnlocker, with similarities in operational design and certificate-based traffic interception. Its initial infection vector was not conclusively established, though social-engineering-based delivery has been considered plausible. The malware targets macOS systems and is notable for abusing trusted certificate installation and DNS manipulation rather than sophisticated exploitation, making it effective through persistent system misconfiguration and traffic interception.

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

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

Execution

1 technique
T1059Command and Scripting InterpreterEvidence1

Future versions of OSX/MaMi are expected to enable the attacker to take screenshots, simulate mouse events, persist as a launch item, download and upload files and execute commands.

Persistence

1 technique
T1547Boot or Logon Autostart ExecutionEvidence1

Future versions of OSX/MaMi are expected to enable the attacker to take screenshots, simulate mouse events, persist as a launch item

Privilege Escalation

1 technique
T1547Boot or Logon Autostart ExecutionEvidence1

Future versions of OSX/MaMi are expected to enable the attacker to take screenshots, simulate mouse events, persist as a launch item

Defense Impairment

1 technique
T1553.004Install Root CertificateEvidence1

In order to intercept encrypted traffic and maintain persistence on infected devices, OSX/MaMi also installs a new root certificate.

Credential Access

2 techniques
T1056Input CaptureEvidence1

Future versions of OSX/MaMi are expected to enable the attacker to take screenshots, simulate mouse events

T1557Adversary-in-the-MiddleEvidence1

DNS hijacking is used to carry out Man-in-the-Middle (MITM) attacks which can result in information theft, malicious ads or crypto-miners being injected into web traffic.

Collection

3 techniques
T1056Input CaptureEvidence1

Future versions of OSX/MaMi are expected to enable the attacker to take screenshots, simulate mouse events

T1113Screen CaptureEvidence1

Future versions of OSX/MaMi are expected to enable the attacker to take screenshots

T1557Adversary-in-the-MiddleEvidence1

DNS hijacking is used to carry out Man-in-the-Middle (MITM) attacks which can result in information theft, malicious ads or crypto-miners being injected into web traffic.

Command and Control

1 technique
T1105Ingress Tool TransferEvidence1

Future versions of OSX/MaMi are expected to enable the attacker to take screenshots, simulate mouse events, persist as a launch item, download and upload files and execute commands.

Impact

1 technique
T1565.001Stored Data ManipulationEvidence1

This malware uses a technique known as DNS hijacking, which allows the attacker to change a user’s DNS settings, redirecting the internet traffic from the infected device to the attacker.

Indicators of compromise

Observables

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