Windows API reference
BCryptEncrypt
Encrypts a buffer with a CNG symmetric key.
- Library
- Bcrypt.dll
- Category
- Crypto, Ransomware
- Suspicion
- high
- MITRE ATT&CK
- T1486 Data Encrypted for Impact
Detection summary
No reviewed Sysmon/ETW event identifies BCryptEncrypt; encryption is inferred from file behavior and EDR crypto telemetry.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Correlate EDR user-mode crypto API telemetry with Sysmon 11 file writes and rapid renames or extension changes. The import alone is weak because browsers, messengers, VPNs and installers use the same API.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- MITRE ATT&CK T1486: Data Encrypted for Impact
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
Browsers, VPNs, messengers, installers, password managers and games.
Related APIs
- BCryptDecrypt — Bcrypt.dll
- BCryptGenerateSymmetricKey — Bcrypt.dll