HackTool - SharPersist Execution
Detects the execution of the hacktool SharPersist - used to deploy various different kinds of persistence mechanisms
Sigma rule (View on GitHub)
1title: HackTool - SharPersist Execution
2id: 26488ad0-f9fd-4536-876f-52fea846a2e4
3status: test
4description: Detects the execution of the hacktool SharPersist - used to deploy various different kinds of persistence mechanisms
5references:
6 - https://www.mandiant.com/resources/blog/sharpersist-windows-persistence-toolkit
7 - https://github.com/mandiant/SharPersist
8author: Florian Roth (Nextron Systems)
9date: 2022-09-15
10modified: 2023-02-04
11tags:
12 - attack.privilege-escalation
13 - attack.execution
14 - attack.persistence
15 - attack.t1053
16logsource:
17 category: process_creation
18 product: windows
19detection:
20 selection_img:
21 - Image|endswith: '\SharPersist.exe'
22 - Product: 'SharPersist'
23 selection_cli_1:
24 CommandLine|contains:
25 - ' -t schtask -c '
26 - ' -t startupfolder -c '
27 selection_cli_2:
28 CommandLine|contains|all:
29 - ' -t reg -c '
30 - ' -m add'
31 selection_cli_3:
32 CommandLine|contains|all:
33 - ' -t service -c '
34 - ' -m add'
35 selection_cli_4:
36 CommandLine|contains|all:
37 - ' -t schtask -c '
38 - ' -m add'
39 condition: 1 of selection_*
40falsepositives:
41 - Unknown
42level: high
References
Related rules
- Cisco Modify Configuration
- Defrag Deactivation - Security
- HAFNIUM Exchange Exploitation Activity
- HackTool - CrackMapExec Execution Patterns
- Potential ACTINIUM Persistence Activity