Windows API reference

CryptGenKey

Generates a random symmetric or asymmetric key.

Library
Advapi32.dll
Suspicion
medium
MITRE ATT&CK
Not mapped

Detection summary

CryptGenKey has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Browsers, VPNs, messengers, installers, password managers and games.

Open CryptGenKey in the interactive atlas