Study guide

14.2 Investigating Lateral Movement & Credential Access Campaigns

Elastic Certified SIEM Analyst Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Exam Overview & Study Strategy

1.1 Elastic Certified SIEM Analyst Exam Facts, Objectives & Study Plan

2 Chapter 2: Elastic Stack Architecture & SIEM Foundations

2.1 Elastic Stack Architecture for Security Operations 2.2 Telemetry Ingestion Architecture & Data Pipelines 2.3 Security Data Storage, Data Streams & ILM

3 Chapter 3: Elastic Common Schema (ECS) & Ingestion Normalization

3.1 ECS Structure, Core Principles & Essential Field Sets 3.2 Ingest Pipelines, Processors & Normalization Workflows 3.3 Fleet Server & Elastic Agent Integration Management

4 Chapter 4: Discover, Data Views & Security Query Languages

4.1 Kibana Discover, Security Data Views & Runtime Fields 4.2 Kibana Query Language (KQL) & Lucene for SecOps 4.3 ES|QL for Multi-Stage Security Analysis

5 Chapter 5: Security Visualizations & Threat Analytics

5.1 Metric, Aggregation & Histogram Visualizations for SOC 5.2 Data Tables, Heatmaps & Specialized Security Charts 5.3 Elastic Maps & Geospatial Telemetry Analysis

6 Chapter 6: Kibana Lens for Security Workflows

6.1 Lens Architecture & Multi-Layer Telemetry Visualizations 6.2 Lens Formulas, Ratios & Anomaly Baseline Metrics 6.3 Operationalizing Lens in SOC Triage & Drilldowns

7 Chapter 7: Security Dashboards & SOC Operations

7.1 Security Dashboard Architecture & SOC Layout Design 7.2 Interactive Controls, Time Sync & Cross-Filtering 7.3 Dashboard Exporting, Reporting & Spaces Sharing

8 Chapter 8: The Elastic Security App: Capabilities, Explore & Dashboards

8.1 Security App Capabilities & the Explore Pages (Hosts, Network, Users) 8.2 Monitoring with the Security App Dashboards

9 Chapter 9: Elastic Security Detection Engine & Core Rules

9.1 Detection Engine Architecture & Prebuilt Rule Management 9.2 Custom Query & Threshold Detection Rules 9.3 Event Correlation Rules with Event Query Language (EQL)

10 Chapter 10: Advanced Detection Rules, ML & Rule Tuning

10.1 Threat Intelligence & Indicator Match Rules 10.2 New Terms, ES|QL & Machine Learning Detection Rules 10.3 Detection Rule Tuning, Exceptions & Alert Suppression

11 Chapter 11: Alert Triage, Timelines & Investigation Workflows

11.1 Alert Triage Workflow & the Alert Details Flyout 11.2 Elastic Security Timeline & Timeline Templates 11.3 Visual Event Analyzer & Session View Forensics

12 Chapter 12: Case Management, Integrations & AI Assistant

12.1 Elastic Security Case Management & Triage Workflows 12.2 Case Connectors & External Incident Escalation 12.3 Elastic AI Assistant for Security & Attack Discovery

13 Chapter 13: Security Administration, RBAC & Kibana Spaces

13.1 Kibana Spaces for SOC Multitenancy & Segmentation 13.2 Role-Based Access Control, Feature Privileges & Index Security 13.3 Elastic Defend Administration & Endpoint Policy Controls

14 Chapter 14: End-to-End Threat Hunting & Incident Investigation Capstone

14.1 Hypothesis-Driven Threat Hunting & Baselining in Elastic 14.2 Investigating Lateral Movement & Credential Access Campaigns 14.3 Data Exfiltration, C2 Detection & Incident Reconstruction

14.2 Investigating Lateral Movement & Credential Access Campaigns

Key Takeaways Explain This Topic AI

Credential access campaigns frequently target the Local Security Authority Subsystem Service (LSASS) via direct memory dumping (mimikatz, procdump, comsvcs.dll), detectable through process handle access rights and suspicious DLL function calls.

Kerberoasting exploits Active Directory Ticket Granting Service (TGS) requests (Event ID 4769) requesting weak RC4-HMAC encryption (0x17) for service accounts, facilitating offline password cracking.

Pass-the-Hash (PtH) and Overpass-the-Hash enable lateral movement via NTLM authentication, manifesting in Windows Security Event Logs as Event ID 4624 (Logon Type 3 - Network) paired with elevated privilege assignments (Event ID 4672).

Adversaries execute remote commands utilizing SMB remote service creation (Event ID 7045 / PsExec), WMI process execution (WmiPrvSE.exe spawning commands), and WinRM sessions (wsmprovhost.exe / ports 5985/5986).

