WEBVTT
Kind: captions
Language: en

00:00:00.240 --> 00:00:03.510 align:start position:0%
 
iOS<00:00:00.880><c> 18.6.2</c><00:00:02.240><c> patched</c><00:00:02.639><c> yet</c><00:00:02.879><c> another</c><00:00:03.200><c> image</c>

00:00:03.510 --> 00:00:03.520 align:start position:0%
iOS 18.6.2 patched yet another image
 

00:00:03.520 --> 00:00:05.269 align:start position:0%
iOS 18.6.2 patched yet another image
passing<00:00:03.919><c> vulnerability.</c><00:00:04.640><c> It</c><00:00:04.799><c> was</c><00:00:04.960><c> found</c><00:00:05.120><c> to</c>

00:00:05.269 --> 00:00:05.279 align:start position:0%
passing vulnerability. It was found to
 

00:00:05.279 --> 00:00:07.190 align:start position:0%
passing vulnerability. It was found to
be<00:00:05.359><c> exploited</c><00:00:05.920><c> in</c><00:00:06.080><c> the</c><00:00:06.240><c> wild</c><00:00:06.480><c> and</c><00:00:06.640><c> when</c><00:00:06.879><c> paired</c>

00:00:07.190 --> 00:00:07.200 align:start position:0%
be exploited in the wild and when paired
 

00:00:07.200 --> 00:00:09.270 align:start position:0%
be exploited in the wild and when paired
with<00:00:07.359><c> a</c><00:00:07.520><c> second</c><00:00:07.839><c> bug</c><00:00:08.080><c> in</c><00:00:08.320><c> WhatsApp,</c><00:00:08.960><c> it</c><00:00:09.120><c> was</c>

00:00:09.270 --> 00:00:09.280 align:start position:0%
with a second bug in WhatsApp, it was
 

00:00:09.280 --> 00:00:11.110 align:start position:0%
with a second bug in WhatsApp, it was
used<00:00:09.440><c> to</c><00:00:09.519><c> gain</c><00:00:09.760><c> remote</c><00:00:10.080><c> code</c><00:00:10.320><c> execution</c><00:00:10.800><c> on</c>

00:00:11.110 --> 00:00:11.120 align:start position:0%
used to gain remote code execution on
 

00:00:11.120 --> 00:00:13.190 align:start position:0%
used to gain remote code execution on
iPhones<00:00:11.759><c> with</c><00:00:12.000><c> zero</c><00:00:12.400><c> user</c><00:00:12.719><c> interaction</c>

00:00:13.190 --> 00:00:13.200 align:start position:0%
iPhones with zero user interaction
 

00:00:13.200 --> 00:00:15.190 align:start position:0%
iPhones with zero user interaction
required.<00:00:14.080><c> This</c><00:00:14.240><c> is</c><00:00:14.400><c> commonly</c><00:00:14.799><c> referred</c><00:00:15.040><c> to</c>

00:00:15.190 --> 00:00:15.200 align:start position:0%
required. This is commonly referred to
 

00:00:15.200 --> 00:00:17.910 align:start position:0%
required. This is commonly referred to
as<00:00:15.440><c> a</c><00:00:15.759><c> zeroclick</c><00:00:16.480><c> exploit.</c><00:00:17.199><c> As</c><00:00:17.440><c> a</c><00:00:17.520><c> cautious</c>

00:00:17.910 --> 00:00:17.920 align:start position:0%
as a zeroclick exploit. As a cautious
 

00:00:17.920 --> 00:00:20.070 align:start position:0%
as a zeroclick exploit. As a cautious
iPhone<00:00:18.320><c> user,</c><00:00:18.640><c> you</c><00:00:18.800><c> might</c><00:00:18.960><c> avoid</c><00:00:19.359><c> clicking</c><00:00:19.760><c> on</c>

00:00:20.070 --> 00:00:20.080 align:start position:0%
iPhone user, you might avoid clicking on
 

00:00:20.080 --> 00:00:22.070 align:start position:0%
iPhone user, you might avoid clicking on
suspicious<00:00:20.560><c> links,</c><00:00:21.199><c> and</c><00:00:21.359><c> this</c><00:00:21.520><c> would</c><00:00:21.680><c> likely</c>

00:00:22.070 --> 00:00:22.080 align:start position:0%
suspicious links, and this would likely
 

00:00:22.080 --> 00:00:24.070 align:start position:0%
suspicious links, and this would likely
reduce<00:00:22.480><c> your</c><00:00:22.720><c> risk</c><00:00:22.960><c> of</c><00:00:23.119><c> being</c><00:00:23.359><c> compromised</c><00:00:23.920><c> by</c>

00:00:24.070 --> 00:00:24.080 align:start position:0%
reduce your risk of being compromised by
 

00:00:24.080 --> 00:00:26.310 align:start position:0%
reduce your risk of being compromised by
a<00:00:24.400><c> one-click</c><00:00:24.880><c> chain.</c><00:00:25.680><c> However,</c><00:00:26.080><c> for</c>

00:00:26.310 --> 00:00:26.320 align:start position:0%
a one-click chain. However, for
 

00:00:26.320 --> 00:00:28.470 align:start position:0%
a one-click chain. However, for
zero-click<00:00:26.880><c> exploits</c><00:00:27.359><c> like</c><00:00:27.519><c> this</c><00:00:27.760><c> one,</c><00:00:28.240><c> there</c>

00:00:28.470 --> 00:00:28.480 align:start position:0%
zero-click exploits like this one, there
 

00:00:28.480 --> 00:00:30.310 align:start position:0%
zero-click exploits like this one, there
isn't<00:00:28.720><c> really</c><00:00:28.880><c> much</c><00:00:29.039><c> you</c><00:00:29.279><c> can</c><00:00:29.359><c> do.</c><00:00:29.920><c> The</c><00:00:30.080><c> bug</c>

00:00:30.310 --> 00:00:30.320 align:start position:0%
isn't really much you can do. The bug
 

00:00:30.320 --> 00:00:32.630 align:start position:0%
isn't really much you can do. The bug
lies<00:00:30.640><c> within</c><00:00:30.880><c> an</c><00:00:31.039><c> image</c><00:00:31.359><c> decoding</c><00:00:31.920><c> logic</c><00:00:32.399><c> in</c>

00:00:32.630 --> 00:00:32.640 align:start position:0%
lies within an image decoding logic in
 

00:00:32.640 --> 00:00:34.790 align:start position:0%
lies within an image decoding logic in
one<00:00:32.800><c> of</c><00:00:32.880><c> Apple's</c><00:00:33.280><c> libraries.</c><00:00:34.000><c> And</c><00:00:34.160><c> so,</c><00:00:34.399><c> simply</c>

00:00:34.790 --> 00:00:34.800 align:start position:0%
one of Apple's libraries. And so, simply
 

00:00:34.800 --> 00:00:36.870 align:start position:0%
one of Apple's libraries. And so, simply
receiving<00:00:35.280><c> a</c><00:00:35.520><c> malicious</c><00:00:36.000><c> image</c><00:00:36.399><c> through</c><00:00:36.640><c> an</c>

00:00:36.870 --> 00:00:36.880 align:start position:0%
receiving a malicious image through an
 

00:00:36.880 --> 00:00:38.709 align:start position:0%
receiving a malicious image through an
application<00:00:37.280><c> like</c><00:00:37.520><c> WhatsApp</c><00:00:38.239><c> could</c><00:00:38.480><c> trigger</c>

00:00:38.709 --> 00:00:38.719 align:start position:0%
application like WhatsApp could trigger
 

00:00:38.719 --> 00:00:40.709 align:start position:0%
application like WhatsApp could trigger
the<00:00:38.879><c> vulnerable</c><00:00:39.280><c> code</c><00:00:39.520><c> path</c><00:00:39.840><c> directly.</c><00:00:40.480><c> When</c>

00:00:40.709 --> 00:00:40.719 align:start position:0%
the vulnerable code path directly. When
 

00:00:40.719 --> 00:00:42.389 align:start position:0%
the vulnerable code path directly. When
you<00:00:40.879><c> receive</c><00:00:41.120><c> that</c><00:00:41.360><c> message</c><00:00:41.760><c> notification</c>

00:00:42.389 --> 00:00:42.399 align:start position:0%
you receive that message notification
 

00:00:42.399 --> 00:00:44.229 align:start position:0%
you receive that message notification
and<00:00:42.640><c> you</c><00:00:42.800><c> see</c><00:00:42.879><c> the</c><00:00:43.120><c> small</c><00:00:43.360><c> image</c><00:00:43.680><c> thumbnail</c><00:00:44.079><c> in</c>

00:00:44.229 --> 00:00:44.239 align:start position:0%
and you see the small image thumbnail in
 

00:00:44.239 --> 00:00:46.549 align:start position:0%
and you see the small image thumbnail in
the<00:00:44.399><c> banner,</c><00:00:44.960><c> iOS</c><00:00:45.440><c> has</c><00:00:45.680><c> already</c><00:00:46.000><c> performed</c>

00:00:46.549 --> 00:00:46.559 align:start position:0%
the banner, iOS has already performed
 

00:00:46.559 --> 00:00:48.310 align:start position:0%
the banner, iOS has already performed
significant<00:00:47.039><c> decoding</c><00:00:47.600><c> logic</c><00:00:47.920><c> in</c><00:00:48.160><c> the</c>

00:00:48.310 --> 00:00:48.320 align:start position:0%
significant decoding logic in the
 

00:00:48.320 --> 00:00:49.990 align:start position:0%
significant decoding logic in the
background<00:00:48.879><c> to</c><00:00:49.120><c> be</c><00:00:49.200><c> able</c><00:00:49.360><c> to</c><00:00:49.520><c> present</c><00:00:49.840><c> you</c>

00:00:49.990 --> 00:00:50.000 align:start position:0%
background to be able to present you
 

00:00:50.000 --> 00:00:51.910 align:start position:0%
background to be able to present you
that<00:00:50.160><c> thumbnail</c><00:00:50.559><c> on</c><00:00:50.879><c> screen.</c><00:00:51.600><c> And</c><00:00:51.760><c> the</c>

00:00:51.910 --> 00:00:51.920 align:start position:0%
that thumbnail on screen. And the
 

00:00:51.920 --> 00:00:53.910 align:start position:0%
that thumbnail on screen. And the
vulnerability<00:00:52.559><c> occurs</c><00:00:53.039><c> exactly</c><00:00:53.440><c> in</c><00:00:53.760><c> this</c>

00:00:53.910 --> 00:00:53.920 align:start position:0%
vulnerability occurs exactly in this
 

00:00:53.920 --> 00:00:55.670 align:start position:0%
vulnerability occurs exactly in this
logic.<00:00:54.559><c> So</c><00:00:54.800><c> today</c><00:00:55.039><c> we're</c><00:00:55.280><c> going</c><00:00:55.280><c> to</c><00:00:55.440><c> dive</c>

00:00:55.670 --> 00:00:55.680 align:start position:0%
logic. So today we're going to dive
 

00:00:55.680 --> 00:00:57.510 align:start position:0%
logic. So today we're going to dive
deeper<00:00:56.000><c> into</c><00:00:56.239><c> the</c><00:00:56.399><c> actual</c><00:00:56.719><c> root</c><00:00:56.960><c> cause</c><00:00:57.280><c> of</c>

00:00:57.510 --> 00:00:57.520 align:start position:0%
deeper into the actual root cause of
 

00:00:57.520 --> 00:00:59.750 align:start position:0%
deeper into the actual root cause of
this<00:00:57.760><c> specific</c><00:00:58.079><c> bug</c><00:00:58.559><c> and</c><00:00:58.800><c> see</c><00:00:58.960><c> how</c><00:00:59.120><c> a</c><00:00:59.359><c> crafted</c>

00:00:59.750 --> 00:00:59.760 align:start position:0%
this specific bug and see how a crafted
 

00:00:59.760 --> 00:01:01.590 align:start position:0%
this specific bug and see how a crafted
image<00:01:00.079><c> could</c><00:01:00.320><c> be</c><00:01:00.399><c> used</c><00:01:00.640><c> to</c><00:01:00.800><c> write</c><00:01:01.039><c> to</c><00:01:01.199><c> out</c><00:01:01.359><c> of</c>

00:01:01.590 --> 00:01:01.600 align:start position:0%
image could be used to write to out of
 

00:01:01.600 --> 00:01:03.349 align:start position:0%
image could be used to write to out of
bounds<00:01:01.840><c> memory</c><00:01:02.079><c> on</c><00:01:02.239><c> the</c><00:01:02.399><c> heap</c><00:01:02.719><c> and</c><00:01:02.879><c> eventually</c>

00:01:03.349 --> 00:01:03.359 align:start position:0%
bounds memory on the heap and eventually
 

00:01:03.359 --> 00:01:05.750 align:start position:0%
bounds memory on the heap and eventually
lead<00:01:03.600><c> to</c><00:01:03.840><c> remote</c><00:01:04.159><c> code</c><00:01:04.400><c> execution.</c><00:01:05.360><c> Multiple</c>

00:01:05.750 --> 00:01:05.760 align:start position:0%
lead to remote code execution. Multiple
 

00:01:05.760 --> 00:01:07.429 align:start position:0%
lead to remote code execution. Multiple
parties<00:01:06.159><c> have</c><00:01:06.400><c> already</c><00:01:06.640><c> conducted</c><00:01:07.119><c> research</c>

00:01:07.429 --> 00:01:07.439 align:start position:0%
parties have already conducted research
 

00:01:07.439 --> 00:01:09.190 align:start position:0%
parties have already conducted research
into<00:01:07.760><c> this</c><00:01:07.920><c> bug,</c><00:01:08.240><c> so</c><00:01:08.400><c> be</c><00:01:08.560><c> sure</c><00:01:08.720><c> to</c><00:01:08.880><c> check</c><00:01:09.040><c> out</c>

00:01:09.190 --> 00:01:09.200 align:start position:0%
into this bug, so be sure to check out
 

