Sigma rule: HackTool - SharPersist Execution

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-769c875e4cdd, updated 2023-02-04T00:00:00.000Z.

Rule

Title
HackTool - SharPersist Execution
Status
test
Level
high
Author
Florian Roth (Nextron Systems)
Date
2022-09-15
Modified
2023-02-04
File
rules/windows/process_creation/proc_creation_win_hktl_sharpersist.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of the hacktool SharPersist - used to deploy various different kinds of persistence mechanisms

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\SharPersist.exe'
    - Product: 'SharPersist'
selection_cli_1:
    CommandLine|contains:
        - ' -t schtask -c '
        - ' -t startupfolder -c '
selection_cli_2:
    CommandLine|contains|all:
        - ' -t reg -c '
        - ' -m add'
selection_cli_3:
    CommandLine|contains|all:
        - ' -t service -c '
        - ' -m add'
selection_cli_4:
    CommandLine|contains|all:
        - ' -t schtask -c '
        - ' -m add'
condition: 1 of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.privilege-escalation
  • attack.execution
  • attack.persistence
  • attack.t1053

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_hktl_sharpersist.yml

Sources and licences

  • SigmaHQ

    "HackTool - SharPersist Execution" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_hktl_sharpersist.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: HackTool - SharPersist Execution",
entity page, dataset version ref-769c875e4cdd, updated 2023-02-04T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/26488ad0-f9fd-4536-876f-52fea846a2e4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 26488ad0-f9fd-4536-876f-52fea846a2e4, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.