Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Unsigned code loader for Exynos BootROM

License

NotificationsYou must be signed in to change notification settings

frederic/exynos-usbdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exynos-usbdl : unsigned code loader for Exynos bootrom

Disclaimer

You will be solely responsible for any damage caused to your hardware/software/warranty/data/cat/etc...

Description

Exynos bootrom supports booting from USB. This method of boot requires an USB host to send a signed bootloader to the bootrom via USB port.

This tool exploits avulnerability in the USB download mode to load and run unsigned code in Secure World.

Supported targets

  • Exynos 8890
  • Exynos 8895

Access to USB download mode

Among all the booting methods supported by this chipset, two are configured in fuses to be attempted on cold boot.If the first boot method fails (including failed authentication), then second boot method is attempted.

On retail smartphones, the usual boot configuration is internal storage (UFS chip) first, then USB download mode as fallback.This meansUSB download mode is only accessible if first boot method has failed.

First boot method sabotage can be achieved either through software or hardware modification.The approach used for this project was to dig a hole in UFS chip with dental scraper.

For Exynos 8890, @astarasikov shared a better approach to corrupt bootloader without opening the device : from Download mode, flashcm.bin (from a firmware image) ontoBOOTLOADER partition usingHeimdall tool. Please keep in mind that it will brick your device until you restore theBOOTLOADER partition.

Once the first boot method fails, USB download mode can be accessed by pressing and holding power button.

Usage

./exynos-usbdl <mode> <input_file> [<output_file>]mode: mode of operationn: normale: exploitinput_file: payload binary to load and executeoutput_file: file to write data returned by payload (exploit mode only)

Payloads

Payloads are raw binary AArch64 executables. Some are provided in directorypayloads/.

License

Please seeLICENSE.

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp