News for hackers. Stuff that matters.
Re:Copy-protection for vinyl in the 1970s (2008) by unnouinceput on Wednesday August 11, 2021 @09:47AM (#28141881)
Half backed solutions that never work. If it can be read, it can be copied - it's that simple.
Re:Copy-protection for vinyl in the 1970s (2008) by amelius on Wednesday August 11, 2021 @09:50AM (#28141917)
Ok, but some ARM CPUs are very cheap, so you could run part of your software on a small hardware box with tamper-proofing.

The compiler could move the outer loops to the external CPU, and leave the inner loops to the main CPU which is faster. Of course you would have to think about how you move data around, but in principle why wouldn't this work?

Re:Copy-protection for vinyl in the 1970s (2008) by squeaky-clean on Wednesday August 11, 2021 @10:27AM (#28142411)
At that point you're not copy-protecting software, you're releasing a hardware product. Every sale of your software product requires production of a hardware component.

But to answer why this wouldn't work, I'm not particularly involved in cracking / reverse engineering, so maybe someone will chime in with better answers, but. If your code requires portions of it to run on my main CPU, can't I just black-box reverse engineer your external CPU?

And like you say, ARM CPUs are very cheap, so with an iFixit kit and some soldering skills, couldn't I just move your ROM over to a raspberry pi or etc?

Lastly, as a customer this heavily limits how I can use your software. So unless there are absolutely zero alternatives, I would just avoid purchasing this at all.

It reminds me of what iLok has been trying / tried to do in the music production space. Originally it was a DRM scheme that required a USB dongle to run any iLok protected audio plugins. It wasn't too long until iLok server cracks existed. And while I don't have any insights into iLok or companies that chose their dongle based protection, almost every single plugin maker that used the iLok dongle has now moved away from it and iLok now offer a dongle-less DRM scheme comparable to other activate-via-internet methods.

Edit: Another popular example in music production is Universal Audio plugins. These don't just offload parts of the application to a similar processor for DRM purposes, but actually have dedicated SHARC DSP processors which they offload the processing onto. These plugins have stuck around without angering the general community because it's not purely a copy-protection method. They actually remove significant amounts of processing from your main CPU onto their DSP processors. This has become less significant as CPUs have gotten better and better and requires a minimum $900 hardware investment up front. But it is still a more legitimate reason for a "dongle" than being just DRM.

Re:Copy-protection for vinyl in the 1970s (2008) by amelius on Wednesday August 11, 2021 @11:30AM (#28143197)
> At that point you're not copy-protecting software, you're releasing a hardware product.

Not really if the hardware costs $5 and the software $1000, wouldn't you agree? Also, the same hardware-design can be used for different software products.

> couldn't I just move your ROM over to a raspberry pi or etc?

Well, you could tamper-proof it. For example, wrap a thin copper wire around the board, and immerse the entire thing in epoxy. When someone tries to get to the CPU or flash memory, the copper wire breaks and the flash is reset. Or something like that.

Re:Copy-protection for vinyl in the 1970s (2008) by squeaky-clean on Wednesday August 11, 2021 @12:12PM (#28143876)
> Not really if the hardware costs $5 and the software $1000, wouldn't you agree? Also, the same hardware-design can be used for different software products.

I don't really agree. Like in my example of the iLok. The iLok was usually free with any compatible plugin purchase and was certainly cheap to produce. Customers still viewed it as a hardware product. Working at a different studio that day and you forgot your iLok? Tell your customer you can't work with them until you drive back home. Lost your iLok somewhere? You can't work until they next-day ship you a new key. It is not a software product.

> Well, you could tamper-proof it.

I'd say tamper-resistant, you can never really make it tamper-proof. Some youtubers will really surprise you with what they can break into. It also raises production costs more, as you're not buying an off-the-shelf device, and creates more potential customer issues. Is there any chance that if I drop the device, it triggers your tamper-resistant scheme? Etc etc.

It's always a game of cat and mouse with these things. The only way to make something completely un-copyable is to never release it. (even server-only applications can get bootlegged with enough dedication. Look at private MMO servers). Otherwise you're just making it more difficult to do, and have to decide if the tradeoff of deterring piracy is worth the additional costs to research/develop/produce and the potential anger it can cause actual paying customers. Every industry probably has it's own sweet-spot, I don't think it's something that has a one-size-fits-all answer. As much as I would love to say just abandon DRM/copy-protection altogether, there are probably situations where it is a net-positive for the producer.

Just a funny anecdote, but my main project is a SaaS application. We were in a meeting with one company who was demoing something for us, and we caught that they were using my app as one of their dependencies! One of our customers was reselling it to them, through a proxy, obviously against contract. Our company was still really small at the time, it got brought up with the CEO. He decided to just let it slide and to add something to the API response saying that the API was ours and what our website was.

Re:Copy-protection for vinyl in the 1970s (2008) by anthk on Wednesday August 11, 2021 @08:34PM (#28150132)
Just check what MAME community did on hardware protection for arcade ROMs.
Re:Copy-protection for vinyl in the 1970s (2008) by aerostable_slug on Wednesday August 11, 2021 @11:29AM (#28143189)
Dongles are still very much a thing, though I'm pretty sure no processing is offloaded to them:

https://cpl.thalesgroup.com/resources/software-monetization/...

Re:Copy-protection for vinyl in the 1970s (2008) by unnouinceput on Wednesday August 11, 2021 @10:14AM (#28142231)
Cool, you do that then wage a million dollars it can't be copied then I'll come to collect the million.

In the entire history of software there was absolutely zero copy protection for a determined person. Not just commercial one, but think of FBI/NSA/CIA level of protection, and yet they failed spectacularly when a determined individual wanted to steal the secrets. Hence my above "if it can be read, it can be copied".

Re:Copy-protection for vinyl in the 1970s (2008) by h2odragon on Wednesday August 11, 2021 @10:17AM (#28142267)
Take a look at smart card authentication systems, for example those used in subscription TV services. The "smart card" is usually an 8051 type micro controller and does a little bit of cryptography to be the DRM.

The battles between the companies and hackers in that scene were fascinating.

Re:Copy-protection for vinyl in the 1970s (2008) by anthk on Wednesday August 11, 2021 @08:35PM (#28150136)
Those were hacked over and over.
Re:Copy-protection for vinyl in the 1970s (2008) by robin_reala on Wednesday August 11, 2021 @10:24AM (#28142363)
The basic idea has been around since the 80s, although not to the extent you describe it: https://en.wikipedia.org/wiki/Software_protection_dongle
Re:Copy-protection for vinyl in the 1970s (2008) by stevekemp on Thursday August 12, 2021 @04:08AM (#28153468)
Very much so. I remember patching binaries to remove dongle-checks back in the MS-DOS days, in those days the dongles were plugged into the parallel port.

I guess these days you could have a USB-device that did useful calculations, so without it software would give the wrong/broken results. But I've not come across anything like that in recent times.

Re:Copy-protection for vinyl in the 1970s (2008) by cm2187 on Wednesday August 11, 2021 @01:36PM (#28145075)
Still, what prevent the modified software from providing what that hardware device needs to be happy (if it is cheat prevention, that device can’t inspect what is in RAM) or removing the bit of code that checks for this hardware?