Skip to content

malus-security/vfdecrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VFDecrypt

VFDecrypt is used to decrypt Apple iOS root filesystem images. Root filesystem images inside IPSW files are encrypted for iOS >= 9. Since iOS 10, root filesystem images are not encrypted and VFDecrypt is no longer required.

Decrypting root filesystem images requires the decryption key. This is provided for most root filesystem images version by the community at The iPhone Wiki.

There are several VFDecrypt builds available on the Internet. We've used and updated the implementation here. We've updated vfdecrypt.c to support OpenSSL >= 1.1.0 and the Makefile to be OS-dependent.

You build vfdecrypt using

make

You runn vfdecrypt by passing it the root filesystem key, the root filesystem image and the output (decrypted) file:

./vfdecrypt -i ~/Projects/store/out/iPhone5,1_9.3_13E237/058-25512-331.dmg -k 2a66fd6377af8f60d5e300ac3aa8d9c44a1c0dee94579ad3f8a26515debbf381bb971ae8 -o decrypted.dmg

iExtractor runs vfdecrypt as part of the bin/decrypt_fs and scripts/decrypt_fs scripts.

The usage inside iExtractor:

docker run -v "<input_absolute_path>":/in -v "<output_absolute_path>":/out -t ghcr.io/malus-security/vfdecrypt:latest -k<rootfs_key> /in /out > /dev/null 2>&1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published