2019-01-16 22:36:31 +00:00
title : Suspicious Certutil Command
2019-11-12 22:12:27 +00:00
id : e011a729-98a6-4139-b5c4-bf6f6dd8239a
2019-01-16 22:36:31 +00:00
status : experimental
description : Detects a suspicious Microsoft certutil execution with sub commands like 'decode' sub command, which is sometimes used to decode malicious code with
2019-03-01 23:14:20 +00:00
the built-in certutil utility
2019-02-25 23:24:46 +00:00
author : Florian Roth, juju4, keepwatch
2020-01-30 15:07:37 +00:00
date : 2019 /01/16
2020-11-28 11:29:30 +00:00
modified : 2020 /11/28
2019-01-16 22:36:31 +00:00
references :
2019-03-01 23:14:20 +00:00
- https://twitter.com/JohnLaTwC/status/835149808817991680
- https://twitter.com/subTee/status/888102593838362624
- 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/
- https://twitter.com/egre55/status/1087685529016193025
- https://lolbas-project.github.io/lolbas/Binaries/Certutil/
2019-01-16 22:36:31 +00:00
logsource :
2019-03-01 23:14:20 +00:00
category : process_creation
product : windows
2019-01-16 22:36:31 +00:00
detection :
2020-11-28 11:29:30 +00:00
suffixes_1 :
CommandLine|contains :
- ' -'
- ' /'
2019-03-01 23:14:20 +00:00
selection :
2020-10-15 21:29:56 +00:00
CommandLine|contains :
2020-11-28 11:29:30 +00:00
- 'decode '
- 'decodehex '
- 'urlcache '
- 'verifyctl '
- 'encode '
suffixes_2 :
CommandLine|contains :
- '-'
- '/'
2020-11-20 05:21:55 +00:00
certutil :
2020-11-28 11:29:30 +00:00
Image|endswith : '\certutil.exe'
2020-11-20 05:21:55 +00:00
CommandLine|contains :
2020-11-28 11:29:30 +00:00
- 'URL'
- 'ping'
condition : suffixes_1 and selection or
suffixes_2 and certutil
2019-01-16 22:36:31 +00:00
fields :
2019-03-01 23:14:20 +00:00
- CommandLine
- ParentCommandLine
2019-01-16 22:36:31 +00:00
tags :
2019-03-01 23:14:20 +00:00
- attack.defense_evasion
- attack.t1140
2020-09-05 17:35:21 +00:00
- attack.command_and_control
2019-03-01 23:14:20 +00:00
- attack.t1105
2020-09-05 17:35:21 +00:00
- attack.s0160
2019-03-01 23:14:20 +00:00
- attack.g0007
2020-09-05 17:35:21 +00:00
- attack.g0010
- attack.g0045
- attack.g0049
- attack.g0075
- attack.g0096
2019-01-16 22:36:31 +00:00
falsepositives :
2019-03-01 23:14:20 +00:00
- False positives depend on scripts and administrative tools used in the monitored environment
2019-01-16 22:36:31 +00:00
level : high