SALEAE
saleae appears to be an organization that provides a tool, Logic Analyzer 2 that debugs hardware signals
the software itself is also available for download
Logic 2
┌──(kali㉿kali)-[~/archive/htb/challenges/debugging_interface]
└─$ ll
total 163M
4.0K drwxr-xr-x 2 kali kali 4.0K Aug 24 10:15 .
163M -rw-r--r-- 1 kali kali 163M Aug 24 10:15 Logic-2.4.9-linux-x64.AppImage
4.0K drwxr-xr-x 4 kali kali 4.0K Aug 24 09:36 ..
12K -rw-r--r-- 1 kali kali 9.7K Aug 24 09:34 'Debugging Interface.zip'
12K -rw-r--r-- 1 kali kali 9.5K Apr 8 2021 debugging_interface_signal.sal
24K -rw-r--r-- 1 kali kali 22K Mar 23 2021 digital-0.bin
28K -rw-r--r-- 1 kali kali 28K Mar 23 2021 meta.json
The software is called Logic 2 and packaged with AppImage extension for portability in mind
┌──(kali㉿kali)-[~/archive/htb/challenges/debugging_interface]
└─$ chmod 755 Logic-2.4.9-linux-x64.AppImage
┌──(kali㉿kali)-[~/archive/htb/challenges/debugging_interface]
└─$ ./Logic-2.4.9-linux-x64.AppImage
/tmp/.mount_Logic-4wrbUW ~/archive/htb/challenges/debugging_interface
~/archive/htb/challenges/debugging_interface
Environment
Executable path: /tmp/.mount_Logic-4wrbUW/Logic
Executable directory: /tmp/.mount_Logic-4wrbUW
Original working directory: /home/kali/archive/htb/challenges/debugging_interface
Current working directory: /tmp/.mount_Logic-4wrbUW
Process ID: 137099
Crash reporting enabled. Machine ID: 9012639c-bac5-412a-9d7a-0411c2227e64
I will start the application
While it’s meant to be used with their hardware product, it also supports opening up a capture file, presumably
.sal
file
Loading it up
Loading the
.sal
file reveals a single channel with the signal in the center
Dragging it further reveals the length in micro seconds
Those 3 attributes are what I Debugging_Interface in the
meta.json
file earlier
I will try the Analyzer to debug the signal
While it appears to support lots of protocols, I will go with the first one; Async Serial
The Bit Rate (Bits/s) option seems to dictate the size of chunk it analyzes.
Since the smallest one that I’ve seen so far was 32.02 in microsecond, it would be about 31230 Bits/s (1,000,000/32.02)
The signal turned into hexadecimal values
The Terminal button supports the conversion and there is the flag at the bottom