Reverse Engineering STM32 Firmware: A Comprehensive Guide

Reverse Engineering STM32 Firmware: A Comprehensive Guide

This article is a highlight from the KX forum, authored by KX forum user ID: Lpwn 1 Overview Using an old project on fan control as an experiment. It utilized external interrupts, timer interrupts, and PWM. The MCU is STM32F103ZET6. In the Keil settings, you can see the starting address of the firmware, which is … Read more

Reverse Engineering FreeRTOS: A Comprehensive Guide

Reverse Engineering FreeRTOS: A Comprehensive Guide

FreeRTOS Introduction FreeRTOS is a mini real-time operating system kernel. As a lightweight operating system, it includes functionalities such as task management, time management, semaphores, message queues, memory management, logging features, software timers, coroutines, etc., which can basically meet the needs of smaller systems. Compiling FreeRTOS Compilation Environment · Windows 10 20H2 · Keil V5.33.0.0 … Read more

STM32 Firmware Dump Tutorial: A Comprehensive Guide

STM32 Firmware Dump Tutorial: A Comprehensive Guide

Background Finally, with some rare free time and a long-lost passion, I quickly got to work. This is also a preliminary experience, so the goal is simply to dump the program and perform basic disassembly. Toolset Introduction Software Part OpenOCD Open On-Chip Debugger, a well-known open-source hardware debugger. Supports various debuggers like (St-link) and (jlink) … Read more

Compiling eBPF Programs on Android Pixel 6: Hiding Processes and Changing MAC Addresses

Compiling eBPF Programs on Android Pixel 6: Hiding Processes and Changing MAC Addresses

Compiling eBPF Programs on Android Pixel 6: Hiding Processes and Changing MAC Addresses Background Previously, I found an interesting repository on GitHub called bad-bpf. After some effort, I finally managed to compile it successfully on my phone, achieving the effects of replacing text and hiding processes as described in the repository. Other functionalities have not … Read more

Comprehensive Guide to Anti-Debugging Techniques in Android Reverse Engineering

Comprehensive Guide to Anti-Debugging Techniques in Android Reverse Engineering

Comprehensive Guide to Anti-Debugging Techniques in Android Reverse Engineering It has been a while since I last wrote an article. Recently, I have been working on several bank projects, and most financial apps have anti-debugging measures. Today, I would like to share some anti-debugging strategies that I frequently encounter in these projects. The following methods … Read more