00:01:09.200 --> 00:01:10.950 align:start position:0%
into this bug, so be sure to check out
the<00:01:09.439><c> original</c><00:01:09.760><c> sources</c><00:01:10.240><c> in</c><00:01:10.479><c> the</c><00:01:10.640><c> description</c>

00:01:10.950 --> 00:01:10.960 align:start position:0%
the original sources in the description
 

00:01:10.960 --> 00:01:13.190 align:start position:0%
the original sources in the description
below.<00:01:11.520><c> We'll</c><00:01:11.840><c> start</c><00:01:12.000><c> by</c><00:01:12.240><c> taking</c><00:01:12.400><c> a</c><00:01:12.640><c> look</c><00:01:12.799><c> at</c><00:01:12.960><c> a</c>

00:01:13.190 --> 00:01:13.200 align:start position:0%
below. We'll start by taking a look at a
 

00:01:13.200 --> 00:01:15.190 align:start position:0%
below. We'll start by taking a look at a
corrupted<00:01:13.760><c> sample</c><00:01:14.159><c> image</c><00:01:14.640><c> capable</c><00:01:15.040><c> of</c>

00:01:15.190 --> 00:01:15.200 align:start position:0%
corrupted sample image capable of
 

00:01:15.200 --> 00:01:17.590 align:start position:0%
corrupted sample image capable of
triggering<00:01:15.680><c> this</c><00:01:15.920><c> bug</c><00:01:16.320><c> from</c><00:01:16.640><c> Binary</c><00:01:17.119><c> Boy.</c>

00:01:17.590 --> 00:01:17.600 align:start position:0%
triggering this bug from Binary Boy.
 

00:01:17.600 --> 00:01:19.830 align:start position:0%
triggering this bug from Binary Boy.
This<00:01:17.840><c> image</c><00:01:18.159><c> file</c><00:01:18.479><c> is</c><00:01:18.720><c> for</c><00:01:18.960><c> the</c><00:01:19.119><c> most</c><00:01:19.280><c> part</c><00:01:19.520><c> a</c>

00:01:19.830 --> 00:01:19.840 align:start position:0%
This image file is for the most part a
 

00:01:19.840 --> 00:01:22.310 align:start position:0%
This image file is for the most part a
legitimate<00:01:20.320><c> image</c><00:01:20.560><c> in</c><00:01:20.799><c> the</c><00:01:20.960><c> DNG</c><00:01:21.600><c> format,</c><00:01:22.080><c> a</c>

00:01:22.310 --> 00:01:22.320 align:start position:0%
legitimate image in the DNG format, a
 

00:01:22.320 --> 00:01:24.469 align:start position:0%
legitimate image in the DNG format, a
lossless<00:01:22.799><c> raw</c><00:01:23.119><c> image</c><00:01:23.439><c> format</c><00:01:23.840><c> created</c><00:01:24.240><c> by</c>

00:01:24.469 --> 00:01:24.479 align:start position:0%
lossless raw image format created by
 

00:01:24.479 --> 00:01:26.710 align:start position:0%
lossless raw image format created by
Adobe.<00:01:25.280><c> The</c><00:01:25.439><c> vulnerability</c><00:01:26.000><c> lies</c><00:01:26.320><c> within</c><00:01:26.560><c> the</c>

00:01:26.710 --> 00:01:26.720 align:start position:0%
Adobe. The vulnerability lies within the
 

00:01:26.720 --> 00:01:28.550 align:start position:0%
Adobe. The vulnerability lies within the
handling<00:01:27.119><c> code</c><00:01:27.360><c> for</c><00:01:27.600><c> this</c><00:01:27.759><c> specific</c><00:01:28.159><c> image</c>

00:01:28.550 --> 00:01:28.560 align:start position:0%
handling code for this specific image
 

00:01:28.560 --> 00:01:30.950 align:start position:0%
handling code for this specific image
format.<00:01:29.200><c> Two</c><00:01:29.520><c> specific</c><00:01:29.920><c> bytes</c><00:01:30.320><c> in</c><00:01:30.479><c> this</c><00:01:30.640><c> image</c>

00:01:30.950 --> 00:01:30.960 align:start position:0%
format. Two specific bytes in this image
 

00:01:30.960 --> 00:01:33.190 align:start position:0%
format. Two specific bytes in this image
file<00:01:31.280><c> have</c><00:01:31.520><c> been</c><00:01:31.680><c> modified.</c><00:01:32.479><c> First,</c><00:01:32.880><c> the</c>

00:01:33.190 --> 00:01:33.200 align:start position:0%
file have been modified. First, the
 

00:01:33.200 --> 00:01:35.350 align:start position:0%
file have been modified. First, the
sample<00:01:33.600><c> per</c><00:01:33.840><c> pixel</c><00:01:34.159><c> value</c><00:01:34.560><c> has</c><00:01:34.799><c> been</c><00:01:34.960><c> changed</c>

00:01:35.350 --> 00:01:35.360 align:start position:0%
sample per pixel value has been changed
 

00:01:35.360 --> 00:01:38.230 align:start position:0%
sample per pixel value has been changed
from<00:01:35.600><c> 1</c><00:01:35.840><c> to</c><00:01:36.079><c> two.</c><00:01:36.720><c> And</c><00:01:36.960><c> second,</c><00:01:37.360><c> the</c><00:01:37.680><c> number</c><00:01:37.920><c> of</c>

00:01:38.230 --> 00:01:38.240 align:start position:0%
from 1 to two. And second, the number of
 

00:01:38.240 --> 00:01:40.630 align:start position:0%
from 1 to two. And second, the number of
components<00:01:39.280><c> has</c><00:01:39.520><c> been</c><00:01:39.680><c> changed</c><00:01:39.920><c> from</c><00:01:40.159><c> 2</c><00:01:40.400><c> to</c>

00:01:40.630 --> 00:01:40.640 align:start position:0%
components has been changed from 2 to
 

00:01:40.640 --> 00:01:42.870 align:start position:0%
components has been changed from 2 to
one.<00:01:41.119><c> These</c><00:01:41.439><c> two</c><00:01:41.680><c> simple</c><00:01:42.000><c> changes</c><00:01:42.400><c> are</c><00:01:42.640><c> enough</c>

00:01:42.870 --> 00:01:42.880 align:start position:0%
one. These two simple changes are enough
 

00:01:42.880 --> 00:01:44.789 align:start position:0%
one. These two simple changes are enough
to<00:01:43.040><c> trigger</c><00:01:43.280><c> this</c><00:01:43.439><c> vulnerability.</c><00:01:44.479><c> Next,</c>

00:01:44.789 --> 00:01:44.799 align:start position:0%
to trigger this vulnerability. Next,
 

00:01:44.799 --> 00:01:46.469 align:start position:0%
to trigger this vulnerability. Next,
we're<00:01:45.040><c> going</c><00:01:45.119><c> to</c><00:01:45.200><c> simulate</c><00:01:45.600><c> the</c><00:01:45.840><c> crash</c><00:01:46.159><c> path</c>

00:01:46.469 --> 00:01:46.479 align:start position:0%
we're going to simulate the crash path
 

00:01:46.479 --> 00:01:48.230 align:start position:0%
we're going to simulate the crash path
that<00:01:46.640><c> the</c><00:01:46.799><c> WhatsApp</c><00:01:47.280><c> application</c><00:01:47.920><c> would</c><00:01:48.079><c> have</c>

00:01:48.230 --> 00:01:48.240 align:start position:0%
that the WhatsApp application would have
 

00:01:48.240 --> 00:01:50.149 align:start position:0%
that the WhatsApp application would have
taken<00:01:48.720><c> and</c><00:01:48.960><c> then</c><00:01:49.119><c> debug</c><00:01:49.520><c> it</c><00:01:49.680><c> to</c><00:01:49.840><c> figure</c><00:01:50.000><c> out</c>

00:01:50.149 --> 00:01:50.159 align:start position:0%
taken and then debug it to figure out
 

00:01:50.159 --> 00:01:51.830 align:start position:0%
taken and then debug it to figure out
exactly<00:01:50.560><c> what</c><00:01:50.720><c> is</c><00:01:50.880><c> happening</c><00:01:51.200><c> and</c><00:01:51.600><c> identify</c>

00:01:51.830 --> 00:01:51.840 align:start position:0%
exactly what is happening and identify
 

00:01:51.840 --> 00:01:53.910 align:start position:0%
exactly what is happening and identify
the<00:01:52.079><c> root</c><00:01:52.320><c> cause</c><00:01:52.560><c> of</c><00:01:52.640><c> the</c><00:01:52.799><c> bug.</c><00:01:53.360><c> The</c><00:01:53.520><c> buggy</c>

00:01:53.910 --> 00:01:53.920 align:start position:0%
the root cause of the bug. The buggy
 

00:01:53.920 --> 00:01:55.670 align:start position:0%
the root cause of the bug. The buggy
function<00:01:54.240><c> is</c><00:01:54.479><c> within</c><00:01:54.799><c> an</c><00:01:55.040><c> Apple</c><00:01:55.360><c> shared</c>

00:01:55.670 --> 00:01:55.680 align:start position:0%
function is within an Apple shared
 

00:01:55.680 --> 00:01:58.230 align:start position:0%
function is within an Apple shared
library<00:01:56.159><c> named</c><00:01:56.560><c> raw</c><00:01:56.960><c> camera.</c><00:01:57.680><c> This</c><00:01:57.840><c> library</c>

00:01:58.230 --> 00:01:58.240 align:start position:0%
library named raw camera. This library
 

00:01:58.240 --> 00:02:00.069 align:start position:0%
library named raw camera. This library
contains<00:01:58.719><c> all</c><00:01:58.960><c> kinds</c><00:01:59.119><c> of</c><00:01:59.280><c> different</c><00:01:59.520><c> decoding</c>

00:02:00.069 --> 00:02:00.079 align:start position:0%
contains all kinds of different decoding
 

00:02:00.079 --> 00:02:02.230 align:start position:0%
contains all kinds of different decoding
logic<00:02:00.799><c> and</c><00:02:01.040><c> the</c><00:02:01.200><c> library</c><00:02:01.520><c> itself</c><00:02:01.920><c> can</c><00:02:02.079><c> of</c>

00:02:02.230 --> 00:02:02.240 align:start position:0%
logic and the library itself can of
 

00:02:02.240 --> 00:02:04.389 align:start position:0%
logic and the library itself can of
course<00:02:02.399><c> be</c><00:02:02.640><c> used</c><00:02:02.799><c> by</c><00:02:03.040><c> any</c><00:02:03.280><c> application.</c><00:02:04.159><c> This</c>

00:02:04.389 --> 00:02:04.399 align:start position:0%
course be used by any application. This
 

00:02:04.399 --> 00:02:06.069 align:start position:0%
course be used by any application. This
means<00:02:04.560><c> that</c><00:02:04.719><c> this</c><00:02:04.960><c> bug</c><00:02:05.360><c> actually</c><00:02:05.680><c> doesn't</c>

00:02:06.069 --> 00:02:06.079 align:start position:0%
means that this bug actually doesn't
 

00:02:06.079 --> 00:02:08.309 align:start position:0%
means that this bug actually doesn't
only<00:02:06.320><c> affect</c><00:02:06.640><c> WhatsApp</c><00:02:07.280><c> but</c><00:02:07.520><c> rather</c><00:02:08.000><c> any</c>

00:02:08.309 --> 00:02:08.319 align:start position:0%
only affect WhatsApp but rather any
 

00:02:08.319 --> 00:02:10.389 align:start position:0%
only affect WhatsApp but rather any
application<00:02:08.800><c> that</c><00:02:09.039><c> uses</c><00:02:09.360><c> the</c><00:02:09.520><c> library.</c><00:02:10.160><c> So</c>

00:02:10.389 --> 00:02:10.399 align:start position:0%
application that uses the library. So
 

00:02:10.399 --> 00:02:12.390 align:start position:0%
application that uses the library. So
for<00:02:10.640><c> our</c><00:02:10.800><c> research</c><00:02:11.200><c> environment,</c><00:02:11.920><c> we</c><00:02:12.080><c> can</c><00:02:12.239><c> run</c>

00:02:12.390 --> 00:02:12.400 align:start position:0%
for our research environment, we can run
 

00:02:12.400 --> 00:02:14.309 align:start position:0%
for our research environment, we can run
the<00:02:12.560><c> vulnerable</c><00:02:13.040><c> library</c><00:02:13.440><c> code</c><00:02:13.760><c> from</c><00:02:13.920><c> within</c>

00:02:14.309 --> 00:02:14.319 align:start position:0%
the vulnerable library code from within
 

00:02:14.319 --> 00:02:16.470 align:start position:0%
the vulnerable library code from within
a<00:02:14.560><c> custom</c><00:02:14.879><c> app</c><00:02:15.280><c> that</c><00:02:15.520><c> simulates</c><00:02:16.000><c> the</c><00:02:16.239><c> code</c>

00:02:16.470 --> 00:02:16.480 align:start position:0%
a custom app that simulates the code
 

00:02:16.480 --> 00:02:18.390 align:start position:0%
a custom app that simulates the code
flow<00:02:16.800><c> that</c><00:02:17.040><c> the</c><00:02:17.280><c> WhatsApp</c><00:02:17.760><c> app</c><00:02:18.080><c> would</c><00:02:18.239><c> have</c>

00:02:18.390 --> 00:02:18.400 align:start position:0%
flow that the WhatsApp app would have
 

00:02:18.400 --> 00:02:20.550 align:start position:0%
flow that the WhatsApp app would have
taken<00:02:18.720><c> upon</c><00:02:19.120><c> receiving</c><00:02:19.440><c> an</c><00:02:19.680><c> image</c><00:02:20.000><c> message.</c>

00:02:20.550 --> 00:02:20.560 align:start position:0%
taken upon receiving an image message.
 

