Keeping the Pirates at Bay – Copy and Crack Protection (2001)
1–10 of 60 posts
Re: Keeping the Pirates at Bay – Copy and Crack Protection (2001)
#2Re: Keeping the Pirates at Bay – Copy and Crack Protection (2001)
#3Re: Keeping the Pirates at Bay – Copy and Crack Protection (2001)
#4[deleted]
Re: Keeping the Pirates at Bay – Copy and Crack Protection (2001)
#5[deleted]
This game came years later, but it's possible that CRC was the most effective option from a performance perspective.
Re: Keeping the Pirates at Bay – Copy and Crack Protection (2001)
#6[deleted]
Re: Keeping the Pirates at Bay – Copy and Crack Protection (2001)
#7[deleted]
Re: Keeping the Pirates at Bay – Copy and Crack Protection (2001)
#8[deleted]
First, this was a decade and a half ago. SHA was slow, open source SHA implementations were rare at the time, crypto had a stigma due to export restrictions, and was generally problematic to work with due to limited hardware support and speed.
Second, several different implementations were needed and they needed to be different enough that a simple pattern search would not find them all. SHA implementations LOOK a lot like SHA implementations in the disassembly, and it's hard to modify them in a way that leaves them functional but different enough that the compiler doesn't optimize away differences. A CRC is simple enough that you can do things like that.
Third, these things were all over the code, and run frequently. They couldn't just set a global flag and be done with it. They had to be fast. I am not sure, but I think the Playstation had hardware CRC support, but no hardware SHA support.
It's amazing that we now live in a world where you wouldn't think twice about using a cryptographically secure algorithm for data you don't actually need to hide (just obfuscate for a month or two) and not have any concern about performance.
Incidentally, if you're interested in an application of essentially every known antidebugging and antimodification technique known at the time in the same binary, have a look at https://www.blackhat.com/presentations/bh-europe-06/bh-eu-06...