Skip to content

compilingEntropy/bytefinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bytefinder

Given a file and a mutated version of that file that crashes MobileSafari, this finds the bytes that cause the mutated version to crash MobileSafari.

What it does:
This will generate a file where the only differences remaining between it and the original are the differences required to cause a crash. It will also give you the offsets of those differences and what they are. Depends on hexdiff, which you can get here or on tihmstar's repo in "Uroboro's Tools".

How it works:
Soooo complicated. Check out my blogpost where I explain it: http://compilingentropy.blogspot.com/2013/12/finding-magic-bytes.html
No network connection is required. You should, however, start and stop the script over ssh (rather than mobileterminal) to avoid confusing the device as it does its work.

Always remember: Before you begin fuzzing, go to 'Settings' > 'General' > 'About' > 'Diagnostics & Usage' and check the "Don't Send" option. Otherwise, all your hard work will go to Apple and you will be sad. =(

Usage: finder.sh -f ./original.mov -m ./mutated.mov [-t 11] [-q]

About

Given a file and a mutated version of that file, this finds the bytes that cause the mutated version to crash MobileSafari

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages