← Back to projects TECHNICAL ASSESSMENT / SANITIZED RETROSPECTIVE

TLS & WebSocket Traffic Reconstruction

Analyzed an encrypted packet capture, followed decrypted application traffic, and decoded WebSocket message framing.

Network Traffic Analysis / PythonCompleted interview exerciseThird-party challenge
Scope: I completed this as a technical interview exercise. I have omitted the original company's materials, challenge secrets, and step-by-step solution.

The problem

The assessment began with a packet capture whose relevant application messages were protected by TLS. The objective was to understand the underlying conversation and recover information carried in WebSocket frames.

How I approached it

  1. Inspected the capture in Wireshark to identify encrypted sessions and the application protocols in use.
  2. Applied challenge-provided session-key material to review the decrypted traffic where supported by the capture.
  3. Developed a Python decoder to interpret WebSocket frame metadata and reconstruct payload content for analysis.

Tools and techniques

WiresharkPython

Result

The original exercise identified the intended target content after decrypting the traffic and decoding WebSocket frames. No session keys, captured conversations, or recovered flags are reproduced here.

What I learned

Decrypting TLS exposed the application conversation, but not yet the final content. WebSocket frame structure and masking still had to be interpreted before the payload could be reconstructed.