Skip to content
WETNav
SecurityAuthenticationIn-depth analysis

Event ID 4648: A logon was attempted using explicit credentials

Event 4648 is generated when a user logs on using explicit credentials different from their current session, typically via RunAs, scheduled tasks, or remote access tools. This event is crucial for detecting lateral movement, privilege escalation with stolen credentials, and pass-the-hash attacks where attackers use compromised credentials to authenticate to remote systems.

Channel
Security
Logged by default
Yes
Written on
Source host
Volume
Moderate
Audit subcategory
Logon
Needs a SACL
No

To have this event

  • Enable Logon: auditpol /set /subcategory:"Logon" /success:enable /failure:enable

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

SubjectUserNameAccount name that used explicit credentials
SubjectDomainNameDomain of the account
SubjectLogonIdLogon ID of the session
TargetUserNameAccount name whose credentials were used
TargetDomainNameDomain of the target account
TargetServerNameTarget server or resource name
ProcessNameProcess that used explicit credentials (often RunAs, PowerShell, or custom apps)
IpAddressTarget IP address
Have one of these events? Paste it into the decoder

In an investigation

Event 4648 provides critical visibility into credential usage patterns that often indicate lateral movement during active intrusions. When an attacker compromises credentials through credential dumping (Mimikatz, LSASS memory access) or password reuse, they use these credentials to authenticate to remote systems while maintaining their current session. This event captures both the account performing the authentication (source) and the credentials being used (target), enabling detection of anomalous credential usage. Common scenarios include runas.exe execution with domain admin credentials, scheduled task creation with specific service accounts, and network authentication to file shares or administrative shares. The event includes process information showing which application initiated the explicit credential usage.

What it can reveal

  • Lateral movement detection when compromised accounts authenticate to multiple systems in rapid succession
  • Pass-the-hash and pass-the-ticket attacks visible when NTLM or Kerberos credentials are reused across systems
  • Privilege escalation when standard user accounts invoke processes with administrative credentials
  • Credential theft detection by correlating Event 4648 with known compromised accounts from credential dumping events
  • APT groups like APT1 and Carbanak extensively use stolen credentials with RunAs for lateral movement without creating new accounts

How to detect with it

Establish baselines for normal explicit credential usage patterns in your environment, particularly which accounts legitimately use RunAs or scheduled tasks. Alert on any user account using credentials for accounts with higher privileges than their own, especially non-IT staff using administrative credentials. Monitor for high-frequency Event 4648 generation from a single source system to multiple targets within short time windows (potential lateral movement sweeps). Correlate with Event 4624 Type 3 (network logons) and Event 4672 (special privileges assigned) to build complete authentication chains. Flag explicit credential use of recently reset passwords, service accounts from workstations, or privileged accounts from non-administrative systems. Track process names initiating explicit authentication - legitimate use is typically runas.exe, mstsc.exe, or schtasks.exe, while malicious tools like PsExec, Cobalt Strike, or Metasploit may appear.

Attack patterns

  • APT1 lateral movement: After dumping credentials from domain controller memory, attackers used compromised Domain Admin credentials via RunAs to access file servers and executive workstations
  • Cobalt Strike beacon activity: Event 4648 generated repeatedly as beacon used stolen credentials to spawn processes on remote systems during lateral movement phase
  • Emotet credential abuse: After harvesting credentials with Mimikatz, Emotet operators used Event 4648-generating RunAs to spread to additional domain systems
  • Ransomware pre-deployment: LockBit operators used explicit credentials to create scheduled tasks (generating Event 4648) across all domain systems before triggering encryption

Compared withEvent 4648 shows the intention to use specific credentials (what credentials were presented), while Event 4624 shows successful authentication (credentials were accepted). Both events should be correlated for complete authentication visibility.

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4648)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

Where it shows up

Investigations, attack signals and lateral movement techniques that rely on this event.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 4648 mean?
Event 4648 is generated when a user logs on using explicit credentials different from their current session, typically via RunAs, scheduled tasks, or remote access tools. This event is crucial for detecting lateral movement, privilege escalation with stolen credentials, and pass-the-hash attacks where attackers use compromised credentials to authenticate to remote systems.
Is event 4648 logged by default?
Yes, a default Windows installation records it. It is controlled by the "Logon" Advanced Audit Policy subcategory (Logon/Logoff).
Where is event 4648 recorded?
In the Security channel on the source host.

Event 4648 is generated when a user logs on using explicit credentials different from their current session, typically via RunAs, scheduled tasks, or remote access tools.