mim221
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
This post details the multi-component architecture and functionality of a sample, referred to as mim221. We assess that mim221 is a recent version of an actively maintained credential theft capability upgraded with new anti-detection features.
This post details the multi-component architecture and functionality of a sample, referred to as mim221. We assess that mim221 is a recent version of an actively maintained credential theft capability upgraded with new anti-detection features.
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
The attackers also moved laterally across victims’ networks, used Scheduled Task for persistence, and dumped SAM and System hives from the registry.
Persistence
2 techniques
Persistence
The attackers also moved laterally across victims’ networks, used Scheduled Task for persistence, and dumped SAM and System hives from the registry.
AddSecurityPackage64.dll injects pc.dll into LSASS by deploying pc.dll as a Security Package. Security Packages are used to extend the Windows authentication mechanism and can be abused to execute malicious code in the context of LSASS.
Privilege Escalation
3 techniques
Privilege Escalation
The attackers also moved laterally across victims’ networks, used Scheduled Task for persistence, and dumped SAM and System hives from the registry.
AddSecurityPackage64.dll injects pc.dll into LSASS by deploying pc.dll as a Security Package.
AddSecurityPackage64.dll ... is responsible for: Obtaining the SeDebugPrivilege and SYSTEM privilege by access token impersonation.
Stealth
5 techniques
Stealth
To hinder static analysis and evade detection, the webshell uses various code obfuscation techniques, including XOR encoding, hexadecimal character representation, string concatenation, and randomized variable names.
AddSecurityPackage64.dll injects pc.dll into LSASS by deploying pc.dll as a Security Package.
AddSecurityPackage64.dll disables Windows event logging by killing threads of the Windows Event Log service without stopping the execution of the service itself.
AddSecurityPackage64.dll ... is responsible for: Obtaining the SeDebugPrivilege and SYSTEM privilege by access token impersonation.
pc.exe loads and executes the decrypted AddSecurityPackage64.dll using reflective image loading.
Defense Impairment
2 techniques
Defense Impairment
AddSecurityPackage64.dll injects pc.dll into LSASS by deploying pc.dll as a Security Package. Security Packages are used to extend the Windows authentication mechanism and can be abused to execute malicious code in the context of LSASS.
Disabling Windows event logging in an attempt to evade detection
Credential Access
4 techniques
Credential Access
Password dumper – cpfwplgx.dll Drops a file to call the MiniDumpWriteDump API to dump a process memory.
the attackers employ custom modified versions of Mimikatz, including an executable named pc.exe... ultimately result in stealing credentials from the Local Security Authority Subsystem Service (LSASS) process.
"CSIDL_SYSTEM\reg.exe" save hklm\sam sam. save "CSIDL_SYSTEM\reg.exe" save hklm\ system system . save "CSIDL_SYSTEM\reg.exe" save hklm\security security. save
AddSecurityPackage64.dll injects pc.dll into LSASS by deploying pc.dll as a Security Package. Security Packages are used to extend the Windows authentication mechanism and can be abused to execute malicious code in the context of LSASS.
Lateral Movement
2 techniques
Lateral Movement
The attackers also moved laterally across victims’ networks, used Scheduled Task for persistence, and dumped SAM and System hives from the registry.
From the initially compromised endpoints, the attackers moved laterally across the internal network, primarily using RDP (Remote Desktop Protocol) connections and pass-the-hash techniques. For the pass-the-hash attacks, they used a custom modified version of Mimikatz, implemented in an executable named bK2o.exe.
Observables
6 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.