Port Forwarding
Port forwarding is a technique where the service running on the target machine / on any other machine on the network is forwarded to the attacker's machine which can be then accessed locally
Commonly used tools
Chisel
SSH
Local Port Forwarding
Local port forwarding is a technique to transfer the service running on the compromised machine to the attackers' machine
Chisel
Attackers Machine:
Compromised machine
SSH
Remote Port Forwarding
Remote port forwarding is a technique to transfer the service running on the machine which is persent in the same network as the compromised machine to the attackers' machine
Network Setup:
Machine A : Attackers Machine
Machine B : Compromised Machine ( Has an network card to communicate with Y network )
Machine C : Machine on Y network A ---> B ( Attacker can communicate with the Machine B )
B ---> C ( Machine B can communicate with both A and C with different network cards )
A --x-> C ( Attacker cannot communicate with the C since they are
Chisel
Attackers Machine:
Compromised Machine ( Machine B ):
SSH
Dynamic Port Forwarding
Dynamic Port forwarding is a pivoting technique which allows the attacker to access the services fully running on the compromized system with the use of proxychains
Last updated
Was this helpful?