Originally published on the ClearPath Security site: https://clearpathsecurity.co.uk/hunting-for-lsass-credential-dumping-with-defender-for-endpoint/
LSASS credential dumping is one of those Windows attack patterns that still matters because it gives an attacker access to material they can use laterally, escalate privileges, or persist. For a UK SME, the issue is not just the technical act of reading memory. It is the downstream risk: a single compromised workstation or server can become a stepping stone to domain-wide access if the right credentials are exposed.
In Microsoft environments, Defender for Endpoint gives you enough telemetry to hunt for this behaviour without relying on a single noisy indicator. The useful approach is to combine process telemetry, file and command-line context, and device timeline pivots, then correlate that with identity signals where possible. If you have already built a broader detection stack, this hunt fits neatly alongside other memory and credential abuse work, such as the patterns covered in our article on memory and credential attack detection with Defender for Endpoint.
Key takeaways
- LSASS access is a high-value signal because it can indicate credential theft that enables lateral movement and privilege escalation.
- In Defender for Endpoint, the strongest hunts combine process telemetry, command-line context, and parent-child relationships rather than relying on one indicator.
- False positives are best reduced by documenting legitimate LSASS-touching tools and suppressing only validated binaries, paths, or service identities.
- Detection is stronger when LSASS hunting is correlated with identity and authentication activity, not treated as an isolated endpoint event.
- Hardening measures such as Credential Guard, RunAsPPL, least privilege, and attack surface reduction rules help reduce LSASS exposure before detection is needed.
What LSASS is and why attackers target it
LSASS is the Local Security Authority Subsystem Service. On Windows, it handles authentication, token creation, and several security-related functions that sit close to the logon process. In practical terms, it is a high-value process because it can hold credential material in memory, depending on the system configuration, authentication methods in use, and the protections enabled.
That makes LSASS a common target for credential theft. Attackers are usually looking for reusable secrets, such as NTLM material, Kerberos tickets, or other authentication artefacts that can be used to impersonate users or service accounts. The exact value depends on the environment, but the defensive conclusion is consistent: if an attacker can access LSASS memory, they may be able to move beyond the initial foothold much faster than with password guessing alone.
For defenders, the important point is not to obsess over one technique. The goal is to detect suspicious access to LSASS early enough to stop follow-on activity. That means looking for process access patterns, suspicious tool use, and the surrounding chain of events rather than waiting for a single perfect alert.
How LSASS abuse typically appears in Defender for Endpoint telemetry
In Defender for Endpoint, LSASS abuse often shows up as a process on an endpoint interacting with lsass.exe in an unusual way. The signal may be direct, such as suspicious handle access, or indirect, such as a process tree that makes little operational sense for the host. A legitimate endpoint protection agent may also touch LSASS, so context matters.
The patterns worth paying attention to include unusual parent-child relationships, unexpected command lines, and binaries that are not normally associated with administration or security tooling. For example, a user-launched shell spawning a utility that then interacts with LSASS is more interesting than a known security agent doing the same thing. Likewise, a process running from a temporary directory, user profile path, or unusual staging location deserves more scrutiny than one launched from a standard management path.
Another useful clue is the presence of security tooling abuse. Attackers often try to disable protections, run from renamed binaries, or use living-off-the-land components to reduce visibility. If you are already hunting for those behaviours, the overlap is useful. Our guide to detecting living-off-the-land binaries with Defender for Endpoint covers the broader process abuse angle that often appears alongside credential theft.
What to look for in Microsoft Defender for Endpoint
For hunting, the main place to start is Advanced Hunting. The tables you will use most often are DeviceProcessEvents, DeviceImageLoadEvents, DeviceFileEvents, and, where relevant, DeviceEvents. The exact schema can vary by tenant and feature set, but the principle is the same: build a process-centric view, then enrich it with file, command-line, and device context.
Useful fields include FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, FolderPath, DeviceName, AccountName, and timestamps. If your tenant has good telemetry coverage, you can also use parent process details to identify suspicious launch chains. A process that accesses LSASS after being spawned by a script host, archive utility, or remote administration tool deserves more attention than one started by a known endpoint security product.
A practical hunting pattern is to search for processes that reference lsass.exe in command lines, access it indirectly through suspicious tooling, or appear in the same timeline as credential-related activity. You are not trying to prove compromise from one event. You are trying to identify a cluster of indicators that makes the activity worth investigating.
It also helps to baseline your environment. If you know which tools your support team, endpoint protection stack, and remote administration platform use, you can separate expected LSASS access from unusual behaviour much more quickly. That baseline work is part of the same operational discipline discussed in endpoint hardening using CIS Benchmarks for UK SMEs, because hardening and detection quality are closely linked.
Building a hunting workflow for LSASS credential dumping
A good hunt starts with a hypothesis. For example: a non-standard process on an endpoint accessed LSASS outside of normal administrative activity. From there, narrow the search to devices with recent privilege changes, suspicious script execution, or signs of defence evasion. This is more effective than scanning every process event for a generic keyword and hoping the result is useful.
In practice, a useful workflow looks like this:
First, identify candidate devices with suspicious process activity. Look for unusual process names, odd command lines, or binaries executing from user-writable locations. Second, inspect the process tree to understand what launched the activity and whether the parent process is expected. Third, check whether the same device shows signs of credential theft, such as unusual authentication attempts, remote logons, or later movement to other systems.
Correlating endpoint and identity data is especially valuable. If a host shows suspicious LSASS access and the same account then performs atypical sign-ins, remote service creation, or access to administrative shares, the combined picture is stronger than either signal alone. That is why endpoint hunting should not live in isolation. It should sit alongside identity and network monitoring, as discussed in our article on unified threat detection across endpoint, identity, and network for UK SMEs.
If you use Microsoft Sentinel as your SIEM, you can also push the hunt results into a broader investigation workflow. The KQL patterns are similar, but Sentinel gives you more room to correlate across tables and build repeatable analytics. If you want a refresher on the query style, our KQL threat hunting with Microsoft Sentinel article is a useful companion.
Reducing false positives without losing coverage
LSASS access is not automatically malicious. Endpoint protection platforms, EDR agents, backup tools, remote support software, and some administrative utilities may interact with LSASS as part of their normal operation. The challenge is to distinguish expected access from activity that is unusual for the host, the user, or the time of day.
Start by documenting the legitimate tools that touch LSASS in your environment. That includes the vendor name, binary path, signing status, service account used, and the hosts where it should appear. Then compare that list against your hunting results. If a known tool is generating noise, do not suppress the entire technique. Instead, narrow the suppression to the specific binary, path, hash, or service identity that you have validated.
Be careful with broad allowlisting. If you suppress on process name alone, you can miss renamed binaries or lookalike tools. If you suppress on a whole folder path without checking who can write there, you may create a blind spot. A better pattern is to combine multiple attributes, such as signed binary, expected publisher, known path, and known parent process.
For small teams, it is often worth separating hunting logic from alert logic. Hunting queries can stay broad and exploratory, while alert rules should be tighter and more operationally stable. That way you preserve visibility without flooding analysts with low-value incidents.
Detection engineering considerations for Defender for Endpoint
Not every hunt should become an alert. Some LSASS queries are best kept as scheduled hunts or workbook views, especially when you are still learning the normal shape of the environment. Once you have enough confidence in the signal, you can decide whether to convert the logic into a custom detection rule or an analytics rule in your SIEM.
When you do promote a hunt into production detection, think about severity and grouping. A single suspicious access event may not justify a high-severity incident if there is no corroborating evidence. On the other hand, repeated access attempts, suspicious parent processes, and follow-on authentication anomalies should raise the priority quickly. Incident grouping should also reflect the likely attack chain, not just the individual event. Multiple related alerts on the same host should usually collapse into one investigation case.
Enrichment matters too. Add device risk, user risk, recent sign-in context, and host role where possible. A domain controller, jump host, or privileged admin workstation deserves a different threshold from a standard user laptop. This is where operational context improves detection quality more than any single rule tweak.
Hardening and preventive controls that reduce LSASS exposure
Detection is important, but it should not be your only control. Reducing the chance that LSASS can be accessed in the first place is a better outcome. Two of the most relevant controls are Credential Guard and RunAsPPL, which helps protect LSASS as a protected process. These controls are not a silver bullet, but they raise the bar and reduce the number of easy paths available to an attacker.
Least privilege also matters. If local administrator rights are handed out too freely, an attacker who compromises one endpoint has a much easier route to memory access and credential theft. Tightening administrative access, using separate admin accounts, and limiting where privileged logons can occur all help reduce exposure.
Attack surface reduction rules can also help, particularly where they block common abuse paths such as script-based launch chains, suspicious child process creation, or credential theft tooling. The exact rules you deploy will depend on your environment, but the principle is consistent: make it harder for untrusted code to reach sensitive processes.
These controls work best when they are part of a broader hardening programme rather than a one-off change. If you are building that baseline, our article on reducing attack surface using system hardening techniques for UK SMEs is a useful reference point.
How to investigate a suspected LSASS dumping alert
When an alert fires, start with the process tree and the host timeline. Confirm which process touched LSASS, what launched it, and whether the binary path and signature look expected. Check whether the process was started by a user, a service, a script host, or a remote management tool. Then look for nearby events that suggest defence evasion, staging, or lateral movement.
Next, validate whether the activity matches a known tool or support workflow. If it does, document the justification and tune the detection accordingly. If it does not, preserve the artefacts you need for follow-up analysis: process command lines, hashes, file paths, device timeline entries, and any related authentication events. If memory capture or deeper endpoint analysis is required, make sure you follow your organisation’s evidence handling process.
It is also sensible to check for scope. One suspicious endpoint may be an isolated event, but if you see similar activity across multiple hosts, the priority changes. In that case, look for common accounts, common parent processes, or a shared management tool that may have been abused.
If your team is still maturing its response process, it may help to align this work with your wider incident handling approach. Our article on creating incident response playbooks and runbooks is a practical companion for turning this kind of hunt into a repeatable workflow.
Mapping LSASS hunting to MITRE ATT&CK
From a MITRE ATT&CK perspective, LSASS credential dumping maps to OS credential dumping techniques. That mapping is useful because it gives you a common language for coverage, prioritisation, and gap analysis. It also helps you explain to stakeholders why a hunt matters without having to describe every technical detail.
Use the ATT&CK mapping to answer three questions. First, do you have telemetry that can see the technique? Second, do you have a detection that is likely to fire with useful fidelity? Third, do you have a response path that can contain the host quickly if the signal is strong? If the answer to any of those is no, you have a gap to close.
That same mapping approach works well when you are building a broader detection programme. If you want to see how this fits into a structured coverage model, our article on mapping detections and controls to MITRE ATT&CK shows how to turn technique coverage into something you can manage over time.
Operational next steps for small security teams
If you want to get this hunt into production without overcomplicating it, start small. Define the expected LSASS-touching tools in your environment, write one or two high-signal Advanced Hunting queries, and test them against a known-good set of devices. Then review the results with whoever owns endpoint management so you can separate legitimate activity from suspicious behaviour.
After that, decide whether the hunt should remain a manual analyst workflow or become a custom alert. For many SMEs, the right answer is a mix of both: a scheduled hunt for visibility, plus a tighter alert for the most suspicious patterns. Review the output monthly at first, then tune the logic as you learn what normal looks like.
Finally, keep the hunt connected to the rest of your security stack. LSASS access is rarely the only signal that matters. The most useful detections usually come from combining endpoint telemetry, identity context, and a clear understanding of what normal administration looks like in your own environment.
If you want help tuning Defender for Endpoint detections or building a practical hunting workflow, speak to a consultant.
Frequently asked questions
What does LSASS.exe do, and why is it targeted for credential dumping?
LSASS is the Windows process that handles authentication and related security functions. It is targeted because it may hold credential material in memory that an attacker can abuse for lateral movement or privilege escalation.
How can Defender for Endpoint help detect suspicious access to LSASS?
Defender for Endpoint provides process and device telemetry that can show unusual access to lsass.exe, suspicious command lines, odd parent-child process chains, and related activity that helps you build a hunting and investigation workflow.
Top comments (0)