00:02:20.560 --> 00:02:22.070 align:start position:0%
taken upon receiving an image message.
And<00:02:20.720><c> this</c><00:02:20.879><c> makes</c><00:02:21.040><c> debugging</c><00:02:21.520><c> things</c><00:02:21.760><c> a</c><00:02:22.000><c> lot</c>

00:02:22.070 --> 00:02:22.080 align:start position:0%
And this makes debugging things a lot
 

00:02:22.080 --> 00:02:24.070 align:start position:0%
And this makes debugging things a lot
easier.<00:02:22.640><c> We'll</c><00:02:22.959><c> take</c><00:02:23.120><c> the</c><00:02:23.360><c> sample</c><00:02:23.760><c> code</c>

00:02:24.070 --> 00:02:24.080 align:start position:0%
easier. We'll take the sample code
 

00:02:24.080 --> 00:02:26.309 align:start position:0%
easier. We'll take the sample code
provided<00:02:24.480><c> by</c><00:02:24.720><c> Quarks</c><00:02:25.200><c> Labs</c><00:02:25.520><c> that</c><00:02:25.760><c> calls</c><00:02:26.080><c> into</c>

00:02:26.309 --> 00:02:26.319 align:start position:0%
provided by Quarks Labs that calls into
 

00:02:26.319 --> 00:02:28.309 align:start position:0%
provided by Quarks Labs that calls into
the<00:02:26.560><c> appropriate</c><00:02:26.959><c> library</c><00:02:27.360><c> functions</c><00:02:28.000><c> and</c>

00:02:28.309 --> 00:02:28.319 align:start position:0%
the appropriate library functions and
 

00:02:28.319 --> 00:02:30.630 align:start position:0%
the appropriate library functions and
attempts<00:02:28.720><c> to</c><00:02:28.879><c> render</c><00:02:29.120><c> the</c><00:02:29.360><c> malicious</c><00:02:29.840><c> image.</c>

00:02:30.630 --> 00:02:30.640 align:start position:0%
attempts to render the malicious image.
 

00:02:30.640 --> 00:02:32.630 align:start position:0%
attempts to render the malicious image.
We<00:02:30.879><c> can</c><00:02:30.959><c> adapt</c><00:02:31.280><c> the</c><00:02:31.440><c> code</c><00:02:31.599><c> to</c><00:02:31.840><c> run</c><00:02:32.000><c> on</c><00:02:32.160><c> iOS</c>

00:02:32.630 --> 00:02:32.640 align:start position:0%
We can adapt the code to run on iOS
 

00:02:32.640 --> 00:02:34.869 align:start position:0%
We can adapt the code to run on iOS
instead<00:02:32.959><c> of</c><00:02:33.040><c> Mac</c><00:02:33.280><c> OS</c><00:02:33.680><c> and</c><00:02:33.920><c> then</c><00:02:34.080><c> run</c><00:02:34.319><c> this</c><00:02:34.560><c> app</c>

00:02:34.869 --> 00:02:34.879 align:start position:0%
instead of Mac OS and then run this app
 

00:02:34.879 --> 00:02:36.790 align:start position:0%
instead of Mac OS and then run this app
on<00:02:35.120><c> an</c><00:02:35.280><c> iPhone</c><00:02:35.599><c> on</c><00:02:35.760><c> the</c><00:02:35.920><c> vulnerable</c><00:02:36.319><c> iOS</c>

00:02:36.790 --> 00:02:36.800 align:start position:0%
on an iPhone on the vulnerable iOS
 

00:02:36.800 --> 00:02:38.790 align:start position:0%
on an iPhone on the vulnerable iOS
version.<00:02:37.519><c> Upon</c><00:02:37.840><c> launching,</c><00:02:38.400><c> you</c><00:02:38.640><c> can</c><00:02:38.720><c> see</c>

00:02:38.790 --> 00:02:38.800 align:start position:0%
version. Upon launching, you can see
 

00:02:38.800 --> 00:02:40.630 align:start position:0%
version. Upon launching, you can see
that<00:02:39.040><c> the</c><00:02:39.280><c> application</c><00:02:39.760><c> does</c><00:02:40.000><c> indeed</c><00:02:40.319><c> crash</c>

00:02:40.630 --> 00:02:40.640 align:start position:0%
that the application does indeed crash
 

00:02:40.640 --> 00:02:42.309 align:start position:0%
that the application does indeed crash
when<00:02:40.879><c> trying</c><00:02:41.040><c> to</c><00:02:41.200><c> render</c><00:02:41.599><c> the</c><00:02:41.840><c> malicious</c>

00:02:42.309 --> 00:02:42.319 align:start position:0%
when trying to render the malicious
 

00:02:42.319 --> 00:02:44.710 align:start position:0%
when trying to render the malicious
image.<00:02:43.280><c> The</c><00:02:43.519><c> exact</c><00:02:43.840><c> instruction</c><00:02:44.319><c> that</c><00:02:44.480><c> we've</c>

00:02:44.710 --> 00:02:44.720 align:start position:0%
image. The exact instruction that we've
 

00:02:44.720 --> 00:02:47.270 align:start position:0%
image. The exact instruction that we've
crashed<00:02:45.040><c> on</c><00:02:45.200><c> here</c><00:02:45.440><c> is</c><00:02:45.760><c> an</c><00:02:46.000><c> STR</c><00:02:46.560><c> instruction</c>

00:02:47.270 --> 00:02:47.280 align:start position:0%
crashed on here is an STR instruction
 

00:02:47.280 --> 00:02:49.030 align:start position:0%
crashed on here is an STR instruction
attempting<00:02:47.760><c> to</c><00:02:47.920><c> write</c><00:02:48.160><c> to</c><00:02:48.480><c> out</c><00:02:48.640><c> of</c><00:02:48.800><c> bounds</c>

00:02:49.030 --> 00:02:49.040 align:start position:0%
attempting to write to out of bounds
 

00:02:49.040 --> 00:02:50.869 align:start position:0%
attempting to write to out of bounds
memory.<00:02:49.599><c> So,</c><00:02:49.840><c> what</c><00:02:50.080><c> actually</c><00:02:50.319><c> happened</c><00:02:50.640><c> and</c>

00:02:50.869 --> 00:02:50.879 align:start position:0%
memory. So, what actually happened and
 

00:02:50.879 --> 00:02:52.949 align:start position:0%
memory. So, what actually happened and
how<00:02:51.040><c> did</c><00:02:51.200><c> we</c><00:02:51.360><c> get</c><00:02:51.519><c> to</c><00:02:51.680><c> this</c><00:02:51.920><c> crash</c><00:02:52.239><c> point?</c><00:02:52.800><c> If</c>

00:02:52.949 --> 00:02:52.959 align:start position:0%
how did we get to this crash point? If
 

00:02:52.959 --> 00:02:54.229 align:start position:0%
how did we get to this crash point? If
we<00:02:53.120><c> look</c><00:02:53.200><c> at</c><00:02:53.280><c> the</c><00:02:53.440><c> back</c><00:02:53.680><c> trace</c><00:02:53.920><c> from</c><00:02:54.080><c> the</c>

00:02:54.229 --> 00:02:54.239 align:start position:0%
we look at the back trace from the
 

00:02:54.239 --> 00:02:56.070 align:start position:0%
we look at the back trace from the
debugger,<00:02:54.800><c> we</c><00:02:55.040><c> can</c><00:02:55.120><c> see</c><00:02:55.280><c> that</c><00:02:55.519><c> unfortunately</c>

00:02:56.070 --> 00:02:56.080 align:start position:0%
debugger, we can see that unfortunately
 

00:02:56.080 --> 00:02:57.990 align:start position:0%
debugger, we can see that unfortunately
there<00:02:56.319><c> are</c><00:02:56.480><c> no</c><00:02:56.720><c> named</c><00:02:57.200><c> symbols</c><00:02:57.519><c> in</c><00:02:57.760><c> this</c><00:02:57.840><c> part</c>

00:02:57.990 --> 00:02:58.000 align:start position:0%
there are no named symbols in this part
 

00:02:58.000 --> 00:02:59.830 align:start position:0%
there are no named symbols in this part
of<00:02:58.160><c> Apple's</c><00:02:58.560><c> library</c><00:02:58.800><c> code</c><00:02:59.280><c> and</c><00:02:59.440><c> this</c><00:02:59.599><c> makes</c>

00:02:59.830 --> 00:02:59.840 align:start position:0%
of Apple's library code and this makes
 

00:02:59.840 --> 00:03:01.509 align:start position:0%
of Apple's library code and this makes
things<00:03:00.160><c> quite</c><00:03:00.400><c> difficult.</c><00:03:01.040><c> Let's</c><00:03:01.280><c> take</c><00:03:01.360><c> a</c>

00:03:01.509 --> 00:03:01.519 align:start position:0%
things quite difficult. Let's take a
 

00:03:01.519 --> 00:03:03.110 align:start position:0%
things quite difficult. Let's take a
look<00:03:01.680><c> at</c><00:03:01.840><c> the</c><00:03:02.080><c> surrounding</c><00:03:02.640><c> code</c><00:03:02.879><c> by</c>

00:03:03.110 --> 00:03:03.120 align:start position:0%
look at the surrounding code by
 

00:03:03.120 --> 00:03:05.430 align:start position:0%
look at the surrounding code by
analyzing<00:03:03.599><c> it</c><00:03:03.840><c> statically</c><00:03:04.319><c> in</c><00:03:04.640><c> a</c><00:03:04.800><c> decompiler</c>

00:03:05.430 --> 00:03:05.440 align:start position:0%
analyzing it statically in a decompiler
 

00:03:05.440 --> 00:03:07.750 align:start position:0%
analyzing it statically in a decompiler
of<00:03:05.680><c> choice.</c><00:03:06.400><c> We</c><00:03:06.640><c> first</c><00:03:06.800><c> need</c><00:03:06.959><c> to</c><00:03:07.200><c> download</c><00:03:07.519><c> the</c>

00:03:07.750 --> 00:03:07.760 align:start position:0%
of choice. We first need to download the
 

00:03:07.760 --> 00:03:09.910 align:start position:0%
of choice. We first need to download the
DYLD<00:03:08.480><c> shared</c><00:03:08.800><c> cache</c><00:03:09.120><c> for</c><00:03:09.280><c> this</c><00:03:09.519><c> specific</c>

00:03:09.910 --> 00:03:09.920 align:start position:0%
DYLD shared cache for this specific
 

00:03:09.920 --> 00:03:12.070 align:start position:0%
DYLD shared cache for this specific
vulnerable<00:03:10.400><c> iOS</c><00:03:10.879><c> version.</c><00:03:11.519><c> For</c><00:03:11.760><c> those</c><00:03:11.920><c> that</c>

00:03:12.070 --> 00:03:12.080 align:start position:0%
vulnerable iOS version. For those that
 

00:03:12.080 --> 00:03:13.750 align:start position:0%
vulnerable iOS version. For those that
don't<00:03:12.239><c> know,</c><00:03:12.400><c> the</c><00:03:12.640><c> shared</c><00:03:12.959><c> cache</c><00:03:13.280><c> is</c><00:03:13.519><c> where</c>

00:03:13.750 --> 00:03:13.760 align:start position:0%
don't know, the shared cache is where
 

00:03:13.760 --> 00:03:15.910 align:start position:0%
don't know, the shared cache is where
all<00:03:13.920><c> of</c><00:03:14.159><c> Apple's</c><00:03:14.560><c> library</c><00:03:14.879><c> code</c><00:03:15.120><c> is</c><00:03:15.280><c> stored.</c>

00:03:15.910 --> 00:03:15.920 align:start position:0%
all of Apple's library code is stored.
 

00:03:15.920 --> 00:03:18.229 align:start position:0%
all of Apple's library code is stored.
Then<00:03:16.159><c> we</c><00:03:16.400><c> can</c><00:03:16.560><c> open</c><00:03:16.800><c> this</c><00:03:16.959><c> in</c><00:03:17.280><c> IDA</c><00:03:17.680><c> Pro</c><00:03:17.920><c> and</c>

00:03:18.229 --> 00:03:18.239 align:start position:0%
Then we can open this in IDA Pro and
 

00:03:18.239 --> 00:03:20.390 align:start position:0%
Then we can open this in IDA Pro and
extract<00:03:18.720><c> the</c><00:03:19.040><c> interesting</c><00:03:19.519><c> library</c><00:03:20.080><c> raw</c>

00:03:20.390 --> 00:03:20.400 align:start position:0%
extract the interesting library raw
 

00:03:20.400 --> 00:03:22.309 align:start position:0%
extract the interesting library raw
camera,<00:03:21.120><c> which</c><00:03:21.360><c> is</c><00:03:21.440><c> the</c><00:03:21.680><c> component</c><00:03:22.080><c> that</c>

00:03:22.309 --> 00:03:22.319 align:start position:0%
camera, which is the component that
 

00:03:22.319 --> 00:03:24.790 align:start position:0%
camera, which is the component that
houses<00:03:22.720><c> the</c><00:03:23.040><c> buggy</c><00:03:23.519><c> DNG</c><00:03:24.159><c> decompression</c>

00:03:24.790 --> 00:03:24.800 align:start position:0%
houses the buggy DNG decompression
 

00:03:24.800 --> 00:03:26.710 align:start position:0%
houses the buggy DNG decompression
logic.<00:03:25.440><c> Once</c><00:03:25.680><c> we</c><00:03:25.840><c> have</c><00:03:25.920><c> the</c><00:03:26.080><c> binary</c><00:03:26.400><c> loaded</c>

00:03:26.710 --> 00:03:26.720 align:start position:0%
logic. Once we have the binary loaded
 

00:03:26.720 --> 00:03:28.470 align:start position:0%
logic. Once we have the binary loaded
and<00:03:26.959><c> ready</c><00:03:27.120><c> for</c><00:03:27.360><c> analysis,</c><00:03:27.920><c> we</c><00:03:28.080><c> want</c><00:03:28.159><c> to</c><00:03:28.319><c> start</c>

00:03:28.470 --> 00:03:28.480 align:start position:0%
and ready for analysis, we want to start
 

