| Author |
Topic: PB Screenshots - Fakes can be detected |
| Fuz@2die4.com~rb |
General Member Since: Dec 23, 2006 Posts: 145 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Thursday, May. 22, 2003 10:30 pm |
 |
I already posted this in another thread - but I thought I would repeat it as it is important for the value of PB screenshots as proof of cheating.
Lately, some claims have been made that fake PB images are easy to make.
I did a couple of experiments...
I opened the image aab.png in a hex viewer. The .png format has certain tags in the start of the file. PNG, IHDR, IDAT was there in the original file. I then opened the file in PSP7 and MS Paint (5.1 from WinXP) and saved a copy in each without making any changes.
PSP7 adds the tIME, pHYs, and gAMA tags btween IHDR and IDAT.
MS Paint adds sRGB, gAMA, cHRM, and pHYS between IHDR and IDAT.
I then opened the file that had been saved with MS Paint in PSP7 and saved it again. The tags added by MS Paint were gone, and the same tags as the original PSP7 save where there.
And then there is the filesize changes...
Original size: 48740 bytes Saved with PSP: 58319 bytes Saved with MS Paint: 62829 bytes Reopened MS Paint copy, saved a second time: 62829 bytes Open MS Paint copy in PSP7 and saved: 58319 bytes.
I repeated this for one other image as well: aaa.png The PNG tag differences were the same as before.
Original size: 77036 bytes Saved with PSP: 61659 bytes Saved with MS Paint: 89088 bytes Reopened MS Paint copy, saved a second time: 89088 bytes Open MS Paint copy in PSP7 and saved: 61659 bytes.
Conclusion
Anti-tamper indication 1: The PB PNG image is most likely NOT tampered with if it contains only the PNG, IHDR and IDAT tags.
Anti-tamper indication 2: Both MS Paint and PSP7 saves the image to a different size than the original. ie if the size DIFFERS from the original - the original has most likely NOT been tampered with.
Someone else might want to repeat this with other popular image editors. My bet is that you will find characteristica that are unique to those editors as well. |
 |
|
|
| Stage~rb |
General Member Since: Dec 23, 2006 Posts: 21 Last: Dec 23, 2006 [view latest posts] |
|
|
|
|
| Fuz@2die4.com~rb |
General Member Since: Dec 23, 2006 Posts: 145 Last: Dec 23, 2006 [view latest posts] |
|
|
|
|
| [TheFORCE]~rb |
General Member Since: Dec 23, 2006 Posts: 580 Last: Dec 23, 2006 [view latest posts] |
|
|
|
|
| Fuz@2die4.com~rb |
General Member Since: Dec 23, 2006 Posts: 145 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Thursday, May. 22, 2003 11:10 pm |
 |
| Quote ([TheFORCE] @ May 23 2003, 12:58 am) | | that doesnt really make sense tho... what u say is that whatever pb ss u open in pic editing prog, it adds some more code thus the change in filesize.. that change does not in any way prove a fake screen. |
You've got it backwards...
The change in filesize when saved with an image editor proves (or at least indicates) that the image is NOT a fake.
Observe that the change in filesize can be bigger than the increase caused by the additional tags, indicating that the actual compression or organisation of the PNG file for each image editor is different than the compression/organisation of the original PB file.
So: IF you save it in MS Paint, and the size is the same as the alledged original (ie the fake) - and the extra tags are there - THAT is when you know you have a fake.
My examples only prove that PSP and MS Paint cannot be used to make fake PB PNGs. Until someone has tested most available image editors - we can't say for sure that it can't be done. My guess however, is that it is pretty hard to fake it without leaving clues. |
 |
|
|
| Fuz@2die4.com~rb |
General Member Since: Dec 23, 2006 Posts: 145 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Thursday, May. 22, 2003 11:15 pm |
 |
| Quote (spike232 @ May 23 2003, 1:06 am) | | ... produces images which are actualy smaller, by about 1km ... |
Wow! That is quite a difference 1km = 1000 meters...  |
 |
|
|
| Stage~rb |
General Member Since: Dec 23, 2006 Posts: 21 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Thursday, May. 22, 2003 11:18 pm |
 |
| Quote | So: IF you save it in MS Paint, and the size is the same as the alleged original (ie the fake) - ... - THAT is when you know you have a fake.
|
Ah, I didn't understand that this was what you ment. That sounds a lot safer indeed.
Edit:
When opening an un-altered file as well as one saved in Photoshop in a hex-editor, they don't seem as the same files. The entire "pre-image" part (The part in the beginning that is the same for every PB-screen I've checked out) is different.
Unless it is possible to change this "pre-image" part by switching the altered file's "pre-image" part with an unaltered file's "pre-image" part, it would be possible to detect by simply comparing the "pre-image" parts. |
 |
|
|
| Fuz@2die4.com~rb |
General Member Since: Dec 23, 2006 Posts: 145 Last: Dec 23, 2006 [view latest posts] |
|
|
|
|
| turgon~rb |
General Member Since: Dec 23, 2006 Posts: 1488 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Friday, May. 23, 2003 02:40 pm |
 |
nice work fuz. is there anyway you can pass this along to the people at punkbuster so they could put it on their site if they deem it reliable. im just trying to get this info out to as many people as possible, im sure they would be intrested. also i would send it to the people at www.punksbusted.com im sure they would find it intresting and would probably post it. |
 |
|
|
| Fuz@2die4.com~rb |
General Member Since: Dec 23, 2006 Posts: 145 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Friday, May. 23, 2003 07:03 pm |
 |
Thanks, Turgon. I did actually mail Bjoern (from evenbalance), and he promised to get back with further info next tuesday. I suggested a service where u could upload an image to EvenBalance's web site and get an automated validation of authenticity - but it remains to be seen if they will bite  Cheating is a problem - but so is being wrongfully accused - so hopefully we will be able to validate the PB images to rule out picture manipulation. The ability to make OSP take screenshots at different intervals increased the chance to get the cheaters, and there is nothing more satisfying than to watch them get caught. Play honestly, play fair, play fun. Cheats are for losers. |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|