Expose local to the internet
generic tunnel
Callback için hedef outbound yapabilir ama sen NAT arkasındasın. Lokal listener’ı kısa süreliğine internete taşı.
Metodoloji
Section titled “Metodoloji”-
Lokal listener’ı aç (nc/http/C2).
-
Tünel aracıyla public URL/port al.
-
Payload’daki LHOST/LPORT’u public adrese çevir.
-
Bağlantı gelince tüneli kapatmayı planla.
SSH reverse
Section titled “SSH reverse”ssh -R 443:127.0.0.1:443 user@VPS# VPS'te GatewayPorts yes gerekebilirnc -lvnp 443ssh -N -R 0.0.0.0:8443:127.0.0.1:443 user@VPScloudflared / ngrok
Section titled “cloudflared / ngrok”cloudflared tunnel --url http://127.0.0.1:8000cloudflared tunnel --url tcp://127.0.0.1:443ngrok http 8000ngrok tcp 443Alternatifler
Section titled “Alternatifler”./chisel server -p 8080 --reverse# localtunnel / bore / serveossh -R 80:localhost:8000 serveo.netpython3 -m http.server 8000Payload LHOST = tünel hostname; TLS sonlandırma aracına göre http vs httpsChecklist
Section titled “Checklist”[ ] lokal listener hazır[ ] public tünel ayağa kalktı[ ] payload LHOST güncellendi[ ] callback alındı[ ] tünel kapatıldı