2018-12-11 15:10:15 +00:00
---
action : global
2017-07-20 18:38:10 +00:00
title : Suspicious Certutil Command
2017-03-02 10:28:34 +00:00
status : experimental
2018-07-09 18:32:16 +00:00
description : Detects a suspicious Microsoft certutil execution with sub commands like 'decode' sub command, which is sometimes used to decode malicious code with the built-in certutil utility
2018-06-27 07:20:20 +00:00
author : Florian Roth, juju4
2019-01-22 15:20:06 +00:00
modified : 2019 /01/22
2018-01-27 23:24:16 +00:00
references :
2017-07-20 18:48:47 +00:00
- https://twitter.com/JohnLaTwC/status/835149808817991680
- https://twitter.com/subTee/status/888102593838362624
2017-08-01 22:04:28 +00:00
- https://twitter.com/subTee/status/888071631528235010
- https://blogs.technet.microsoft.com/pki/2006/11/30/basic-crl-checking-with-certutil/
- https://www.trustedsec.com/2017/07/new-tool-release-nps_payload/
2019-01-22 15:20:06 +00:00
- https://twitter.com/egre55/status/1087685529016193025
2018-12-11 15:10:15 +00:00
detection :
condition : selection
fields :
- CommandLine
- ParentCommandLine
tags :
- attack.defense_evasion
- attack.t1140
- attack.s0189
- attack.g0007
falsepositives :
- False positives depend on scripts and administrative tools used in the monitored environment
level : high
---
2017-03-02 10:28:34 +00:00
logsource :
2017-03-13 08:23:08 +00:00
product : windows
service : sysmon
2017-03-02 10:28:34 +00:00
detection :
selection :
EventID : 1
2017-08-01 22:04:28 +00:00
CommandLine :
2018-09-23 18:28:05 +00:00
- '*certutil * -decode *'
- '*certutil * -decodehex *'
2019-01-22 15:20:06 +00:00
- '* -urlcache * http*'
- '* -urlcache * ftp*'
- '* -verifyctl * http*'
- '* -verifyctl * ftp*'
2018-09-23 18:28:05 +00:00
- '*certutil *-URL*'
- '*certutil *-ping*'
2018-09-23 18:57:34 +00:00
- '*certutil.exe * -decode *'
- '*certutil.exe * -decodehex *'
- '*certutil.exe *-URL*'
- '*certutil.exe *-ping*'
2018-12-11 15:10:15 +00:00
---
logsource :
product : windows
service : security
definition: 'Requirements: Audit Policy : Detailed Tracking > Audit Process creation, Group Policy : Administrative Templates\System\Audit Process Creation'
detection :
selection :
EventID : 4688
ProcessCommandLine :
- '*certutil * -decode *'
- '*certutil * -decodehex *'
2019-01-22 15:20:06 +00:00
- '* -urlcache * http*'
- '* -urlcache * ftp*'
- '* -verifyctl * http*'
- '* -verifyctl * ftp*'
2018-12-11 15:10:15 +00:00
- '*certutil *-URL*'
- '*certutil *-ping*'
- '*certutil.exe * -decode *'
- '*certutil.exe * -decodehex *'
- '*certutil.exe *-URL*'
- '*certutil.exe *-ping*'