Detection rules › Sigma

HackTool - SharpUp PrivEsc Tool Execution

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

Detects the use of SharpUp, a tool for local privilege escalation

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: HackTool - SharpUp PrivEsc Tool Execution
id: c484e533-ee16-4a93-b6ac-f0ea4868b2f1
status: test
description: Detects the use of SharpUp, a tool for local privilege escalation
references:
    - https://github.com/GhostPack/SharpUp
author: Florian Roth (Nextron Systems)
date: 2022-08-20
modified: 2023-02-13
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.discovery
    - attack.execution
    - attack.stealth
    - attack.t1615
    - attack.t1569.002
    - attack.t1574.005
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image|endswith: '\SharpUp.exe'
        - Description: 'SharpUp'
        - CommandLine|contains:
              - 'HijackablePaths'
              - 'UnquotedServicePath'
              - 'ProcessDLLHijack'
              - 'ModifiableServiceBinaries'
              - 'ModifiableScheduledTask'
              - 'DomainGPPPassword'
              - 'CachedGPPPassword'
    condition: selection
falsepositives:
    - Unknown
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Image|endswith: '\SharpUp.exe'
    - Description: 'SharpUp'
    - CommandLine|contains:
          - 'HijackablePaths'
          - 'UnquotedServicePath'
          - 'ProcessDLLHijack'
          - 'ModifiableServiceBinaries'
          - 'ModifiableScheduledTask'
          - 'DomainGPPPassword'
          - 'CachedGPPPassword'

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
  • CachedGPPPassword
  • DomainGPPPassword
  • HijackablePaths
  • ModifiableScheduledTask
  • ModifiableServiceBinaries
  • ProcessDLLHijack
  • UnquotedServicePath
Descriptioneq
  • SharpUp
Imageends_with
  • \SharpUp.exe corpus 2 (sigma 2)