4 ms·
Side-question: what are people using today to copy-protect their software (other than running it as a SaaS)?
by amelius 5y ago
Side-question: what are people using today to copy-protect their software (other than running it as a SaaS)?
- unnouinceput 5y agoHalf backed solutions that never work. If it can be read, it can be copied - it's that simple.
- amelius 5y agoOk, 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?
- unnouinceput 5y agoCool, 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".
- h2odragon 5y agoTake 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.
- anthk 5y agoThose were hacked over and over.
- robin_reala 5y agoThe basic idea has been around since the 80s, although not to the extent you describe it: https://en.wikipedia.org/wiki/Software_protection_dongle https://en.wikipedia.org/wiki/Software_protection_dongle
- stevekemp 5y agoVery 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.
- squeaky-clean 5y agoAt 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.
- amelius 5y ago> 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.
- aerostable_slug 5y agoDongles are still very much a thing, though I'm pretty sure no processing is offloaded to them: https://cpl.thalesgroup.com/resources/software-monetization/sentinel-keys-data-sheet https://cpl.thalesgroup.com/resources/software-monetization/...
- cm2187 5y agoStill, 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?
- creeble 5y agoIf you're running the software on hardware you "control" (like phones or IoT things) you can use "secure enclave" features to support a complex PKI for the software runNing on the Thing. But this is less about copy protection than about the need to keep rogue (i.e., bot/malware) from being installed on the box.
- theandrewbailey 5y agoBig budget video games sometimes have Denuvo. I'm not 100% sure of how it works, but it's sometimes nasty enough to have a noticeable performance impact, even on high-end PCs. This is another example of pirates providing a better product.
- kabdib 5y agoI believe the "sometimes Denuvo impacts performance" problems are related to developers putting DRM checks in places they shouldn't (e.g., checking something every frame). I can't tell you the number of times that titles have been released with howlers like "check online friend status every 60th of a second" (via a REST request). Use of Denuvo would likely follow that . . . pattern.
- HideousKojima 5y agoIIRC, Denuvo isn't added by the game devs, they ship off their code (or compiled binaries?) to Denuvo who implement it for them.
- jandrese 5y agoThe way Denuvo work is they absolutely litter your code with checks that are exceedingly complex and convoluted. When they make a promise to the developers that "this game won't be cracked for X days/weeks" what they are saying is they are putting in so much extra code that it will take the crackers that much time to reverse engineer it. It's basically "we are adding this much busywork to your game". When some AAA publisher opts for the longest possible length it turns into a performance impacting amount of busywork. I wish more game companies would then ship the un-denuvoed version once the main version was cracked and released on pirate sites. Just do it quietly in a patch with a bullet point of " * slightly improved performance".
- mywittyname 5y agoTheir product is most effective at preventing crackers from breaking the DRM when it is used in several places, since crackers would need to remove every call to crack the game. I've never seen a contract for Denuvo, but I've seen enough similar ones to extrapolate a bit. I suspect that it contains some provision to guarantee a certain number of days before a crack is released. If that's the case, it would make sense that they would stipulate/strongly recommend that checks be littered throughout the codebase, triggered by pre-defined operations. And I could see developers putting some of these operations in the core gameplay loop, not foreseeing the requirement to run a DRM check each time it is triggered. Plus, it's usually patched out after a certain number of days, so there's probably not too much incentive to worry too much about performance. Not apologizing for crappy behavior, but I can understand how it happens.
- deleted 5y ago[deleted]
- LeoPanthera 5y agoAll my software ships with a Monkey Island code wheel. https://www.oldgames.sk/codewheel/secret-of-monkey-island-dial-a-pirate https://www.oldgames.sk/codewheel/secret-of-monkey-island-di...
- asciimov 5y agoMy least favorite (USB) hardware keys. Picture this: you have a 50-100K+ of scientific equipment. It plugs into a computer via usb (if you are lucky), parallel, serial, or something proprietary (if you are unlucky). Now you need a special piece of software to run said hardware. Of course that software has to have a physical hardware liscense key, because the expensive hardware isn't enough, it too can be usb (you hope) but parallel can be found. You also have a software license on served by the lowest budget server in a foreign country, that randomly pings to make sure you aren't using it on more than one computer. This can happen a few times an hour to a few times a month, and the software is completely unusable until that ping completes. To complicate things, some companies do all of this, and also provide the computer that the equipment comes with. All the software is locked down to that computer, and any changes to the computer hardware (ram upgrades, new hard drive) cause the software to not boot at all. And that kids is how some companies lock you into long term service agreements.
- akiselev 5y agoDon't forget the kicker! The computer is running an EOL operating system which ends up dictating the structure of your internal networks just so that it can safely talk to the LIMS while inconveniencing everyone.
- linksnapzz 5y agoShhh!! Don't give away Aglnt/Wters/ThrmoF*sher's trade secrets!! Think of the shareholders!
- amelius 5y agoBut is all of that worse than SaaS? At least you own the hardware.
- jandrese 5y agoIt has all of the downsides of both a SaaS service and owning the software. Truly the worst of both worlds. And so unnecessary since the expensive piece of test equipment is already a huge dongle. All of that DRM nonsense is making your life worse for no gain whatsoever. It's not good when people who bought the software legally (often for 6 figures) are looking into how to pirate it because they're losing valuable time on expensive equipment to your copy protection nonsense.