Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 8 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Soldier of Fortune
Category: SoFII General
General game questions, comments and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
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]
Level 4
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.
Share |
Stage~rb
General Member
Since: Dec 23, 2006
Posts: 21
Last: Dec 23, 2006
[view latest posts]
Level 1
Category: SoFII General
Posted: Thursday, May. 22, 2003 10:34 pm
Posted this at other thread too.

Couldn't you simply remove the Photoshop/Pain/etc tags with a hex-editor?
Did you try this?

And are all PB-screens the same size?
Share |
Fuz@2die4.com~rb
General Member
Since: Dec 23, 2006
Posts: 145
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: SoFII General
Posted: Thursday, May. 22, 2003 10:45 pm
That would have to be a pretty advanced hex editor... or you would have to leave an area of zeros in the header, which most likely would make the file invalid.  I haven't actually studied the PNG file format in detail, but it seems to be CRC checked as well.  

The PB scr shots are not the same file size - they are compressed - and the image sizes - ie screen area - can be set individually for each server.

I am not saying it can't be done, but you would have to do some serious crufting to make it happen.  Who would take all that trouble and go to such length to fake an image of a cheat?
Share |
[TheFORCE]~rb
General Member
Since: Dec 23, 2006
Posts: 580
Last: Dec 23, 2006
[view latest posts]
Level 6
Category: SoFII General
Posted: Thursday, May. 22, 2003 10:59 pm
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.
Share |
Fuz@2die4.com~rb
General Member
Since: Dec 23, 2006
Posts: 145
Last: Dec 23, 2006
[view latest posts]
Level 4
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.
Share |
Fuz@2die4.com~rb
General Member
Since: Dec 23, 2006
Posts: 145
Last: Dec 23, 2006
[view latest posts]
Level 4
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...  :s3:
Share |
Stage~rb
General Member
Since: Dec 23, 2006
Posts: 21
Last: Dec 23, 2006
[view latest posts]
Level 1
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.
Share |
Fuz@2die4.com~rb
General Member
Since: Dec 23, 2006
Posts: 145
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: SoFII General
Posted: Friday, May. 23, 2003 08:30 am
Stage,

That is my theory as well... that all image editors will leave traces in the PNG header that makes an edited image distinguishable from the real McCoy.
Share |
turgon~rb
General Member
Since: Dec 23, 2006
Posts: 1488
Last: Dec 23, 2006
[view latest posts]
Level 8
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.
Share |
Fuz@2die4.com~rb
General Member
Since: Dec 23, 2006
Posts: 145
Last: Dec 23, 2006
[view latest posts]
Level 4
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.
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Soldier of Fortune : SoFII General

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»