Elastic Security Timeline and the visual event analyzer correlate Windows Security Event Logs, Sysmon/Defend process lineages, and network socket telemetry into an unbroken chain of post-exploitation activity.

Last updated: September 2026

The Credential Access & Lateral Movement Campaign Architecture

When an adversary secures an initial foothold on an endpoint—whether through a targeted phishing payload, an exposed edge service, or stolen remote desktop credentials—they rarely land directly on their ultimate objective. High-value data stores, intellectual property repositories, customer databases, and domain controllers are sequestered deep within internal network zones protected by internal firewalls and network segmentation. To traverse from an unprivileged workstation to enterprise crown jewels, an adversary must execute an iterative attack loop: harvest local credentials, escalate privileges, perform internal discovery, and move laterally across systems.

In modern Active Directory (AD) and enterprise environments, identity represents the primary attack surface. By acquiring valid credentials, adversaries transition from conspicuous malware execution to legitimate administrative protocols—a strategy known as "living off the land." Security analysts must understand the precise mechanics of credential theft and lateral movement, the specific Windows Event IDs and ECS telemetry streams they generate, and how to correlate these multi-source artifacts using Elastic Security's Timeline and the visual event analyzer.

  • In-Depth Credential Access Investigation
  • 1. LSASS Memory Dumping

The Local Security Authority Subsystem Service ( lsass.exe ) is the core Windows security process responsible for enforcing local security policies, handling user authentications, and storing active credential material in memory (including Kerberos Ticket Granting Tickets [TGTs], NTLM password hashes, and cached plaintext credentials via Security Support Providers like Wdigest).

Adversaries extract credentials from LSASS memory using several distinct mechanisms:

Direct API Handle Access : Utilities such as mimikatz or nanodump call the Windows APIs OpenProcess or DuplicateHandle requesting PROCESS_VM_READ ( 0x0010 ) and PROCESS_QUERY_INFORMATION ( 0x0400 ) access rights against the lsass.exe process ID. In Sysmon telemetry, this generates Event ID 10 (ProcessAccess) where winlog.event_data.TargetImage is C:\Windows\system32\lsass.exe and winlog.event_data.GrantedAccess includes 0x1010 or 0x143a .

LOLBin Abuse via comsvcs.dll : Attackers frequently abuse the native, signed Windows library comsvcs.dll to dump LSASS memory without dropping third-party binaries onto disk. The command executes MiniDump (or export ordinal 24 ) via rundll32.exe : rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump [lsass_pid] C:\Windows\Temp\lsass.dmp full In Elastic Defend telemetry ( logs-endpoint.events.process-* ), this is identified by process.name: "rundll32.exe" where process.command_line contains both comsvcs.dll and MiniDump (or 24 ).

Sysinternals procdump.exe : Attackers leverage Microsoft's legitimate process diagnostic utility to dump LSASS memory: procdump.exe -ma lsass.exe lsass.dmp The -ma argument instructs the tool to write a complete memory dump file. Elastic Defend alerts on suspicious process executions referencing lsass.exe in conjunction with memory-dumping command-line switches.

2. Kerberoasting Campaigns

Kerberoasting is an Active Directory post-exploitation technique targeting Service Principal Names (SPNs) registered to user accounts. Any authenticated domain user (regardless of privilege level) can query Active Directory for SPNs and request a Kerberos Ticket Granting Service (TGS) ticket from the Domain Controller (KDC) for any target service. The TGS ticket is encrypted with the NTLM password hash of the Active Directory account linked to that SPN. The attacker extracts the ticket from memory and executes offline dictionary or brute-force attacks using tools like Hashcat or John the Ripper to recover the plaintext service account password.

In Elastic Security, Kerberoasting investigations focus on Windows Security Event Log Event ID 4769 (A Kerberos service ticket was requested) on domain controllers:

Ticket Encryption Type ( winlog.event_data.TicketEncryptionType ) : Modern Windows environments typically use AES128 ( 0x11 ) or AES256 ( 0x12 ). Attackers explicitly request ticket downgrade to RC4-HMAC-MD5 ( 0x17 ) because RC4 hashes can be cracked offline orders of magnitude faster than AES.

Ticket Options ( winlog.event_data.TicketOptions ) : Attackers typically request tickets with options 0x40810000 (forwardable, renewable, canonicalize).

High Request Volume : While individual service ticket requests occur continuously during normal network operations, a Kerberoasting attack generates dozens or hundreds of Event ID 4769 records from a single workstation and user account within a few minutes, querying multiple distinct service accounts.

  • An ES|QL query to identify Kerberoasting campaigns: FROM winlogbeat-*
  • | WHERE winlog.channel == "Security" AND event.code == "4769"
  • | WHERE winlog.event_data.TicketEncryptionType == "0x17"
  • AND NOT winlog.event_data.ServiceName LIKE "*$"
  • | STATS
  • tgs_count = COUNT(),
  • unique_services = COUNT_DISTINCT(winlog.event_data.ServiceName)
  • BY winlog.event_data.TargetUserName, source.ip
  • | WHERE unique_services > 5
  • | SORT tgs_count DESC
  • 3. NTDS.dit & SAM Database Harvesting

