303 points by ioma8 1 day ago | 78 comments | View on ycombinator
saidinesh5 1 day ago |
hexapus 1 day ago |
Not too long ago, I successfully reverse engineered an abandoned audio effects plugin, as well as a discontinued instrument with an onboard DSP for virtual instrument modeling. I had no idea what I was doing, but it was still amazing to get to open the black box and see what's inside and how it worked.
The plugin is nearly 1:1 as far as sound, and while I'm not going to use the code or the techniques of the instrument, peeking into them gave me the insight I needed to start trying to replicate the functionality on a modern DSP.
I have my issues with generative AI as a technology, but busting open propietary software - particularly when it's abandoned and unsupported, is one of the cooler use cases I've seen for it.
jedjonesuk 1 day ago |
1) My kid has a toy from china where you put a USB cartridge in and get stories in Chinese with pictures. This is itself a rip off of another product of which I forget the name. the cartridge is just a normal USB but the file on disk was just a .dat file so you could buy more stories online, and then download them. It figured out in about 15 min, they just had a combined format which just concat all of the input together with all text base 64 encoded. So manifest|pagetext|image1|image2 and everything just had to be just the right format and then it would work. It wrote a script to make a story from a folder input, but also wrote a skill to write a story, make pictures etc from the idea.
2) I was looking into a shelf my wife wanted, but didn't want to spend the money on. I took the 4 or 5 product images from the websites, dumped them into Claude with mcp to freeCAD and an hour later it has completely recreated a working cad design of the product, produced a pdf on how to assemble it, and allows me to make edits and changes to tweak the product to my preferences. The interesting thing about this one is while following its work, it clearer identified the actual original product at some point despite there being zero obvious indicators in the pictures.
Retr0id 1 day ago |
These "guessing loops" are my main annoyance when REing with Claude (mostly Opus 4.8, due to the restrictions on newer models). On harder/larger targets, I have to constantly babysit it and tell it to "stop guessing".
For truly black-box reverse engineering, yes, hypothesis-testing is the way to go (it's all you can do). But in most cases all the information is available to arrive at an answer deterministically, it just needs to be worked through meticulously. As an experienced human I have strong intuitions and I can work much faster under a "guess and check" model, but I prefer to use Claude as an "unstoppable RE juggernaut" with superhuman patience and determination, tracing method invocations all the way from A to distant subsystem B (for example).
Another big win for hardware RE is from tasking the LLM with writing unicorn emulation harnesses, e.g. for bootroms and firmwares. It's pretty good at the classic "figure out which MMIO needs to be stubbed/simulated next to progress the boot" loop, although sometimes it tries to take egregious purpose-defeating shortcuts.
ofrzeta about 1 hour ago |
drltaidev about 22 hours ago |
But more seriously, I'm curious about your use of skills (your own and others), it always feels to my like they are really just simple pieces of text... that you might as well just ask for yourself, exactly tailored to your current situation. In particular, if using speech-to-text for input, it's easy to just ask for all these things quickly, and it becomes more about understanding the general principles of what to ask for when (e.g. when to ask for clarifying questions, when to loop).
What is the value of having these predefined skills, especially using those written by others? Genuine question, I'm not saying I don't see the value, just curious about perspectives. I do use skills, but always my own (written by AI from my prompt), for things I do often, or to ensure that the AI uses certain tools I want it to use (for more reliable results, let tools/code do the work they can do well, let AI do the rest).
questionedon 1 day ago |
I've had Codex take a few apps with subscriptions and unlock their premium functionality and it's worked fine with no extra skills or anything. Took most of the 5 hour window but with all the resets it's not a big deal.
I also had it implement their functionality fully offline, so now they're perfectly private apps, even though they're closed source.
bubulux about 19 hours ago |
For those interested: I reverse engineered the controls for the Aputure MC lights, Neewer COB lights, a Hollyland video transmitter, and my BMPCC 4K/6K cameras (last one didnt really rely to much on reverse engineering, its a open protocoll, but we did have to be creative with some signals).
I needed this because I wanted full remote control through a single interface in an app I’m building, which also lets me program light sequences across different manufacturers.
For example:
a) I can program a sequence of light events (like keyframes) for my 12 Aputure MCs and my 2 COB lights, with features such as transitions, easing curves, color changes and intensity.
b) I can control the camera feed options for the transmitter signal (toggling false color and the 3D LUT feed) and do other useful things remotely, like hitting record or changing ISO and aperture, all while watching the video feed directly in my app.
I did all of this in a weekend with Claude, and the experience was genuinely humbling. I don’t want to go into too much detail, but there was nothing he couldn’t build for me. It sometimes took a fair bit of trial and error, and we dug into plenty of obscure signals from the hardware controllers, but in the end every single feature I had envisioned worked flawlessly, without a single compromise. From the moment he decided to decompile the Android apps, things just started clicking into place one after another. I can’t remember him needing more than two attempts for most of the work.
And I have zero experience with hardware programming. I’ve been a frontend dev my whole career.
therepanic 1 day ago |
crc32 1 day ago |
It took a while to get started - to begin with I think I overengineered the workflow. It was only when I rolled things back a bit and let the agents guide themselves that I started getting the best results.
They still ended up building a lot of tooling - whether or not that tooling would be useful for another decompilation project remains to be seen! MSC51 is relatively simple and the linker ordering even bounds possible variable names; so it's a pretty nice target.
xvilka about 20 hours ago |
[1] https://rizin.re
[2] https://github.com/rizinorg/rizin
teravor 1 day ago |
you can also steer the LLM into doing tedious but correct things like injecting code, hijacking functions, intercepting data etc to gain an understanding of what's going on if straight up disassembly doesn't appear to be going in the right direction.
have the LLM periodically write reports on all its findings and then wipe the context and reset this time with the report at hand.
rendaw about 22 hours ago |
It's surprising to me that anybody here is against it. Given how far things have tilted towards the companies, and that there's already legal ways to prevent piracy, it seems hard to justify vilifying it for "protect the indie games" alone. And I find it hard to believe that indie games are actually being impacted... there were a million Vampire Survivors clones before AI and I doubt anyone wants to play the slop clones anyway. The "don't reverse engineer that 25 year old game you bought so you can play it again on modern systems after we neglected to support it" are the most transparent of corporate greeds. Maybe I'm out of it.
thesash 1 day ago |
One of my favorite things that you can do is use llms to reverse engineer the harnesses they run in. Try asking claude about the tools it has access to, where it runs etc. It's surprisingly forthcoming with info, which is very helpful if you're building certain kinds of tools.
Also shout out to Matt Pocock's grill me skill, it's truly a work of art.
tqi 1 day ago |
komali2 1 day ago |
Actually, it does give a shit, in Mandarin only. In thinking it's mentioned "restrictions in Chinese language against this behavior but this is in English so it should be ok." If I remember correctly I was asking it to scan local wifi for any vulnerable devices I could put on a wall of shame at a hackathon.
zerovv_ 1 day ago |
bismanawaz about 16 hours ago |
jonathanstrange 1 day ago |
sylware about 23 hours ago |
undefined 1 day ago |
jing09928 about 8 hours ago |
tahiryounas604 about 21 hours ago |
binarybriefing about 17 hours ago |
mdmizanur0001 1 day ago |
SparkleQwen27b about 21 hours ago |
sksareen1 1 day ago |
mdswanson 1 day ago |
Started off with me searching for what Chinese OEM made the product. Then tried out existing GitHub projects to see if it works but they were failing.
Spent 15 minutes to write a script that started their desktop software on a different network namespace and ran tcpdump in it. Captured exactly only the things i needed without any noise. Turned out it was using a different server url and credentials than the GitHub projects. Opened Ghidra to inspect the dlls that matched the strings i was looking for.
After that, I got lazy and handed over the task to Gemini to find the username and key they use to authenticate with the servers. It took about 30 minutes or an hour. A lot of it was me changing models because the llm servers were busy. It simply wrote a little script that ran through various strings it fetched from the binary to see if it can generate the authentication credentials.
Now my Home Assistant will be detecting if my car is parked in the parking lot or not. Life is good.