Event ID 4664 — An attempt was made to create a hard link.
Description
An attempt was made to create a hard link.
Message #
Fields #
| Name | Description |
|---|---|
SubjectUserSid SID | [Subject] Account Name. |
SubjectUserName UnicodeString | [Subject] Account Name. |
SubjectDomainName UnicodeString | [Subject] Account Domain. |
SubjectLogonId HexInt64 | [Subject] Logon ID. |
FileName UnicodeString | [Link Information] File Name. |
LinkName UnicodeString | [Link Information] Link Name. |
TransactionId GUID | [Link Information] Transaction ID. |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-Security-Auditing",
"guid": "54849625-5478-4994-A5BA-3E3B0328C30D",
"event_source_name": "",
"event_id": 4664,
"version": 0,
"level": 0,
"task": 12800,
"opcode": 0,
"keywords": 9232379236109516800,
"time_created": "2023-11-06T01:40:05.111192+00:00",
"event_record_id": 275147,
"correlation": {},
"execution": {
"process_id": 4,
"thread_id": 8800
},
"channel": "Security",
"computer": "WinDev2310Eval",
"security": {
"user_id": ""
}
},
"event_data": {
"SubjectUserSid": "S-1-5-18",
"SubjectUserName": "WINDEV2310EVAL$",
"SubjectDomainName": "WORKGROUP",
"SubjectLogonId": "0x3e7",
"FileName": "C:\\Program Files\\WindowsApps\\Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x64__8wekyb3d8bbwe\\zh-TW\\Microsoft.UI.Xaml.Phone.dll.mui",
"LinkName": "C:\\Program Files\\WindowsApps\\Microsoft.WindowsAppRuntime.1.2_2000.802.31.0_x86__8wekyb3d8bbwe\\zh-TW\\Microsoft.UI.Xaml.Phone.dll.mui",
"TransactionId": "00000000-0000-0000-0000-000000000000"
},
"message": ""
}
References #
- Microsoft Learn https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4664
- Microsoft Learn Audit Policy https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/audit-file-system
- Ultimate Windows Security https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4664
- Example event sourced from https://github.com/NextronSystems/evtx-baseline