[PC] Teardown (*.bin - decryption)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
MSQ
Posts: 20
Joined: Sat Oct 30, 2021 7:59 pm

[PC] Teardown (*.bin - decryption)

Post by MSQ »

Good afternoon everyone,

I am looking into decrypting the archives used in the PC game Teardown.

The resources for this game are encrypted, most notable the vorbis audio and BIN archives.

You can decrypt the OGG audio from encrypted TDE format to playable vorbis using this tool - which is a fork of this tool. It is noticeable that you can give an input of encrypted ogg to receive a decrypted ogg, but you can also input a decrypted ogg to receive an encrypted ogg that matches the original one from the game files.

However, this tool does not work for the BIN archives.

I will upload below a sample of 2 ogg files, 2 bin files as well as a compiled decryption tool.

Sample

I would like to request help regarding the decryption of the bin files. :)

Regards,
MSQ.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: [PC] Teardown (*.bin - decryption)

Post by spiritovod »

@MSQ: Bin files are not encrypted, they're simply compressed zlib blocks (with no header), so offzip will work for them. I think they are kind of compiled scripts for the game engine, so there is nothing important to extract from them, considering that the game has build-in editor for modding.