Skip to content
  • On Sale

  • New

Autonomous Darwin: AI-Driven macOS Fuzzing and Vulnerability Research - Chaitanya RK & Ajith Chandran - DCSG2027

Description

Name of Training: Autonomous Darwin: AI-Driven macOS Fuzzing and Vulnerability Research
Trainer(s): Chaitanya RK & Ajith Chandran
Skill Level: Advanced
Dates: March 5–6, 2027
Time: 9 AM to 5 PM
Venue: TBD
Early Bird Cost: S$3,300 (incl. GST)
Regular Cost: S$3,600 (incl. GST)

Short Summary

Autonomous Darwin is a hands-on course in macOS userland vulnerability research on Apple Silicon. Participants use AI agents alongside reverse engineering, binary instrumentation, fuzzing, and program analysis to discover vulnerabilities, establish their impact, and produce reproducible findings. Through practical labs involving Apple's ColorSync framework and a purpose-built vulnerable service, participants will investigate memory-safety vulnerabilities, filesystem logic bugs, TCC bypasses, and sandbox escapes while learning to validate AI-generated findings through independent testing.

Top 3 Takeaways

  • Learn to use AI agents alongside Ghidra, LLDB, Frida, and binary instrumentation to accelerate macOS vulnerability research while independently verifying results.
  • Build fuzzing harnesses, investigate memory-safety crashes, and exploit filesystem and XPC logic vulnerabilities in controlled lab environments.
  • Develop reproducible vulnerability findings, evaluate incomplete patches, and prepare professional vulnerability reports.

Course Description

Autonomous Darwin is a hands-on course in macOS userland vulnerability research on Apple Silicon. Participants use AI agents alongside reverse engineering, binary instrumentation, fuzzing, and program analysis to find bugs, establish their impact, and produce reproducible findings.

The course follows two routes to discovery. Participants build and evaluate a fuzzing harness for Apple's closed-source ColorSync framework, then use Frida tracing and agent-assisted analysis to investigate filesystem and XPC logic bugs in Quarry, a purpose-built archive-processing service.

Quarry provides a controlled environment for taking a memory-safety crash to a usable primitive, exploiting a filesystem bug for a TCC bypass, and turning an XPC authorization flaw into a sandbox escape.

AI agents assist with target comprehension, harness development, mutation strategies, and code review. Participants test their proposals against recorded baselines and executable checks. The labs include misleading agent explanations and measurements, giving participants practice in deciding which claims the evidence supports.

The course also covers macOS memory protections, incomplete fixes, patch bypasses, and vendor reporting. Participants finish by packaging a finding and having another researcher reproduce it.

By the end of this training, participants will be able to:

  • Map a macOS userland attack surface and explain which security boundary a finding crosses.
  • Reverse engineer and dynamically confirm a target using Ghidra, LLDB, and AI agents.
  • Choose binary instrumentation for fuzzing or analysis on Apple Silicon and interpret its measurements.
  • Build a faithful fuzzing harness and structured mutator, then evaluate agent-proposed improvements against a baseline.
  • Reduce a memory-safety crash to a minimal reproducer, establish its root cause, and demonstrate a controlled primitive.
  • Explain how macOS memory protections constrain exploitation.
  • Find filesystem and XPC logic bugs through tracing and agent-assisted review, then confirm them with executable checks and controls.
  • Demonstrate a TCC bypass and sandbox escape against the course-owned vulnerable service.
  • Analyze an incomplete fix and build a regression corpus across versioned builds.
  • Produce a finding bundle another researcher can reproduce and use it to write a vendor report.

Course Outline

View full outline Hide outline

Day 1: Foundations

macOS Attack Surfaces and Security Boundaries

  • Distinguishing a bug from a vulnerability, a root cause from its effects, and a crash from an exploitable primitive.
  • Mapping process identities, code signing, entitlements, App Sandbox, TCC, SIP, hardened runtime, and library validation.
  • Understanding XPC and Mach boundaries, launch agents, and daemons.
  • Working with Mach-O binaries, the dyld shared cache, Objective-C dispatch and ownership, and arm64 and arm64e builds.
  • Tracing candidate input paths through ColorSync and Quarry to identify the boundaries they could cross.

Reverse Engineering and Target Confirmation

  • Static analysis with Ghidra: imports, exports, selectors, and address mapping.
  • Using agents to organize target context while separating observations from interpretations.
  • Dynamic confirmation with LLDB and runtime traces.
  • Reaching ColorSync's parse-to-transform transition through its intended interface and confirming a required precondition.
  • Producing a target dossier, address map, and harness plan supported by runtime evidence.

