Detection rules › Sigma

Potential Cookies Session Hijacking

Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects execution of "curl.exe" with the "-c" flag in order to save cookie data.

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Image|endswith: '\curl.exe'
OriginalFileName: curl.exe

Stage 2: all of selection_cli

or:
CommandLine|contains: --cookie-jar
CommandLine|re: '\s-c\s'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • --cookie-jar
CommandLineregex_match
  • \s-c\s
Imageends_with
  • \curl.exe corpus 19 (sigma 19)
OriginalFileNameeq
  • curl.exe corpus 11 (sigma 11)