Event ID 9705: Started enumeration of a Run or RunOnce key
Written by Explorer at logon when it starts reading the commands under a Run or RunOnce registry key. Records which key is being processed, which tells you where the 9707 commands that follow came from.
- Channel
- Microsoft-Windows-Shell-Core/Operational
- Logged by default
- Yes
- Written on
- Any host
- Volume
- Low
- Provider
- Microsoft-Windows-Shell-Core
- Needs a SACL
- No
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| KeyName | Registry key Explorer is enumerating, such as the machine-wide (HKLM) or per-user (HKCU) Run or RunOnce key |
Analyst notes
- 019705 is a marker, not evidence of a specific program. Its value is context: the 9707 events that follow it, up to the matching 9706 for the same key, generally belong to that key.
- 02A per-user key points to persistence that only fires for that user; a machine-wide key fires for every user who logs on and needs administrative rights to set.
- 03Explorer processes these keys when the user's desktop starts, so 9705 also gives a rough time for the start of an interactive session. Pair it with Security 4624 for the same user.
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 'Microsoft-Windows-Shell-Core/Operational' -FilterXPath "*[System[(EventID=9705)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
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.
Related events
Common questions
- What does Windows event ID 9705 mean?
- Written by Explorer at logon when it starts reading the commands under a Run or RunOnce registry key. Records which key is being processed, which tells you where the 9707 commands that follow came from. It is written to the Shell-Core Operational log (Microsoft-Windows-Shell-Core/Operational).
- Is event 9705 logged by default?
- Yes, a default Windows installation records it.
- Where is event 9705 recorded?
- In the Microsoft-Windows-Shell-Core/Operational channel on the any host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten by Explorer at logon when it starts reading the commands under a Run or RunOnce registry key. Records which key is being processed, which tells you where the 9707 commands that follow came from. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.