SecurityDetailed Tracking
Event ID 5712: A Remote Procedure Call (RPC) was attempted
A Remote Procedure Call (RPC) was attempted.
- Channel
- Security
- Logged by default
- No
- Written on
- Any host
- Volume
- Low
- Audit subcategory
- RPC Events
- Needs a SACL
- No
To have this event
- Enable RPC Events:
auditpol /set /subcategory:"RPC Events" /success:enable /failure:enable
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| SubjectUserName | Account that made the RPC call |
| SubjectDomainName | Domain of the account |
| SubjectLogonId | Logon ID for correlation |
| ClientAddress | IP address of the client |
| Protocol | Protocol sequence used |
| InterfaceUuid | UUID of the RPC interface |
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=5712)]]" -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.
Common questions
- What does Windows event ID 5712 mean?
- A Remote Procedure Call (RPC) was attempted. It is written to the Windows Security log (Security).
- Is event 5712 logged by default?
- No. It must be enabled before it is recorded. It is controlled by the "RPC Events" Advanced Audit Policy subcategory (Detailed Tracking).
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderA Remote Procedure Call (RPC) was attempted. Needs the "RPC Events" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.