Event ID 53504: PowerShell started an IPC listening thread
Written when the PowerShell engine starts its named-pipe IPC listening thread for a process. Indicates a PowerShell host came up in a given process.
- Channel
- Microsoft-Windows-PowerShell/Operational
- Logged by default
- Yes
- Written on
- Any host
- Volume
- Low
- Provider
- Microsoft-Windows-PowerShell
- 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 |
|---|---|
| param1 | Process ID hosting the PowerShell engine |
| param2 | AppDomain in which the engine started |
Analyst notes
- 01Useful to spot PowerShell hosted inside an unusual process (not powershell.exe), which can indicate a .NET loader or runspace injection; corroborate with the hosting process from 4688/Sysmon 1.
- 02Confirm the field layout from the event's XML view before parsing; the analytic value is the presence of a hosted engine, not the field detail.
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-PowerShell/Operational' -FilterXPath "*[System[(EventID=53504)]]" -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 53504 mean?
- Written when the PowerShell engine starts its named-pipe IPC listening thread for a process. Indicates a PowerShell host came up in a given process. It is written to the PowerShell Operational log (Microsoft-Windows-PowerShell/Operational).
- Is event 53504 logged by default?
- Yes, a default Windows installation records it.
- Where is event 53504 recorded?
- In the Microsoft-Windows-PowerShell/Operational channel on the any host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten when the PowerShell engine starts its named-pipe IPC listening thread for a process. Indicates a PowerShell host came up in a given process. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.