laudz : weblog

Embedded systems, C/C++, GNU/Linux, and Infosec

Oct 3, 2024 - 4 minute read - Comments - c++ low-level

Building a CHIP-8 Emulator (C++)

Building a CHIP-8 emulator is a great way to understand emulation concepts, low-level programming, and virtual machines. I want to share a basic outline to help you get started if you’re a newcomer in C++ and I will include all the key components you’ll need to implement. What is CHIP-8? CHIP-8 is a simple interpreted programming language that was designed for early microcomputers. It has a straightforward architecture with the following key components:

Sep 28, 2024 - 3 minute read - Comments - security

Summary of the Linux RCE 9.9 CVE

The cybersecurity community is currently grappling with the implications of CVE-2023-3861, a remote code execution (RCE) vulnerability affecting the Linux kernel. This write-up aims to clarify the circumstances surrounding the vulnerability, its impact, and the confusion that has arisen in its disclosure timeline. Background on CVE-2023-3861 CVE-2023-3861 has been described by researchers as impacting Linux kernel version 9.9, although this designation is not officially confirmed. The vulnerability specifically targets the Common Unix Printing System (CUPS), which is widely used for managing printers on Unix-like operating systems.

Aug 15, 2024 - 3 minute read - Comments - arduino atmega328

Burning the Atmega328 Bootloader

Intro By burning the Atmega328 Bootloader, you use a little more memory in the chip, but for most users, it’s easier to upload future projects. Basically, the bootloader allows the microprocessor to receive a new project from your pc through the TX and RX pins. This happens immediately after you or your programming device resets the processor. Examples of programmers that take advantage of this include the CH340G, FTDI Basic, PL2303, or CP2102.

Nov 27, 2023 - 1 minute read - Comments - automotive security

Source code for 2020+ Subaru head units and other core functionality

Many modules written and others since other car manufacturers share the same code base. You can also find Toyota version as well. I found it a year ago, made minor modifications and compiled successfully. However, to get it deployed is another large task which I didn’t follow through with, there are probably people who have done so already, I am not sure. Send me an email if you do. Cheers!

Nov 17, 2023 - 6 minute read - Comments - automotive

Car Hacking Experience

Just wanted to share that I was able to install some new modules/ECUs, and the car didn’t seem to mind. There were no security checks. The module I added is from the same manufacturer, but if someone has the time, they could build their own module and slip it into their car. I had this idea to amp up the car with a combination of traction and stability control, useful for some specific off-road situations.

Sep 15, 2023 - 7 minute read - Comments - administrativia

Overstimulation rant

Sometimes, things get just a little too much, and it seems like there’s nothing I can do and it all just weighs in. I think, personally, this is in part due three things of which we shall explore,(make valid and informed points about) rant vaguely until I run out of things to say. Advertising This is the big one, and It’s absolutely everywhere Every store everywhere is basically the equivalent of the old EB games joke about needing a machete to get through the banners advertising sales.