Room: Office router
Room scenario. An unauthorised device appeared on a small office's Wi-Fi network in the morning, and it looks like someone logged in to the router's management panel. A backup of the router (192.168.1.1, OpenWrt) settings was taken, the DHCP server leases were saved and the HTTP traffic going to the panel was recorded.
You are given office_room.zip: router_backup.cfg (a UCI-style configuration: config host — a list of known devices, config user — panel users), dhcp.leases (dnsmasq format: muddat MAC IP hostname clientid) and http_login.pcap.
Tasks (answers are not submitted, each builds on the previous one):
- Task 1. Which of the devices in
dhcp.leaseshas a MAC address that is not in the router's list of known devices (config host)? (The MAC may be written in upper or lower case.) - Task 2. What are the hostname and IP address of that device?
- Task 3. In
http_login.pcap, how many login attempts did that device (by MAC/IP) make to the router panel, and with which login did it get in successfully (HTTP 200)? TheAuthorization: Basicheader storeslogin:parolin base64 form. - Task 4. Decode (base64) the
notesfield of that user in the router backup — this is the flag.
Flag format BAYROQ{...} (the last 16 characters are lowercase hexadecimal). The notes fields of the other users are also base64, but they belong to other people.