text
stringlengths
0
1.99k
that was a little heart breaking.
The EOS utilizes ELBE which uses Debian.
The roadside RSU server application actually utilizes SNMP for a lot of
functionality and includes a honeypot called herbert.
The /mnt/rescuefs/usr/tmplt/etc/elbe_base.xml seems to contain the 'kapsch'
user's default password but as you can probably guess, it isn't actually.
<suite>jessie</suite>
</project>
<target>
<hostname>CB-9160</hostname>
<domain />
<passwd>rmrf</passwd>
<console>/dev/null,</console>
<package>
<squashfs>
<name>root.sfs</name>
</squashfs>
</package>
<finetuning>
<adduser groups="sudo,i2c" passwd="" shell="/bin/bash">kapsch</adduser>
<b2t_cp path="../../linux-image-3.16.35-c3p+_3.16.35.125.23_i386.deb">
/tmp/
</b2t_cp>
To decode the I2C data when gathering it via bus pirate, you can use xxd.
Or, in powershell:
[System.Text.Encoding]::ASCII.GetString(([byte[]](I2C-HEX)))
You can test the CV2X radios with the acme binary by using the following
commands:
/etc/init.d/start_cv2x_le start
cv2x-config --register-sps-flow 1,10,1,200,287,2500,2600
acme -RVAe -i rmnet_data1
acme -A -i rmnet_data1
Alternatively, for the 9160s you can do the following:
ip link show
cd /mnt/c3platpersistent/opt/11p/bin/llc-v13
sudo ./llc chconfig -s -w SCH -c 172 -r b -m MK2MCS_R12QPSK -p 33
sudo ./llc chconfig -s -w CCH -c 172 -r b -m MK2MCS_R12QPSK -p 33
sudo ip link
set cw-llc promisc on
sudo ip link set wave1 promisc on
sudo ip link
set cw-mon-rxb promisc on
sudo ip link set cw-mon-txb promisc on
sudo tcpdump -i wave1 -w /home/kapsch/microSD/wave1_traffic.pcap &
sudo tcpdump -i cw-llc -w /home/kapsch/microSD/cw_llc_traffic.pcap
Then run a simple loop to check for valid data coming in:
while true; do ./llc count | grep 'Rx MAC Valid Data Frames\|Rx MAC
Broadcast Frames' && sleep 3; done
You can also monitor the following directories for logs:
/var/log/pcap/RadioA/
/var/log/pcap/RadioB/
/mnt/c3platpersistent/var/log/
/home/kapsch/microSD/*pcap
If your unit has both radios:
sudo ip link set wave-raw promisc on
sudo ip link set wave-mgmt promisc on
sudo tcpdump -i wave-raw -w dsrc_traffic.pcap
sudo tcpdump -i wave-mgmt -w dsrc_traffic.pcap
sudo ip link set wave0 up
sudo ip link set wave0 promisc on
sudo ./llc chconfig -s -w CCH -c 178 -r a -m MK2MCS_R12QPSK -p 33
sudo ./llc chconfig -s -w SCH -c 178 -r a -m MK2MCS_R12QPSK -p 33
sudo tcpdump -i wave0 -w /home/kapsch/microSD/wave0_traffic.pcap
Now this is just what I've concluded and I have not gone through all
channels and modulations yet. I did however, drive for about 20 minutes
with an RSU sniffing and found no signals.
On my website, gainsec.com I've also gone through how to use a SDR to
sniff/send out V2X packets which helped confirm that these test binaries
were working as expected.
Example Setup for U.S. V2X Channels
| Radio Interface | Channel Type | Channel Number | Frequency (MHz) |