12.07.2015 Views

Bug Hunter Diary

Bug Hunter Diary

Bug Hunter Diary

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7A <strong>Bug</strong> Older Than 4.4BSDSaturday, March 3, 2007Dear <strong>Diary</strong>,Last week my Apple MacBook finally arrived. After getting acquaintedwith the Mac OS X platform, I decided to take a closer look at theXNU kernel of OS X. After a few hours of digging through the kernelcode, I found a nice bug that occurs when the kernel tries to handlea special TTY IOCTL. The bug was easy to trigger, and I wrote a POCcode that allows an unprivileged local user to crash the system via kernelpanic. As usual, I then tried to develop an exploit to see if the bugallows arbitrary code execution. At this point, things got a bit morecomplicated. To develop the exploit code, I needed a way to debugthe OS X kernel. That’s not a problem if you own two Macs, but Ionly had one: my brand-new MacBook.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!