WhoBuilt

Reverse engineering a Viking VOIP phone protocol with Claude Code

May 29, 2026· 20 min· 2.1K views·Watch on YouTube

Speaker

Boris Starkov, a software engineer at ElevenLabs, explains at the AI Engineer channel how he used Claude Code to reverse-engineer a Viking phone and connect it to an ElevenLabs voice agent through Twilio.

The phone and the goal

For a summit demo, Starkov connected a retro Viking phone to an AI agent that guides callers through questions about British AI history in Michael Caine’s approved voice. The phone could call only a phone number, so Twilio handled the connection to ElevenLabs. Its original setup software required Windows XP, and the team had been unable to configure the phone the year before.

Finding the phone protocol

Working from a Mac, Starkov connected the phone and laptop through a router and had Claude Code scan the network and test ports. It found the port that accepted commands, then identified a two-letter command format. A program tested every two-letter combination; 80 returned responses that differed from errors.

Tracing how settings are saved

The phone accepted the call settings, but they disappeared after reboot because they were only in temporary memory. To learn how the vendor software handled persistence, Starkov ran it in a Windows virtual machine and routed its traffic through a logging proxy on the Mac. The captured traffic revealed a TS command with a binary payload and a one-byte checksum that Claude Code inferred and confirmed by testing more values.

Programming the phone directly

After identifying the commands and persistence sequence, Starkov used the protocol details to program the phone without running the Windows virtual machine. He put the process into an open-source skill so other Viking phone owners could use Claude Code to set up their devices. He said the reverse-engineering took a couple of days and that a harder checksum would likely have made the work more difficult.

Claude Code as an investigator

Starkov said Claude Code made the demo possible for him even though he was not a security engineer. He described himself as Claude’s hands: he followed instructions such as handling the phone and reporting how many beeps he heard. He also suggested the approach could apply to other hardware that has a proprietary software interface.

Takeaways

  • Use network scans and systematic command testing to map an undocumented device protocol.
  • When settings vanish after reboot, inspect the vendor software’s traffic to find the persistence sequence.
  • A logging proxy can expose the commands and payloads exchanged between legacy software and hardware.
  • Test a suspected checksum against additional values before relying on it.
  • Package repeatable hardware setup steps into a reusable skill so others can program devices directly.

Mentioned in this talk

Search inside this talk

What was claimed 9

  • works at
    “I'm Boris. I work for ElevenLabs.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    ElevenLabs: Conversational AI agent with Michael Caine's approved voice
    “an AI agent with Michael Caine's approved voice”
    YouTube
    Unverified1 source· Talk
  • integrates with
    Twilio integrates with ElevenLabs
    “It goes Viking phone, then Twilio, then ElevenLabs.”
    YouTube
    Unverified1 source· Talk
  • uses
    “we need to put Twilio in between to handle the SIP domain complexity.”
    YouTube
    Unverified1 source· Talk
  • uses
    “First, it used Nmap to scan all the available ports.”
    YouTube
    Unverified1 source· Talk
  • feature
    Claude Code: Found and brute-forced two-letter phone commands, identifying 80 valid commands.
    “80 returned something else, meaning they were valid commands.”
    YouTube
    Unverified1 source· Talk
  • feature
    Claude Code: Inferred the phone's checksum as a simple one-byte value and confirmed it with further tests.
    “it actually found it, then confirmed it by running more values through it.”
    YouTube
    Unverified1 source· Talk
  • feature
    Viking phone: Two-letter commands and a 256-byte memory; settings require a command sequence to persist.
    “there was also 256 bytes of memory in the phone”
    YouTube
    Unverified1 source· Talk
  • metric
    Claude Code: Made the demo possible, rather than merely 10 times faster, according to Starkov.
    “it made it possible”
    YouTube
    Unverified1 source· Talk

Related talks