VBF versions 2.4+

Ford information and tools can be found here
Post Reply
bstddc5
Posts: 4
Joined: Thu Jun 29, 2023 3:18 am
cars: s550 mustang

VBF versions 2.4+

Post by bstddc5 »

has anyone had luck figuring out what kind of encryption/compression is used on the newer vbf formats? short of disassembling IDA im running out of leads on where to find answers.
User avatar
Gatecrasher
Posts: 352
Joined: Sat Apr 25, 2020 6:09 am

Re: VBF versions 2.4+

Post by Gatecrasher »

Got any examples? I've got a few 2.4 files but they're not encrypted or compressed. They're for 2017-ish.
bstddc5
Posts: 4
Joined: Thu Jun 29, 2023 3:18 am
cars: s550 mustang

Re: VBF versions 2.4+

Post by bstddc5 »

here is a 2.4 version
Attachments
KR3A-14C204-BJE.zip
(2.42 MiB) Downloaded 110 times
User avatar
Gatecrasher
Posts: 352
Joined: Sat Apr 25, 2020 6:09 am

Re: VBF versions 2.4+

Post by Gatecrasher »

Check this out.

I have a command line tool I've been using, and while it extracted your file, it looked like gibberish. Block sizes were weird and there was high entropy. Just like you said. Compressed and/or encrypted.

So I did a little digging and found this. https://github.com/smartgauges/qvbf
Direct link to exe: https://github.com/smartgauges/qvbf/raw ... 2/qvbf.exe

It's Russian, so take it with a grain of salt. But it seems to work. The program output explicitly says it uncompressed the block. The resulting block I extracted is a more normal size (16384 instead of 12979), and I can see plain text data in the boot block referencing SHA1 hashes.
bstddc5
Posts: 4
Joined: Thu Jun 29, 2023 3:18 am
cars: s550 mustang

Re: VBF versions 2.4+

Post by bstddc5 »

GOOD FIND! it looks like there's lzss decompression going on. ill give it a look and compare against some files i already have for accuracy and report back.
bstddc5
Posts: 4
Joined: Thu Jun 29, 2023 3:18 am
cars: s550 mustang

Re: VBF versions 2.4+

Post by bstddc5 »

good news it works and seems to match up. bad news the output format is terrible at best. trying to patch together 100+ blocks on some files sounds like a terrible time.
User avatar
Gatecrasher
Posts: 352
Joined: Sat Apr 25, 2020 6:09 am

Re: VBF versions 2.4+

Post by Gatecrasher »

I thought doing 30 on my 2.7 EcoBoost was bad. 100 would be super annoying.

Check out the attachment. I used the Linux cat command to merge them. Took all of 5 minutes, including pre-processing the file list into a text string.

https://stackoverflow.com/questions/103 ... nux-system

I'd recommend spot checking it to make sure I didn't get something out of order. I just used the default order that qvbf spit them out in, so that could be wrong too. I think the overall concept is sound though.
Attachments
KR3A-14C204-BJE_merged.zip
(1.88 MiB) Downloaded 98 times
User avatar
antus
Site Admin
Posts: 8986
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: VBF versions 2.4+

Post by antus »

That's a good method, that's how I make stacked bins for other purposes too.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Post Reply