Skip to main content

Wolfcore Cyber Security

Windows Event ID 4663: What It Means and How to Use It

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 24 November 2026. Part of Detection, monitoring and response.

In one sentence: Event 4663 is a Windows log entry that records that someone actually used a file, folder or registry key you chose to watch, and tells you who, which program and what they did.

What it is

Microsoft describes Event 4663 as indicating that a specific operation was performed on an object. The object can be a file system, kernel or registry object, or a file on removable storage. It sits in the Security log.

Two things catch people out.

First, it is not on by default for your files. Microsoft says the event is generated only if the object’s SACL has the required entry. A SACL is the auditing rule attached to a file or folder that says which accesses to record. No rule, no event.

Second, it only records successes. Microsoft says 4663 shows that an access right was used, rather than just requested, and that 4663 has no Failure events. The related event 4656 records the request.

Microsoft lists four audit subcategories that produce it: Audit File System, Audit Kernel Object, Audit Registry and Audit Removable Storage.

How it works

  1. You switch on the relevant audit subcategory in Advanced Audit Policy (for files, Audit File System).
  2. You add an auditing entry (SACL) to the folder or registry key you care about, choosing which users and which actions to record.
  3. When someone uses that access, Windows writes a 4663 on the machine that holds the object.
  4. The event records: – Subject: the account (Security ID, name, domain) and a Logon ID you can match to the sign-in event 4624. – Object: the type, the name (for a file, the path) and a handle ID. – Process Information: the program that did it (Process Name and ID). – Access Request Information: what was done, such as WriteData, DELETE or WRITE_DAC, and the access mask.

For an attack, this is the record of what an attacker, or a ransomware process running as a user, did to your files after they got in.

1. Audit policy switched on 2. SACL set on the folder 3. Someone uses the access 4. Event 4663 in Security log Break any step and you get no event.

Who it affects and how badly

This is a detection tool, so the risk is having nothing to look at. Businesses with file servers holding client or patient records get the most from it: accountancy and legal practices, healthcare and care providers, schools, recruitment and estate agents, and the MSPs that look after them.

Illustrative worst cases of having no file auditing: – Small business: you cannot tell which files were opened or deleted, so you cannot prove what was lost. – Mid-sized business: you cannot show a client or regulator which records an intruder touched, which makes notification decisions harder. – Regulated business: weaker evidence for investigations under data protection law in the UK, EU or US.

Real examples

This page is about a log source, so there is no single named incident to cite. Microsoft’s own Event 4663 documentation includes a sample event showing a user opening a file in Notepad, which is a good way to learn the fields: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4663

What we check on a test

During an engagement, a tester looks at logging from the attacker’s side. We ask: – Would reading, changing or deleting sensitive folders have left a record at all? – Is auditing set on the folders that matter, or only on the system defaults? – Are the logs kept somewhere an intruder with admin rights on one server cannot simply clear? – Does anyone review them?

We report what was and was not visible. We do not claim a result for any client.

How to detect it

Using 4663 is about choosing what to watch. Microsoft’s own monitoring recommendations include: – Critical file system objects: monitor the event for the Object Name. For certain actions only, watch Object Name together with Accesses. – Write-type rights: for file objects Microsoft recommends watching WriteData, AppendData, WriteEA, DeleteChild, WriteAttributes, DELETE, WRITE_DAC and WRITE_OWNER. – Unexpected programs: if you know which Process Name should touch an object, alert on any other. Alert if the process is outside standard folders such as System32 or Program Files. – Known bad names: if you keep a list of restricted words, such as “mimikatz”, check them in Process Name. – Registry keys: for a sensitive key, watch for write access. – Microsoft says 4663 on kernel objects has little security value and recommends no auditing of them unless you know exactly why.

Practical points (our advice, not from the Microsoft page): the event is written on the machine that holds the object, so collect logs from your file servers. Event Viewer’s Security log filter is enough to start. For Active Directory objects, the matching event is 4662 on domain controllers (see How DCSync works).

How to fix or prevent it

  1. Decide the few folders and keys worth auditing: finance, HR, client records, backup configuration.
  2. Switch on Audit File System (and Audit Registry if needed) in Advanced Audit Policy.
  3. Add a narrow SACL to those folders. Record only the write and delete rights Microsoft lists, not every read.
  4. Send the Security log from file servers to a central place or SIEM, so one compromised server cannot erase the evidence.
  5. Alert on spikes of writes or deletes by one account, and on writes from unexpected processes.
  6. Watch for audit policy changes (event 4719), because a change there can mean auditing was switched off.
  7. Review volume after a week and tighten the rules. Over-broad auditing buries the signal.

Related terms

Event 4688 process creation, Events 5140 and 5145 share access, Event 4719 audit policy changed, Indicators of compromise, Mimikatz, How DCSync works

FAQ

Why do I see no 4663 events? Microsoft says the event is generated only if the object has a SACL with the matching entry, so the audit policy and the folder rule both have to be set.

Does 4663 log failed attempts? No. Microsoft says 4663 does not have Failure events. It shows that an access right was used.

How is it different from 4656? Microsoft says 4656 is a request for a handle to the object, while 4663 shows the access right was actually used.

How Wolfcore helps

Wolfcore’s vulnerability management and SOC monitoring keep watch for this after the test is over. See SOC and SIEM monitoring. To see what an attacker could reach and whether you would notice, see our penetration testing. Prices are on our pricing page.

Wolfcore

Would your staff click a phishing email?

Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.

Start a free phishing testFree website security scanor book a 30 minute call