Missing Detection for Credential Theft on Servers

Illustrative example. ACME Financial is an invented company and every detail below is made up. The layout is the one our reports use.

Finding 4.1
Missing Detection for Credential Theft on Servers
H1
Severity
High
Risk rating
Likelihood:  High
Impact:  High
Classification
MITRE ATT&CK T1003.001 OS Credential Dumping - LSASS Memory
MITRE ATT&CK mitigation M1043 Credential Access Protection
Description
Threat actors who gain administrative rights on a Windows server commonly read credentials from the memory of the Local Security Authority process (lsass.exe) and use them to reach further systems. Servers can record this access. The record is useful only if a rule evaluates it and an analyst is alerted. When the event is collected and nothing acts on it, the technique succeeds without the security team's knowledge.
Affected assets
app03.corp.acme-financial.example (application server)
ACME Financial security operations (alerting on server telemetry)
This finding describes a gap in detection, not a software flaw, so it carries no CVSS score. The severity rating reflects likelihood and business impact: the technique is widely used by threat actors, and the credentials obtained gave access to the payment servers.

Impact

Strafe obtained credentials on a server and continued toward the objective without the security team being alerted. A threat actor in the same position could collect credentials from one server after another and reach the payment systems while the security team remained unaware of the intrusion. The evidence needed to detect the activity was present in the log platform throughout.

Within an attack chain, credential access follows initial access and privilege escalation, and precedes lateral movement. An alert at this step would give the security team an opportunity to contain an intrusion before it reaches critical systems. Strafe assesses the likelihood as high and the impact as high.

Technical details

The exercise was run without notice to ACME Financial’s security operations team, and their response was part of what was measured. Strafe held local administrator rights on an application server, app03, obtained earlier in the exercise. At 14:12, Strafe read credential material from the memory of the lsass.exe process on that server.

The operator timeline for the afternoon, as a table of times, hosts and actions, with the 14:12 credential access on app03 marked
Figure 1 - The step in the operator timeline Open full size

The server recorded the action. Its endpoint telemetry logged a process opening lsass.exe with memory-read access, and the event was forwarded to the central log platform:

Time:            14:12:07
Host:            app03.corp.acme-financial.example
Event:           Process access
Target process:  C:\Windows\System32\lsass.exe
Granted access:  0x1010 (read process memory)
Forwarded:       Yes
Rules evaluated: None (the rule applies to workstations)
The process-access event recorded by app03 at 14:12, showing lsass.exe as the target, memory-read access granted, and no detection rule evaluated
Figure 2 - The server's own record of the access Open full size

No alert was raised. The security operations queue for the period held no entry for app03, and the security team confirmed after the exercise that no analyst had been notified. The detection rule for this technique applied to workstations only; servers forwarded the same events, and no rule evaluated them.

The security operations alert queue filtered to app03 between 14:00 and 15:00, with no alerts
Figure 3 - The alert queue for the same period Open full size

The credentials obtained included a service account with rights on the payment servers. Strafe used it to continue toward the agreed objective. No credentials were removed from ACME Financial’s network.

Remediation

  1. Extend the existing detection for memory-read access to lsass.exe from workstations to all servers. Alert on any process that is not on an approved list, and treat the alert as high severity.
  2. Review each detection rule for the same limitation: a rule scoped to one group of hosts while other groups forward the same events.
  3. Enable the operating system’s protection for the Local Security Authority process on servers, and Credential Guard where it is supported, so that fewer credentials can be read from memory.
  4. Repeat the technique on a test server after any change to the logging pipeline or the rule set, and confirm that the alert still arrives.

After the fix

StatusResolved

After the rule was extended to servers, Strafe repeated the step on app03 with the security team’s knowledge. An alert appeared in the security operations queue and was assigned to an analyst.

The security operations alert queue after the rule change, with a high-severity alert for lsass.exe memory access on app03
Figure 4 - The alert raised after the fix Open full size

References

  • MITRE ATT&CK, T1003.001: OS Credential Dumping – LSASS Memory
  • MITRE ATT&CK, M1043: Credential Access Protection
  • Microsoft, configuring added protection for the Local Security Authority