ARP poisoning trace
Several minutes of traffic were captured via the campus switch's SPAN port: lan.pcap. The network is small (10.x.y.0/24), the gateway is at .1. An internal portal (HTTP, port 80) runs on the network and is accessed by several hosts. The security service suspects someone performed ARP poisoning and intercepted one user's portal session.
Task: Identify the attacker's MAC claiming the gateway IP as its own in the ARP traffic and its victim; isolate only the victim's session (that passed through the attacker). The portal returns the recovery_code field in the user profile — decode it. Note: due to switch mirroring, packets that passed through the attacker appear twice in the capture; there are also sessions of other (unaffected) hosts, whose codes are not the flag. Flag format: BAYROQ{...} (the last 16 characters are lowercase hexadecimal digits).