Adversaries may attempt to access credential material stored in the process memory of the Local Security Authority Subsystem Service (LSASS). After a user logs on, the system generates and stores a variety of credential materials in LSASS process memory. These credential materials can be harvested by an administrative user or SYSTEM and used to conductLateral Movement usingUse Alternate Authentication Material.
As well as in-memory techniques, the LSASS process memory can be dumped from the target host and analyzed on a local system.
For example, on the target host use procdump:
procdump -ma lsass.exe lsass_dumpLocally, mimikatz can be run using:
sekurlsa::Minidump lsassdump.dmpsekurlsa::logonPasswordsBuilt-in Windows tools such ascomsvcs.dll can also be used:
Similar toImage File Execution Options Injection, the silent process exit mechanism can be abused to create a memory dump oflsass.exe through Windows Error Reporting (WerFault.exe).[3]
Windows Security Support Provider (SSP) DLLs are loaded into LSASS process at system start. Once loaded into the LSA, SSP DLLs have access to encrypted and plaintext passwords that are stored in Windows, such as any logged-on user's Domain password or smart card PINs. The SSP configuration is stored in two Registry keys:HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Security Packages andHKLM\SYSTEM\CurrentControlSet\Control\Lsa\OSConfig\Security Packages. An adversary may modify these Registry keys to add new SSPs, which will be loaded the next time the system boots, or when the AddSecurityPackage Windows API function is called.[4]
The following SSPs can be used to access credentials:
| ID | Name | Description |
|---|---|---|
| C0025 | 2016 Ukraine Electric Power Attack | During the2016 Ukraine Electric Power Attack,Sandworm Team usedMimikatz to capture and use legitimate credentials.[6] |
| G1030 | Agrius | Agrius used tools such asMimikatz to dump LSASS memory to capture credentials in victim environments.[7] |
| G0006 | APT1 | APT1 has been known to use credential dumping usingMimikatz.[8] |
| G0007 | APT28 | APT28 regularly deploys both publicly available (ex:Mimikatz) and custom password retrieval tools on victims.[9][10] They have also dumped the LSASS process memory using the MiniDump function.[11] |
| G0022 | APT3 | APT3 has used a tool to dump credentials by injecting itself into lsass.exe and triggering with the argument "dig."[12] |
| G0050 | APT32 | APT32 used Mimikatz and customized versions of Windows Credential Dumper to harvest credentials.[13][14] |
| G0064 | APT33 | APT33 has used a variety of publicly available tools likeLaZagne,Mimikatz, and ProcDump to dump credentials.[15][16] |
| G0087 | APT39 | APT39 has used Mimikatz, Windows Credential Editor and ProcDump to dump credentials.[17] |
| G0096 | APT41 | APT41 has used hashdump,Mimikatz, Procdump, and the Windows Credential Editor to dump password hashes from memory and authenticate to other user accounts.[18][19][20] |
| G1023 | APT5 | APT5 has used the Task Manager process to target LSASS process memory in order to obtain NTLM password hashes.APT5 has also dumped clear text passwords and hashes from memory usingMimikatz hosted through an RDP mapped drive.[21] |
| G0143 | Aquatic Panda | Aquatic Panda has attempted to harvest credentials through LSASS memory dumping.[22] |
| S0606 | Bad Rabbit | Bad Rabbit has usedMimikatz to harvest credentials from the victim's machine.[23] |
| G0108 | Blue Mockingbird | Blue Mockingbird has used Mimikatz to retrieve credentials from LSASS memory.[24] |
| G0060 | BRONZE BUTLER | BRONZE BUTLER has used various tools (such as Mimikatz and WCE) to perform credential dumping.[25] |
| C0032 | C0032 | During theC0032 campaign,TEMP.Veles used Mimikatz and a custom tool, SecHack, to harvest credentials.[26] |
| G0003 | Cleaver | Cleaver has been known to dump credentials using Mimikatz and Windows Credential Editor.[27] |
| S0154 | Cobalt Strike | Cobalt Strike can spawn a job to inject into LSASS memory and dump password hashes.[28] |
| S0046 | CozyCar | CozyCar has executedMimikatz to harvest stored credentials from the victim and further victim penetration.[29] |
| C0029 | Cutting Edge | DuringCutting Edge, threat actors used Task Manager to dump LSASS memory from Windows devices to disk.[30] |
| S0187 | Daserf | Daserf leveragesMimikatz andWindows Credential Editor to steal credentials.[31] |
| G1006 | Earth Lusca | Earth Lusca has used ProcDump to obtain the hashes of credentials by dumping the memory of the LSASS process.[32] |
| G1003 | Ember Bear | Ember Bear uses legitimate Sysinternals tools such as procdump to dump LSASS memory.[33][34] |
| S0367 | Emotet | Emotet has been observed dropping and executing password grabber modules includingMimikatz.[35][36] |
| S0363 | Empire | Empire contains an implementation ofMimikatz to gather credentials from memory.[37] |
| G1016 | FIN13 | FIN13 has obtained memory dumps with ProcDump to parse and extract credentials from a victim's LSASS process memory withMimikatz.[38][39] |
| G0037 | FIN6 | FIN6 has usedWindows Credential Editor for credential dumping.[40][41] |
| G0061 | FIN8 | FIN8 harvests credentials using Invoke-Mimikatz or Windows Credentials Editor (WCE).[42] |
| G0117 | Fox Kitten | Fox Kitten has used prodump to dump credentials from LSASS.[43] |
| G0093 | GALLIUM | GALLIUM used a modified version ofMimikatz along with a PowerShell-basedMimikatz to dump credentials on the victim machines.[44][45] |
| S0342 | GreyEnergy | GreyEnergy has a module forMimikatz to collect Windows credentials from the victim’s machine.[46] |
| G0125 | HAFNIUM | HAFNIUM has used |
| C0038 | HomeLand Justice | DuringHomeLand Justice, threat actors dumped LSASS memory on compromised hosts.[49] |
| S0357 | Impacket | SecretsDump andMimikatz modules withinImpacket can perform credential dumping to obtain account and password information.[50] |
| G0119 | Indrik Spider | Indrik Spider usedCobalt Strike to carry out credential dumping using ProcDump.[51] |
| G0004 | Ke3chang | Ke3chang has dumped credentials, including by usingMimikatz.[52][53][54] |
| G0094 | Kimsuky | Kimsuky has gathered credentials usingMimikatz and ProcDump.[55][56][57] |
| S0349 | LaZagne | LaZagne can perform credential dumping from memory to obtain account and password information.[58] |
| G0077 | Leafminer | Leafminer used several tools for retrieving login and password information, including LaZagne and Mimikatz.[59] |
| G0065 | Leviathan | Leviathan has used publicly available tools to dump password hashes, including ProcDump and WCE.[60] |
| S0681 | Lizar | |
| S0121 | Lslsass | Lslsass can dump active logon session password hashes from the lsass process.[8] |
| S1060 | Mafalda | |
| G0059 | Magic Hound | Magic Hound has stolen domain credentials by dumping LSASS process memory using Task Manager, comsvcs.dll, and from a Microsoft Active Directory Domain Controller usingMimikatz.[64][65][66][67] |
| G1051 | Medusa Group | Medusa Group has leveragedMimikatz to dump LSASS to harvest credentials.[68] |
| S0002 | Mimikatz | Mimikatz performs credential dumping to obtain account and password information useful in gaining access to additional systems and enterprise network resources. It contains functionality to acquire information about credentials in many ways, including from the LSASS Memory.[69][70][71][72] |
| G1036 | Moonstone Sleet | Moonstone Sleet retrieved credentials from LSASS memory.[73] |
| G0069 | MuddyWater | MuddyWater has performed credential dumping withMimikatz and procdump64.exe.[74][75][76] |
| G0129 | Mustang Panda | Mustang Panda has harvested credentials from memory of lssas.exe withMimikatz.[77] |
| S0056 | Net Crawler | Net Crawler uses credential dumpers such asMimikatz andWindows Credential Editor to extract cached credentials from Windows systems.[27] |
| S0368 | NotPetya | NotPetya contains a modified version ofMimikatz to help gather credentials that are later used for lateral movement.[78][79][72] |
| G0049 | OilRig | OilRig has used credential dumping tools such asMimikatz to steal credentials to accounts logged into the compromised system and to Outlook Web Access.[80][81][64][82] |
| S0439 | Okrum | Okrum was seen using MimikatzLite to perform credential dumping.[83] |
| S0365 | Olympic Destroyer | Olympic Destroyer contains a module that tries to obtain credentials from LSASS, similar toMimikatz. These credentials are used withPsExec andWindows Management Instrumentation to help the malware propagate itself across a network.[84] |
| C0014 | Operation Wocao | DuringOperation Wocao, threat actors used ProcDump to dump credentials from memory.[85] |
| G0068 | PLATINUM | PLATINUM has used keyloggers that are also capable of dumping credentials.[86] |
| G1040 | Play | Play has usedMimikatz and the Windows Task Manager to dump LSASS process memory.[87] |
| S0428 | PoetRAT | PoetRAT used voStro.exe, a compiled pypykatz (Python version ofMimikatz), to steal credentials.[88] |
| S0378 | PoshC2 | PoshC2 contains an implementation ofMimikatz to gather credentials from memory.[89] |
| S0194 | PowerSploit | PowerSploit contains a collection of Exfiltration modules that can harvest credentials usingMimikatz.[90][91] |
| S0192 | Pupy | Pupy can execute Lazagne as well asMimikatz using PowerShell.[92] |
| S0583 | Pysa | |
| S1242 | Qilin | Qilin can employ an embeddedMimikatz module to dump LSASS memory.[94] |
| G1039 | RedCurl | RedCurl usedLaZagne to obtain passwords from memory.[95][96] |
| G0034 | Sandworm Team | Sandworm Team has used its plainpwd tool, a modified version ofMimikatz, and comsvcs.dll to dump Windows credentials from system memory.[97][98][99] |
| C0058 | SharePoint ToolShell Exploitation | DuringSharePoint ToolShell Exploitation, threat actors usedMimikatz to dump LSASS memory.[100] |
| G0091 | Silence | Silence has used the Farse6.1 utility (based onMimikatz) to extract credentials from lsass.exe.[101] |
| S0692 | SILENTTRINITY | SILENTTRINITY can create a memory dump of LSASS via the |
| S0633 | Sliver | Sliver has a built-in |
| G0027 | Threat Group-3390 | Threat Group-3390 actors have used a modified version ofMimikatz called Wrapikatz to dump credentials. They have also dumped credentials from domain controllers.[104][105] |
| C0030 | Triton Safety Instrumented System Attack | In theTriton Safety Instrumented System Attack,TEMP.Veles used Mimikatz.[106] |
| G1048 | UNC3886 | UNC3886 has used MiniDump to dump process memory and search for cleartext credentials.[107] |
| G1017 | Volt Typhoon | Volt Typhoon has attempted to access hashed credentials from the LSASS process memory space.[108][109] |
| G0107 | Whitefly | |
| S0005 | Windows Credential Editor | Windows Credential Editor can dump credentials.[111] |
| G0102 | Wizard Spider | Wizard Spider has dumped the lsass.exe memory to harvest credentials with the use of open-source toolLaZagne.[112] |
| ID | Mitigation | Description |
|---|---|---|
| M1040 | Behavior Prevention on Endpoint | On Windows 10, enable Attack Surface Reduction (ASR) rules to secure LSASS and prevent credential stealing.[113] |
| M1043 | Credential Access Protection | With Windows 10, Microsoft implemented new protections called Credential Guard to protect the LSA secrets that can be used to obtain credentials through forms of credential dumping. It is not configured by default and has hardware and firmware system requirements. It also does not protect against all forms of credential dumping.[114][115] |
| M1028 | Operating System Configuration | Consider disabling or restricting NTLM.[116] Consider disabling WDigest authentication.[117] |
| M1027 | Password Policies | Ensure that local administrator accounts have complex, unique passwords across all systems on the network. |
| M1026 | Privileged Account Management | Do not put user or admin domain accounts in the local administrator groups across systems unless they are tightly controlled, as this is often equivalent to having a local administrator account with the same password on all systems. Follow best practices for design and administration of an enterprise network to limit privileged account use across administrative tiers. |
| M1025 | Privileged Process Integrity | On Windows 8.1 and Windows Server 2012 R2, enable Protected Process Light for LSA.[118] |
| M1017 | User Training | Limit credential overlap across accounts and systems by training users and administrators not to use the same password for multiple accounts. |
| ID | Name | Analytic ID | Analytic Description |
|---|---|---|---|
| DET0363 | Detection of Credential Dumping from LSASS Memory via Access and Dump Sequence | AN1030 | A non-privileged or abnormal process attempts to open a handle with full access (0x1F0FFF) to lsass.exe and subsequently invokes memory dump, file creation, or registry modification indicative of credential scraping. This behavior chain reflects staged credential theft activity. |