Seek out new protocols, and boldly go where no one has gone before
Where
Ground Truth
BSides Las Vegas
Duration
41 min
Presents a method for reversing a proprietary protocol from packet captures, then applies it to attack and detection.
Summary
The talk argues that proprietary protocols get too little scrutiny from both attackers and defenders, especially in critical infrastructure and medical devices, where protocols are often decades old and hard to patch. Douglas McKee lays out an eight-step process for dissecting such protocols and covers four of the steps: simplifying scope, embedded networking, enumerating patterns, and application reverse engineering.
Working through a capture from a medical monitoring protocol, he groups a few hundred packets by payload length and destination port, which reduces them to a handful of representative packet types, and checks that the grouping holds across several captures. He points out that IP addresses and port numbers are often repeated inside payloads, and shows a field that increments by fixed steps and decodes to a timestamp. He then inspects the server side in a disassembler, where leftover debug strings helped reveal a reporting interval. On the offensive side, he shows that padding bytes can carry hidden data and that replaying modified packets can falsify readings. On the defensive side, he uses an AI-assisted STRIDE tool and attack trees to find choke points, and converts a Scapy layer into a Spicy parser so Zeek can log the decoded fields.
The main takeaway is to document findings in reusable code, since the same parser can serve testing, logging and baselining. He also notes that vendor fixes in regulated industries can be slow because changes may require recertification and replacing deployed devices.
Related talks
Main Stage·30 min
Marcin Dudek
Traces a Polish combined heat and power plant intrusion to a forgotten cellular router and a private APN that linked it to wind farm networks.
Track 2·55 min
Michael Galde
Shows how a university built passive OT network monitoring to help facilities staff baseline and understand industrial protocol traffic.
Proving Ground·28 min
Huxley Barbee
Explains why active scanning of OT networks often causes outages and outlines principles for scanning them more safely.


