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
2020-09-05 20:35:21 +03:00
modified : 2020 /09/05
2019-01-16 23:36:31 +01:00
references :
2019-03-02 00:14:20 +01: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 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 :
2019-03-02 00:14:20 +01:00
selection :
2020-10-15 18:29:56 -03:00
CommandLine|contains :
- ' -decode '
- ' /decode '
- ' -decodehex '
- ' /decodehex '
- ' -urlcache '
- ' /urlcache '
- ' -verifyctl '
- ' /verifyctl '
- ' -encode '
- ' /encode '
2020-11-20 02:21:55 -03:00
certutil :
CommandLine|contains|all :
- 'certutil'
CommandLine|contains :
- '-URL'
- '/URL'
- '-ping'
- '/ping'
condition : selection 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
- 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