To compromise the entire domain in a single action, adversaries attempt to copy the Active Directory database file ( ntds.dit ) from domain controllers, which contains all domain user accounts and password hashes. Because the active file is locked by the operating system, attackers leverage Volume Shadow Copies ( vssadmin create shadow /for=C: ), ntdsutil.exe ("ac i ntds" "ifm"), or registry hive dumps ( reg save HKLM\SAM sam.save and reg save HKLM\SYSTEM system.save ). In Elastic Defend, monitoring process executions of vssadmin.exe , ntdsutil.exe , and reg.exe targeting sensitive registry hives provides immediate detection of mass credential theft.

Lateral Movement Investigation Vectors

Once credentials or hashes are harvested, adversaries move across the internal network using several primary protocols and mechanisms:

1. Pass-the-Hash (PtH) and Overpass-the-Hash

Pass-the-Hash : Attackers authenticate to remote systems over SMB or RPC using an extracted NTLM password hash directly, without needing to crack or know the plaintext password.

Overpass-the-Hash (Pass-the-Key) : Attackers present an NTLM hash to the Kerberos KDC via an AS-REQ (Authentication Service Request) to obtain a valid Kerberos Ticket Granting Ticket (TGT), transitioning their authentication into the Kerberos protocol.

Forensic Telemetry in Elastic Security :

Windows Security Event ID 4624 (Successful Logon) with:

winlog.event_data.LogonType: "3" (Network Logon: connection across the network to a shared resource).

winlog.event_data.AuthenticationPackageName: "NTLM" .

winlog.event_data.LogonProcessName: "NtLmSsp" .

winlog.event_data.ElevatedToken: "Yes" or followed immediately by Event ID 4672 (Special Privileges Assigned to New Logon) , indicating the newly logged-on user received administrative tokens ( SeDebugPrivilege , SeTcbPrivilege ).

Source workstation IP ( source.ip ) does not match standard administrative jumphosts.

2. Remote Service Creation via SMB (PsExec & sc.exe )

