Event ID 326: ESENT database engine attached a database
Written when the ESENT engine attaches (opens) a database. Attaching a copy of ntds.dit from a staging path is a classic offline-extraction step.
- 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 attached database. On a DC, an attach of ntds.dit from a non-standard path is high-signal |
| Process Name | Process that attached the database (rendered in the event body) |
Analyst notes
- 01esentutl.exe or a credential-dumping tool attaching a copied ntds.dit to read it offline surfaces here.
- 02The normal ntds.dit attach by the lsass/NTDS process at boot is expected; it is an attach from an unusual path or by an unusual process that matters.
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=326)]]" -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 326 mean?
- Written when the ESENT engine attaches (opens) a database. Attaching a copy of ntds.dit from a staging path is a classic offline-extraction step. It is written to the Application log (Application).
- Is event 326 logged by default?
- Yes, a default Windows installation records it.
- Where is event 326 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 attaches (opens) a database. Attaching a copy of ntds.dit from a staging path is a classic offline-extraction step. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.