Binary Instrumentation and Agent-Assisted Fuzzing

  • Comparing ManuFuzzer, TinyInst, and Frida Stalker on Apple Silicon.
  • Understanding coverage scope, comparison feedback, persistent execution, instrumentation overhead, and mapping execution back to original offsets.
  • Completing a ColorSync harness and structure-aware mutation adapter.
  • Checking harness fidelity and reset behavior.
  • Recording baselines and diagnosing misleading coverage increases.
  • Evaluating agent-proposed harness and mutator changes with fixed checks.
  • Recording experiments in a campaign ledger and recovering campaign state.

Crash Triage and Controlled Primitives

  • Triage of a supplied Quarry memory-safety crash using crash reports, registers, and faulting instructions.
  • Mapping runtime addresses to image offsets and distinguishing target bugs from harness defects.
  • Finding the root cause with LLDB and reducing the input without losing the bug.
  • Demonstrating attacker control and examining the allocator's effect on the primitive.
  • Comparing the primitive on arm64 and arm64e builds to understand PAC's effect.
  • Identifying incorrect findings and unsupported explanations in a supplied case set.

Day 2: Program Analysis and Exploitation

Memory Internals, Protections, and Logic Bugs

  • macOS userland allocation: libmalloc zones, allocation patterns, ASLR, and the shared cache.
  • PAC, hardened runtime, library validation, and sandbox boundaries.
  • A published Coruna case study following JavaScriptCore type confusion to a stable read/write primitive, including agent mistakes caught through verification.
  • Memory Integrity Enforcement and its implications for exploit development.
  • Filesystem logic bugs involving path strings, object identity, symlinks, hardlinks, renames, and TOCTOU.
  • XPC identity, cached authorization, and stale state.
  • Published Screen Sharing authentication-bypass case studies and the role of SIP.
  • Building positive and negative controls for findings that cross a boundary without crashing.

Tracing and Analyzing the Lab Service

  • Using Frida to trace Quarry's XPC handlers, authorization checks, and filesystem calls.
  • Mapping requests to syscalls and reviewing extraction and request handling with an agent.
  • Requiring explicit preconditions for candidate flaws and keeping verification independent of the agent's workspace.
  • Implementing and testing a filesystem confinement oracle.
  • Confirming an unauthorized write with object-level evidence.
  • Reproducing a stale-identity failure across an XPC connection lifecycle.

Exploiting Filesystem and XPC Bugs

  • Turning a filesystem confinement violation into an attacker-chosen write.
  • Reaching TCC-protected data through Quarry's privileged path in a disposable lab environment.
  • Exploiting a stale-identity XPC flaw from a sandboxed client to cross Quarry's authorization boundary.
  • Treating operation sequences and connection history as part of the input.
  • Building sequence reproducers and reset procedures.
  • Establishing what each exploit proves, its dependencies, and the limits of race reproduction.

Patch Bypass and Reproducible Reporting

  • Identifying the invariant changed by an incomplete fix.
  • Bypassing the fix through a related path or state.
  • Validating regression inputs across vulnerable, incomplete-fix, and fixed builds.
  • Freezing the target, harness, oracle, and configuration for reproduction.
  • Packaging inputs or operation sequences with reset instructions.
  • Exchanging finding bundles and reproducing another participant's result.
  • Writing a concise vendor report and understanding Apple's reporting process.
  • Completing an individual practical on an unseen Quarry fixture.

Difficulty Level

Advanced - The student is expected to have significant practical experience with the tools and technologies that the training will focus on.;Intermediate - The student has education and some experience in the field and familiarity with the topic being presented. The student has foundational knowledge that the course will leverage to provide practical skills on the topic.

Suggested Prerequisites

Participants should be comfortable with:

  • Reading native code.
  • Using a debugger.
  • Working with basic fuzzing concepts.

Prior exploitation experience is helpful but not required.

What Students Should Bring

  • Apple Silicon Mac (M1 or later).
  • 32 GB RAM recommended.
  • For a macOS VM setup with an 8 GB guest, 16 GB host RAM is a tight minimum.
  • M5 hardware is not required. Memory Integrity Enforcement is discussed rather than exercised in the labs.
  • Ability to install and use course tooling, including Ghidra, LLDB, ManuFuzzer, Frida, and TinyInst.
  • Completion of preflight checks, including Frida and TinyInst.

What the Trainers Will Provide

