Page 3 of 6

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Fri Apr 24, 2015 2:36 am
by tweakbsd
Hello Jonathan,

I really love your book, it definetly was my intro into OS X security research, as well as @osxreverser (fg!) blogs.
One of the most interesting stuff for me would be internals of the closed-source 'taskgated' chain.
Beginning with the XNU kernels task_for_pid() mach-trap, the TASK_ACCESS_PORT special port,
check_task_access() upcall to taskgated and all involved TrustedBSD hooks via mac_proc_check_get_task().

Another interesting topic is the entitlement system used by sandboxed processes and how they are enforced by taskgated. Last but not least some details / internals of how provisioning profiles enable entitlement usage.

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Sat Apr 25, 2015 2:03 am
by MaxBrein
Feature request- Apple Push notifications in depth. There are lot of services that communicate with each other for pushes and there are XPC and mach involved.

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Fri May 08, 2015 10:34 pm
by morpheus
Max: I'll discuss apsd either in the "over the air" chapter, or in an as yet undetermined chapter that will cover all of iOS/OS X's daemons.

TweakBSD: taskgated will be covered in depth, as well as entitlements. Thanks for feedback. There's a dedicated security chapter now. You might want to check out the article I wrote about mobile obliterator a while back, too.

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Tue May 19, 2015 12:12 pm
by griganskiy
Would be great to add updated "Programming Kernel Extensions" chapter.

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Wed May 20, 2015 10:39 pm
by morpheus
That, friend Griganskiy, is part of Volume II of the 2nd Edition -- The first Volume (whose TOC is largely finalized by now at http://NewOSXBook.com/TOC2.html) is user mode. But Volume II - whose TOC I will soon publish - will have more stuff for kernel, including:

- Vouchers, Banks, and ATMs (and no, that's not finances, that's the new Mach APIs)
- KAuth (at last)
- VFS in more depth, including a sample null filesystem
- Much more about kexts, including internal structure, and reversing tricks.
- updates in HFS+ (not that many, but still)
- more on PMAP management (physical memory)
- scheduler modifications in 10.9 +
- QoS and the new pthread implementation
- MUCH more on I/O Kit, including actually writing an I/O Kit driver (i.e. bringing my book closer to the Halvorsen perspective of OSX/iOS Kernel programming, which deals with writing drivers)

Yeah, I think I should publish that ToC2-2 already :-)

Keep those requests coming,

J

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Wed May 27, 2015 8:34 pm
by jol
Having a chapter on the window system/WindowServer would be great.

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Sat Jun 06, 2015 8:06 pm
by caesar01
+1 for windowServer !...
jol wrote:Having a chapter on the window system/WindowServer would be great.

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Wed Jun 10, 2015 9:09 pm
by halprin
I come from the "Mac OS X Internals: A Systems Approach" ilk, and I am excited for this second edition. After a decade of having the aforementioned book, it's time to update. You can count me in as one who will gladly get this book (and volume II) once it comes out!

I have two requests or suggestions.

1. When showing examples that use command line tools to get information, use the simplest tool to easily get the information. For example with Mach-O files, if the information can be easily obtained using otool, use otool. If the information is more complex and would be more easily obtained using jtool, then use jtool.

2. Make the second edition available in hardcover. I love that "Mac OS X Internals: A Systems Approach" is a hardcover because it could take a beating from me spending many days and nights pouring over it. It also gives the book an air of professionalism that I personally like.

Thanks!

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Wed Jun 10, 2015 11:15 pm
by morpheus
Suggestions noted; I'll probably using more of my custom tools (which incidentally are designed to overlap in functionality/output with Apple's own in simple cases). Q.v answer to your other question in the Q/A

As for hardcover, that's an idea - it depends on the self-printing arrangement. It will surely make it costlier, but I promise to make both volumes worth every cent. This time, I have full control of the process, won't get cut off by my publisher on page count, or censored because of iOS betas, and have better style editing that will actually catch typos instead of introducing them :)

Re: Any Requests for a 2nd Edition of the book?

PostPosted: Thu Jun 11, 2015 5:17 pm
by Guest
Why don't you consider splitting into two volumes? OSX and iOS internals.