Elastic Defend high stable eql

Payload Decoded via CertUtil

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.

View Source

Detection Logic

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\"") and
 not (process.parent.name : "cmd.exe" and
      process.args : "?:\\Windows\\System32\\rustdesk_install_*.bat.*")

Field Validations

Loading…

Comments (0)

Loading comments...