Skip to content
SOC Analyst Role
  • Loading index…

↑↓ navigate · ↵ open · Esc close

en

Security · Lateral movement

4648 · A logon was attempted using explicit credentials

Event 4648 is logged on the source machine when a process attempts a logon by explicitly supplying credentials different from the current session, for example runas, net use \\server /user:, or PsExec with -u. It records both the account that was logged on locally and the account whose credentials were used, plus the target server. That makes it a strong lateral movement and credential misuse signal.

medium prioritySecurity logLateral movementMITRE T1078

Where it is logged

Security log on the machine where the explicit credentials were used (the client), not on the target. Requires Audit Logon for Success. The target will separately log a 4624 for the alternate account.

Key fields to read

FieldWhat it tells you
SubjectUserNameAccount already logged on that initiated the action.
TargetUserNameAccount whose credentials were explicitly supplied (with TargetDomainName).
TargetServerNameServer the credentials were used against; localhost for local runas.
TargetInfoAdditional target information, often an SPN-style value such as cifs/NW-FS-02.
ProcessNameProcess that used the credentials, e.g. C:\Windows\System32\runas.exe or PsExec.exe.
IpAddressNetwork address related to the attempt, when present.

Sample event

4648 — synthetic example
EventID: 4648
TimeCreated: 2026-03-14T02:24:31.774Z
Computer: NW-FIN-WS07.northwind.local
SubjectUserName: m.okafor
SubjectDomainName: NORTHWIND
SubjectLogonId: 0x3E7A12F
TargetUserName: adm.jlopez
TargetDomainName: NORTHWIND
TargetServerName: NW-FS-02
TargetInfo: NW-FS-02
ProcessName: C:\Users\m.okafor\AppData\Local\Temp\PsExec64.exe
IpAddress: 10.20.4.15
IpPort: 445

How to triage it

  1. 1Compare SubjectUserName and TargetUserName: a standard user's session using an admin account is the core red flag.
  2. 2Check ProcessName and TargetServerName: is this an admin using runas on their own admin workstation, or an unusual tool reaching out to servers?
  3. 3Pivot to the target server for a matching 4624 (type 3 or 10) for the TargetUserName, then to 5140/5145 and 7045/4697 there for PsExec-style service creation.
  4. 4Count how many distinct target servers the same subject reached in the last few hours to gauge spread.
  5. 5Ask the account owner or the IT admin team whether they were working from that workstation; escalate if not.

Benign vs suspicious

Usually benign

  • Admins using runas or "Run as different user" to launch admin tools from their own workstation.
  • Mapping drives with alternate credentials and scheduled tasks or scripts that connect with stored credentials.
  • Backup and monitoring software that authenticates to many servers with a service account.

Red flags

  • A non-admin user's workstation using a domain admin's credentials.
  • ProcessName in Temp, AppData or a user's Downloads folder, or tools like PsExec, wmic or Impacket-style binaries.
  • One subject using explicit credentials against many servers in a short period.
  • Explicit credentials for accounts that should only be used on privileged access workstations.

Hunt for it: Splunk & KQL

Splunk SPL
index=wineventlog EventCode=4648
| where Account_Name!=Target_Account_Name
| stats dc(Target_Server_Name) AS servers values(Target_Server_Name) AS targets values(Process_Name) AS procs BY host, Account_Name, Target_Account_Name
| where servers >= 3
Sentinel KQL
SecurityEvent
| where TimeGenerated > ago(1d)
| where EventID == 4648
| where SubjectUserName != TargetUserName and not(SubjectUserName endswith "$")
| extend TargetServer = extract(@"<Data Name=\"TargetServerName\">([^<]*)<", 1, EventData)
| summarize Servers = dcount(TargetServer), Targets = make_set(TargetServer), Procs = make_set(Process) by Computer, SubjectUserName, TargetUserName
| where Servers >= 3

Field names depend on your add-on and table. More translations in the Splunk vs KQL cheat sheet.

Interview question

“What is Event ID 4648 and why does it help with lateral movement investigations?”

✓ Strong answer sketch

4648 is logged on the source machine when a process logs on with explicitly supplied credentials, like runas or PsExec with -u. Unlike 4624, which lives on the destination, it tells me which workstation the credentials were used from, which local user did it, which account's credentials were used and which server was targeted. So if a finance workstation shows 4648s using a domain admin account against several servers, I have the origin point of the lateral movement. I would then confirm on the targets with 4624 and look for service creation like 7045.

More SOC interview questions

Frequently asked questions

What does Event ID 4648 mean?

Event ID 4648 means a logon was attempted using explicit credentials, i.e. a process supplied a username and password different from the current logon session, as with runas or mapping a drive as another user.

Is Event ID 4648 logged on the source or the destination?

On the source machine where the credentials were typed or used. The destination server logs its own 4624 (or 4625) for the alternate account.