Event ID 1006: Share denied access to the client
Written on the SMB server when an authenticated client is refused by a share's permissions. Records the share, its local path, the account, the client and the access requested versus granted.
- Channel
- Microsoft-Windows-SMBServer/Security
- Logged by default
- Yes
- Written on
- Target host
- Volume
- Low
- Provider
- Microsoft-Windows-SMBServer
- 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 |
|---|---|
| ShareName | Share the client tried to open |
| SharePath | Local folder behind the share on this server |
| UserName | Account that was denied |
| ClientAddress | Client IP address and port (binary in the XML, text in the rendered message) |
| ClientName | Client name as the server sees it |
| MappedAccess | Access mask the client asked for |
| GrantedAccess | Access mask the share permissions allow this account; compare with MappedAccess to see what was refused |
Analyst notes
- 011006 is about share-level permissions, not NTFS permissions: the account authenticated but the share's own ACL refused it. NTFS denials on files inside a share do not produce this event.
- 02One account denied on many shares from the same client in a short time fits share discovery, or an attempt to reach data with an account that should not have it.
- 03It is on by default, unlike Security 5140/5145, so it can be the only server-side trace of refused share access where file share auditing is not configured. The source host records the same refusal as SMBClient 31010.
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-SMBServer/Security' -FilterXPath "*[System[(EventID=1006)]]" -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 1006 mean?
- Written on the SMB server when an authenticated client is refused by a share's permissions. Records the share, its local path, the account, the client and the access requested versus granted. It is written to the SMBServer Security log (Microsoft-Windows-SMBServer/Security).
- Is event 1006 logged by default?
- Yes, a default Windows installation records it.
- Where is event 1006 recorded?
- In the Microsoft-Windows-SMBServer/Security channel on the target host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten on the SMB server when an authenticated client is refused by a share's permissions. Records the share, its local path, the account, the client and the access requested versus granted. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.