Monday, December 23, 2024
HomeCyber Security NewsHackers Abusing LSASS Process Memory to Exfiltrate Login Credentials

Hackers Abusing LSASS Process Memory to Exfiltrate Login Credentials

Published on

SIEM as a Service

Threat actors have been using several methods for credential stealing, which varies based on the environment and infrastructure of the system.

Most of the time, the threat actors dump the LSASS process to extract the account credentials.

For this, tools such as Mimikatz, which offers several suspicious features, can be used. However, most security products are focused on these kinds of malicious tools that the threat actors know.

- Advertisement - SIEM as a Service

Many new methods to dump LSASS memory that maliciously use legitimate tools have been discovered as a means of bypass detection.

Sysinternals’ ProcDump was a widely used tool for these purposes, but other methods were detected, such as Process Explorer, Task Manager, etc.

Moreover, due to the legitimate use of these tools by users, it is difficult to detect these suspicious activities and prevent their exploitation.

Document
Free Webinar

Fastrack Compliance: The Path to ZERO-Vulnerability

Compounding the problem are zero-day vulnerabilities like the MOVEit SQLi, Zimbra XSS, and 300+ such vulnerabilities that get discovered each month. Delays in fixing these vulnerabilities lead to compliance issues, these delay can be minimized with a unique feature on AppTrana that helps you to get “Zero vulnerability report” within 72 hours.

Hackers Abusing LSASS Process Memory

LSASS Process

When a local user logs in, the NTLM authentication method is used, which is implemented at the “msv1_0.dll” that is loaded into the lsass.exe process. Since the process only has the NT hash for the password used for authentication, a threat actor faces difficulty in obtaining the plain-text password.

However, the threat actor can use multiple dictionary attacks to obtain the original password. In worst cases where a password cannot be obtained, the threat actor can log into the system using the stolen account’s NT hash using the NTLM protocol method.

Mimikatz

This program has the feature to extract account credentials, which also provides a feature that uses basic commands to dump the LSASS process memory that can be used to display the extracted NT hash. Moreover, this is an open-source tool, and threat actors have a great history of using it in several high-profile attacks.

Mimikatz GitHub (Source: AhnLab)
Mimikatz GitHub (Source: AhnLab)

sekurlsa::logonpasswords and sekurlsa::minidump are the commands used to dump the LSASS process memory, extract the NT hash, and extract the account credentials without directly accessing the LSASS process.

ProcDump

Sysinternals, currently owned by Microsoft, developed this tool, which supports the feature of dumping specific memories. Moreover, the ProcDump tool is a legitimate file signed with Microsoft’s certificate that threat actors regularly use to dump LSASS process memory.

This tool shows the process of ProcDump and extracts the created memory dump file by using Mimikatz to steal account credentials.

Process Explorer

Also developed by Sysinternals, this tool can show a list of running processes, look up information, control processes, and has many other features. It also supports the dumping of specific process memories, which can be used to dump LSASS process memory to extract account credentials.

Process Explorer Memory Dump (Source: AhnLab)
Process Explorer Memory Dump (Source: AhnLab)

Task Manager

This is a default tool provided by Microsoft Windows OS, which will create no suspicions when account credentials are dumped. It also provides a complete overview of running processes, installed services, startup programs, and a kingdom of information for threat actors to use.

Task Manager Memory Dump (Source: AhnLab)
Task Manager Memory Dump (Source: AhnLab)

Like other tools, this tool also provides dumping of LSASS memory that can be used to extract account credentials.

Comsvcs.dll

This is a DLL file that is in charge of COM+ service features and is installed in Windows by default.

This file also offers a “Minidump” function that can be used to dump specific process memory, which, therefore, can be used by threat actors to dump LSASS process memory for credential extraction.

Comsvsc.DLL
Comsvsc.DLL (Source: AhnLab)

ASEC published a detailed report explaining the tool’s usage, functions, extraction methods, etc.

Behavior Detection

  • Execution/EDR.Mimikatz.M11444
  • Execution/EDR.Behavior.M10484
  • CredentialAccess/EDR.ProcExp.M11597
  • CredentialAccess/EDR.Event.M11566
  • CredentialAccess/EDR.Comsvcs.M11596
Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

North Korean Hackers Stolen $2.2 Billion from Crypto Platforms in 2024

North Korean hackers are estimated to have stolen a staggering $2.2 billion in 2024,...

17M Patient Records Stolen in Ransomware Attack on Three California Hospitals

A staggering 17 million patient records, containing sensitive personal and medical information, have been...

WhatsApp Wins NSO in Pegasus Spyware Hacking Lawsuit After 5 Years

After a prolonged legal battle stretching over five years, WhatsApp has triumphed over NSO...

PentestGPT – A ChatGPT Powered Automated Penetration Testing Tool

GBHackers come across a new ChatGPT-powered Penetration testing Tool called "PentestGPT" that helps penetration...

API Security Webinar

72 Hours to Audit-Ready API Security

APIs present a unique challenge in this landscape, as risk assessment and mitigation are often hindered by incomplete API inventories and insufficient documentation.

Join Vivek Gopalan, VP of Products at Indusface, in this insightful webinar as he unveils a practical framework for discovering, assessing, and addressing open API vulnerabilities within just 72 hours.

Discussion points

API Discovery: Techniques to identify and map your public APIs comprehensively.
Vulnerability Scanning: Best practices for API vulnerability analysis and penetration testing.
Clean Reporting: Steps to generate a clean, audit-ready vulnerability report within 72 hours.

More like this

North Korean Hackers Stolen $2.2 Billion from Crypto Platforms in 2024

North Korean hackers are estimated to have stolen a staggering $2.2 billion in 2024,...

17M Patient Records Stolen in Ransomware Attack on Three California Hospitals

A staggering 17 million patient records, containing sensitive personal and medical information, have been...

WhatsApp Wins NSO in Pegasus Spyware Hacking Lawsuit After 5 Years

After a prolonged legal battle stretching over five years, WhatsApp has triumphed over NSO...