Detection rules › Sigma

HackTool - CoercedPotato Execution

Status
test
Severity
high
Log source
product windows, category process_creation
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the use of CoercedPotato, a tool for privilege escalation

MITRE ATT&CK coverage

TacticTechniques
Privilege EscalationT1055 Process Injection
StealthT1055 Process Injection

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: HackTool - CoercedPotato Execution
id: e8d34729-86a4-4140-adfd-0a29c2106307
status: test
description: Detects the use of CoercedPotato, a tool for privilege escalation
references:
    - https://github.com/hackvens/CoercedPotato
    - https://blog.hackvens.fr/articles/CoercedPotato.html
author: Florian Roth (Nextron Systems)
date: 2023-10-11
modified: 2024-11-23
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1055
logsource:
    category: process_creation
    product: windows
detection:
    selection_loader_img:
        Image|endswith: '\CoercedPotato.exe'
    selection_params:
        CommandLine|contains: ' --exploitId '
    selection_loader_imphash:
        Hashes|contains:
            - 'IMPHASH=A75D7669DB6B2E107A44C4057FF7F7D6'
            - 'IMPHASH=F91624350E2C678C5DCBE5E1F24E22C9'
            - 'IMPHASH=14C81850A079A87E83D50CA41C709A15'
    condition: 1 of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_loader_img

selection_loader_img:
    Image|endswith: '\CoercedPotato.exe'

Stage 2: selection_params

selection_params:
    CommandLine|contains: ' --exploitId '

Stage 3: selection_loader_imphash

selection_loader_imphash:
    Hashes|contains:
        - 'IMPHASH=A75D7669DB6B2E107A44C4057FF7F7D6'
        - 'IMPHASH=F91624350E2C678C5DCBE5E1F24E22C9'
        - 'IMPHASH=14C81850A079A87E83D50CA41C709A15'

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
  • --exploitId
Hashesmatch
  • IMPHASH=14C81850A079A87E83D50CA41C709A15
  • IMPHASH=A75D7669DB6B2E107A44C4057FF7F7D6
  • IMPHASH=F91624350E2C678C5DCBE5E1F24E22C9
Imageends_with
  • \CoercedPotato.exe corpus 2 (sigma 2)