Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
SharpStay — .NET tool for installing Windows persistence via registry keys, scheduled tasks, services, WMI events, COM hijacks, and LNK backdoors, supporting both elevated and non-elevated contexts. | Kitploit
Tools/GitHubGitHub/0xthirteen/sharpstay
Persistence MechanismsPost-ExploitationPenetration TestingRed Teaming
GitHub0xthirteen/sharpstay

SharpStay

.NET tool for installing Windows persistence via registry keys, scheduled tasks, services, WMI events, COM hijacks, and LNK backdoors, supporting both elevated and non-elevated contexts.

View Repository
4981002 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

SharpStay - .NET Persistence

Building

To compile open Visual Studio project and compile for release.

Options

  • Elevated Registry Keys

  • Elevated UserInit Registry Key

  • Elevated Scheduled Task

  • Elevated Create Service

  • Elevated WMI Event Subscription

  • Non-Elevated InitMprLogonScript Registry Key

  • Non-Elevated Scheduled Task COM Handler Hijack

  • Non-Elevated Junction Folder

  • Misc Add Scheduled Task Action

  • Misc Startup Directory

  • Misc New LNK

  • Misc Backdoor LNK

  • Misc Task Names

  • Misc List Scheduled Tasks

  • Misc List Running Services

  • Misc Get Scheduled Task COM Handlers

root@kitploit:~
Sharpstay.exe action=ElevatedRegistryKey keyname=Debug keypath=HKCU:Software\Microsoft\Windows\CurrentVersion\Run command="C:\Windows\temp\fun.exe"
root@kitploit:~
Sharpstay.exe action=UserRegistryKey keyname=Debug keypath=HKCU:Software\Microsoft\Windows\CurrentVersion\Run command="C:\Windows\temp\fun.exe"
root@kitploit:~
Sharpstay.exe action=UserInitMprLogonScriptKey command="C:\Windows\temp\fun.exe"
root@kitploit:~
Sharpstay.exe action=ElevatedUserInitKey command="C:\Windows\temp\fun.exe"
root@kitploit:~
Sharpstay.exe action=ScheduledTask taskname=TestTask command="C:\windows\temp\file.exe" runasuser=user1 triggertype=logon author=Microsoft Corp. description="Test Task" logonuser=user1
root@kitploit:~
Sharpstay.exe action=ScheduledTaskAction taskname=TestTask command="C:\Windows\temp\fun.exe" folder="\\" actionid=ExecAction
root@kitploit:~
Sharpstay.exe action=SchTaskCOMHijack clsid={a47af52a-27f9-4426-bd2b-727050712db1} dllpath="C:\windows\temp\fun.dll"
root@kitploit:~
Sharpstay.exe action=CreateService servicename=TestService command="C:\Windows\temp\fun.exe"
root@kitploit:~
Sharpstay.exe action=WMIEventSub command="C:\Windows\temp\fun.exe" eventname=Debugger attime=startup 
root@kitploit:~
Sharpstay.exe action=JunctionFolder dllpath="C:\windows\temp\fun.dll guid={a47af52a-27f9-4426-bd2b-727050712db1}
root@kitploit:~
Sharpstay.exe action=NewLNK filepath="C:\users\admin\desktop" lnkname="Notepad.lnk" lnktarget="C:\Windows\temp\file.exe" lnkicon="C:\Windows\system32\notepad.exe"
root@kitploit:~
Sharpstay.exe action=BackdoorLNK command="C:\Windows\temp\fun.exe" lnkpath="C:\users\user\desktop\Excel.lnk"
root@kitploit:~
Sharpstay.exe action=ListTaskNames
root@kitploit:~
Sharpstay.exe action=ListScheduledTasks
root@kitploit:~
Sharpstay.exe action=ListRunningServices
root@kitploit:~
Sharpstay.exe action=GetScheduledTaskCOMHandler

cleanup=true is an option for each persistence type.

Part of StayKit

Download Tool