Possible Cookies Session Hijacking (via process_creation)

This rule detects execution of "curl.exe" with the "-c" flag to save cookie data.

SigmamediumWindowsv1
sigma
title: Possible Cookies Session Hijacking (via process_creation)
id: d2c52d81-af78-59ea-b340-aa8cbd3aaa19
status: stable
description: This rule detects execution of "curl.exe" with the "-c" flag to save cookie data.
references:
    - https://curl.se/docs/manpage.html
author: Huntrule Team
date: 2026-01-31
tags:
    - attack.execution
    - attack.credential-access
    - attack.t1539
logsource:
    product: windows
    category: process_creation
detection:
    selection_img:
        - Image|endswith: '\curl.exe'
        - OriginalFileName: 'curl.exe'
    selection_cli:
        - CommandLine|re: '\s-c\s'
        - CommandLine|contains: '--cookie-jar'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_curl_cookie_hijacking/info.yml

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.