00:03:28.480 --> 00:03:30.789 align:start position:0%
and ready for analysis, we want to start
by<00:03:28.720><c> locating</c><00:03:29.200><c> the</c><00:03:29.440><c> point</c><00:03:29.680><c> of</c><00:03:29.840><c> the</c><00:03:30.000><c> crash.</c>

00:03:30.789 --> 00:03:30.799 align:start position:0%
by locating the point of the crash.
 

00:03:30.799 --> 00:03:32.710 align:start position:0%
by locating the point of the crash.
Since<00:03:31.120><c> the</c><00:03:31.360><c> iPhone</c><00:03:31.680><c> is</c><00:03:31.920><c> running</c><00:03:32.159><c> a</c><00:03:32.400><c> live</c>

00:03:32.710 --> 00:03:32.720 align:start position:0%
Since the iPhone is running a live
 

00:03:32.720 --> 00:03:34.949 align:start position:0%
Since the iPhone is running a live
instance<00:03:33.040><c> of</c><00:03:33.200><c> this</c><00:03:33.440><c> library,</c><00:03:34.080><c> ASLR</c><00:03:34.720><c> will</c><00:03:34.879><c> be</c>

00:03:34.949 --> 00:03:34.959 align:start position:0%
instance of this library, ASLR will be
 

00:03:34.959 --> 00:03:36.309 align:start position:0%
instance of this library, ASLR will be
in<00:03:35.120><c> effect</c><00:03:35.440><c> and</c><00:03:35.680><c> therefore</c><00:03:35.920><c> we</c><00:03:36.080><c> need</c><00:03:36.239><c> to</c>

00:03:36.309 --> 00:03:36.319 align:start position:0%
in effect and therefore we need to
 

00:03:36.319 --> 00:03:38.789 align:start position:0%
in effect and therefore we need to
subtract<00:03:36.720><c> the</c><00:03:36.879><c> ASLR</c><00:03:37.519><c> slide</c><00:03:37.920><c> first</c><00:03:38.480><c> to</c>

00:03:38.789 --> 00:03:38.799 align:start position:0%
subtract the ASLR slide first to
 

00:03:38.799 --> 00:03:40.789 align:start position:0%
subtract the ASLR slide first to
calculate<00:03:39.280><c> the</c><00:03:39.519><c> static</c><00:03:40.000><c> address</c><00:03:40.319><c> equivalent</c>

00:03:40.789 --> 00:03:40.799 align:start position:0%
calculate the static address equivalent
 

00:03:40.799 --> 00:03:43.030 align:start position:0%
calculate the static address equivalent
of<00:03:40.959><c> this</c><00:03:41.200><c> instruction.</c><00:03:42.159><c> Once</c><00:03:42.400><c> we've</c><00:03:42.640><c> got</c><00:03:42.799><c> that</c>

00:03:43.030 --> 00:03:43.040 align:start position:0%
of this instruction. Once we've got that
 

00:03:43.040 --> 00:03:45.270 align:start position:0%
of this instruction. Once we've got that
address,<00:03:43.440><c> we</c><00:03:43.599><c> can</c><00:03:43.760><c> navigate</c><00:03:44.080><c> there</c><00:03:44.319><c> in</c><00:03:44.560><c> IDA</c>

00:03:45.270 --> 00:03:45.280 align:start position:0%
address, we can navigate there in IDA
 

00:03:45.280 --> 00:03:46.869 align:start position:0%
address, we can navigate there in IDA
and<00:03:45.440><c> we</c><00:03:45.680><c> can</c><00:03:45.760><c> confirm</c><00:03:46.080><c> that</c><00:03:46.319><c> we</c><00:03:46.480><c> are</c><00:03:46.560><c> on</c><00:03:46.720><c> the</c>

00:03:46.869 --> 00:03:46.879 align:start position:0%
and we can confirm that we are on the
 

00:03:46.879 --> 00:03:48.470 align:start position:0%
and we can confirm that we are on the
same<00:03:47.040><c> instruction</c><00:03:47.599><c> as</c><00:03:47.840><c> shown</c><00:03:48.080><c> in</c><00:03:48.239><c> our</c>

00:03:48.470 --> 00:03:48.480 align:start position:0%
same instruction as shown in our
 

00:03:48.480 --> 00:03:50.470 align:start position:0%
same instruction as shown in our
debugger.<00:03:49.360><c> Now</c><00:03:49.599><c> let's</c><00:03:49.840><c> switch</c><00:03:50.080><c> to</c><00:03:50.239><c> the</c>

00:03:50.470 --> 00:03:50.480 align:start position:0%
debugger. Now let's switch to the
 

00:03:50.480 --> 00:03:52.390 align:start position:0%
debugger. Now let's switch to the
decompiler<00:03:51.120><c> view</c><00:03:51.360><c> since</c><00:03:51.680><c> no</c><00:03:51.920><c> one</c><00:03:52.000><c> wants</c><00:03:52.159><c> to</c><00:03:52.319><c> be</c>

00:03:52.390 --> 00:03:52.400 align:start position:0%
decompiler view since no one wants to be
 

00:03:52.400 --> 00:03:54.390 align:start position:0%
decompiler view since no one wants to be
looking<00:03:52.560><c> at</c><00:03:52.720><c> this</c><00:03:52.959><c> much</c><00:03:53.120><c> ARM</c><00:03:53.440><c> assembly.</c>

00:03:54.390 --> 00:03:54.400 align:start position:0%
looking at this much ARM assembly.
 

00:03:54.400 --> 00:03:56.229 align:start position:0%
looking at this much ARM assembly.
Unfortunately<00:03:54.879><c> for</c><00:03:55.120><c> us,</c><00:03:55.360><c> the</c><00:03:55.599><c> decompiler</c>

00:03:56.229 --> 00:03:56.239 align:start position:0%
Unfortunately for us, the decompiler
 

00:03:56.239 --> 00:03:57.670 align:start position:0%
Unfortunately for us, the decompiler
view<00:03:56.480><c> doesn't</c><00:03:56.799><c> actually</c><00:03:57.040><c> look</c><00:03:57.280><c> that</c><00:03:57.519><c> much</c>

00:03:57.670 --> 00:03:57.680 align:start position:0%
view doesn't actually look that much
 

00:03:57.680 --> 00:03:59.670 align:start position:0%
view doesn't actually look that much
better.<00:03:58.239><c> We</c><00:03:58.480><c> have</c><00:03:58.640><c> over</c><00:03:58.799><c> a</c><00:03:58.959><c> thousand</c><00:03:59.280><c> lines</c><00:03:59.519><c> of</c>

00:03:59.670 --> 00:03:59.680 align:start position:0%
better. We have over a thousand lines of
 

00:03:59.680 --> 00:04:01.589 align:start position:0%
better. We have over a thousand lines of
code<00:03:59.840><c> in</c><00:04:00.080><c> this</c><00:04:00.239><c> function</c><00:04:00.640><c> with</c><00:04:00.959><c> no</c><00:04:01.200><c> symbols</c>

00:04:01.589 --> 00:04:01.599 align:start position:0%
code in this function with no symbols
 

00:04:01.599 --> 00:04:03.990 align:start position:0%
code in this function with no symbols
and<00:04:01.840><c> no</c><00:04:02.000><c> debug</c><00:04:02.400><c> strings.</c><00:04:03.040><c> Thankfully,</c><00:04:03.519><c> Quarks</c>

00:04:03.990 --> 00:04:04.000 align:start position:0%
and no debug strings. Thankfully, Quarks
 

00:04:04.000 --> 00:04:06.229 align:start position:0%
and no debug strings. Thankfully, Quarks
Labs<00:04:04.319><c> and</c><00:04:04.480><c> Dark</c><00:04:04.799><c> Navy</c><00:04:05.200><c> Security</c><00:04:05.760><c> have</c><00:04:06.000><c> already</c>

00:04:06.229 --> 00:04:06.239 align:start position:0%
Labs and Dark Navy Security have already
 

00:04:06.239 --> 00:04:07.670 align:start position:0%
Labs and Dark Navy Security have already
published<00:04:06.560><c> a</c><00:04:06.799><c> significant</c><00:04:07.280><c> amount</c><00:04:07.519><c> of</c>

00:04:07.670 --> 00:04:07.680 align:start position:0%
published a significant amount of
 

00:04:07.680 --> 00:04:09.350 align:start position:0%
published a significant amount of
analysis<00:04:08.159><c> on</c><00:04:08.400><c> what</c><00:04:08.560><c> is</c><00:04:08.720><c> actually</c><00:04:08.959><c> happening</c>

00:04:09.350 --> 00:04:09.360 align:start position:0%
analysis on what is actually happening
 

00:04:09.360 --> 00:04:11.509 align:start position:0%
analysis on what is actually happening
here.<00:04:10.000><c> So,</c><00:04:10.239><c> using</c><00:04:10.560><c> their</c><00:04:10.879><c> research</c><00:04:11.200><c> as</c>

00:04:11.509 --> 00:04:11.519 align:start position:0%
here. So, using their research as
 

00:04:11.519 --> 00:04:13.350 align:start position:0%
here. So, using their research as
guidance,<00:04:12.239><c> let's</c><00:04:12.560><c> analyze</c><00:04:12.959><c> this</c><00:04:13.120><c> a</c><00:04:13.280><c> little</c>

00:04:13.350 --> 00:04:13.360 align:start position:0%
guidance, let's analyze this a little
 

00:04:13.360 --> 00:04:15.429 align:start position:0%
guidance, let's analyze this a little
bit<00:04:13.519><c> more</c><00:04:13.680><c> deeply.</c><00:04:14.319><c> At</c><00:04:14.560><c> a</c><00:04:14.720><c> high</c><00:04:14.879><c> level,</c><00:04:15.280><c> this</c>

00:04:15.429 --> 00:04:15.439 align:start position:0%
bit more deeply. At a high level, this
 

00:04:15.439 --> 00:04:17.670 align:start position:0%
bit more deeply. At a high level, this
function<00:04:15.840><c> is</c><00:04:16.079><c> responsible</c><00:04:16.560><c> for</c><00:04:16.880><c> decoding</c><00:04:17.440><c> a</c>

00:04:17.670 --> 00:04:17.680 align:start position:0%
function is responsible for decoding a
 

00:04:17.680 --> 00:04:20.550 align:start position:0%
function is responsible for decoding a
specific<00:04:18.160><c> component</c><00:04:18.560><c> of</c><00:04:18.799><c> a</c><00:04:18.959><c> DNG</c><00:04:19.440><c> image</c><00:04:19.759><c> file.</c>

00:04:20.550 --> 00:04:20.560 align:start position:0%
specific component of a DNG image file.
 

00:04:20.560 --> 00:04:22.230 align:start position:0%
specific component of a DNG image file.
We<00:04:20.799><c> have</c><00:04:20.880><c> a</c><00:04:21.040><c> few</c><00:04:21.199><c> nested</c><00:04:21.600><c> loops</c><00:04:21.919><c> here</c>

00:04:22.230 --> 00:04:22.240 align:start position:0%
We have a few nested loops here
 

00:04:22.240 --> 00:04:24.310 align:start position:0%
We have a few nested loops here
providing<00:04:22.639><c> the</c><00:04:22.880><c> logic</c><00:04:23.199><c> to</c><00:04:23.440><c> decode</c><00:04:24.080><c> rows</c><00:04:24.160><c> of</c>

00:04:24.310 --> 00:04:24.320 align:start position:0%
providing the logic to decode rows of
 

00:04:24.320 --> 00:04:26.790 align:start position:0%
providing the logic to decode rows of
pixels.<00:04:25.360><c> And</c><00:04:25.600><c> within</c><00:04:25.840><c> the</c><00:04:26.000><c> loops,</c><00:04:26.320><c> we</c><00:04:26.560><c> have</c>

00:04:26.790 --> 00:04:26.800 align:start position:0%
pixels. And within the loops, we have
 

00:04:26.800 --> 00:04:28.710 align:start position:0%
pixels. And within the loops, we have
decoding<00:04:27.280><c> logic</c><00:04:27.600><c> being</c><00:04:27.919><c> performed</c><00:04:28.320><c> on</c><00:04:28.560><c> the</c>

00:04:28.710 --> 00:04:28.720 align:start position:0%
decoding logic being performed on the
 

00:04:28.720 --> 00:04:31.350 align:start position:0%
decoding logic being performed on the
input<00:04:29.120><c> data</c><00:04:29.840><c> and</c><00:04:30.080><c> then</c><00:04:30.320><c> stored</c><00:04:30.639><c> in</c><00:04:30.800><c> an</c><00:04:30.960><c> output</c>

00:04:31.350 --> 00:04:31.360 align:start position:0%
input data and then stored in an output
 

00:04:31.360 --> 00:04:33.749 align:start position:0%
input data and then stored in an output
pixel<00:04:31.759><c> buffer.</c><00:04:32.560><c> The</c><00:04:32.800><c> pointer</c><00:04:33.120><c> to</c><00:04:33.280><c> the</c><00:04:33.440><c> output</c>

00:04:33.749 --> 00:04:33.759 align:start position:0%
pixel buffer. The pointer to the output
 

00:04:33.759 --> 00:04:35.909 align:start position:0%
pixel buffer. The pointer to the output
buffer<00:04:34.160><c> is</c><00:04:34.320><c> being</c><00:04:34.560><c> continuously</c><00:04:35.199><c> updated</c><00:04:35.680><c> on</c>

00:04:35.909 --> 00:04:35.919 align:start position:0%
buffer is being continuously updated on
 

00:04:35.919 --> 00:04:38.310 align:start position:0%
buffer is being continuously updated on
each<00:04:36.240><c> decoding</c><00:04:36.880><c> pass</c><00:04:37.520><c> so</c><00:04:37.680><c> that</c><00:04:37.840><c> it</c><00:04:38.080><c> always</c>

00:04:38.310 --> 00:04:38.320 align:start position:0%
each decoding pass so that it always
 

