2023-02-15 19:53:51 +01:00
title : File Encoded To Base64 Via Certutil.EXE
id : e62a9f0c-ca1e-46b2-85d5-a6da77f86d1a
status : test
description : Detects the execution of certutil with the "encode" flag to encode a file to base64. This can be abused by threat actors and attackers for data exfiltration
references :
2024-07-02 06:00:11 -04:00
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil
2023-02-15 19:53:51 +01:00
- https://unit42.paloaltonetworks.com/new-babyshark-malware-targets-u-s-national-security-think-tanks/
- https://lolbas-project.github.io/lolbas/Binaries/Certutil/
author : Florian Roth (Nextron Systems), Jonhnathan Ribeiro, oscd.community, Nasreddine Bencherchali (Nextron Systems)
2024-08-12 12:02:50 +02:00
date : 2019-02-24
modified : 2024-03-05
2023-02-15 19:53:51 +01:00
tags :
2024-08-12 12:02:50 +02:00
- attack.defense-evasion
2023-02-15 19:53:51 +01:00
- attack.t1027
logsource :
category : process_creation
product : windows
detection :
selection_img :
- Image|endswith : '\certutil.exe'
- OriginalFileName : 'CertUtil.exe'
selection_cli :
2024-03-11 12:01:30 +01:00
CommandLine|contains|windash : '-encode'
2023-02-15 19:53:51 +01:00
condition : all of selection_*
falsepositives :
2023-05-17 17:21:59 +02:00
- As this is a general purpose rule, legitimate usage of the encode functionality will trigger some false positives. Apply additional filters accordingly
2023-02-15 19:53:51 +01:00
level : medium