~/talk

Exploiting Unpatched iOS Vulnerabilities for Fun and Profit

Talkat Black Hat USA 2014 · 2014-08-02..08-07· [security, ios]
links:none on file
links:none on file
links:none on file
name:Billy Lau
links:none on file
slides:none on file

Reconstructs and rechains vulnerabilities in iOS 7.1.x to run unsigned code as root without a kernel exploit: starts from the evasion7 nine chained vulnerabilities, uses AFCD and an installerd symlink race to inject a developer-signed library into a non-container proxy, abuses a dyld zero-size code-section trick to bypass code signing, exploits a syslogd symlink bug to dump and remount the root partition on a PC, and modifies lockdownd service.plist to spawn root services; jailbreak works but does not patch the kernel so persistence requires re-triggering after reboot.

AI-written summary · about

  1. 0:00Exploiting Unpatched iOS Vulnerabilities for Fun and Profit
  2. 2:20Analysis of patched/unpatched vulnerabilities - What steps need to be re-exploited? • Discovery of new vulnerabilities to replace patched vulnerabilities • Steps for Jailbreaking iOS 7.1.2
  3. 9:07Escape the sandbox - Exploitan un-sandboxed process. - Exploit design flaw in sandbox implementation - Override sandbox functions in libsandbox.dlib.
  4. 24:13A kernel vulnerability is used to patch the kernel -Disable code signing check
  5. 27:56Third party apps have access to /tmp for free - Use app to access /tmp to create symlink on exploit • #5: Sign the code with Developer/Enterprise License -Load developer-signed dylib in exploit #6
  6. 30:49New Vulnerability for Permission Downgrading
  7. 34:23Forge a dylib to have a constructor, then sign with a developer license -Similar toctors in ELF - Constructor is called when the dylib is loaded
  8. 34:56Dump root partition using syslogd exploit then modify it - Download it to PC through AFC
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.