00:04:38.320 --> 00:04:40.790 align:start position:0%
each decoding pass so that it always
points<00:04:38.639><c> to</c><00:04:38.800><c> the</c><00:04:38.960><c> next</c><00:04:39.199><c> free</c><00:04:39.520><c> spot.</c><00:04:40.400><c> So,</c><00:04:40.560><c> let's</c>

00:04:40.790 --> 00:04:40.800 align:start position:0%
points to the next free spot. So, let's
 

00:04:40.800 --> 00:04:42.629 align:start position:0%
points to the next free spot. So, let's
walk<00:04:41.040><c> through</c><00:04:41.199><c> the</c><00:04:41.440><c> exact</c><00:04:41.759><c> flow</c><00:04:42.160><c> leading</c><00:04:42.560><c> to</c>

00:04:42.629 --> 00:04:42.639 align:start position:0%
walk through the exact flow leading to
 

00:04:42.639 --> 00:04:44.310 align:start position:0%
walk through the exact flow leading to
the<00:04:42.800><c> crash.</c><00:04:43.280><c> By</c><00:04:43.440><c> the</c><00:04:43.520><c> way,</c><00:04:43.680><c> if</c><00:04:43.840><c> you</c><00:04:44.000><c> appreciate</c>

00:04:44.310 --> 00:04:44.320 align:start position:0%
the crash. By the way, if you appreciate
 

00:04:44.320 --> 00:04:46.070 align:start position:0%
the crash. By the way, if you appreciate
the<00:04:44.560><c> research</c><00:04:44.880><c> effort</c><00:04:45.280><c> behind</c><00:04:45.600><c> making</c><00:04:45.840><c> these</c>

00:04:46.070 --> 00:04:46.080 align:start position:0%
the research effort behind making these
 

00:04:46.080 --> 00:04:47.830 align:start position:0%
the research effort behind making these
technical<00:04:46.479><c> video</c><00:04:46.720><c> breakdowns,</c><00:04:47.360><c> leave</c><00:04:47.520><c> a</c><00:04:47.680><c> like</c>

00:04:47.830 --> 00:04:47.840 align:start position:0%
technical video breakdowns, leave a like
 

00:04:47.840 --> 00:04:49.430 align:start position:0%
technical video breakdowns, leave a like
on<00:04:48.000><c> this</c><00:04:48.160><c> video</c><00:04:48.320><c> and</c><00:04:48.639><c> consider</c><00:04:49.040><c> subscribing</c>

00:04:49.430 --> 00:04:49.440 align:start position:0%
on this video and consider subscribing
 

00:04:49.440 --> 00:04:51.510 align:start position:0%
on this video and consider subscribing
to<00:04:49.759><c> help</c><00:04:49.919><c> the</c><00:04:50.080><c> growth</c><00:04:50.320><c> of</c><00:04:50.479><c> this</c><00:04:50.639><c> channel.</c><00:04:51.280><c> We</c>

00:04:51.510 --> 00:04:51.520 align:start position:0%
to help the growth of this channel. We
 

00:04:51.520 --> 00:04:52.950 align:start position:0%
to help the growth of this channel. We
first<00:04:51.840><c> actually</c><00:04:52.160><c> enter</c><00:04:52.400><c> the</c><00:04:52.560><c> vulnerable</c>

00:04:52.950 --> 00:04:52.960 align:start position:0%
first actually enter the vulnerable
 

00:04:52.960 --> 00:04:55.030 align:start position:0%
first actually enter the vulnerable
passing<00:04:53.440><c> function</c><00:04:53.919><c> thanks</c><00:04:54.160><c> to</c><00:04:54.400><c> our</c><00:04:54.720><c> sample</c>

00:04:55.030 --> 00:04:55.040 align:start position:0%
passing function thanks to our sample
 

00:04:55.040 --> 00:04:57.749 align:start position:0%
passing function thanks to our sample
per<00:04:55.280><c> pixel</c><00:04:55.680><c> value</c><00:04:56.000><c> being</c><00:04:56.400><c> set</c><00:04:56.560><c> to</c><00:04:56.800><c> two.</c><00:04:57.520><c> This</c>

00:04:57.749 --> 00:04:57.759 align:start position:0%
per pixel value being set to two. This
 

00:04:57.759 --> 00:05:00.230 align:start position:0%
per pixel value being set to two. This
value<00:04:58.080><c> must</c><00:04:58.400><c> be</c><00:04:58.639><c> exactly</c><00:04:59.120><c> two</c><00:04:59.360><c> for</c><00:04:59.520><c> us</c><00:04:59.680><c> to</c><00:04:59.919><c> even</c>

00:05:00.230 --> 00:05:00.240 align:start position:0%
value must be exactly two for us to even
 

00:05:00.240 --> 00:05:02.070 align:start position:0%
value must be exactly two for us to even
enter<00:05:00.560><c> this</c><00:05:00.720><c> function</c><00:05:01.120><c> as</c><00:05:01.360><c> per</c><00:05:01.600><c> the</c><00:05:01.759><c> check</c>

00:05:02.070 --> 00:05:02.080 align:start position:0%
enter this function as per the check
 

00:05:02.080 --> 00:05:04.070 align:start position:0%
enter this function as per the check
right<00:05:02.320><c> here.</c><00:05:03.120><c> This</c><00:05:03.360><c> already</c><00:05:03.600><c> seemed</c><00:05:03.840><c> a</c><00:05:03.919><c> bit</c>

00:05:04.070 --> 00:05:04.080 align:start position:0%
right here. This already seemed a bit
 

00:05:04.080 --> 00:05:05.749 align:start position:0%
right here. This already seemed a bit
strange<00:05:04.320><c> to</c><00:05:04.479><c> me</c><00:05:04.639><c> because</c><00:05:04.960><c> as</c><00:05:05.120><c> we'll</c><00:05:05.360><c> see</c><00:05:05.520><c> the</c>

00:05:05.749 --> 00:05:05.759 align:start position:0%
strange to me because as we'll see the
 

00:05:05.759 --> 00:05:07.830 align:start position:0%
strange to me because as we'll see the
vulnerable<00:05:06.160><c> function</c><00:05:06.560><c> logic</c><00:05:07.039><c> handles</c><00:05:07.440><c> cases</c>

00:05:07.830 --> 00:05:07.840 align:start position:0%
vulnerable function logic handles cases
 

00:05:07.840 --> 00:05:09.350 align:start position:0%
vulnerable function logic handles cases
for<00:05:08.080><c> different</c><00:05:08.320><c> amounts</c><00:05:08.639><c> of</c><00:05:08.800><c> samples</c><00:05:09.199><c> per</c>

00:05:09.350 --> 00:05:09.360 align:start position:0%
for different amounts of samples per
 

00:05:09.360 --> 00:05:10.710 align:start position:0%
for different amounts of samples per
pixel.<00:05:10.000><c> But</c><00:05:10.160><c> maybe</c><00:05:10.400><c> I'm</c><00:05:10.560><c> just</c>

00:05:10.710 --> 00:05:10.720 align:start position:0%
pixel. But maybe I'm just
 

00:05:10.720 --> 00:05:12.230 align:start position:0%
pixel. But maybe I'm just
misunderstanding<00:05:11.360><c> something</c><00:05:11.600><c> here</c><00:05:11.840><c> due</c><00:05:12.080><c> to</c>

00:05:12.230 --> 00:05:12.240 align:start position:0%
misunderstanding something here due to
 

00:05:12.240 --> 00:05:13.830 align:start position:0%
misunderstanding something here due to
me<00:05:12.400><c> personally</c><00:05:12.800><c> not</c><00:05:13.039><c> being</c><00:05:13.280><c> very</c><00:05:13.520><c> familiar</c>

00:05:13.830 --> 00:05:13.840 align:start position:0%
me personally not being very familiar
 

00:05:13.840 --> 00:05:16.310 align:start position:0%
me personally not being very familiar
with<00:05:14.000><c> the</c><00:05:14.240><c> wider</c><00:05:14.560><c> context</c><00:05:15.039><c> of</c><00:05:15.280><c> this</c><00:05:15.440><c> codebase.</c>

00:05:16.310 --> 00:05:16.320 align:start position:0%
with the wider context of this codebase.
 

00:05:16.320 --> 00:05:18.550 align:start position:0%
with the wider context of this codebase.
So<00:05:16.560><c> let's</c><00:05:16.880><c> continue.</c><00:05:17.680><c> Inside</c><00:05:17.919><c> the</c><00:05:18.080><c> vulnerable</c>

00:05:18.550 --> 00:05:18.560 align:start position:0%
So let's continue. Inside the vulnerable
 

00:05:18.560 --> 00:05:20.390 align:start position:0%
So let's continue. Inside the vulnerable
function,<00:05:18.960><c> we</c><00:05:19.120><c> then</c><00:05:19.360><c> enter</c><00:05:19.680><c> a</c><00:05:20.000><c> series</c><00:05:20.240><c> of</c>

00:05:20.390 --> 00:05:20.400 align:start position:0%
function, we then enter a series of
 

00:05:20.400 --> 00:05:23.189 align:start position:0%
function, we then enter a series of
nested<00:05:20.880><c> loops.</c><00:05:21.680><c> The</c><00:05:21.840><c> outermost</c><00:05:22.400><c> loop</c><00:05:22.639><c> here</c><00:05:22.960><c> is</c>

00:05:23.189 --> 00:05:23.199 align:start position:0%
nested loops. The outermost loop here is
 

00:05:23.199 --> 00:05:25.590 align:start position:0%
nested loops. The outermost loop here is
iterating<00:05:23.840><c> for</c><00:05:24.080><c> each</c><00:05:24.720><c> row</c><00:05:24.800><c> of</c><00:05:24.960><c> the</c><00:05:25.199><c> image</c><00:05:25.440><c> that</c>

00:05:25.590 --> 00:05:25.600 align:start position:0%
iterating for each row of the image that
 

00:05:25.600 --> 00:05:27.590 align:start position:0%
iterating for each row of the image that
we're<00:05:25.759><c> decompressing,</c><00:05:26.720><c> and</c><00:05:26.960><c> it</c><00:05:27.120><c> loops</c><00:05:27.440><c> for</c>

00:05:27.590 --> 00:05:27.600 align:start position:0%
we're decompressing, and it loops for
 

00:05:27.600 --> 00:05:29.510 align:start position:0%
we're decompressing, and it loops for
around<00:05:27.919><c> 4,000</c><00:05:28.479><c> times,</c><00:05:28.800><c> which</c><00:05:28.960><c> is</c><00:05:29.120><c> the</c><00:05:29.280><c> height</c>

00:05:29.510 --> 00:05:29.520 align:start position:0%
around 4,000 times, which is the height
 

00:05:29.520 --> 00:05:31.990 align:start position:0%
around 4,000 times, which is the height
of<00:05:29.680><c> our</c><00:05:29.840><c> sample</c><00:05:30.240><c> image.</c><00:05:30.960><c> We</c><00:05:31.199><c> then</c><00:05:31.440><c> enter</c><00:05:31.759><c> the</c>

00:05:31.990 --> 00:05:32.000 align:start position:0%
of our sample image. We then enter the
 

00:05:32.000 --> 00:05:34.710 align:start position:0%
of our sample image. We then enter the
first<00:05:32.320><c> nested</c><00:05:32.800><c> loop</c><00:05:33.120><c> to</c><00:05:33.440><c> pass</c><00:05:33.759><c> each</c><00:05:34.000><c> pixel</c><00:05:34.479><c> in</c>

00:05:34.710 --> 00:05:34.720 align:start position:0%
first nested loop to pass each pixel in
 

00:05:34.720 --> 00:05:36.870 align:start position:0%
first nested loop to pass each pixel in
this<00:05:34.960><c> current</c><00:05:35.440><c> row.</c><00:05:36.000><c> And</c><00:05:36.160><c> here</c><00:05:36.400><c> is</c><00:05:36.560><c> where</c><00:05:36.720><c> we</c>

00:05:36.870 --> 00:05:36.880 align:start position:0%
this current row. And here is where we
 

00:05:36.880 --> 00:05:39.270 align:start position:0%
this current row. And here is where we
reach<00:05:37.120><c> the</c><00:05:37.280><c> bug</c><00:05:37.600><c> itself.</c><00:05:38.320><c> This</c><00:05:38.560><c> faulty</c><00:05:38.960><c> check</c>

00:05:39.270 --> 00:05:39.280 align:start position:0%
reach the bug itself. This faulty check
 

00:05:39.280 --> 00:05:41.110 align:start position:0%
reach the bug itself. This faulty check
here<00:05:39.520><c> is</c><00:05:39.840><c> determining</c><00:05:40.320><c> if</c><00:05:40.639><c> number</c><00:05:40.960><c> of</c>

00:05:41.110 --> 00:05:41.120 align:start position:0%
here is determining if number of
 

00:05:41.120 --> 00:05:44.150 align:start position:0%
here is determining if number of
components<00:05:41.840><c> does</c><00:05:42.160><c> not</c><00:05:42.400><c> equal</c><00:05:42.800><c> two.</c><00:05:43.759><c> And</c><00:05:44.000><c> this</c>

00:05:44.150 --> 00:05:44.160 align:start position:0%
components does not equal two. And this
 

00:05:44.160 --> 00:05:46.150 align:start position:0%
components does not equal two. And this
is<00:05:44.240><c> a</c><00:05:44.400><c> bug</c><00:05:44.639><c> because</c><00:05:44.880><c> the</c><00:05:45.120><c> code</c><00:05:45.360><c> is</c><00:05:45.520><c> assuming</c><00:05:45.919><c> at</c>

00:05:46.150 --> 00:05:46.160 align:start position:0%
is a bug because the code is assuming at
 

00:05:46.160 --> 00:05:48.710 align:start position:0%
is a bug because the code is assuming at
this<00:05:46.320><c> point</c><00:05:46.720><c> that</c><00:05:46.960><c> number</c><00:05:47.280><c> of</c><00:05:47.520><c> components</c><00:05:48.400><c> is</c>

