Author Topic: IQ's CRC32 Hack Tool  (Read 10215 times)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3734
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
IQ's CRC32 Hack Tool
« on: June 02, 2011, 11:44:52 AM »
Here's a little tool I wrote to hack files (by patching the last 4 bytes) to give them the CRC32 that is desired.



Offline Haze

  • MAME Devs
  • *****
  • Posts: 184
  • Karma: +47/-0
Re: IQ's CRC32 Hack Tool
« Reply #1 on: June 06, 2011, 09:56:46 AM »
I'm not sure posting this is a good idea.

Zip still uses CRC32 as the primary verification method, and IIRC ClrMAME will still use CRC32 when rebuilding (SHA1 errors only get picked up on a full scan)

While it's pretty easy to brute force such things there is no legitimate reason to do so, some older databases still only contain CRC32 information for unknown roms, and giving pokeroms a tool to rebuild these files with fake ones benefits nobody at all.  It's basically dangerous and not helpful to anybody.  Brute Forcing SHA1 is pretty much in reach now, and if somebody does that in an easy to use tool too it breaches the entire integrity of the MAME database (the whole reason there is SHA1 in the first place is because CRC32 became insecure like this, but still exists for legacy reasons eg. the load by CRC zip support)

Widespread availability of such tools is only likely to result in MAME dropping CRC32 completely, and possibly even SHA1 completely, and switching to a newer, more secure hash algorithm, which will be more computationally expensive, and irreversibility break the load by CRC features and likewise break the existing support tools, also making scanning significantly more computationally expensive as they will no longer be able to use the informatoin in the zip headers.

« Last Edit: June 06, 2011, 10:03:28 AM by Haze »

Offline KaNyErO

  • Member
  • ***
  • Posts: 145
  • Karma: +4/-0
Re: IQ's CRC32 Hack Tool
« Reply #2 on: June 06, 2011, 07:49:20 PM »
Totally agree, i know the intention is good, but this tool should be removed  :redface:

Offline FerchogtX

  • FBNeo Dev
  • ******
  • Posts: 375
  • Karma: +7/-0
  • FB Alpha Team ;)
    • FB Alpha Plus! Web Site
Re: IQ's CRC32 Hack Tool
« Reply #3 on: June 20, 2011, 07:59:48 PM »
hehe... this probably could be the nighmare whan neogeo emulation was on top XD

See ya!! :D

Good and evil co-exist because of the balance, lies are not part of it...

FB Alpha Plus! site infos updated, see the latest info clicking on my profile link...