Payload Decoded via CertUtil
Description
Identifies when attempts to decode file or information using the Microsoft built-in CertUtil utility. malware droppers may leverage this technique to deobfuscate embedded malicious resources.
Query · eql
process where event.action == "start" and
(process.name : "certutil.exe" or process.pe.original_file_name == "CertUtil.exe") and
process.args : ("-decode", "-decodehex") and
not (user.id : "S-1-5-18" and process.args : "-decode" and
process.parent.args : "?:\\ProgramData\\CentraStage\\AEMAgent\\Temp\\*.bat") and
not (user.id : "S-1-5-18" and process.command_line : "certutil -decode getSignatureInfo.base64 getSignatureInfo.ps1 ") and
not process.command_line :
("certutil -f -decode C:\\WINDOWS\\Temp\\csat\\csat_dwnldr.txt C:\\WINDOWS\\Temp\\csat\\csat_dwnldr.exe",
"certutil -decode \"c:\\HVworking\\checkSignature.base64\" \"c:\\HVworking\\checkSignature.bat\"")