Windows Process: certutil.exe Download From Direct IP Using urlcache/verifyctl Flags

Alerts when certutil.exe is launched with direct-IP download indicators and download-capable certutil flags.

FreeUnreviewedSigmahighv1
title: "Windows Process: certutil.exe Download From Direct IP Using urlcache/verifyctl Flags"
id: 046b561d-164b-45c8-ba17-8948d9a5a275
related:
  - id: 19b08b1c-861d-4e75-a1ef-ea0c1baf202b
    type: similar
  - id: 42a5f1e7-9603-4f6d-97ae-3f37d130d794
    type: similar
  - id: 13e6fe51-d478-4c7e-b0f2-6da9b400a829
    type: derived
status: test
description: This rule flags process creation events where certutil.exe is executed with command-line arguments consistent with downloading content from direct IP addresses. Attackers commonly use certutil.exe as a living-off-the-land utility to pull external payloads while blending into normal administrative tooling. Detection relies on Windows process creation telemetry, specifically the executed image and the presence of certutil download-related flags and direct-IP URL patterns in the command line.
references:
  - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil
  - https://forensicitguy.github.io/agenttesla-vba-certutil-download/
  - https://news.sophos.com/en-us/2021/04/13/compromised-exchange-server-hosting-cryptojacker-targeting-other-exchange-servers/
  - https://twitter.com/egre55/status/1087685529016193025
  - https://lolbas-project.github.io/lolbas/Binaries/Certutil/
  - https://twitter.com/_JohnHammond/status/1708910264261980634
  - https://www.hexacorn.com/blog/2020/08/23/certutil-one-more-gui-lolbin
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_certutil_download_direct_ip.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2023-02-15
modified: 2025-12-01
tags:
  - attack.stealth
  - attack.t1027
  - attack.command-and-control
  - attack.t1105
logsource:
  category: process_creation
  product: windows
detection:
  selection_img:
    - Image|endswith: \certutil.exe
    - OriginalFileName: CertUtil.exe
  selection_flags:
    CommandLine|contains:
      - "urlcache "
      - "verifyctl "
      - "URL "
  selection_http:
    CommandLine|contains:
      - ://1
      - ://2
      - ://3
      - ://4
      - ://5
      - ://6
      - ://7
      - ://8
      - ://9
  filter_main_seven_zip:
    CommandLine|contains: ://7-
  condition: all of selection_* and not 1 of filter_main_*
falsepositives:
  - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_certutil_download_direct_ip/info.yml
license: DRL-1.1

What it detects

This rule flags process creation events where certutil.exe is executed with command-line arguments consistent with downloading content from direct IP addresses. Attackers commonly use certutil.exe as a living-off-the-land utility to pull external payloads while blending into normal administrative tooling. Detection relies on Windows process creation telemetry, specifically the executed image and the presence of certutil download-related flags and direct-IP URL patterns in the command line.

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.