Mac OS Internals Training in Germany

  • Learn via: Classroom
  • Duration: 5 Days
  • Level: Intermediate
  • Price: From €8,612+VAT
We can host this training at your preferred location. Contact us!

This course accompanies Jonathan Levin's highly praised trilogy, '*OS Internals,' with deeper discussions and hands-on examples. It focuses on macOS Monterey (10.17), Ventura (10.18), and iOS versions 15 and 16, covering significant changes in these later versions. The course explores Apple's operating systems from a reverse engineer’s perspective, offering in-depth coverage of both documented and undocumented features, tools, and updates. The content is taught by the author himself and presents an opportunity to master reverse engineering techniques for macOS and iOS.

  • Knowledge of macOS at a user level, including user-mode programming.
  • Familiarity with x86_64 and/or ARM64 is highly recommended.
  • Bring your own Mac or jailbroken i-Device.

Target Audience

  • Reverse Engineers
  • Security Researchers
  • Malware Researchers
  • Forensics Experts

Particularly those interested in macOS and iOS and reverse engineering techniques specific to Apple’s operating systems.

  • Understand the process of binary linking and loading.
  • Reverse engineer and analyse Mach-O binaries.
  • Reverse engineer Objective-C and Swift code.
  • Use Apple’s documented and undocumented APIs for tracing and debugging.
  • Explain, interface with, and hook kernel system calls.
  • Identify and explain common malware techniques.
  • Understand attack surfaces in macOS and iOS, particularly in the kernel, kexts (I/O Kit), and system daemons.

The course covers the following modules over five days, with hands-on exercises and guided demos:

Architectural Overview (3 hours)

  • Introduction to the Architecture of macOS and iOS.
  • Review of Apple's architectural diagrams and corrections for accuracy.
  • Overview of iOS derivatives (TvOS, WatchOS).
  • Introduction to private frameworks.
  • The Darwin environment and XNU kernel.
  • Hardware architecture for macOS (x86, x86_64, x86_64h) and iOS (armv8, A7+, A11).
  • Apple Silicon and Rosetta II.
  • Using sysctl for hardware details and MobileGestalt for software and hardware details.

Binaries (2+1 hours)

  • Detailed examination of the Mach-O file format.
  • Types of Mach-O files: Executables, bundles, dylibs, kexts, cores.
  • Load commands, LC_SEGMENT[64], and process virtual memory setup.
  • DYLD dependencies, code signing, and code encryption.
  • Tools like otool(1) and JTool2 for static analysis.
  • Exercises include analysing user-mode malware or other binaries and defeating code encryption in iOS.

Advanced Mach-O and DYLD (2+2 hours)

  • Exploring lesser-known aspects of DYLD, Mach-O Loader, and loader opcodes.
  • Dynamic linking, rebasing chains, and DYLD callbacks.
  • Exercises include extending and hacking DYLD.

Debugging and Tracing Techniques (2+1 hours)

  • Built-in tools for debugging and profiling macOS/iOS processes.
  • Using LLDB, malloc_history, vmmap, sc_usage, and other tracing tools.
  • Endpoint Security Framework and DTrace for macOS.
  • Exercises include using KDebug, Process Explorer, and creating filters.

Launchd and XPC (2+1 hours)

  • Describing macOS and iOS startup via launchd, LaunchDaemons, and LaunchAgents.
  • Malware persistence through Launchd.
  • Introduction to Mach ports, Mach services, and XPC APIs.
  • Exercises include listing Mach and XPC endpoints, and adding a LaunchDaemon or LaunchAgent.

Mach Primitives and IPC (3+2 hours)

  • Core concepts of XNU and Mach kernel, tasks, threads, and message passing.
  • Remote code injection using Mach APIs.
  • Exercises include enumerating Mach tasks and using Mach APIs for thread injection.

XNU Kernel, Up Close (1 hour)

  • Detailed look at the XNU kernel, source tree layout, and compiling options.
  • Reverse engineering without XNU source code (iOS).
  • Introduction to the Kernel Debug Kit.

Programming KEXTs and DEXTs (1+1 hours)

  • Architecture of Kernel Extensions (KEXTs) and Driver Extensions (DEXTs).
  • Commands for managing KEXTs: kextstat, kextutil, and kmutil.
  • OSKext* APIs and dependency handling.
  • Exercises include building a KEXT and using OSKext APIs for kernel memory inspection.

