Event ID 327: ESENT database engine detached a database
Written when the ESENT engine detaches (closes) a database. A detach completes an attach/detach cycle against a copied database.
- Channel
- Application
- Logged by default
- Yes
- Written on
- Domain controller, Any host
- Volume
- Low
- Provider
- ESENT
- 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 |
|---|---|
| Database Name | Path of the detached database |
| Process Name | Process that detached the database (rendered in the event body) |
Analyst notes
- 01A 326 (attach) and 327 (detach) pair against a copied ntds.dit in a short window describes an offline read of the AD database.
- 02Use the shared Database Name to tie 216/325/326/327 together into one copy-and-extract timeline.
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 'Application' -FilterXPath "*[System[(EventID=327)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
Where it shows up
Investigations, attack signals and lateral movement techniques that rely on this event.
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 327 mean?
- Written when the ESENT engine detaches (closes) a database. A detach completes an attach/detach cycle against a copied database. It is written to the Application log (Application).
- Is event 327 logged by default?
- Yes, a default Windows installation records it.
- Where is event 327 recorded?
- In the Application channel on the domain controller or any host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten when the ESENT engine detaches (closes) a database. A detach completes an attach/detach cycle against a copied database. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.