Detects the use of SharpUp, a tool for local privilege escalation
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
imProcessCreate
| where TargetProcessName endswith "\\SharpUp.exe" or TargetProcessFileDescription =~ "SharpUp" or (TargetProcessCommandLine contains "HijackablePaths" or TargetProcessCommandLine contains "UnquotedServicePath" or TargetProcessCommandLine contains "ProcessDLLHijack" or TargetProcessCommandLine contains "ModifiableServiceBinaries" or TargetProcessCommandLine contains "ModifiableScheduledTask" or TargetProcessCommandLine contains "DomainGPPPassword" or TargetProcessCommandLine contains "CachedGPPPassword")
| Sentinel Table | Notes |
|---|---|
imProcessCreate | Ensure this data connector is enabled |