Need help with StayKit?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

0xthirteen
238 Stars 44 Forks GNU General Public License v3.0 2 Commits 1 Opened issues

Description

Cobalt Strike kit for Persistence

Services available

!
?

Need anything else?

Contributors list

# 234,998
C#
1 commit

StayKit - Cobalt Strike persistence kit

StayKit is an extension for Cobalt Strike persistence by leveraging the execute_assembly function with the SharpStay .NET assembly. The aggressor script handles payload creation by reading the template files for a specific execution type.

IMPORTANT: To use the script a user will only need to load the

StayKit.cna
aggressor script. Additionally, the SharpStay assembly will need to be compiled and placed into the directory where
StayKit.cna
is located. Finally, if selecting a template for the payload some may require dynamic compiling which will uses Mono.

The persistence menu will be added to the beacon. Due to the nature of how each technique is different there is only a GUI menu and no beacon commands.

Available options:

  • ElevatedRegistryKey
  • UserRegistryKey
  • UserInitMprLogonScriptKey
  • ElevatedUserInitKey
  • ScheduledTask
  • ListScheduledTasks
  • ScheduledTaskAction
  • SchTaskCOMHijack
  • CreateService
  • ListRunningServices
  • WMIEventSub
  • GetScheduledTaskCOMHandler
  • JunctionFolder
  • StartupDirectory
  • NewLNK
  • BackdoorLNK
  • ListTaskNames

Dependencies

  • Mono (MCS) for compiling .NET assemblies (Used with dynamic payload creation)

Credits

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.