Microsoft-Windows-Crypto-NCrypt › Event 4

Event ID 4 — Create Key operation failed.

Provider
Microsoft-Windows-Crypto-NCrypt
Channel
Operational
Level
Error
Task
KeyCreationFailure

Description

Create Key operation failed.

Message #

Create Key operation failed.

 Cryptographic Parameters:
 	Provider Name: %1
 	Key Name: %2
 	Algorithm Name: %3
 	Flags: %4
 Failure Information:
  	Return Code: %5

Fields #

NameDescription
ProviderName UnicodeString[Cryptographic Parameters] Provider Name.
KeyName UnicodeString[Cryptographic Parameters] Key Name.
AlgorithmName UnicodeString[Cryptographic Parameters] Algorithm Name.
Flags HexInt32[Cryptographic Parameters] Flags.
Status HexInt32[Failure Information] Return Code. NTSTATUS reference
ProcessName UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Crypto-NCrypt",
    "guid": "E8ED09DC-100C-45E2-9FC8-B53399EC1F70",
    "event_source_name": "",
    "event_id": 4,
    "version": 0,
    "level": 2,
    "task": 4,
    "opcode": 0,
    "keywords": 9223372036854775809,
    "time_created": "2023-11-06T01:47:51.933305+00:00",
    "event_record_id": 47,
    "correlation": {},
    "execution": {
      "process_id": 13296,
      "thread_id": 8852
    },
    "channel": "Microsoft-Windows-Crypto-NCrypt/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-21-1992711665-1655669231-58201500-1000"
    }
  },
  "event_data": {
    "ProviderName": "Microsoft Software Key Storage Provider",
    "KeyName": "ChromeMetricsTestKey",
    "AlgorithmName": "ECDSA_P256",
    "Flags": "0x20000",
    "Status": "0x80090029",
    "ProcessName": "chrome.exe"
  },
  "message": ""
}

References #