Event ID 4663

An attempt was made to access an object

An attempt was made to access an object.

Subject:
    Security ID:         %1
    Account Name:        %2
    Account Domain:      %3
    Logon ID:            %4

Object:
    Object Server:       %5
    Object Type:         %6
    Object Name:         %7
    Handle ID:           %8
    Resource Attributes: %13 [Windows 8/2012+]

Process Information:
    Process ID:          %11
    Process Name:        %12

Access Request Information:
    Accesses:            %9
    Access Mask:         %10


An operation was performed on either a file system, kernel, registry object, or a file system object on removable storage or a device.

Note: Auditing will still need to be set on the actual target objects (e.g. folder, registry key, ...) to actually generate this event. Right-click the object, and select Properties -> Security -> Advanced -> Auditing and add the desired audit settings.

Removable Storage: In order to audit write activity on removable storage, the HotplugSecureOpen DWORD registry value will need to be created/set to 1 on newer Windows 10 editions (reboot required):

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Storage\HotplugSecureOpen (DWORD -> 1)

Auditing:     Always

It's always recommended to enable this audit category, since the actual events are only generated when auditing on an object (e.g. directory) is enabled.


Volume:

The volume entirely depends on the amount of objects (e.g. files) with auditing enabled along with the frequency of audit-able access of those objects.


CJIS 5.04.1.1.2.d

How to detect & defeat malware using event 4663.


Microsoft Documentation

Event ID - 4663



NameFieldInsertion StringOSExample
Security IDSubjectUserSid%1Any DOMAIN\Username
Account NameSubjectUserName%2Any Username
Account DomainSubjectDomainName%3Any DOMAIN
Logon IDSubjectLogonId%4Any 0x4897B
Object ServerObjectServer%5Any Security
Object TypeObjectType%6Any File
Object NameObjectName%7Any C:\Windows\System32\eventvwr.exe
Handle IDHandleId%8Any 0x1bc
AccessesAccessList%9Any View Codes
AccessMaskAccessMask%10Any 0x2
Process IDProcessId%11Any 0x8745
Process NameProcessName%12Any C:\Windows\System32\notepad.exe
ResourceAttributesResource Attributes%13Win8/2012+ S:AI(RA;ID;;;;WD;("Impact\_MS",TI,0x10020,3000))


Lookup Audit Policy Configuration Settings

C:\> AuditPol.exe /get /category:"Object Access"



LEFT/RIGHT arrow keys for navigation

Back to List