Event ID 4663: An attempt was made to access an object

Event ID 4663, "An attempt was made to access an object", is written to the Security log when a process uses an access right on a file, folder, registry key or other object whose SACL asks for auditing, recording the account, the object, the process and the rights used.

Security logFiles and sharesChecked 2 December 2026

What event 4663 records

Windows does not log file access by default. Two things must be in place: the relevant subcategory (Audit File System for files and folders, Audit Registry for keys, Audit Kernel Object or Audit Removable Storage for those object types) enabled, and a SACL on the object, or on a parent it inherits from, that audits the access in question. Microsoft notes that no events are generated for the default file system SACLs, so someone has to configure them.

When both are in place, 4663 records the access right actually used: ReadData, WriteData, AppendData, DELETE, WRITE_DAC and so on, with the account, its Logon ID, the full object path and the process that did it. The process name is what makes 4663 more useful than share auditing: it says which program read or wrote the file.

4656, 4663 and 4660

EventMeaningNotes
4656A handle to an object was requestedThe request and whether it was granted (success or failure); not proof the operation happened
4663An attempt was made to access an objectThe access right was actually used; success only
4660An object was deletedOnly the handle ID, not the name; Microsoft recommends 4663 with DELETE access to track deletions
4670Permissions on an object were changedOld and new security descriptor

For most investigations 4663 is the event to read: it is what was done, not what was asked for. Use 4656 when you need failed attempts (access denied), and join by Handle ID when you need to tie a 4660 deletion to a name.

Patterns that matter

  • Ransomware encryption. One process, often under one account, writing and deleting thousands of files across folders in minutes, or renaming them to a new extension.
  • Data collection. One account reading large numbers of files in a sensitive folder it rarely uses, especially by an archiver (7z, rar, PowerShell Compress-Archive) or a sync tool.
  • Sensitive single files. Reads of a password database, a key file or a finance export by an unexpected process.
  • Registry persistence. With registry auditing on Run keys or services, writes by unusual processes.
  • Credential theft. With kernel object auditing configured on LSASS, a non-system process opening it with read access.

Volume is the practical problem. Broad SACLs on busy folders produce millions of events. Audit writes and deletes broadly, reads only on the most sensitive folders, and size the Security log or forward it accordingly.

Event 4663 fields

The fields an investigator reads first, what they mean, and where Arcsentry stores them.

FieldMeaningArcsentry field
Subject: Account Name, Account Domain, Logon IDThe account whose process accessed the object.user_name, event_log_logon_id
Object Type, Object NameFile, Key, Process and so on, and the full path.$objecttype, $objectname
Handle IDLinks to the 4656 that opened the handle and any 4660 deletion.$handleid
Process ID, Process NameThe program that used the access.process_name
Accesses, Access MaskThe rights used: ReadData, WriteData, DELETE and others. Arcsentry keeps the Windows message codes, such as %%4416 ReadData, %%4417 WriteData, %%4418 AppendData and %%1537 DELETE.$accesslist, $accessmask

What event 4663 proves, and what it does not

It shows

  • That this process, under this account, used these rights on this object at this time.

It does not show

  • Anything about objects without an auditing SACL, or with the subcategory off.
  • How much was read or written; one event can cover a whole file or a few bytes.
  • Network access through a share, which is recorded on the file server by 5140 and 5145.

Attacker activity it reveals

Encrypting files

A burst of WriteData and DELETE access across many files by one process, often from a user-writable path or launched by a service. MITRE ATT&CK T1486

Staging data

Reads of many documents by an archiver, followed by a new archive file and an upload. MITRE ATT&CK T1005

Reading secrets

Access to credential stores, key files or the registry hives that hold them, by tools the user does not normally run. MITRE ATT&CK T1552.001

Finding event 4663 in Arcsentry

Arcsentry parses every channel in Windows\System32\winevt\Logs, whether it comes from an Arcsentry Collector archive, a KAPE or Velociraptor collection, or a disk image. Security log records are the event type evtx_security. In Hunt, with that event type selected:

filter event_code == "4663"
derive {proc = process_name, obj = $objectname, acc = $accesslist}
filter acc ~= "%%4417|%%1537"
group {proc} (aggregate {n = count this})
sort {-n}
take 10

The processes with the most write and delete accesses (%%4417 is WriteData and %%1537 is DELETE, the codes Windows stores in the event). In a ransomware case the encryptor is usually at the top by a wide margin.

Or ask in plain English, for example "show event 4663 on every host, oldest first", and Arcsentry shows the AQL it wrote before it runs. The AQL reference lists the operators used here, and the AI investigator reads the same events, citing each one by its event ID when it reports a finding.

Related event IDs

All events by investigation question: Windows security event IDs for incident response. Logon types in full: Windows logon types. The log files themselves: Windows event logs.

Frequently asked

What does event ID 4663 mean?

A process used an access right on an audited object, such as a file, folder or registry key. It records the account, the object path, the process and the rights used.

What is the difference between event ID 4656 and 4663?

4656 records that a handle was requested and whether it was granted. 4663 records that an access right was actually used. 4656 can be a failure; 4663 is success only.

Why is event 4663 not logged?

Because object access auditing needs both the relevant subcategory enabled (for example Audit File System) and a SACL on the object that audits the access. Windows ships with neither for ordinary files.

How do I track file deletion with event 4663?

Audit DELETE access in the folder's SACL and look for 4663 events whose Accesses include DELETE. Event 4660 also records deletions but only by handle ID, without the file name.

Sources

  • Microsoft Learn: 4663(S) An attempt was made to access an object; 4656(S, F); 4660(S); Audit File System
  • MITRE ATT&CK: T1005 Data from Local System; T1486 Data Encrypted for Impact; T1552.001 Credentials In Files

Checked 2 December 2026 by Venema Labs against Microsoft's audit documentation and, where an example is shown, the named lab case. Field availability varies by Windows version.

Find event 4663 across every host in minutes.

Load your collections, ask what happened, and check every finding against the event behind it. Free for 7 days.

Request a trial