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.
Where it is logged
Key fields to read
| Field | What it tells you |
|---|---|
| SubjectUserName | Account already logged on that initiated the action. |
| TargetUserName | Account whose credentials were explicitly supplied (with TargetDomainName). |
| TargetServerName | Server the credentials were used against; localhost for local runas. |
| TargetInfo | Additional target information, often an SPN-style value such as cifs/NW-FS-02. |
| ProcessName | Process that used the credentials, e.g. C:\Windows\System32\runas.exe or PsExec.exe. |
| IpAddress | Network address related to the attempt, when present. |
Sample event
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: 445How to triage it
- 1Compare
SubjectUserNameandTargetUserName: a standard user's session using an admin account is the core red flag. - 2Check
ProcessNameandTargetServerName: is this an admin usingrunason their own admin workstation, or an unusual tool reaching out to servers? - 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. - 4Count how many distinct target servers the same subject reached in the last few hours to gauge spread.
- 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
runasor "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.
ProcessNameinTemp,AppDataor a user's Downloads folder, or tools like PsExec,wmicor 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
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 >= 3SecurityEvent
| 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 >= 3Field 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.
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.