00:05:48.710 --> 00:05:48.720 align:start position:0%
this point that number of components is
 

00:05:48.720 --> 00:05:50.629 align:start position:0%
this point that number of components is
greater<00:05:49.039><c> than</c><00:05:49.280><c> two</c><00:05:49.680><c> presumably</c><00:05:50.240><c> because</c><00:05:50.479><c> we</c>

00:05:50.629 --> 00:05:50.639 align:start position:0%
greater than two presumably because we
 

00:05:50.639 --> 00:05:52.550 align:start position:0%
greater than two presumably because we
entered<00:05:50.960><c> the</c><00:05:51.120><c> function</c><00:05:51.520><c> based</c><00:05:51.840><c> on</c><00:05:52.080><c> samples</c>

00:05:52.550 --> 00:05:52.560 align:start position:0%
entered the function based on samples
 

00:05:52.560 --> 00:05:55.029 align:start position:0%
entered the function based on samples
per<00:05:52.800><c> pixel</c><00:05:53.199><c> being</c><00:05:53.520><c> two.</c><00:05:54.240><c> The</c><00:05:54.479><c> code</c><00:05:54.720><c> seems</c><00:05:54.960><c> to</c>

00:05:55.029 --> 00:05:55.039 align:start position:0%
per pixel being two. The code seems to
 

00:05:55.039 --> 00:05:56.710 align:start position:0%
per pixel being two. The code seems to
be<00:05:55.199><c> kind</c><00:05:55.360><c> of</c><00:05:55.520><c> interchanging</c><00:05:56.160><c> these</c><00:05:56.479><c> two</c>

00:05:56.710 --> 00:05:56.720 align:start position:0%
be kind of interchanging these two
 

00:05:56.720 --> 00:05:59.189 align:start position:0%
be kind of interchanging these two
variables.<00:05:57.680><c> In</c><00:05:57.919><c> one</c><00:05:58.160><c> part</c><00:05:58.479><c> is</c><00:05:58.639><c> using</c><00:05:58.960><c> the</c>

00:05:59.189 --> 00:05:59.199 align:start position:0%
variables. In one part is using the
 

00:05:59.199 --> 00:06:01.430 align:start position:0%
variables. In one part is using the
sample<00:05:59.520><c> per</c><00:05:59.680><c> pixels</c><00:06:00.160><c> value</c><00:06:00.720><c> and</c><00:06:00.880><c> as</c><00:06:01.039><c> I</c><00:06:01.199><c> said</c>

00:06:01.430 --> 00:06:01.440 align:start position:0%
sample per pixels value and as I said
 

00:06:01.440 --> 00:06:02.870 align:start position:0%
sample per pixels value and as I said
this<00:06:01.600><c> is</c><00:06:01.680><c> the</c><00:06:01.919><c> reason</c><00:06:02.080><c> we're</c><00:06:02.320><c> entering</c><00:06:02.639><c> this</c>

00:06:02.870 --> 00:06:02.880 align:start position:0%
this is the reason we're entering this
 

00:06:02.880 --> 00:06:04.950 align:start position:0%
this is the reason we're entering this
function<00:06:03.199><c> in</c><00:06:03.360><c> the</c><00:06:03.520><c> first</c><00:06:03.680><c> place.</c><00:06:04.400><c> But</c><00:06:04.560><c> then</c><00:06:04.720><c> in</c>

00:06:04.950 --> 00:06:04.960 align:start position:0%
function in the first place. But then in
 

00:06:04.960 --> 00:06:06.550 align:start position:0%
function in the first place. But then in
other<00:06:05.120><c> parts</c><00:06:05.440><c> they</c><00:06:05.680><c> use</c><00:06:05.919><c> the</c><00:06:06.080><c> number</c><00:06:06.319><c> of</c>

00:06:06.550 --> 00:06:06.560 align:start position:0%
other parts they use the number of
 

00:06:06.560 --> 00:06:08.710 align:start position:0%
other parts they use the number of
components<00:06:07.039><c> value</c><00:06:07.360><c> instead</c><00:06:08.080><c> such</c><00:06:08.319><c> as</c><00:06:08.479><c> the</c>

00:06:08.710 --> 00:06:08.720 align:start position:0%
components value instead such as the
 

00:06:08.720 --> 00:06:10.469 align:start position:0%
components value instead such as the
value<00:06:09.120><c> used</c><00:06:09.360><c> in</c><00:06:09.520><c> the</c><00:06:09.680><c> loop</c><00:06:10.080><c> condition</c>

00:06:10.469 --> 00:06:10.479 align:start position:0%
value used in the loop condition
 

00:06:10.479 --> 00:06:12.870 align:start position:0%
value used in the loop condition
counter.<00:06:11.360><c> This</c><00:06:11.600><c> causes</c><00:06:11.919><c> some</c><00:06:12.160><c> confusion</c><00:06:12.560><c> when</c>

00:06:12.870 --> 00:06:12.880 align:start position:0%
counter. This causes some confusion when
 

00:06:12.880 --> 00:06:15.189 align:start position:0%
counter. This causes some confusion when
actually<00:06:13.199><c> decoding</c><00:06:13.840><c> as</c><00:06:14.000><c> we'll</c><00:06:14.160><c> see</c><00:06:14.400><c> next.</c>

00:06:15.189 --> 00:06:15.199 align:start position:0%
actually decoding as we'll see next.
 

00:06:15.199 --> 00:06:17.430 align:start position:0%
actually decoding as we'll see next.
This<00:06:15.360><c> loop</c><00:06:15.680><c> iterates</c><00:06:16.160><c> up</c><00:06:16.319><c> to</c><00:06:16.479><c> the</c><00:06:16.720><c> value</c><00:06:16.960><c> of</c>

00:06:17.430 --> 00:06:17.440 align:start position:0%
This loop iterates up to the value of
 

00:06:17.440 --> 00:06:19.830 align:start position:0%
This loop iterates up to the value of
width*<00:06:18.240><c> 2.</c><00:06:18.800><c> Because</c><00:06:18.960><c> of</c><00:06:19.120><c> the</c><00:06:19.280><c> way</c><00:06:19.440><c> this</c><00:06:19.600><c> loop</c>

00:06:19.830 --> 00:06:19.840 align:start position:0%
width* 2. Because of the way this loop
 

00:06:19.840 --> 00:06:21.909 align:start position:0%
width* 2. Because of the way this loop
is<00:06:20.000><c> written,</c><00:06:20.319><c> however,</c><00:06:20.800><c> we</c><00:06:21.039><c> end</c><00:06:21.120><c> up</c><00:06:21.360><c> iterating</c>

00:06:21.909 --> 00:06:21.919 align:start position:0%
is written, however, we end up iterating
 

00:06:21.919 --> 00:06:24.230 align:start position:0%
is written, however, we end up iterating
for<00:06:22.160><c> many</c><00:06:22.479><c> more</c><00:06:22.720><c> times</c><00:06:23.039><c> than</c><00:06:23.199><c> we</c><00:06:23.440><c> should.</c><00:06:24.000><c> The</c>

00:06:24.230 --> 00:06:24.240 align:start position:0%
for many more times than we should. The
 

00:06:24.240 --> 00:06:26.550 align:start position:0%
for many more times than we should. The
counter<00:06:24.639><c> of</c><00:06:24.800><c> this</c><00:06:24.960><c> loop</c><00:06:25.360><c> increments</c><00:06:26.080><c> by</c><00:06:26.319><c> the</c>

00:06:26.550 --> 00:06:26.560 align:start position:0%
counter of this loop increments by the
 

00:06:26.560 --> 00:06:28.870 align:start position:0%
counter of this loop increments by the
number<00:06:26.800><c> of</c><00:06:26.960><c> components</c><00:06:27.520><c> value.</c><00:06:28.319><c> And</c><00:06:28.479><c> in</c><00:06:28.639><c> a</c>

00:06:28.870 --> 00:06:28.880 align:start position:0%
number of components value. And in a
 

00:06:28.880 --> 00:06:30.710 align:start position:0%
number of components value. And in a
legitimate<00:06:29.280><c> call</c><00:06:29.520><c> to</c><00:06:29.680><c> this</c><00:06:29.919><c> function</c><00:06:30.319><c> and</c><00:06:30.479><c> in</c>

00:06:30.710 --> 00:06:30.720 align:start position:0%
legitimate call to this function and in
 

00:06:30.720 --> 00:06:32.870 align:start position:0%
legitimate call to this function and in
this<00:06:30.880><c> code</c><00:06:31.199><c> block,</c><00:06:31.840><c> that</c><00:06:32.080><c> value</c><00:06:32.400><c> should</c><00:06:32.639><c> be</c><00:06:32.800><c> at</c>

00:06:32.870 --> 00:06:32.880 align:start position:0%
this code block, that value should be at
 

00:06:32.880 --> 00:06:35.590 align:start position:0%
this code block, that value should be at
least<00:06:33.440><c> three</c><00:06:33.759><c> at</c><00:06:34.000><c> this</c><00:06:34.160><c> point.</c><00:06:34.880><c> However,</c><00:06:35.360><c> our</c>

00:06:35.590 --> 00:06:35.600 align:start position:0%
least three at this point. However, our
 

00:06:35.600 --> 00:06:37.350 align:start position:0%
least three at this point. However, our
number<00:06:35.759><c> of</c><00:06:36.000><c> components</c><00:06:36.400><c> is</c><00:06:36.720><c> actually</c><00:06:37.039><c> only</c>

00:06:37.350 --> 00:06:37.360 align:start position:0%
number of components is actually only
 

00:06:37.360 --> 00:06:39.029 align:start position:0%
number of components is actually only
one.<00:06:37.840><c> And</c><00:06:38.000><c> that</c><00:06:38.160><c> has</c><00:06:38.319><c> slipped</c><00:06:38.639><c> past</c><00:06:38.880><c> the</c>

00:06:39.029 --> 00:06:39.039 align:start position:0%
one. And that has slipped past the
 

00:06:39.039 --> 00:06:41.110 align:start position:0%
one. And that has slipped past the
checks<00:06:39.360><c> in</c><00:06:39.600><c> this</c><00:06:39.759><c> function.</c><00:06:40.400><c> So</c><00:06:40.639><c> since</c><00:06:40.880><c> our</c>

00:06:41.110 --> 00:06:41.120 align:start position:0%
checks in this function. So since our
 

00:06:41.120 --> 00:06:43.590 align:start position:0%
checks in this function. So since our
loop<00:06:41.440><c> counter</c><00:06:41.840><c> is</c><00:06:42.080><c> incrementing</c><00:06:42.639><c> by</c><00:06:42.880><c> only</c><00:06:43.199><c> one</c>

00:06:43.590 --> 00:06:43.600 align:start position:0%
loop counter is incrementing by only one
 

00:06:43.600 --> 00:06:46.390 align:start position:0%
loop counter is incrementing by only one
each<00:06:43.919><c> time,</c><00:06:44.560><c> we</c><00:06:44.880><c> end</c><00:06:45.039><c> up</c><00:06:45.199><c> looping</c><00:06:45.680><c> for</c><00:06:46.000><c> triple</c>

00:06:46.390 --> 00:06:46.400 align:start position:0%
each time, we end up looping for triple
 

00:06:46.400 --> 00:06:48.629 align:start position:0%
each time, we end up looping for triple
the<00:06:46.639><c> intended</c><00:06:47.039><c> amount</c><00:06:47.280><c> of</c><00:06:47.440><c> times.</c><00:06:48.160><c> On</c><00:06:48.400><c> each</c>

00:06:48.629 --> 00:06:48.639 align:start position:0%
the intended amount of times. On each
 

00:06:48.639 --> 00:06:50.790 align:start position:0%
the intended amount of times. On each
iteration<00:06:49.280><c> in</c><00:06:49.440><c> this</c><00:06:49.600><c> inner</c><00:06:50.000><c> loop,</c><00:06:50.479><c> the</c>

00:06:50.790 --> 00:06:50.800 align:start position:0%
iteration in this inner loop, the
 

00:06:50.800 --> 00:06:53.110 align:start position:0%
iteration in this inner loop, the
decompression<00:06:51.520><c> logic</c><00:06:51.840><c> is</c><00:06:52.080><c> performed</c><00:06:52.560><c> on</c><00:06:52.800><c> a</c>

00:06:53.110 --> 00:06:53.120 align:start position:0%
decompression logic is performed on a
 

00:06:53.120 --> 00:06:55.270 align:start position:0%
decompression logic is performed on a
value<00:06:53.360><c> in</c><00:06:53.600><c> the</c><00:06:53.680><c> source</c><00:06:54.000><c> image</c><00:06:54.319><c> data</c><00:06:54.880><c> and</c><00:06:55.120><c> then</c>

00:06:55.270 --> 00:06:55.280 align:start position:0%
value in the source image data and then
 

00:06:55.280 --> 00:06:57.430 align:start position:0%
value in the source image data and then
that<00:06:55.600><c> two</c><00:06:55.840><c> byte</c><00:06:56.160><c> result</c><00:06:56.560><c> is</c><00:06:56.880><c> written</c><00:06:57.120><c> to</c><00:06:57.280><c> the</c>

00:06:57.430 --> 00:06:57.440 align:start position:0%
that two byte result is written to the
 

00:06:57.440 --> 00:06:59.270 align:start position:0%
that two byte result is written to the
output<00:06:57.759><c> buffer</c><00:06:58.240><c> at</c><00:06:58.479><c> the</c><00:06:58.639><c> current</c><00:06:58.880><c> output</c>

00:06:59.270 --> 00:06:59.280 align:start position:0%
output buffer at the current output
 

00:06:59.280 --> 00:07:01.350 align:start position:0%
output buffer at the current output
buffer<00:06:59.599><c> index.</c><00:07:00.319><c> As</c><00:07:00.560><c> previously</c><00:07:00.960><c> mentioned,</c>

