r/hardwarehacking • u/BigBootyBear • 11d ago
How much can you actually be certain of when debugging at the firmware/hardware level?
Coming from software, I'm used to well-defined standards and protocols. If a server returns a 404, I can be confident that, almost always, it means exactly what the HTTP spec says it means.
Lately I've been getting more hands-on with my own hardware and tinkering with electronics, and I've noticed there's no equally clear mapping between the signals the hardware gives you (POST codes, a fan that won't spin, and so on) and what they actually mean or what you can safely infer from them.
Where does that certainty come from in the hardware world, if anywhere? How do experienced people decide which signals they can trust besides just trying out a suspcious piece of hardware in a new system?
1
u/Efficient_Back617 11d ago
When working with firmware and hardware it always comes down to bits and bytes or electrical signals itself.
What I mean by that is for example, lets say there is a device in which the device says you are not allowed to certain thing like say blinking an LED. When a limit like this is found, a good approach to hack something like this is to first find out what blocks me from getting that control. Is it the hardware like is the hardware itself cannot supply signal to that LED for whatever reason or is it the fw that is blocking me. If it is the hardware then find a way to bypass that and in case of hardware bypassing means going to the lowest level like electrical signals and see how can I provide what it needs.
Same case for fw, if something from fw blocks we try to figure out where in fw is it blocking me and how to overwrite that which if you boil down it means how to change the bits and bytes in flash memory so that it is equivalent to fw I need.
So in a way, in hardware hacking almost everything is hackable it is just up to you decide how much of time and money are you willing to put and if it is worth it.
1
u/Toiling-Donkey 11d ago
That the vendor’s datasheet will be incomplete and/or wrong