by codetrotter · 5y ago · 0 comments
On a related note I remember many years ago when I was using Windows, and there was a third-party utility to monitor the registry for changes.
I only had the trial version of the utility, but using the utility itself I found that they were storing information in the registry about when the trial would expire. So I was able to use the utility to discover and defeat the trial protection of itself.
So that was cool in and of itself. But I also found that, even though this was in a time before most software would do online checks, many pieces of software were able to know that the trial had expired even if I tried things like setting the clock back or removing registry entries they had created.
Probably some of those pieces of software were doing similar things to the one mentioned in the OP. But it never occurred to me at the time. I’m not even sure I would have thought of this even today if I were to try it.
But these days I use software that’s open source for a lot of things instead, and where I need proprietary software I pay for it instead. If it’s proprietary and not worth the money then it’s not worth using either. Though I am still sad that Adobe switched to a subscription based payment which I ended up not being able to afford and don’t want to sign up for again because of their horrible billing practices. So I am stuck not being able to run Adobe software even though I would have liked to.
They could get very creative about where the trial end date could be hidden. They could write it to random blocks of the fat32 partition marked as "free". They could even find unallocated blocks outside of the partition table and write it there.
Or you could write it to the contents of a file without going though the regular file APIs, so it's modification date wouldn't change.
As long as just one copy of the trial end date stays intact, it can simply take the latest one.
"What if two programs did this?"
I believe a full version of Opera was eventually released but it took a very long time.
Of course that's all rather silly since a 1 byte change in WinMain also defeats this, but that requires modifying the program ...
This is why I used to feel bad for Hex Rays / IDA Pro. When your product is a disassembler, there's bound to be someone in your target audience capable of cracking your software.
P.S. Don't use a cracked IDA Pro. Checkout Hopper instead. It's reasonably priced and really solid software. Been using it on and off for years.
Disclosure: I'm currently an intern working on the product.
https://alexomara.com/blog/a-silly-anti-disassembly-trick/
backup links:
https://web.archive.org/web/20210830080742/https://alexomara...
> One of the limitations to at-least the demo of Hopper is that it is not able to disassemble itself.
I was curious as to whether this limitation was present in the latest licensed version of Hopper (4.8.2).
I can confirm that I can indeed disassemble Hopper itself. Whether there's some intentional mistakes in that disassembly I don't really have time to delve into, unfortunately.
I hacked software for many years, for my personal amusement rather than profit, as it always reminded me of being a teenager hacking games for infinite lives, etc.
Now and again I take a stab at commercial linux software, but there isn't so much out there with the standard "Enter License Key" kinda protection.
Now you have Cheat Engine[1] specializing just on that
Blackmagic Davinci Resolve is pay-once-for-life, works on linux, and is better than Premiere.
Even if it were only equally good, not being subscriptionware means I'm a loyal user.
The license isn't expensive for what you get. I bought the USB dongles so I can easily transfer it between computers and also completely block Resolve from accessing the network via Little Snitch.
I can also heartily endorse the Speed Deck control surface, which is way less than $300 and also comes with a pro license.
When I come across files that DaVinci Resolve won’t open, I convert them to a format that DaVinci Resolve likes by first using the open source command-line utility ffmpeg.
I still don't have a Lightroom replacement, so I just crack it.
Darktable has its fans as well, but I haven't tried recent versions.