FTP - authentication
- Author
-
0x42697262
- Category
-
Network
- Difficulty
-
Very Easy
- Play Date
-
2023/11/23 - 2023/11/23
Reconnaissance
Check the file type.
$ file ch1.pcap ch1.pcap: Unicode text, UTF-16, little-endian text, with CRLF line terminators
Everything is just a bunch of string… of packets.
Use Wireshark
for this.
Acquiring The Password
FTP by itself is insecure because it’s not encrypted.
Using Wireshark
The password can easily be taken by scrolling and manually inspecting each packets for the FTP password.
On packet #11, the password is present.
Instead of manually scrolling for the password, a better approach is to use TShark
.
Or simply use the search bar: ftp.request.command == PASS
.
Challenge Summaries
Execute tshark -r ch1.pcap -Y 'ftp.request.command == "PASS"'
to grab the password.