Windows API reference
CryptStringToBinaryW
Decodes Base64 or hex text into binary data.
- Library
- Crypt32.dll
- Suspicion
- low
- MITRE ATT&CK
- T1140 Deobfuscate/Decode Files or Information
Detection summary
CryptStringToBinaryW has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: User-mode API not logged directly by Sysmon or standard kernel ETW; detect via static import triage, sandbox API hooking, or behavioral correlation.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Browsers, VPNs, messengers, installers, password managers and games.
Related APIs
- CryptBinaryToStringW — Crypt32.dll