Copy protection in the AI Apocalypse

Next black friday is gonna be an ocean of slope on one side and day one hacks and clones on the other :face_with_bags_under_eyes:

thanks, and yes it’s just a matter of time and tokens, and you willing to baby sit the harness for hours, but at least that can be used to train another model how to do it better next time :wink:

That is actually the easy part for LLMs. They write those tests, fuzzing, etc. within a few minutes and then run their own tests with regression-testing, etc.

But I found out the hard way that whoever is using the LLM has to be an experienced developer themselves, because once the LLM takes a wrong turn somewhere, it will not turn back on it’s own. It will dig deeper and deeper and come to completely nonsense conclusions, based on it’s own decisions it made that turned out to be wrong.

So you have to iterate in small steps, verify, test, etc. until you get the result you want. And even then, often LLMs brute-force things that can be done much more elegantly or faster.

I can’t tell you how often Claude Code told me “good enough, why waste more time optimizing? It only take 3ms”. Yeah, that might be true for generic programs, but for a function with a 10ms budget, that’s 30% of it. Then you hold it’s hand, suggest alternatives, or sometimes simply insist that every cycle counts, and suddenly you get the exact same work done in 0.1ms which then the LLM will admit is a huge win.

The LLM is just a reflection of it’s training data, and I’m afraid most code out there that it ingested is lazy, sloppy, brute-forced, crap. So you have to guide it to the good parts of it’s training data, but knowing what you’re doing and guiding it towards the good stuff.

1 Like

What does it take to have Claude and other “well behaved” models recognize that your code is not cool with being reverse engineered?
Obvious obfuscation? Some form of copy protection? Or maybe a simple license check?
Is it completely up to the model to guess that it is the case?

Probably yes. The model doesn’t know either what it’s limits and gates are, but Claude specifically is very cautious. It basically goes by “if it looks like a duck, and quacks like a duck, it’s probably a duck”.

So very obvious stuff like license checks will not be removed. BUT obfuscation is another matter. Nobody knows WHY it’s there and WHAT it hides, so it will find a way around it and show the code and help analyze it.

For example: it recognizes Steam wrappers, Denuvo, and other popular copy-protection wrappers and refuses to remove them. But it has no problem running the app in question, so it gets decrypted in memory, than dumping the whole memory into a new file and then analyze the now decrypted dump. It still won’t help you remove the protection, but it will circumvent it locally, on you machine, so you can analyze the code.

I’ve used it like that to modify the game in memory, like the aforementioned speed limiter. In Mafia 3, I can now change the in-game clock speed with a slider, in real-time. So I can advance the clock, until it’s nighttime, etc.

I mean, you could probably get Claude to identify the copy protected wrapper and hypothetically write up what would be required to remove it without doing it. Then hand that off to another model, maybe a local one, to actually do it .

I’m not sure you can do much about that, any more than you could do much about your plugin eventually appearing on dodgy sites after being cracked. Unless you shelled out for expensive copy protection licenses…which are now toast.

Take a look at this: Hunting for readable strings in the binary (anti-piracy saga) . I guess this is more relevant than ever. Microsoft compilers are enablers.

1 Like

I guess we are screwed, then :grinning_face_with_smiling_eyes:

Isn’t this one of the major advantages of anti-piracy tools, that they obfuscate symbols and other data in your binaries to prevent this? I’d say they’re more important in the age of AI than ever before.

I come from music, 30 years producing. I started editing in Sound Forge and working out tempos with TempoCalc, and now people make a whole track with a prompt. Software is different, I know, a plugin can be cloned exactly. But what can’t be cloned is the person behind it: the ear that tuned every curve, the updates, the support, the next idea. Someone who cracks it gets a snapshot. People who buy it are buying into you. So I’d keep the license check simple and put the energy into making them want to pay.

2 Likes

Think it’s a battle you can’t win, or only at very high expenses. With LLMs and Ghidra the binary isn’t really the hurdle anymore. Maybe that equation changes if decryption moves into the hardware itself.

IMHO a great user experience and just a better product is the way to go, and it also feels better. And I like giving people better things after the sale, like fresh content, presets and a generally more interesting experience.

1 Like

You can’t compete with free. No matter how good your content, because that will be pirated, too.

FWIW I tried getting Claude to reverse-engineer a plugin I built with xollvm (a fork of LLVM that obfuscates the binary as its compiles) and Claude straight up refused to. Even when I showed it that the source code was on my own machine and it was my plugin, it just refused to attempt to reverse-engineer it.

I’m sure there are other models and/or ways around it, but it’s at least reassuring that people have to go out of their way to even attempt to crack your product still.

1 Like

Thanks, this seems very interesting and quite straightforward to integrate, unlike a lot of tools that do similar things, I’m definitely going to give it a try too !

Did you try with Claude alone or paired it with something like Guidra, REA or IDA ?

I disagree: a small budget of even a few supporters is better than no budget at all (if you are a mere mortal that needs to make ends meet). Also as a customer myself I do appreciate free updates without having to waste time or wait for the latest cracked version of a plugin with the plus of knowing that my support actively encouraged those updates in the first place.

Then you are in the maybe 10% of people who think that way. The vast majority doesn’t care at all. They don’t even think about it. For them, everything out there is for grabs and they justify it with “It’s some big company, they won’t even notice.”

Well, that’s a pretty bleak view.

If that was the case then I think the plugin and DAW industry would have already totally collapsed due to the availability of cracked software.

I’ve always been under the impression that most people who use cracked software:

  1. Are broke, so they can’t afford to buy it. I’ve heard many stories of folk using cracked software then buying them when their finances improved. Free audio plugins and RTO help.

  2. Use cracked stuff on principle because they don’t want to pay anything ever to spite ‘fat cat’ plugin developers.

People in category 2 were never going to buy your stuff anyway so they’re probably just best ignored.

I’m a bit more pessimistic. I would put them in 4 categories:

  1. those who are indeed broke. But these people usually try to reach out before and see if they can get a free copy (or heavily discounted one)

  2. those who understand that developing a good product requires funds and who may download a crack to try before purchasing

  3. those who would love to get a free cracked version but don’t know how (or don’t want to risk getting their computer infected). They often end up buying as their only chance.

  4. those who know where to get the cracked versions, have always been getting them and have no interest in paying for something they can get for free.

Is your view based on experience or wishful thinking?

If everybody didn’t want to legitimately pay, then everyone would be using cracked software (or free versions) and the whole DAW and plugin industry would immediately be out of business.

This would have happened years ago.

It hasn’t happened.

Is something off with my reasoning?