UART: logic analyzer recording
The UART interface of a microcontroller device in the laboratory was inspected, and its boot process was recorded via a logic analyzer: uart-yozuv.vcd (Value Change Dump format).
There are two wire signals in the recording: tx (device boot log) and rx (communication with the host). Transmission was performed via the standard 8N1 protocol (1 start bit low, 8 data bits LSB-first, 1 stop bit high, idle state high), however, the baud rate is not documented.
During boot, the device transmitted a service authentication token — the string AUTH TOKEN: BAYROQ{...}. Analyze the VCD file, determine the baud rate using the shortest pulse duration, decode the data on the tx wire, and find the flag. (Note: the last 16 characters of the flag are lowercase hexadecimal digits).