Participants will receive access to the following lab materials and resources:

  • Staged ColorSync ICC harness and Quarry builds for arm64 and arm64e.
  • Vulnerable, incomplete-fix, and fixed Quarry versions for exploitation and regression exercises.
  • Lab scaffolding, checkpoints, and continuation states.
  • Take-home adapters for BOM, ImageIO, fonts, and audio.
  • Published exploit write-ups used as case studies.
  • Practical exploitation exercises on course-owned targets in a disposable lab environment.

Participants will develop and retain the following work products:

  • Target dossier, fuzzing harness, seed corpus, mutation adapter, and experiment records.
  • Minimal reproducer and controlled primitive demonstration.
  • Frida traces, tested oracles, and exploit reproducers.
  • Regression inputs and a reproducible vulnerability finding report.

Scope of Practical Exercises

  • ColorSync work is limited to proof of control.
  • Memory-safety work covers root cause analysis and demonstration of a controlled primitive. Full memory-corruption exploitation to code execution is outside the course scope.
  • No kernel exploitation labs are included.

Trainer(s) Bio

Chaitanya RK (ant4g0nist)

Chaitanya RK is a security researcher, reverse engineer, and exploit developer with over a decade of experience investigating complex software systems. His work spans macOS, iOS, Android, browsers, cellular basebands, and secure communications, with multiple CVEs across these systems. He has developed distributed fuzzing frameworks for Apple applications and core components, grammar-based fuzzers, and automated triage systems for native vulnerability research. His research has earned recognition in the security Halls of Fame of Apple, Google, Nokia, BlackBerry, and Facebook.

Chaitanya develops open-source security tools including ManuFuzzer, Lisa.py, and Rudroid. His current work combines program analysis, native fuzzing, and AI-assisted reverse engineering to accelerate vulnerability discovery while grounding automated conclusions in reproducible evidence. Previously a security researcher at Verint and a security engineer at Miro, he now leads a stealth defense technology company.

Research: fuzzing.science
GitHub: ant4g0nist

Ajith Chandran (r3dsm0k3)

Ajith Chandran is an independent security researcher specializing in vulnerability research and reverse engineering across macOS, iOS, and other widely used software systems. His publicly disclosed research includes CVE-2016-1737 and CVE-2016-1740, with additional research remaining private.

GitHub: r3dsm0k3
Research: ZDI Advisory for CVE-2016-1740

Proficiency Exam

Every participant will complete a 45-minute individual practical exercise involving an unseen vulnerability research fixture. Participants will identify the affected security boundary, reproduce and classify the observed behavior, conduct a controlled validation or reduction experiment, and prepare reproducible evidence.

The evaluation is scored out of 100 points across five areas:

  • Security boundary identification and classification: 20 points
  • Reproduction and classification of observed behavior: 20 points
  • Controlled experiment and validation: 30 points
  • Reproducible artifacts and reset instructions: 20 points
  • Interpretation of findings: 10 points

To earn a certificate of proficiency, participants must:

  • Achieve an overall score of at least 70 out of 100.
  • Earn at least 20 out of 30 points on the controlled experiment.
  • Successfully reproduce the baseline behavior.
  • Provide valid instructions allowing another researcher to replay the findings.

Participants can receive credit for correctly identifying and supporting a benign or invalid finding. The individual proficiency evaluation is included in the course registration. The paired capstone exercise is intended for learning and practice and does not determine proficiency.


Registration Terms and Conditions

Trainings are refundable before January 29, 2027, minus a non-refundable processing fee of $350.

Between January 30, 2027 and February 28, 2027 partial refunds will be granted, equal to 50% of the course fee minus a processing fee of $350.

All trainings are non-refundable after Feb 28, 2027.

Training tickets may be transferred to another student. Please email us at training@defcon.org for specifics.

If a training does not reach the minimum registration requirement, it may be cancelled. In the event the training you choose is cancelled, you will be provided the option of receiving a full refund or transferring to another training (subject to availability).

Failure to attend the training without prior written notification will be considered a no-show. No refund will be given.

DEF CON Training may share student contact information, including names and emails, with the course instructor(s) to facilitate sharing of pre-work and course instructions. Instructors are required to safeguard this information and provide appropriate protection so that it is kept private. Instructors may not use student information outside the delivery of this course without the permission of the student.

By purchasing this ticket you agree to abide by the DEF CON Training Code of Conduct and the registration terms and conditions listed above.

Several breaks will be included throughout the day. Please note that food is not included.

All courses come with a certificate, contingent on attendance at 75% of course sessions. Students who pass the end-of-course evaluation will be issued a certificate of proficiency. All other students with sufficient course attendance will be issued a certificate of completion. Students are responsible for making sure their attendance is recorded at the start of the day and after returning from lunch.

Sale price $3,300.00 Regular price $3,600.00
On Sale

Back to top