All Projects → matteyeux → Decrypt0r

matteyeux / Decrypt0r

Licence: mit
CLI tool to decrypt iOS firmware components

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Decrypt0r

Bcf Skeleton
BigClown Firmware Skeleton (Empty Application)
Stars: ✭ 14 (-78.46%)
Mutual labels:  firmware
Heads
A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops and servers.
Stars: ✭ 987 (+1418.46%)
Mutual labels:  firmware
Whitefox Keyboard Macos Configuration
⌨ A macOS compatible configuration for Matt3o's Whitefox keyboard.
Stars: ✭ 53 (-18.46%)
Mutual labels:  firmware
Mu tiano plus
UEFI Tiano Core Value
Stars: ✭ 28 (-56.92%)
Mutual labels:  firmware
Exein Openwrt Public
Openwrt 18.06.5 featured with the Exein's security framework
Stars: ✭ 36 (-44.62%)
Mutual labels:  firmware
Papers
My presentations and papers
Stars: ✭ 40 (-38.46%)
Mutual labels:  firmware
Vsphere Modules
This is my Module Collection for VMware vSphere
Stars: ✭ 18 (-72.31%)
Mutual labels:  firmware
Bleeper
Library to manage your firmware configurations written in C++
Stars: ✭ 54 (-16.92%)
Mutual labels:  firmware
Flysky I6x firmware bugfix
Fixes a bug in the original FS-i6X firmware
Stars: ✭ 36 (-44.62%)
Mutual labels:  firmware
Efiseek
Ghidra analyzer for UEFI firmware.
Stars: ✭ 45 (-30.77%)
Mutual labels:  firmware
Davega
Firmware for DAVEga, a device for electronic skateboards that displays data read from VESC based speed controllers.
Stars: ✭ 30 (-53.85%)
Mutual labels:  firmware
Esp3d
FW for ESP8266/ESP8285/ESP32 used with 3D printer
Stars: ✭ 979 (+1406.15%)
Mutual labels:  firmware
Sonoff Hack
Custom firmware for Sonoff GK-200MP2B camera
Stars: ✭ 41 (-36.92%)
Mutual labels:  firmware
Mobiletss
Check signing status and save blobs on iOS device.
Stars: ✭ 21 (-67.69%)
Mutual labels:  firmware
Maixpy
MicroPython for K210 RISC-V, let's play with edge AI easier
Stars: ✭ 1,065 (+1538.46%)
Mutual labels:  firmware
Lowlevelprogramming University
How to be low-level programmer
Stars: ✭ 7,224 (+11013.85%)
Mutual labels:  firmware
Stm32f103 Usb Cdc Cmsis
STM32F103 USB CDC CMSIS
Stars: ✭ 40 (-38.46%)
Mutual labels:  firmware
Arcticfox Config
Configuration Tool for Vape Battery Mods with Arcticfox Firmware. ☁️ 🔧 Works on MacOS and Linux.
Stars: ✭ 58 (-10.77%)
Mutual labels:  firmware
Desk Lamp Alternative Firmware
An alternative firmware for the Mijia Xiaomi Desk Lamp
Stars: ✭ 54 (-16.92%)
Mutual labels:  firmware
Memfault Firmware Sdk
Memfault Firmware SDK for embedded systems. More information at https://docs.memfault.com.
Stars: ✭ 42 (-35.38%)
Mutual labels:  firmware

Decrypt0r

 ____                             _    ___
|  _ \  ___  ___ _ __ _   _ _ __ | |_ / _ \ _ __
| | | |/ _ \/ __| '__| | | | '_ \| __| | | | '__|
| |_| |  __/ (__| |  | |_| | |_) | |_| |_| | |
|____/ \___|\___|_|   \__, | .__/ \__|\___/|_|
 Version 1.2.0        |___/|_| by matteyeux

Rootfs decrypting

To decrypt rootfs or other components like IMG3 files you have to grab keys from iPhonewiki.

First download the IPSW you want to decrypt, you can download it directly with my tool or from ipsw.me.
The program will ask you to add the keys grabed from iphonewiki (only one for the rootfs).

Specify the name of the file containing rootfs (ex 058-24465-023.dmg).
In the IPSW file, there is three dmg files, rootfs is the biggest.

Then the program is going to work automaticaly.

If you want to modify rootfs (ex Setup.app) you can use TransMac for Windows, whatever it won't

Encrypting rootfs and creating a Custom fimware

You can create a Custom fimware. You won't be able to restore whith it.
Is this feature useless ?
Yes, but it can still be used.

IMG3

To decrypt IMG3 files like kernelcache or iBoot, you have to grab the keys from theiphonewiki
The first one to add is the largest, and the second one is the iv key (the smallest).
Then follow instructions.

IMG4

Decrypt0r now supports IMG4 (or im4P, whatever) files. I added a function which checks if the file is an IM4P or not.

You can also decompress compressed iPhone 7 kernelcache when it asks for firmware just press [enter].

How to build it?

To build Decrypt0r just cd to the decryptr0r directory and run make

To build Xpwn and other stuff run build.sh on Debian like distros.
macOS users sorry there is no more bins available. But if you just plan to just decrypt firmware, install libimg3

Compatibility

Decrypt0r is compatible with Linux & macOS.
Windows users, check Decrypt0r for Windows

Credits

Credits go to :
My friend @Dev__Jam for initial idea and some code.
Some functions by Lilo Colson
Reimagine tool made by Danzatt
Callum Jones for his awesome website ipsw.me & API .
Joshua Hill for libimg3

Developed by Mathieu Hautebas (@matteyeux)

For this tool I used:

For more informations contact me on Twitter: @matteyeux or ask this awesome website (not mine).

Feel free to contribute

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].