{"id":"CkZn_SZPRfo","title":"The iOS kernel thought it was safe to free() this object...","description":"Are you a security researcher or reverse engineer?\n\nFor 50% off IDA Products use promo code BILLY50, https://hex-rays.com/pricing *\nFor 30% off IDA Training use promo code BILLY30, https://hex-rays.com/training **\n\n*License discounts are only valid for individuals, not corporations. Cannot be combined with any other promo code or discount.\n** Cannot be combined with any other promo code or discount.\n\n/////////////////////////////////////\n\nHey guys, \nIn today's video we're rewinding the clock and diving into CVE-2017-13861, an iOS kernel bug from 2017 that was found to be exploited in the wild on iOS 11 devices.\n\nThe root cause of this kernel vulnerability is an incorrect handling of reference counting semantics on an ipc_port structure (the structure that represents a mach port). \nMach ports in the kernel use reference counters to keep track of their lifecycle. When a ports' reference count drops to 0, the kernel will free() that ipc_port structure back to the allocator.\nIn this video we explore how CVE-2017-13861 is used to drop one-too-many references on a mach port to achieve a use-after-free condition.\nWe also look at how this bug can be exploited to build kernel exploitation primitives and gain code execution.\n\nThanks for watching,\n~ Billy\n\nReferences:\nhttps://projectzero.google/2019/08/in...\nhttps://sparkes.zone/blog/ios/2019/04...\nhttps://blog.siguza.net/v0rtex/\nhttps://newosxbook.com/QiLin/qilin.pdf\nhttps://github.com/blacktop/async_wake","duration":615,"upload_date":"2025-12-18","view_count":20102,"like_count":1016,"dislike_count":1,"comment_count":60,"status":"completed","archived_at":"2026-10-15 11:19:44.338085","metadata":{"id":"CkZn_SZPRfo","title":"The iOS kernel thought it was safe to free() this object...","channel":"Billy Ellis","duration":615,"uploader":"Billy Ellis","extractor":"innertube","thumbnail":"https://i.ytimg.com/vi/CkZn_SZPRfo/hqdefault.jpg","like_count":1016,"view_count":20102,"_channel_id":"UCk2sx_3FUkKvDGlIhdUQa8A","description":"Are you a security researcher or reverse engineer?\n\nFor 50% off IDA Products use promo code BILLY50, https://hex-rays.com/pricing *\nFor 30% off IDA Training use promo code BILLY30, https://hex-rays.com/training **\n\n*License discounts are only valid for individuals, not corporations. Cannot be combined with any other promo code or discount.\n** Cannot be combined with any other promo code or discount.\n\n/////////////////////////////////////\n\nHey guys, \nIn today's video we're rewinding the clock and diving into CVE-2017-13861, an iOS kernel bug from 2017 that was found to be exploited in the wild on iOS 11 devices.\n\nThe root cause of this kernel vulnerability is an incorrect handling of reference counting semantics on an ipc_port structure (the structure that represents a mach port). \nMach ports in the kernel use reference counters to keep track of their lifecycle. When a ports' reference count drops to 0, the kernel will free() that ipc_port structure back to the allocator.\nIn this video we explore how CVE-2017-13861 is used to drop one-too-many references on a mach port to achieve a use-after-free condition.\nWe also look at how this bug can be exploited to build kernel exploitation primitives and gain code execution.\n\nThanks for watching,\n~ Billy\n\nReferences:\nhttps://projectzero.google/2019/08/in...\nhttps://sparkes.zone/blog/ios/2019/04...\nhttps://blog.siguza.net/v0rtex/\nhttps://newosxbook.com/QiLin/qilin.pdf\nhttps://github.com/blacktop/async_wake","upload_date":"20251218","webpage_url":"https://www.youtube.com/watch?v=CkZn_SZPRfo","_enriched_at":"2026-10-15T09:19:43+00:00","_meta_sources":["oembed","watch_page","ryd"],"dislike_count":1,"thumbnail_url":"https://i.ytimg.com/vi/CkZn_SZPRfo/hqdefault.jpg","average_rating":4.996066863323501,"comments_saved":60,"thumbnail_path":"thumbnails/CkZn_SZPRfo.jpg","dya_submitted_at":"2026-10-28T05:52:55+00:00","release_timestamp":"2025-12-18"},"captions":[{"label":"aen","srclang":"aen","type":"vtt","url":"https://yt.ow1.ru/captions/CkZn_SZPRfo/CkZn_SZPRfo.aen.vtt","track_url":"https://yt.ow1.ru/captions/CkZn_SZPRfo/CkZn_SZPRfo.aen.vtt"},{"label":"en","srclang":"en","type":"vtt","url":"https://yt.ow1.ru/captions/CkZn_SZPRfo/CkZn_SZPRfo.en.vtt","track_url":"https://yt.ow1.ru/captions/CkZn_SZPRfo/CkZn_SZPRfo.en.vtt"}]}