2019-01-16 23:36:31 +01:00
title : Suspicious Certutil Command
2019-11-12 23:12:27 +01:00
id : e011a729-98a6-4139-b5c4-bf6f6dd8239a
2019-01-16 23:36:31 +01: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-02 00:14:20 +01:00
the built-in certutil utility
2019-02-26 00:24:46 +01:00
author : Florian Roth, juju4, keepwatch
2020-01-30 16:07:37 +01:00
date : 2019 /01/16
2021-04-23 12:49:16 +02:00
modified : 2021 /04/23
2019-01-16 23:36:31 +01:00
references :
2019-03-02 00:14:20 +01:00
- https://twitter.com/JohnLaTwC/status/835149808817991680
- 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 23:36:31 +01:00
logsource :
2019-03-02 00:14:20 +01:00
category : process_creation
product : windows
2019-01-16 23:36:31 +01:00
detection :
2021-04-03 00:00:43 +02:00
parameters :
2020-10-15 18:29:56 -03:00
CommandLine|contains :
2021-04-23 12:49:16 +02:00
- ' -decode '
- ' -decodehex '
- ' -urlcache '
- ' -verifyctl '
- ' -encode '
- ' /decode '
- ' /decodehex '
- ' /urlcache '
- ' /verifyctl '
- ' /encode '
2020-11-20 02:21:55 -03:00
certutil :
2020-11-28 12:29:30 +01:00
Image|endswith : '\certutil.exe'
2020-11-20 02:21:55 -03:00
CommandLine|contains :
2020-11-28 12:29:30 +01:00
- 'URL'
- 'ping'
2021-04-03 00:00:43 +02:00
condition : parameters or certutil
2019-01-16 23:36:31 +01:00
fields :
2019-03-02 00:14:20 +01:00
- CommandLine
- ParentCommandLine
2019-01-16 23:36:31 +01:00
tags :
2019-03-02 00:14:20 +01:00
- attack.defense_evasion
- attack.t1140
2020-09-05 20:35:21 +03:00
- attack.command_and_control
2019-03-02 00:14:20 +01:00
- attack.t1105
2020-09-05 20:35:21 +03:00
- attack.s0160
2019-03-02 00:14:20 +01:00
- attack.g0007
2020-09-05 20:35:21 +03:00
- attack.g0010
- attack.g0045
- attack.g0049
- attack.g0075
2021-04-03 00:00:43 +02:00
- attack.g0096
2019-01-16 23:36:31 +01:00
falsepositives :
2019-03-02 00:14:20 +01:00
- False positives depend on scripts and administrative tools used in the monitored environment
2019-01-16 23:36:31 +01:00
level : high