00:07:01.350 --> 00:07:01.360 align:start position:0%
buffer index. As previously mentioned,
 

00:07:01.360 --> 00:07:03.110 align:start position:0%
buffer index. As previously mentioned,
the<00:07:01.520><c> output</c><00:07:01.840><c> buffer</c><00:07:02.160><c> pointer</c><00:07:02.560><c> is</c><00:07:02.800><c> being</c>

00:07:03.110 --> 00:07:03.120 align:start position:0%
the output buffer pointer is being
 

00:07:03.120 --> 00:07:05.270 align:start position:0%
the output buffer pointer is being
continuously<00:07:03.759><c> incremented</c><00:07:04.400><c> by</c><00:07:04.639><c> two</c><00:07:04.960><c> each</c>

00:07:05.270 --> 00:07:05.280 align:start position:0%
continuously incremented by two each
 

00:07:05.280 --> 00:07:07.270 align:start position:0%
continuously incremented by two each
time<00:07:05.759><c> to</c><00:07:06.000><c> ensure</c><00:07:06.240><c> that</c><00:07:06.479><c> it</c><00:07:06.639><c> always</c><00:07:06.880><c> points</c><00:07:07.199><c> to</c>

00:07:07.270 --> 00:07:07.280 align:start position:0%
time to ensure that it always points to
 

00:07:07.280 --> 00:07:09.270 align:start position:0%
time to ensure that it always points to
the<00:07:07.520><c> next</c><00:07:07.680><c> empty</c><00:07:08.080><c> part</c><00:07:08.240><c> of</c><00:07:08.319><c> the</c><00:07:08.479><c> buffer.</c><00:07:09.039><c> So</c>

00:07:09.270 --> 00:07:09.280 align:start position:0%
the next empty part of the buffer. So
 

00:07:09.280 --> 00:07:10.950 align:start position:0%
the next empty part of the buffer. So
due<00:07:09.520><c> to</c><00:07:09.599><c> the</c><00:07:09.840><c> small</c><00:07:10.080><c> number</c><00:07:10.319><c> of</c><00:07:10.479><c> components</c>

00:07:10.950 --> 00:07:10.960 align:start position:0%
due to the small number of components
 

00:07:10.960 --> 00:07:13.189 align:start position:0%
due to the small number of components
value,<00:07:11.680><c> we</c><00:07:12.000><c> actually</c><00:07:12.240><c> begin</c><00:07:12.479><c> writing</c><00:07:12.880><c> out</c><00:07:13.039><c> of</c>

00:07:13.189 --> 00:07:13.199 align:start position:0%
value, we actually begin writing out of
 

00:07:13.199 --> 00:07:14.790 align:start position:0%
value, we actually begin writing out of
bounds<00:07:13.520><c> as</c><00:07:13.680><c> soon</c><00:07:13.840><c> as</c><00:07:13.919><c> we're</c><00:07:14.080><c> in</c><00:07:14.240><c> the</c><00:07:14.479><c> second</c>

00:07:14.790 --> 00:07:14.800 align:start position:0%
bounds as soon as we're in the second
 

00:07:14.800 --> 00:07:17.430 align:start position:0%
bounds as soon as we're in the second
pass<00:07:15.120><c> of</c><00:07:15.360><c> the</c><00:07:15.520><c> outermost</c><00:07:16.080><c> loop.</c><00:07:16.800><c> Any</c><00:07:17.039><c> data</c>

00:07:17.430 --> 00:07:17.440 align:start position:0%
pass of the outermost loop. Any data
 

00:07:17.440 --> 00:07:19.189 align:start position:0%
pass of the outermost loop. Any data
directly<00:07:17.919><c> following</c><00:07:18.240><c> the</c><00:07:18.400><c> output</c><00:07:18.720><c> buffer</c><00:07:19.039><c> on</c>

00:07:19.189 --> 00:07:19.199 align:start position:0%
directly following the output buffer on
 

00:07:19.199 --> 00:07:21.510 align:start position:0%
directly following the output buffer on
the<00:07:19.280><c> heap</c><00:07:19.599><c> would</c><00:07:19.840><c> be</c><00:07:19.919><c> at</c><00:07:20.080><c> risk</c><00:07:20.319><c> of</c><00:07:20.560><c> corruption.</c>

00:07:21.510 --> 00:07:21.520 align:start position:0%
the heap would be at risk of corruption.
 

00:07:21.520 --> 00:07:22.870 align:start position:0%
the heap would be at risk of corruption.
However,<00:07:21.840><c> in</c><00:07:22.000><c> the</c><00:07:22.160><c> case</c><00:07:22.240><c> of</c><00:07:22.400><c> this</c><00:07:22.560><c> sample</c>

00:07:22.870 --> 00:07:22.880 align:start position:0%
However, in the case of this sample
 

00:07:22.880 --> 00:07:24.550 align:start position:0%
However, in the case of this sample
image,<00:07:23.199><c> the</c><00:07:23.360><c> memory</c><00:07:23.759><c> immediately</c><00:07:24.240><c> following</c>

00:07:24.550 --> 00:07:24.560 align:start position:0%
image, the memory immediately following
 

00:07:24.560 --> 00:07:26.710 align:start position:0%
image, the memory immediately following
it<00:07:24.720><c> was</c><00:07:24.960><c> actually</c><00:07:25.199><c> just</c><00:07:25.360><c> a</c><00:07:25.599><c> readonly</c><00:07:26.160><c> page,</c>

00:07:26.710 --> 00:07:26.720 align:start position:0%
it was actually just a readonly page,
 

00:07:26.720 --> 00:07:29.029 align:start position:0%
it was actually just a readonly page,
also<00:07:26.960><c> leading</c><00:07:27.280><c> to</c><00:07:27.440><c> a</c><00:07:27.599><c> crash.</c><00:07:28.319><c> The</c><00:07:28.560><c> intended</c>

00:07:29.029 --> 00:07:29.039 align:start position:0%
also leading to a crash. The intended
 

00:07:29.039 --> 00:07:30.469 align:start position:0%
also leading to a crash. The intended
flow<00:07:29.280><c> for</c><00:07:29.520><c> this</c><00:07:29.680><c> function</c><00:07:30.080><c> should</c><00:07:30.319><c> have</c>

00:07:30.469 --> 00:07:30.479 align:start position:0%
flow for this function should have
 

00:07:30.479 --> 00:07:32.070 align:start position:0%
flow for this function should have
actually<00:07:30.720><c> taken</c><00:07:30.960><c> us</c><00:07:31.120><c> to</c><00:07:31.280><c> the</c><00:07:31.440><c> other</c><00:07:31.599><c> passing</c>

00:07:32.070 --> 00:07:32.080 align:start position:0%
actually taken us to the other passing
 

00:07:32.080 --> 00:07:34.150 align:start position:0%
actually taken us to the other passing
loop<00:07:32.479><c> designed</c><00:07:32.880><c> for</c><00:07:33.120><c> two</c><00:07:33.440><c> components</c><00:07:33.919><c> per</c>

00:07:34.150 --> 00:07:34.160 align:start position:0%
loop designed for two components per
 

00:07:34.160 --> 00:07:36.070 align:start position:0%
loop designed for two components per
pixel.<00:07:35.039><c> This</c><00:07:35.199><c> would</c><00:07:35.360><c> increment</c><00:07:35.680><c> the</c><00:07:35.840><c> loop</c>

00:07:36.070 --> 00:07:36.080 align:start position:0%
pixel. This would increment the loop
 

00:07:36.080 --> 00:07:38.309 align:start position:0%
pixel. This would increment the loop
counter<00:07:36.479><c> by</c><00:07:36.639><c> a</c><00:07:36.880><c> fixed</c><00:07:37.199><c> amount</c><00:07:37.440><c> of</c><00:07:37.680><c> two</c><00:07:38.000><c> each</c>

00:07:38.309 --> 00:07:38.319 align:start position:0%
counter by a fixed amount of two each
 

00:07:38.319 --> 00:07:39.990 align:start position:0%
counter by a fixed amount of two each
time,<00:07:38.800><c> perfectly</c><00:07:39.199><c> writing</c><00:07:39.599><c> the</c><00:07:39.759><c> correct</c>

00:07:39.990 --> 00:07:40.000 align:start position:0%
time, perfectly writing the correct
 

00:07:40.000 --> 00:07:41.589 align:start position:0%
time, perfectly writing the correct
amount<00:07:40.160><c> of</c><00:07:40.319><c> output</c><00:07:40.639><c> values</c><00:07:41.039><c> without</c><00:07:41.360><c> ever</c>

00:07:41.589 --> 00:07:41.599 align:start position:0%
amount of output values without ever
 

00:07:41.599 --> 00:07:43.589 align:start position:0%
amount of output values without ever
overflowing.<00:07:42.720><c> However,</c><00:07:43.039><c> because</c><00:07:43.280><c> of</c><00:07:43.360><c> this</c>

00:07:43.589 --> 00:07:43.599 align:start position:0%
overflowing. However, because of this
 

00:07:43.599 --> 00:07:45.350 align:start position:0%
overflowing. However, because of this
subtle<00:07:43.919><c> mishandled</c><00:07:44.560><c> check,</c><00:07:44.960><c> we</c><00:07:45.199><c> are</c>

00:07:45.350 --> 00:07:45.360 align:start position:0%
subtle mishandled check, we are
 

00:07:45.360 --> 00:07:46.870 align:start position:0%
subtle mishandled check, we are
executing<00:07:45.759><c> a</c><00:07:46.000><c> block</c><00:07:46.160><c> that</c><00:07:46.400><c> we</c><00:07:46.560><c> should</c><00:07:46.720><c> never</c>

00:07:46.870 --> 00:07:46.880 align:start position:0%
executing a block that we should never
 

00:07:46.880 --> 00:07:48.870 align:start position:0%
executing a block that we should never
have<00:07:47.039><c> reached.</c><00:07:47.680><c> As</c><00:07:47.840><c> I</c><00:07:48.080><c> briefly</c><00:07:48.400><c> mentioned,</c>

00:07:48.870 --> 00:07:48.880 align:start position:0%
have reached. As I briefly mentioned,
 

00:07:48.880 --> 00:07:50.790 align:start position:0%
have reached. As I briefly mentioned,
this<00:07:49.039><c> iOS</c><00:07:49.520><c> vulnerability</c><00:07:50.080><c> was</c><00:07:50.240><c> found</c><00:07:50.479><c> to</c><00:07:50.639><c> have</c>

00:07:50.790 --> 00:07:50.800 align:start position:0%
this iOS vulnerability was found to have
 

00:07:50.800 --> 00:07:53.189 align:start position:0%
this iOS vulnerability was found to have
been<00:07:50.960><c> exploited</c><00:07:51.599><c> via</c><00:07:51.919><c> a</c><00:07:52.160><c> zeroclick</c><00:07:52.880><c> attack</c>

00:07:53.189 --> 00:07:53.199 align:start position:0%
been exploited via a zeroclick attack
 

00:07:53.199 --> 00:07:55.270 align:start position:0%
been exploited via a zeroclick attack
vector.<00:07:54.000><c> However,</c><00:07:54.400><c> it</c><00:07:54.560><c> wasn't</c><00:07:54.879><c> actually</c>

00:07:55.270 --> 00:07:55.280 align:start position:0%
vector. However, it wasn't actually
 

00:07:55.280 --> 00:07:57.830 align:start position:0%
vector. However, it wasn't actually
sufficient<00:07:55.759><c> as</c><00:07:56.080><c> zeroclick</c><00:07:56.639><c> on</c><00:07:56.879><c> its</c><00:07:57.039><c> own.</c>

00:07:57.830 --> 00:07:57.840 align:start position:0%
sufficient as zeroclick on its own.
 

00:07:57.840 --> 00:08:00.710 align:start position:0%
sufficient as zeroclick on its own.
CVE2025-55177

00:08:00.710 --> 00:08:00.720 align:start position:0%
CVE2025-55177
 

00:08:00.720 --> 00:08:02.790 align:start position:0%
CVE2025-55177
is<00:08:00.879><c> a</c><00:08:01.120><c> separate</c><00:08:01.440><c> bug</c><00:08:01.840><c> specifically</c><00:08:02.400><c> within</c>

00:08:02.790 --> 00:08:02.800 align:start position:0%
is a separate bug specifically within
 

00:08:02.800 --> 00:08:04.629 align:start position:0%
is a separate bug specifically within
WhatsApp<00:08:03.440><c> that</c><00:08:03.680><c> allowed</c><00:08:03.919><c> an</c><00:08:04.160><c> attacker</c><00:08:04.479><c> to</c>

00:08:04.629 --> 00:08:04.639 align:start position:0%
WhatsApp that allowed an attacker to
 

00:08:04.639 --> 00:08:06.469 align:start position:0%
WhatsApp that allowed an attacker to
trigger<00:08:04.960><c> the</c><00:08:05.120><c> processing</c><00:08:05.599><c> of</c><00:08:05.840><c> image</c><00:08:06.160><c> content</c>

00:08:06.469 --> 00:08:06.479 align:start position:0%
trigger the processing of image content
 

00:08:06.479 --> 00:08:08.869 align:start position:0%
trigger the processing of image content
from<00:08:06.720><c> an</c><00:08:06.960><c> arbitrary</c><00:08:07.440><c> URL</c><00:08:08.000><c> on</c><00:08:08.240><c> a</c><00:08:08.400><c> target's</c>

00:08:08.869 --> 00:08:08.879 align:start position:0%
from an arbitrary URL on a target's
 

00:08:08.879 --> 00:08:11.430 align:start position:0%
from an arbitrary URL on a target's
device.<00:08:09.680><c> So</c><00:08:09.919><c> with</c><00:08:10.080><c> this</c><00:08:10.240><c> WhatsApp</c><00:08:10.720><c> bug</c><00:08:11.039><c> paired</c>

00:08:11.430 --> 00:08:11.440 align:start position:0%
device. So with this WhatsApp bug paired
 

