Event ID 6416 — A new external device was recognized by the system.
Description
A new external device was recognized by the system.
Message #
Fields #
| Name | Description |
|---|---|
SubjectUserSid SID | [Subject] Security ID |
SubjectUserName UnicodeString | [Subject] Account Name |
SubjectDomainName UnicodeString | [Subject] Account Domain |
SubjectLogonId HexInt64 | [Subject] Logon ID |
DeviceId UnicodeString | Device ID |
DeviceDescription UnicodeString | Device Name |
ClassId GUID | Class ID |
ClassName UnicodeString | Class Name |
VendorIds UnicodeString | Vendor IDs |
CompatibleIds UnicodeString | Compatible IDs |
LocationInformation UnicodeString | Location Information |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-Security-Auditing",
"guid": "54849625-5478-4994-A5BA-3E3B0328C30D",
"event_source_name": "",
"event_id": 6416,
"version": 1,
"level": 0,
"task": 13316,
"opcode": 0,
"keywords": 9232379236109516800,
"time_created": "2022-04-04T13:11:35.388890+00:00",
"event_record_id": 28470,
"correlation": {},
"execution": {
"process_id": 4,
"thread_id": 340
},
"channel": "Security",
"computer": "WIN-TKC15D7KHUR",
"security": {
"user_id": ""
}
},
"event_data": {
"SubjectUserSid": "S-1-5-18",
"SubjectUserName": "WIN-TKC15D7KHUR$",
"SubjectDomainName": "WORKGROUP",
"SubjectLogonId": "0x3e7",
"DeviceId": "SWD\\PRINTENUM\\{3AEC7D2D-F29E-48EB-A851-2E9DF0B72EDC}",
"DeviceDescription": "Microsoft Print to PDF",
"ClassId": "1ED2BBF9-11F0-4084-B21F-AD83A8E6DCDC",
"ClassName": "PrintQueue",
"VendorIds": "\r\n\t\tPRINTENUM\\{084f01fa-e634-4d77-83ee-074817c03581}\r\n\t\tPRINTENUM\\LocalPrintQueue\r\n\t\t{084f01fa-e634-4d77-83ee-074817c03581}\r\n\t\t\r\n\t\t",
"CompatibleIds": "\r\n\t\tGenPrintQueue\r\n\t\tSWD\\GenericRaw\r\n\t\tSWD\\Generic\r\n\t\t\r\n\t\t",
"LocationInformation": "-"
},
"message": ""
}
Detection Rules #
View all rules referencing this event →
Sigma # view in reference
- External Disk Drive Or USB Storage Device Was Recognized By The System source low: Detects external disk drives or plugged-in USB devices.
References #
- Microsoft Learn https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-6416
- Microsoft Learn Audit Policy https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/audit-pnp-activity
- Ultimate Windows Security https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=6416
- Example event sourced from https://github.com/NextronSystems/evtx-baseline