What is Hardware Hacking ?
Hardware hacking involves the (unauthorised) exploration and manipulation of
electronic devices, particularly embedded systems such as IoT and industrial
edge devices. These devices often run on specialised operating systems like
Linux, OpenWRT, Raspbian, FreeRTOS, and Zephyr, making them prime
targetsfor exploration and experimentation.
Hardware hacking can be done for various reasons including:
Extract information
Hack network functions
Take over control of the hardware
Cause the hardware to malfunction
Universal Asynchronous
Receiver-Transmitter
UART(Universal Asynchronous Receiver-Transmitter) is one of the most often used
communication protocols in embedded devices. It converts the parallel data it
receives into a serial bit stream of data that may possibly be interacted with more
easily. The transmitting UART translates parallel data from a controlling device, such
as a CPU, into serial data, which it then sends in serial to the receiving UART. Which
turns the serial data back into parallel for the receiving device.
serial communication with two wire protocol
no ACK protocol
easiest and simple way to transfer data directly to and from microcontrollers without the need of any
device in between
Transmitting UART converts parallel data into serial and transmits
Receiving UART converts received serial data into parallel
Possible Attacks
Getting root shell
Smiffing comm.
Hardware Tools
3.
1.
2.
4.
Multimeter
Soldering Kit / Desoldering Pump
Screwdriver Set
Wires/Jumper Wires
5.
6.
USB to Serial Adapter
Flash USB BIOS Flash Programmer
7.
logic analyzer
Tp-link TL-WR841N Router
⬇️Target⬇️
Major Components
MEDIATEK MT7628NN SoC Zentel SDRAM SPI Flash Memory
What we need to know and do ?
Pin Identification (GND,VCC,TX,RX)
Baudrate (9600,115200)
Pin Identification
Manual Identification
Automated Identification
power off the device , set the multimeter to conitinuity
red probe on the pins , black probe on any metallic surface
if it beeps boom , you got the gnd
Identifying GND
Identifying VCC
Add a subpower on the device , set the multimeter to voltage test
red probe on the pins , black probe on the gnd i.e. ground.
if it shows a voltage around 3.3v it’s vc
heading
Identifying Tx
power on the device , set the multimeter to voltage test
immediate test required
red probe on the pins , black probe on the mettalic surface
if it shows a changing voltage it’s tx
Identifying rx
i want to learn this from you guyz :)
ACCESS THE PORT VIA /DEV/TTYUSB0
POWER ON THE DEVICE AND RUN A SERIAL CONSOLE
UTILITY
SCREEN / MINICOM
SCREEN - SCREEN /DEV/TTYUSB0 115200
MINICOM - MINICOM -B 9600 -D /DEV/TTYUSB0
-B (BAUDRATE) , -D (DEVICE)
WAIT FOR A WHILE AND YOU GOT THE ACCESS , TRY
FURTHER EXPOITING IT IF YOU WANT TO IN THIS
PREMISES NOTHING IS ALLOWED
Getting Access
THANK YOU
www.youtube.com/@MaxTechnical360
www.linkedin.com/in/debanjansaha360/ [email protected]
https://www.instagram.com/cybermax560/