00:08:11.440 --> 00:08:13.589 align:start position:0%
device. So with this WhatsApp bug paired
with<00:08:11.599><c> this</c><00:08:11.840><c> DNG</c><00:08:12.319><c> memory</c><00:08:12.639><c> corruption</c><00:08:13.039><c> issue,</c>

00:08:13.589 --> 00:08:13.599 align:start position:0%
with this DNG memory corruption issue,
 

00:08:13.599 --> 00:08:15.350 align:start position:0%
with this DNG memory corruption issue,
attackers<00:08:14.080><c> could</c><00:08:14.319><c> deploy</c><00:08:14.560><c> an</c><00:08:14.800><c> exploit</c><00:08:15.120><c> chain</c>

00:08:15.350 --> 00:08:15.360 align:start position:0%
attackers could deploy an exploit chain
 

00:08:15.360 --> 00:08:17.430 align:start position:0%
attackers could deploy an exploit chain
with<00:08:15.520><c> zero</c><00:08:15.840><c> user</c><00:08:16.080><c> interaction</c><00:08:16.639><c> required.</c>

00:08:17.430 --> 00:08:17.440 align:start position:0%
with zero user interaction required.
 

00:08:17.440 --> 00:08:19.510 align:start position:0%
with zero user interaction required.
Without<00:08:17.759><c> the</c><00:08:17.919><c> WhatsApp</c><00:08:18.400><c> bug</c><00:08:18.639><c> part,</c><00:08:18.960><c> the</c><00:08:19.120><c> DNG</c>

00:08:19.510 --> 00:08:19.520 align:start position:0%
Without the WhatsApp bug part, the DNG
 

00:08:19.520 --> 00:08:21.189 align:start position:0%
Without the WhatsApp bug part, the DNG
bug<00:08:19.759><c> itself</c><00:08:20.160><c> could</c><00:08:20.400><c> still</c><00:08:20.560><c> be</c><00:08:20.720><c> used</c><00:08:20.960><c> as</c><00:08:21.120><c> at</c>

00:08:21.189 --> 00:08:21.199 align:start position:0%
bug itself could still be used as at
 

00:08:21.199 --> 00:08:23.589 align:start position:0%
bug itself could still be used as at
least<00:08:21.440><c> a</c><00:08:21.680><c> one-click</c><00:08:22.160><c> entry</c><00:08:22.479><c> point</c><00:08:22.960><c> if</c><00:08:23.199><c> loaded</c>

00:08:23.589 --> 00:08:23.599 align:start position:0%
least a one-click entry point if loaded
 

00:08:23.599 --> 00:08:26.309 align:start position:0%
least a one-click entry point if loaded
on<00:08:23.759><c> a</c><00:08:24.000><c> web</c><00:08:24.240><c> page,</c><00:08:24.560><c> for</c><00:08:24.560><c> example.</c><00:08:25.520><c> As</c><00:08:25.759><c> is</c><00:08:26.000><c> common</c>

00:08:26.309 --> 00:08:26.319 align:start position:0%
on a web page, for example. As is common
 

00:08:26.319 --> 00:08:28.309 align:start position:0%
on a web page, for example. As is common
with<00:08:26.479><c> these</c><00:08:26.800><c> in</c><00:08:26.960><c> the</c><00:08:27.120><c> wild</c><00:08:27.360><c> bugs,</c><00:08:27.840><c> we</c><00:08:28.000><c> rarely</c>

00:08:28.309 --> 00:08:28.319 align:start position:0%
with these in the wild bugs, we rarely
 

00:08:28.319 --> 00:08:30.230 align:start position:0%
with these in the wild bugs, we rarely
ever<00:08:28.479><c> see</c><00:08:28.720><c> an</c><00:08:28.879><c> exploit</c><00:08:29.280><c> sample</c><00:08:29.680><c> in</c><00:08:29.840><c> the</c><00:08:30.000><c> public</c>

00:08:30.230 --> 00:08:30.240 align:start position:0%
ever see an exploit sample in the public
 

00:08:30.240 --> 00:08:32.469 align:start position:0%
ever see an exploit sample in the public
eye<00:08:30.560><c> along</c><00:08:30.800><c> with</c><00:08:30.960><c> the</c><00:08:31.120><c> patch</c><00:08:31.360><c> details.</c><00:08:32.159><c> So,</c><00:08:32.320><c> we</c>

00:08:32.469 --> 00:08:32.479 align:start position:0%
eye along with the patch details. So, we
 

00:08:32.479 --> 00:08:34.149 align:start position:0%
eye along with the patch details. So, we
will<00:08:32.640><c> not</c><00:08:32.800><c> discuss</c><00:08:33.039><c> the</c><00:08:33.279><c> exploitability</c><00:08:33.919><c> in</c>

00:08:34.149 --> 00:08:34.159 align:start position:0%
will not discuss the exploitability in
 

00:08:34.159 --> 00:08:36.070 align:start position:0%
will not discuss the exploitability in
this<00:08:34.320><c> video</c><00:08:34.719><c> other</c><00:08:34.959><c> than</c><00:08:35.039><c> to</c><00:08:35.279><c> note</c><00:08:35.440><c> that</c><00:08:35.680><c> it</c><00:08:35.839><c> is</c>

00:08:36.070 --> 00:08:36.080 align:start position:0%
this video other than to note that it is
 

00:08:36.080 --> 00:08:37.990 align:start position:0%
this video other than to note that it is
in<00:08:36.240><c> fact</c><00:08:36.560><c> exploitable</c><00:08:37.200><c> according</c><00:08:37.519><c> to</c><00:08:37.680><c> Apple</c>

00:08:37.990 --> 00:08:38.000 align:start position:0%
in fact exploitable according to Apple
 

00:08:38.000 --> 00:08:39.829 align:start position:0%
in fact exploitable according to Apple
security<00:08:38.399><c> notes</c><00:08:38.719><c> to</c><00:08:38.959><c> achieve</c><00:08:39.279><c> remote</c><00:08:39.599><c> code</c>

00:08:39.829 --> 00:08:39.839 align:start position:0%
security notes to achieve remote code
 

00:08:39.839 --> 00:08:42.790 align:start position:0%
security notes to achieve remote code
execution<00:08:40.479><c> on</c><00:08:40.719><c> iOS</c><00:08:41.200><c> 18</c><00:08:41.519><c> devices.</c><00:08:42.320><c> In</c><00:08:42.560><c> other</c>

00:08:42.790 --> 00:08:42.800 align:start position:0%
execution on iOS 18 devices. In other
 

00:08:42.800 --> 00:08:44.310 align:start position:0%
execution on iOS 18 devices. In other
news,<00:08:43.039><c> this</c><00:08:43.279><c> month,</c><00:08:43.519><c> the</c><00:08:43.680><c> Google</c><00:08:44.000><c> Project</c>

00:08:44.310 --> 00:08:44.320 align:start position:0%
news, this month, the Google Project
 

00:08:44.320 --> 00:08:46.310 align:start position:0%
news, this month, the Google Project
Zero<00:08:44.640><c> team</c><00:08:44.959><c> actually</c><00:08:45.279><c> published</c><00:08:45.680><c> a</c><00:08:45.920><c> breakdown</c>

00:08:46.310 --> 00:08:46.320 align:start position:0%
Zero team actually published a breakdown
 

00:08:46.320 --> 00:08:47.910 align:start position:0%
Zero team actually published a breakdown
of<00:08:46.480><c> a</c><00:08:46.720><c> similar</c><00:08:47.040><c> vulnerability,</c><00:08:47.760><c> but</c>

00:08:47.910 --> 00:08:47.920 align:start position:0%
of a similar vulnerability, but
 

00:08:47.920 --> 00:08:49.910 align:start position:0%
of a similar vulnerability, but
affecting<00:08:48.560><c> Android</c><00:08:48.959><c> instead.</c><00:08:49.519><c> This</c><00:08:49.760><c> was</c>

00:08:49.910 --> 00:08:49.920 align:start position:0%
affecting Android instead. This was
 

00:08:49.920 --> 00:08:51.910 align:start position:0%
affecting Android instead. This was
another<00:08:50.160><c> in</c><00:08:50.399><c> the</c><00:08:50.560><c> wild</c><00:08:50.800><c> exploit</c><00:08:51.200><c> for</c><00:08:51.360><c> a</c><00:08:51.519><c> bug</c><00:08:51.760><c> in</c>

00:08:51.910 --> 00:08:51.920 align:start position:0%
another in the wild exploit for a bug in
 

00:08:51.920 --> 00:08:54.230 align:start position:0%
another in the wild exploit for a bug in
a<00:08:52.160><c> DNG</c><00:08:52.720><c> image</c><00:08:53.040><c> paraser.</c><00:08:53.600><c> This</c><00:08:53.760><c> is</c><00:08:53.920><c> a</c><00:08:54.080><c> very</c>

00:08:54.230 --> 00:08:54.240 align:start position:0%
a DNG image paraser. This is a very
 

00:08:54.240 --> 00:08:56.310 align:start position:0%
a DNG image paraser. This is a very
interesting<00:08:54.720><c> read</c><00:08:54.959><c> and</c><00:08:55.279><c> covers</c><00:08:55.600><c> many</c><00:08:55.920><c> complex</c>

00:08:56.310 --> 00:08:56.320 align:start position:0%
interesting read and covers many complex
 

00:08:56.320 --> 00:08:58.470 align:start position:0%
interesting read and covers many complex
ideas<00:08:56.640><c> such</c><00:08:56.880><c> as</c><00:08:56.959><c> the</c><00:08:57.200><c> heap</c><00:08:57.519><c> shaping</c><00:08:57.920><c> strategy</c>

00:08:58.470 --> 00:08:58.480 align:start position:0%
ideas such as the heap shaping strategy
 

00:08:58.480 --> 00:09:00.150 align:start position:0%
ideas such as the heap shaping strategy
and<00:08:58.720><c> how</c><00:08:58.880><c> the</c><00:08:59.040><c> attackers</c><00:08:59.519><c> actually</c><00:08:59.760><c> use</c><00:09:00.000><c> this</c>

00:09:00.150 --> 00:09:00.160 align:start position:0%
and how the attackers actually use this
 

00:09:00.160 --> 00:09:02.310 align:start position:0%
and how the attackers actually use this
to<00:09:00.399><c> corrupt</c><00:09:00.800><c> objects</c><00:09:01.200><c> in</c><00:09:01.440><c> memory</c><00:09:01.839><c> and</c><00:09:02.160><c> then</c>

00:09:02.310 --> 00:09:02.320 align:start position:0%
to corrupt objects in memory and then
 

00:09:02.320 --> 00:09:04.230 align:start position:0%
to corrupt objects in memory and then
eventually<00:09:02.720><c> launch</c><00:09:03.040><c> a</c><00:09:03.279><c> job</c><00:09:03.600><c> chain</c><00:09:03.839><c> to</c><00:09:04.080><c> get</c>

00:09:04.230 --> 00:09:04.240 align:start position:0%
eventually launch a job chain to get
 

00:09:04.240 --> 00:09:06.230 align:start position:0%
eventually launch a job chain to get
remote<00:09:04.480><c> code</c><00:09:04.720><c> execution.</c><00:09:05.600><c> Check</c><00:09:05.760><c> it</c><00:09:05.920><c> out</c><00:09:06.000><c> if</c>

00:09:06.230 --> 00:09:06.240 align:start position:0%
remote code execution. Check it out if
 

00:09:06.240 --> 00:09:07.829 align:start position:0%
remote code execution. Check it out if
you're<00:09:06.399><c> curious</c><00:09:06.720><c> about</c><00:09:06.880><c> the</c><00:09:07.040><c> exploitation</c><00:09:07.680><c> of</c>

00:09:07.829 --> 00:09:07.839 align:start position:0%
you're curious about the exploitation of
 

00:09:07.839 --> 00:09:09.670 align:start position:0%
you're curious about the exploitation of
these<00:09:08.160><c> types</c><00:09:08.399><c> of</c><00:09:08.560><c> bugs.</c><00:09:09.200><c> Hopefully</c><00:09:09.440><c> you</c>

00:09:09.670 --> 00:09:09.680 align:start position:0%
these types of bugs. Hopefully you
 

00:09:09.680 --> 00:09:11.590 align:start position:0%
these types of bugs. Hopefully you
learned<00:09:09.839><c> something</c><00:09:10.080><c> new</c><00:09:10.320><c> in</c><00:09:10.560><c> this</c><00:09:10.720><c> video.</c><00:09:11.360><c> As</c>

00:09:11.590 --> 00:09:11.600 align:start position:0%
learned something new in this video. As
 

00:09:11.600 --> 00:09:13.110 align:start position:0%
learned something new in this video. As
always,<00:09:11.920><c> all</c><00:09:12.080><c> the</c><00:09:12.240><c> reference</c><00:09:12.560><c> links</c><00:09:12.800><c> will</c><00:09:13.040><c> be</c>

00:09:13.110 --> 00:09:13.120 align:start position:0%
always, all the reference links will be
 

00:09:13.120 --> 00:09:14.870 align:start position:0%
always, all the reference links will be
left<00:09:13.360><c> down</c><00:09:13.519><c> below</c><00:09:13.760><c> in</c><00:09:14.000><c> the</c><00:09:14.160><c> description.</c>

00:09:14.870 --> 00:09:14.880 align:start position:0%
left down below in the description.
 

00:09:14.880 --> 00:09:16.310 align:start position:0%
left down below in the description.
Thanks<00:09:15.040><c> for</c><00:09:15.200><c> watching</c><00:09:15.440><c> and</c><00:09:15.680><c> I</c><00:09:15.920><c> will</c><00:09:16.080><c> see</c><00:09:16.160><c> you</c>

00:09:16.310 --> 00:09:16.320 align:start position:0%
Thanks for watching and I will see you
 

00:09:16.320 --> 00:09:19.440 align:start position:0%
Thanks for watching and I will see you
in<00:09:16.480><c> the</c><00:09:16.640><c> next</c><00:09:16.800><c> one.</c>

