Skip to main content
Mallory
Malware4 associated actors

SafetyKatz

Tracked since Jan 6, 2026 · Updated 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors4Associated
ATT&CK8Techniques
IOCs10Tracked
Type
Infostealer
Capabilities
Credential theftPost exploitationDefense evasion
Platforms
Windows

SafetyKatz is an open-source Windows credential-dumping tool that combines a modified version of Mimikatz with a .NET PE loader. Primarily authored by harmj0y, it is implemented as a C# application built against .NET Framework 3.5. It uses the MiniDumpWriteDump Win32 API to create a minidump of the Local Security Authority Subsystem Service (LSASS), then loads a customized Mimikatz payload into memory to extract logon credentials and Kerberos encryption keys from the dump. The embedded Mimikatz is reduced in size and configured to process the minidump automatically. SafetyKatz deletes the dump after processing, reducing residual credential material on disk, although its operation is not entirely fileless.

SafetyKatz supports authorized security assessments but is also used for credential theft during post-compromise operations. Documented operators include the financially motivated OPERA1ER group, the Iranian-linked Chafer group, and the China-linked APT15 group. Associated intrusions have affected banking and financial services, telecommunications, air transportation, and government organizations. SafetyKatz has also been packaged for in-memory execution through other offensive frameworks; those wrappers provide their own loading and evasion functionality rather than representing native SafetyKatz capabilities.

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

4 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 →
OPERA1ER

“Also the attacker used additional tools to intercept passwords and RDP sessions: ... safetykatz...”

via group ibgo.group-ib.com
APT39

Mimikatz was used with different flavors, such as SafetyKatz, or customized.

via bitdefender labsbitdefender.com
Chafer APT

we speculate the tool might be a variation of the tool SafetyKatz based on the debug.bin dump file the tool creates, which is also the name of the dump file created by SafetyKatz that was previously tied to Iranian threat actors

via cybereason blogcybereason.com
Ke3chang

Mimikatz, Pypykatz, Safetykatz – Publicly available credential-dumping tools...

via bleeping computerbleepingcomputer.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1078.003Local AccountsEvidence1

T1078.003 - Valid Accounts: Local Accounts Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.

Persistence

1 technique
T1078.003Local AccountsEvidence1

T1078.003 - Valid Accounts: Local Accounts Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.

Privilege Escalation

1 technique
T1078.003Local AccountsEvidence1

T1078.003 - Valid Accounts: Local Accounts Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.

Stealth

5 techniques
T1027.009Embedded PayloadsEvidence1

favicon.ico corresponds to an encoded and compressed version of safetykatz ... embedded as resources in order to be able to use them with execute-assembly

T1070.004File DeletionEvidence1

...runs sekurlsa::logonpasswords and sekurlsa::ekeys on the minidump file, removing the file after execution is complete... mimikatz # deleting C:\Windows\Temp\debug.bin

T1078.003Local AccountsEvidence1

T1078.003 - Valid Accounts: Local Accounts Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.

T1140Deobfuscate/Decode Files or InformationEvidence1

.Net tradecraft can be compressed, encoded (encrypted if required) ... then embedded as a resource to be loaded after patching amsi.dll memory.

T1620Reflective Code LoadingEvidence1

Then @subtee's PELoader is used to load a customized version of Mimikatz that runs sekurlsa::logonpasswords and sekurlsa::ekeys on the minidump file...

Credential Access

3 techniques
T1003OS Credential DumpingEvidence4

“The use of Mimikatz on affected systems for credential dumping.”

T1003.001LSASS MemoryEvidence2

First, the MiniDumpWriteDump Win32 API call is used to create a minidump of LSASS to C:\Windows\Temp\debug.bin. Then @subtee's PELoader is used to load a customized version of Mimikatz that runs sekurlsa::logonpasswords and sekurlsa::ekeys on the minidump file, removing the file after execution is complete.

T1003.006DCSyncEvidence1

«DCSync - это техника, при которой атакующий, имея права на репликацию, имитирует поведение контроллера домена и запрашивает у легитимного DC хэши паролей пользователей через протокол DRSUAPI»

Indicators of compromise

Observables

10 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 matching10Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors4Groups 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.