PsExec and similar remote execution tools (such as Impacket's psexec.py or native sc.exe ) operate by abusing SMB (TCP port 445) and the Service Control Manager (SCM):

The attacker connects to the target machine over SMB using administrative credentials.

The attacker writes an executable binary to an administrative share ( ADMIN$ or C$ , typically staging in C:\Windows\ or C:\Windows\Temp\ ).

The attacker opens a handle to the Service Control Manager via RPC over the Named Pipe \pipe\svcctl .

The SCM creates and starts a new Windows service executing the dropped binary under the NT AUTHORITY\SYSTEM context.

Forensic Telemetry in Elastic Security :

Windows System Event ID 7045 / Security Event ID 4697 : "A service was installed in the system".

winlog.event_data.ServiceName : Service name (e.g., PSEXESVC or pseudo-random names generated by modern attack frameworks).

winlog.event_data.ImagePath : Path to the service binary (e.g., %SystemRoot%\PSEXESVC.exe or C:\Windows\Temp\sysupdate.exe ).

Process Lineage in Process Tree : On the target host, services.exe appears as the parent process launching the newly registered service executable, which in turn spawns cmd.exe or powershell.exe with command-line arguments.

3. Remote Management Execution: WMI & WinRM

Windows Management Instrumentation (WMI) : Attackers invoke wmic /node:[target_host] process call create "cmd.exe /c ..." or execute PowerShell Invoke-WmiMethod . Telemetry reveals WmiPrvSE.exe (WMI Provider Host) spawning command interpreters on the target host. Separately, Microsoft-Windows-WMI-Activity/Operational Event ID 5861 records permanent WMI event subscriptions, a fileless persistence technique.

Windows Remote Management (WinRM) : Attackers execute remote commands via PowerShell Remoting ( Enter-PSSession , Invoke-Command ) connecting over TCP port 5985 (HTTP) or 5986 (HTTPS). On the target host, the network connection is accepted by svchost.exe , and commands execute under wsmprovhost.exe (WinRM Provider Host) as the parent process.

Multi-Source Telemetry Correlation in Timeline and Process Tree

Investigating lateral movement requires stitching disparate telemetry sources into a unified chronology. The following forensic walkthrough illustrates how an analyst traces an intrusion from initial credential theft on a workstation to remote command execution on a database server: +--------------------------------------------------------------------------+

  • | Step-by-Step Lateral Movement Correlation in Timeline & Process Tree |
  • | |
  • | [ Workstation: ws-exec01 (10.0.10.15) ] |
  • | | |
  • | +-- (1) 09:14:10: rundll32.exe comsvcs.dll MiniDump (LSASS dumped) |
  • | | Defend Alert: Suspicious Comsvcs Memory Access |
  • | | |
  • | +-- (2) 09:16:02: Outbound network socket to 10.0.20.50:445 (SMB) |
  • | source.ip: 10.0.10.15 -> destination.ip: 10.0.20.50 |
  • | |
  • | [ Database Server: srv-db01 (10.0.20.50) ] |
  • | | |
  • | +-- (3) 09:16:03: Security Event ID 4624 (Logon Type 3: Network) |
  • | | user.name: svc_backup | auth: NTLM |
  • | | |
  • | +-- (4) 09:16:04: Security Event ID 4672 (Special Privileges Assigned) |
  • | | SeDebugPrivilege granted |
  • | | |
  • | +-- (5) 09:16:08: System Event ID 7045 (New Service Installed) |
  • | | ServiceName: DBUpdater |
  • | | ImagePath: C:\Windows\Temp\dbupdate.exe |
  • | | |
  • | +-- (6) 09:16:10: Process Tree Analysis: |
  • | services.exe (PID 644) |
  • | \-- dbupdate.exe (PID 4812) |
  • | \-- cmd.exe /c whoami |
  • +--------------------------------------------------------------------------+

Alert Anchor : The investigation begins in Timeline with the High-severity alert on ws-exec01 for rundll32.exe dumping LSASS memory at 09:14:10. The analyst pins this event.

Network Pivot : The analyst queries source.ip: 10.0.10.15 and destination.port: (445 or 135 or 5985) between 09:14:10 and 09:20:00. This reveals an SMB network connection to internal server 10.0.20.50 at 09:16:02.

Target Host Scoping : Filtering for host.ip: 10.0.20.50 , the analyst identifies Windows Event ID 4624 (Logon Type 3) using NTLM authentication for account svc_backup , immediately followed by Event ID 4672 assigning administrative privileges.

Service Installation Verification : Within six seconds of logon, System Event ID 7045 records a new service DBUpdater installed with binary C:\Windows\Temp\dbupdate.exe .

Process Tree Confirmation : Opening the visual event analyzer for the new process on srv-db01 , the analyst observes services.exe spawning dbupdate.exe , which spawns cmd.exe /c whoami . The analyst pins these events and attaches them to the active investigation Case.

Reference Table: Windows Event IDs, ECS Mappings & Forensic Significance

The following reference table summarizes the critical Windows Security and System events, ECS field mappings, and forensic significance for investigating credential access and lateral movement:

Event ID Description / Attack Vector Source Channel Key ECS Fields Forensic Significance

4624 Successful Logon (Logon Type 3) Security winlog.event_data.LogonType: "3" , winlog.event_data.AuthenticationPackageName: "NTLM" , source.ip Confirms remote network authentication across SMB/RPC without an interactive desktop session; hallmark of Pass-the-Hash and remote tooling.

4672 Special Privileges Assigned Security user.name , winlog.event_data.PrivilegeList , host.name Confirms an authenticated account received administrative rights ( SeDebugPrivilege , SeTcbPrivilege ), indicating privilege escalation.

7045 / 4697 New Service Installed (PsExec / Remote SCM) System (7045) / Security (4697) winlog.event_data.ServiceName , winlog.event_data.ImagePath , user.name High-confidence indicator of lateral movement via Service Control Manager; reveals dropped binary path and execution context.

4768 Kerberos TGT Request (AS-REQ) Security winlog.event_data.TargetUserName , winlog.event_data.PreAuthType , source.ip Pre-auth type 0 indicates missing pre-authentication (AS-REP Roasting); legacy encryption ciphers indicate Overpass-the-Hash attempts.

4769 Kerberos Service Ticket Request (TGS) Security winlog.event_data.ServiceName , winlog.event_data.TicketEncryptionType: "0x17" High volume of requests with encryption type 0x17 (RC4-HMAC) targeting non-machine SPNs confirms an active Kerberoasting campaign.

10 (Sysmon) Process Access (LSASS Memory Read) Sysmon/Operational process.name , winlog.event_data.TargetImage: "*lsass.exe" , winlog.event_data.GrantedAccess Reveals unauthorized handle opening to LSASS memory with read/query permissions ( 0x1010 , 0x143a ) indicative of credential dumping.

5861 WMI Event Subscription Activity WMI-Activity/Operational winlog.event_data.Namespace , winlog.event_data.Query , user.name Records permanent WMI event consumer registrations, a fileless persistence technique. Remote WMI process creation shows up instead as WmiPrvSE.exe spawning processes.

Loading diagram... Credential Access and Lateral Movement Correlation Flow