
Explore how the can protocol enables vehicle vulnerabilities and wireless attacks, as the course combines can with mqtt on an esp32 to test can bus data and perform remote attacks.
Build on can protocol, replay attacks, and ecu models from versions 1.0 and 2.0 to wirelessly access can data by combining can with another protocol; prior courses are recommended.
Gather hardware for this course: two ESP32 boards with battery shields and 18,650 batteries, four 2515 modules, a SIM 800 L module, an Obd2 cable, and a MCP 2515 module.
This lecture introduces two wireless devices, a publisher and a subscriber, each built with a SIM module, an MCP2515 module, and an ESP32 board for sending and receiving data.
Introduce the Esp32 board setup and installation, cover Mqtt protocol fundamentals, and show building wireless devices to access canbus data from a car, plus remote model attacks.
Explore the Esp32 microcontroller with built-in wifi and bluetooth, its low-cost and low-power design, various variants, external antenna options, and Arduino IDE compatibility for IoT data loggers and automation.
Configure the Arduino IDE, add the ESP32 board manager URL, and install the do it esp32 dev kit version one board and CP2102 or 340C drivers to enable the port.
Connect the ESP32 board, select the correct port and ESP32 dev kit version 1, then upload the blink program on pin 2 while holding the boot button.
Explore how Mqtt protocol enables IoT devices to communicate through a broker, with publishers sending data and subscribers receiving it via topics.
Explore mqtt brokers and the publish-subscribe model, using hive mq public broker and other options. Build publisher and subscriber devices with esp32 and 2515 module to exchange data over mqtt.
Design and wire a publisher device using ESP32 and MCP2515 to capture CAN packets from a car and publish them via MQTT to broker, with topics for status and data.
Use a mobile hotspot to connect the ESP32 publisher in a car and send canvas data to the server via the broker, with hotspot credentials in code.
Add the M6 GPS module to the MCP2515 CAN bus interface on the ESP32, enabling MQTT publishing of location data, speed, altitude, and satellite details.
Switch from wifi and mobile hotspot to a sim module like sim800 with esp32, using the tiny gsm library to publish via mqtt without wifi.
Two options for the publisher device: a self-built esp32 setup with 800 and 2515 modules for can packets, or a Sim7000g board with built-in sim for LTE; latter is costly.
Explore mqtt basics with publisher, subscriber, and topics, and learn to receive publisher data via a HiveMQ WebSocket subscriber, viewing messages in the browser.
Connect the obd2 connector to the car by wiring pin 14 to can low and pin 6 to can high, enabling wireless data reception.
Connect an obd2 wire to the car and power a wireless device to receive can data via esp32, HiveMQ WebSocket, and MQTT topics for real-time wireless data.
Connect a wireless device to the car and subscribe to a WebSocket topic to stream MCP 2515 data. Weather conditions can impede data delivery.
Create an esp32 subscriber device with an mcp2515 module, wire the connections, and configure mqtt topics to receive data via subscribe.
Demonstrate the ecu model working with two systems connected via can high and can low, powered by a power bank, featuring temperature sensor and left blinker, right blinker, and horn.
Demonstrate wireless can data exchange between publisher and subscriber devices on identical car models, sending left blinker, right blinker, and horn to illustrate IQ and model attacks.
Create a universal OBD adapter and a customized OBD adapter using mail adapters and DuPont cables, solder the 16-pin connector to your car protocol, and use with any shield.
Leave an honest review and suggestions to improve the course. Download the HTML file from resources to access discounted coupons for other courses in the bonus section.
Welcome to the third and final course on “Automobile Hacking and Security v3.0”. This course is a continuation of our previous courses, v1.0 and v2.0, where we explored CAN protocol, OBD2 protocols, ECU models, and other critical automotive communication topics.
In this advanced course, we combine CAN protocols with MQTT, a widely used IoT protocol, to create wireless ESP32-based devices for studying vehicle communication systems. You will start by learning the basics of the ESP32 board and MQTT concepts. Then, you will design and build a wireless device capable of simulating CAN-BUS communication in lab environments.
We will also work with ECU models to demonstrate security testing and vulnerability research in a controlled setup. The course focuses on ethical research, defensive testing, and understanding modern vehicle vulnerabilities. These practical exercises are suitable for cybersecurity research, thesis work, and academic projects, providing hands-on experience with cutting-edge technology.
By the end of this course, you will have practical knowledge of ESP32-based automotive devices, CAN protocol integration, MQTT applications, and lab-based automotive security research.
Disclaimer:
Important: All demonstrations are conducted in controlled lab environments. This course is intended for educational and research purposes only. Students must follow all applicable laws and safety guidelines. Unauthorized access to vehicles or vehicle systems is strictly prohibited.