Skip to content

Commit 43b6fae

Browse files
RiqTamnasbenchswachchhanda000frack113
authored
Merge PR SigmaHQ#5727 from @RiqTam - Fix rule to detect downloads via CertReq
fix: Suspicious Certreq Command to Download - remove spaces and specific path from detection --------- Co-authored-by: Nasreddine Bencherchali <8741929+nasbench@users.noreply.github.com> Co-authored-by: Swachchhanda Shrawan Poudel <87493836+swachchhanda000@users.noreply.github.com> Co-authored-by: frack113 <62423083+frack113@users.noreply.github.com>
1 parent 251be1e commit 43b6fae

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
title: Suspicious CertReq Command to Download
2+
id: 4480827a-9799-4232-b2c4-ccc6c4e9e12b
3+
status: experimental
4+
description: |
5+
Detects a suspicious CertReq execution downloading a file.
6+
This behavior is often used by attackers to download additional payloads or configuration files.
7+
Certreq is a built-in Windows utility used to request and retrieve certificates from a certification authority (CA). However, it can be abused by threat actors for malicious purposes.
8+
references:
9+
- https://lolbas-project.github.io/lolbas/Binaries/Certreq/
10+
author: Christian Burkard (Nextron Systems)
11+
date: 2021-11-24
12+
modified: 2025-10-29
13+
tags:
14+
- attack.command-and-control
15+
- attack.t1105
16+
logsource:
17+
category: process_creation
18+
product: windows
19+
detection:
20+
selection_img:
21+
- Image|endswith: '\certreq.exe'
22+
- OriginalFileName: 'CertReq.exe'
23+
selection_cli_flag_post:
24+
CommandLine|contains|windash: '-Post'
25+
selection_cli_flag_config:
26+
CommandLine|contains|windash: '-config'
27+
selection_cli_http:
28+
CommandLine|contains: 'http'
29+
condition: all of selection_*
30+
falsepositives:
31+
- Unlikely
32+
level: high

rules/windows/process_creation/proc_creation_win_lolbin_susp_certreq_download.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)