Bringing Internet Access

Internet Access for Machine B Through A using Rinetd

Scenario/Goal

Machine A and B are compromised to the levels indicated. We require internet access on machine B to elevate privilege and further penetration into the network.

Machine ARequirements

Level of Compromise

Elevated Privilege

Internet Access

Yes

Software Required

Rinetd Service

Machine BRequirements

Level of Compromise

User Privilege

Internet Access

No

Softwares

Firewall stops machine B from accessing the internet. There is no restriction between A & B

Machine A

sudo apt update && sudo apt install rinetd
vim /etc/rinetd.conf
0.0.0.0 80 <IP of maching to be accessed> 80 #Include this line in the conf 
sudo service rinetd restart

Machine B

nc -nvv <IP of Machine running Rinetd> 80
GET / HTTP/1.0 #URL to be accessed

Last updated