I/O Kit (2+2 hours)

  • In-depth exploration of I/O Kit, object-oriented driver runtime in XNU.
  • IOUserClients, IOConnectCall* methods, and I/O Registry.
  • Exercises include reverse engineering I/O Kit kernel modules and creating a simple fuzzer.

The Network Stack (Optional) (1+1 hours)

  • Layer-by-layer discussion of the BSD-based network stack in macOS/iOS.
  • Protocol implementations, interface filters, and Berkeley Packet Filter (BPF).
  • Exercises include installing packet filters and intercepting connections.

Security (4 hours)

  • Detailed look at macOS and iOS security mechanisms like AppleMobileFileIntegrity and the Sandbox kernel extensions.
  • Code signing, entitlement handling, quarantine, and Gatekeeper.
  • Detailed deconstruction of malware examples, including the NSO Group’s “Pegasus” for iOS.
  • Exercises include analysis of student-provided malware samples.


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Germany facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

10 Januar 2025 (5 Days)
Berlin, Hamburg, Münih
Classroom / Virtual Classroom
19 Januar 2025 (5 Days)
Berlin, Hamburg, Münih
Classroom / Virtual Classroom
10 Januar 2025 (5 Days)
Berlin, Hamburg, Münih
Classroom / Virtual Classroom
07 Februar 2025 (5 Days)
Berlin, Hamburg, Münih
Classroom / Virtual Classroom
08 Februar 2025 (5 Days)
Berlin, Hamburg, Münih
Classroom / Virtual Classroom
19 Januar 2025 (5 Days)
Berlin, Hamburg, Münih
Classroom / Virtual Classroom
07 Februar 2025 (5 Days)
Berlin, Hamburg, Münih
Classroom / Virtual Classroom
08 Februar 2025 (5 Days)
Berlin, Hamburg, Münih
Classroom / Virtual Classroom
Mac OS Internals Training Course in Germany

The Federal Republic of Germany is the second most populous country in Europe and is located in Central Europe. The official language of the country is German. Germany is one of the richest countries in the world. The main exports of the country include motor vehicles and iron and steel products.

Here are some fun facts about Germany:
The fairy tale writer, the Brothers Grimm, came from Germany and wrote many famous stories such as Cinderella, Snow White, and Sleeping Beauty.
Germany is home to the largest theme park in Europe, the Europa-Park.
The famous composer Ludwig van Beethoven was born in Germany.
The Autobahn, the German highway system, is known for having no general speed limit.


Berlin was divided by the Berlin Wall from 1961 to 1989. Known for its street art, Berlin has many colorful murals and graffiti throughout the city. Also, Berlin is home to many famous museums, such as the Pergamon Museum and the Museum Island. Many clubs and bars stay open until the early hours of the morning in this big city.

Another popular city is Munich, which is famous for its Oktoberfest beer festival that attracts millions of visitors every year. Munich is also home to many historic buildings, including Nymphenburg Palace and the Marienplatz town square.

The country's capital and largest city is Berlin, however Frankfurt is considered to be the business and financial center of Germany. It is home to the Frankfurt Stock Exchange, the European Central Bank, and many other financial institutions. Because of its central location within Europe and its status as a major financial hub, Frankfurt is often referred to as the "Mainhattan," a play on the city's name and its association with the Manhattan financial district in New York City.

Frankfurt is also a major transportation hub, with the largest airport in Germany and one of the largest in Europe, Frankfurt Airport. Additionally, it is a popular destination for tourists, with its historic city center, beautiful parks, and vibrant cultural scene.

Some of the top German technology companies like Siemens AG, Bosch, SAP SE, Deutsche Telekom, Daimler AG and Volkswagen has business centers in Frankfurt. The country has a strong tradition of engineering and innovation, and is home to many other world-class technology companies and research institutions.

Tailored to meet the specific needs of Germany, Bilginç IT Academy combines cutting-edge training methodologies with our comprehensive range of Certification Exam preparation courses and accredited corporate training programs. Experience a transformative approach to IT training that will redefine your expectations.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.