|
is0-mick
|
 |
« on: January 06, 2006, 07:53:34 PM » |
|
KingKongTheGame_clean.bf (216mb)
This file seems editable too. I just tried altering some text strings to see if it had a CRC check or anything. see photo for results.
There are a lot of text values / var names / strings in their also. including something about a cheat menu, and debug it mentioned a couple of times.
DEBUG_TCINE DumpDebugDat [MUS][DEBUG] ,4 gaoP9 {aHM L kit-r#<é detected Erreur [SND_MusManager] bad sc%=ĺ
SND_gi_ShowSubtitle MENU_f_LockedDuring MENU_f_LifeBar_State i_In_Menu world_key i_cheat_page Humains_PafTimer Enemy_af_ReaDist
vrai 1 Variable qui definit s'il y a un chargement ou pas index des marins paramčtres de l'objet en main range de chacune des armes numéro de frame courante 1 = 4/3BB, 2 = 4/3, 3 = 19/9 faux
Key of the activated world page de cheat si le timer est ŕ 0 l'humain peut etre attaqué sinon non inventaire munitions chargées dans l'arme faux
references to filenames including wav files:
uni_exec_get_world_key.ofc ü ˙˙˙˙˙˙˙˙ bCTest_Jack_Stalker_01.wol ü ˙˙˙˙˙˙˙˙ bC_shoot_dummies.wol
Tommygun reload.wav ü ń bCTommygun shoot end.wav ü ˙˙˙˙ó bCStone_big_close_end.wav
I just had a quick scan through this. I think it requires more investigation. maybe there may be a way to exploit this file?
Mick
|
|
|
|
|
Logged
|
|
|
|
|
Hoss
|
 |
« Reply #1 on: January 06, 2006, 08:20:38 PM » |
|
good idea, if i can get the kiosk dvd, i can help test this out.
|
|
|
|
|
Logged
|
|
|
|
|
Unikum
|
 |
« Reply #2 on: January 07, 2006, 01:14:47 PM » |
|
Please, do not post links to copyrighted materials.
|
|
|
|
« Last Edit: January 07, 2006, 01:42:10 PM by SiliconIce »
|
Logged
|
|
|
|
|
SiliconIce
|
 |
« Reply #3 on: January 07, 2006, 01:45:36 PM » |
|
Interesting, is0-mick. Future code-injections sites?  Not if the security works, but interesting to note for sure
|
|
|
|
|
Logged
|
-- SiliconIce
|
|
|
|
th0mas
|
 |
« Reply #4 on: January 08, 2006, 01:09:19 PM » |
|
Sounds like it's an unauthenticated archive format.
A packer/unpacker is in order. I'm investigating now..
Tom
|
|
|
|
|
Logged
|
|
|
|
|
Hoss
|
 |
« Reply #5 on: January 10, 2006, 12:34:21 AM » |
|
are there any good programs that can take out all of the blocks? Right now i'm using textpad. I just want to see what it contains. I will agree that it's decompressed on load. It may use a standard format, but probably won't. Well at least its not crypted
|
|
|
|
|
Logged
|
|
|
|
|
th0mas
|
 |
« Reply #6 on: January 10, 2006, 01:45:52 AM » |
|
get a hex editor.
|
|
|
|
|
Logged
|
|
|
|
|
is0-mick
|
 |
« Reply #7 on: January 10, 2006, 09:52:28 AM » |
|
I use Ultraedit the most, also Hexworkshop comes in handy. I think the files are just stored (not compressed) in the large file (it has BIG as the 1st three letters, and is referenced by the .ini file in the same directory. (BigFile=d:\KingKongTheGame_clean.bf) it looks similar to the xzp files.
Mick
|
|
|
|
|
Logged
|
|
|
|
|
th0mas
|
 |
« Reply #8 on: January 10, 2006, 12:21:28 PM » |
|
What is so interesting about this file is that you were able to modify bytes and still load it. AFAIK (wiki not up for me to verify) all the container file formats we've looked at so far are authenticated, and such would not load if modified. This one is an exception.
|
|
|
|
|
Logged
|
|
|
|
|
Hoss
|
 |
« Reply #9 on: January 11, 2006, 12:45:04 AM » |
|
can someone make an unpacker so we can see what all is inside?
|
|
|
|
|
Logged
|
|
|
|
|
th0mas
|
 |
« Reply #10 on: January 11, 2006, 10:21:24 AM » |
|
it is my intent to do so once I obtain the file.
|
|
|
|
|
Logged
|
|
|
|
XIU
Newbie

Posts: 2
|
 |
« Reply #11 on: January 12, 2006, 02:01:05 PM » |
|
What is so interesting about this file is that you were able to modify bytes and still load it. AFAIK (wiki not up for me to verify) all the container file formats we've looked at so far are authenticated, and such would not load if modified. This one is an exception.
The .XZP container format also doesn't has any checks in it.
|
|
|
|
|
Logged
|
|
|
|
|
th0mas
|
 |
« Reply #12 on: January 14, 2006, 02:20:22 PM » |
|
it's not an XZP.
Interestingly, data is stored in little-endian format in this file.
|
|
|
|
|
Logged
|
|
|
|
|
Hoss
|
 |
« Reply #13 on: January 14, 2006, 02:21:40 PM » |
|
its probably because its developed on a pc, and it only contains data, no binary data.
|
|
|
|
|
Logged
|
|
|
|
|
th0mas
|
 |
« Reply #14 on: January 14, 2006, 03:48:16 PM » |
|
That.. doesn't really make any sense. If I were developing on a PC for a device that I'd want to be able to load the data as fast as possible I'd be sure to reorder my bytes prior to releasing the data. In either case, here's an unpacker: http://th0mas.sixbit.org/bfunpack.cI suppose I could make a windows binary if anyone wants one just ask. As far as I can tell it works (ie, the Sound_Common.bf file extracts a bunch of proper wave files. The other bf file seems a little weirder.. it might be wrong, if anyone can verify then I'll check, otherwise I'm just assuming that the files inside are odd  -Tom
|
|
|
|
|
Logged
|
|
|
|
|
Hoss
|
 |
« Reply #15 on: January 15, 2006, 12:09:38 AM » |
|
so does it unpack the "KingKongTheGame_clean.bf" file?
|
|
|
|
|
Logged
|
|
|
|
|
Hoss
|
 |
« Reply #16 on: January 15, 2006, 12:26:19 AM » |
|
im having problems compiling under cygwin, it gives the a build error: bfunpack.c:9: error: conflicting types for 'uint32_t' /usr/include/stdint.h:28: error: previous declaration of 'uint32_t' was here
I also tried cl.exe, but it popped up a bunch of errors
|
|
|
|
|
Logged
|
|
|
|
|
BlueCop
|
 |
« Reply #17 on: January 15, 2006, 01:18:30 AM » |
|
I suppose I could make a windows binary if anyone wants one just ask.
I'm asking. Thanks in advance =)
|
|
|
|
|
Logged
|
|
|
|
|
is0-mick
|
 |
« Reply #18 on: January 15, 2006, 11:53:47 AM » |
|
Hi th0mas, A windows executable would be great! Also is it possible to re-pack?
Cheers
Mick
|
|
|
|
|
Logged
|
|
|
|
|
Hoss
|
 |
« Reply #19 on: January 15, 2006, 12:00:33 PM » |
|
it should be possible to repack it, just reverse the code to pack instead of unpack, and since there isn't any crc check or anything, it makes it alot easier.
|
|
|
|
|
Logged
|
|
|
|
|