Microsoft-Windows-Security-Auditing › Event 4658

Event ID 4658 — The handle to an object was closed.

Provider
Microsoft-Windows-Security-Auditing
Channel
Security
Audit Policy
Object Access → File System
Collection Priority
Recommended (Yamato Security, others)
Opcode
Info

Description

The handle to an object was closed.

Message #

The handle to an object was closed.

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

Object:
	Object Server: %5
	Handle ID: %6

Process Information:
	Process ID: %7
	Process Name: %8

Fields #

NameDescription
Security_ID[Subject] Security ID.
Account_Name[Subject] Account Name.
Account_Domain[Subject] Account Domain.
Logon_ID[Subject] Logon ID.
Object_Server[Object] Object Server.
Handle_ID[Object] Handle ID.
Process_ID[Process Information] Process ID.
Process_Name[Process Information] Process Name.

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Security-Auditing",
    "guid": "54849625-5478-4994-A5BA-3E3B0328C30D",
    "event_source_name": "",
    "event_id": 4658,
    "version": 0,
    "level": 0,
    "task": 12804,
    "opcode": 0,
    "keywords": 9232379236109516800,
    "time_created": "2017-06-12T23:39:43.512986Z",
    "event_record_id": 8076,
    "correlation": {},
    "execution": {
      "process_id": 4,
      "thread_id": 252
    },
    "channel": "Security",
    "computer": "2012r2srv.maincorp.local",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "SubjectUserSid": "S-1-5-21-2634088540-571122920-1382659128-500",
    "SubjectUserName": "Administrator",
    "SubjectDomainName": "MAINCORP",
    "SubjectLogonId": "0x432c8",
    "ObjectServer": "Security Account Manager",
    "HandleId": "0xc9774b43b0",
    "ProcessId": "0x1f0",
    "ProcessName": "C:\\Windows\\System32\\lsass.exe"
  }
}

Detection Patterns #

References #