laitimes

NATBypass 端口转发

author:AILX10
NATBypass 端口转发

Earlier we have learned SSH port forwarding, firewall port forwarding, RINTED port forwarding, NC port forwarding, SOCAT port forwarding, portmap port forwarding, portFWD port forwarding, today we will learn NATBypass port forwarding, NATBypass is written in go language LCX,Referred to as nb,The nb.exe used in win7 and the nb used by kali in the experiment are all downloaded from GitHub,Among them, the nb on kali is compiled by myself,Since it is LCX, the usage is the same,Let's get started directly~

NATBypass 端口转发

AILX10

Excellent answerer in cybersecurity

Master's in Cybersecurity

Go to consult

Experimental Environment:

  • macos:192.168.199.206
  • Times:192.168.199.247
  • win7:192.168.199.185

Step 1: Log in to the remote desktop of the intranet host under the guise of KALI, a jump server

Listen on 2 ports on the jump server, port 6666 and intranet win7 communication, port 7777 and hacker macOS communication

NATBypass 端口转发

Step 2: Connect port 3389 and port 6666 of the jump server on the intranet host win7

NATBypass 端口转发

Step 3: When a hacker accesses port 7777 of the jump server, it will flow from port 6666 of Kali to port 3389 of win7 on the intranet

NATBypass 端口转发

In the same way, it can also be as simple as one step, and only needs to be configured on the jump server Kali, not on the intranet Win7

NATBypass 端口转发

Then macOS connects to the 6666 port of Kali, and it can also remotely log in to Win7

NATBypass 端口转发

Cyber security has a long way to go, wash and sleep~

NATBypass 端口转发

Posted on 2022-07-24 11:16