This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 249
Tortoise SVN
h4wkst3r edited this page Jul 17, 2019
·
1 revision
This persistence technique uses a feature in Tortoise SVN called "hook scripts" as a persistence trigger. Upon a target user connecting to an SVN repo to perform an action (e.g., SVN Update), it will execute a system command that you provided. In this module you just need to provide a system command to execute.
Non-admin privileges
- -c - command to execute
- -a - arguments to command to execute (if applicable)
- -m - method (add, remove, check)
- Adds "hooks" registry value to the "HKCU\Software\TortoiseSVN" registry key.
- Removes any data in the "hooks" registry value in "HKCU\Software\TortoiseSVN" registry key.
SharPersist -t tortoisesvn -c "C:\Windows\System32\cmd.exe" -a "/c calc.exe" -m add
SharPersist -t tortoisesvn -m remove
SharPersist -t tortoisesvn -c "C:\Windows\System32\cmd.exe" -a "/c calc.exe" -m check