WEBVTT
Kind: captions
Language: en

00:00:00.080 --> 00:00:01.510 align:start position:0%
 
Today<00:00:00.400><c> we're</c><00:00:00.560><c> going</c><00:00:00.640><c> to</c><00:00:00.719><c> analyze</c><00:00:01.040><c> the</c><00:00:01.280><c> inner</c>

00:00:01.510 --> 00:00:01.520 align:start position:0%
Today we're going to analyze the inner
 

00:00:01.520 --> 00:00:03.190 align:start position:0%
Today we're going to analyze the inner
workings<00:00:01.839><c> of</c><00:00:02.000><c> an</c><00:00:02.159><c> iOS</c><00:00:02.560><c> exploit</c><00:00:02.879><c> that</c><00:00:03.040><c> was</c>

00:00:03.190 --> 00:00:03.200 align:start position:0%
workings of an iOS exploit that was
 

00:00:03.200 --> 00:00:04.630 align:start position:0%
workings of an iOS exploit that was
found<00:00:03.360><c> to</c><00:00:03.439><c> be</c><00:00:03.600><c> exploited</c><00:00:04.080><c> in</c><00:00:04.240><c> the</c><00:00:04.400><c> wild</c>

00:00:04.630 --> 00:00:04.640 align:start position:0%
found to be exploited in the wild
 

00:00:04.640 --> 00:00:07.590 align:start position:0%
found to be exploited in the wild
targeting<00:00:05.200><c> iPhone</c><00:00:05.520><c> users</c><00:00:05.759><c> on</c><00:00:05.920><c> iOS</c><00:00:06.480><c> 16.6</c><00:00:07.279><c> and</c>

00:00:07.590 --> 00:00:07.600 align:start position:0%
targeting iPhone users on iOS 16.6 and
 

00:00:07.600 --> 00:00:09.750 align:start position:0%
targeting iPhone users on iOS 16.6 and
lower.<00:00:08.240><c> We'll</c><00:00:08.480><c> see</c><00:00:08.639><c> exactly</c><00:00:09.040><c> how</c><00:00:09.200><c> the</c><00:00:09.360><c> hackers</c>

00:00:09.750 --> 00:00:09.760 align:start position:0%
lower. We'll see exactly how the hackers
 

00:00:09.760 --> 00:00:11.509 align:start position:0%
lower. We'll see exactly how the hackers
take<00:00:10.000><c> a</c><00:00:10.160><c> very</c><00:00:10.400><c> simple</c><00:00:10.719><c> out-of-bounds</c><00:00:11.280><c> write</c>

00:00:11.509 --> 00:00:11.519 align:start position:0%
take a very simple out-of-bounds write
 

00:00:11.519 --> 00:00:13.270 align:start position:0%
take a very simple out-of-bounds write
primitive<00:00:11.920><c> and</c><00:00:12.160><c> leverage</c><00:00:12.400><c> it</c><00:00:12.559><c> to</c><00:00:12.719><c> gain</c><00:00:12.960><c> remote</c>

00:00:13.270 --> 00:00:13.280 align:start position:0%
primitive and leverage it to gain remote
 

00:00:13.280 --> 00:00:15.190 align:start position:0%
primitive and leverage it to gain remote
code<00:00:13.519><c> execution</c><00:00:13.920><c> on</c><00:00:14.080><c> the</c><00:00:14.240><c> target</c><00:00:14.559><c> device.</c>

00:00:15.190 --> 00:00:15.200 align:start position:0%
code execution on the target device.
 

00:00:15.200 --> 00:00:16.870 align:start position:0%
code execution on the target device.
Plenty<00:00:15.519><c> of</c><00:00:15.679><c> videos</c><00:00:16.000><c> have</c><00:00:16.240><c> already</c><00:00:16.400><c> been</c><00:00:16.560><c> made</c>

00:00:16.870 --> 00:00:16.880 align:start position:0%
Plenty of videos have already been made
 

00:00:16.880 --> 00:00:19.109 align:start position:0%
Plenty of videos have already been made
covering<00:00:17.279><c> the</c><00:00:17.440><c> famous</c><00:00:17.840><c> WEBP</c><00:00:18.400><c> bug</c><00:00:18.720><c> which</c><00:00:18.960><c> was</c>

00:00:19.109 --> 00:00:19.119 align:start position:0%
covering the famous WEBP bug which was
 

00:00:19.119 --> 00:00:21.189 align:start position:0%
covering the famous WEBP bug which was
exploited<00:00:19.600><c> in</c><00:00:19.760><c> this</c><00:00:19.920><c> chain,</c><00:00:20.640><c> but</c><00:00:20.800><c> we're</c><00:00:21.039><c> not</c>

00:00:21.189 --> 00:00:21.199 align:start position:0%
exploited in this chain, but we're not
 

00:00:21.199 --> 00:00:22.950 align:start position:0%
exploited in this chain, but we're not
really<00:00:21.359><c> interested</c><00:00:21.680><c> in</c><00:00:21.920><c> that</c><00:00:22.160><c> today.</c>

00:00:22.950 --> 00:00:22.960 align:start position:0%
really interested in that today.
 

00:00:22.960 --> 00:00:24.390 align:start position:0%
really interested in that today.
Instead,<00:00:23.359><c> we're</c><00:00:23.519><c> going</c><00:00:23.600><c> to</c><00:00:23.680><c> zoom</c><00:00:23.920><c> in</c><00:00:24.080><c> a</c><00:00:24.240><c> bit</c>

00:00:24.390 --> 00:00:24.400 align:start position:0%
Instead, we're going to zoom in a bit
 

00:00:24.400 --> 00:00:26.630 align:start position:0%
Instead, we're going to zoom in a bit
and<00:00:24.640><c> only</c><00:00:25.039><c> analyze</c><00:00:25.439><c> the</c><00:00:25.680><c> actual</c><00:00:26.000><c> exploitation</c>

00:00:26.630 --> 00:00:26.640 align:start position:0%
and only analyze the actual exploitation
 

00:00:26.640 --> 00:00:28.470 align:start position:0%
and only analyze the actual exploitation
of<00:00:26.720><c> the</c><00:00:26.880><c> bug</c><00:00:27.279><c> to</c><00:00:27.519><c> highlight</c><00:00:27.760><c> the</c><00:00:28.000><c> creativity</c>

00:00:28.470 --> 00:00:28.480 align:start position:0%
of the bug to highlight the creativity
 

00:00:28.480 --> 00:00:29.990 align:start position:0%
of the bug to highlight the creativity
behind<00:00:28.800><c> the</c><00:00:28.960><c> techniques</c><00:00:29.279><c> used.</c><00:00:29.679><c> Check</c><00:00:29.840><c> out</c>

00:00:29.990 --> 00:00:30.000 align:start position:0%
behind the techniques used. Check out
 

00:00:30.000 --> 00:00:31.669 align:start position:0%
behind the techniques used. Check out
the<00:00:30.160><c> original</c><00:00:30.480><c> written</c><00:00:30.800><c> analysis</c><00:00:31.199><c> from</c><00:00:31.359><c> Ian</c>

00:00:31.669 --> 00:00:31.679 align:start position:0%
the original written analysis from Ian
 

00:00:31.679 --> 00:00:33.430 align:start position:0%
the original written analysis from Ian
Beer<00:00:32.000><c> at</c><00:00:32.160><c> Project</c><00:00:32.559><c> Zero.</c><00:00:33.040><c> This</c><00:00:33.200><c> video</c>

00:00:33.430 --> 00:00:33.440 align:start position:0%
Beer at Project Zero. This video
 

00:00:33.440 --> 00:00:34.549 align:start position:0%
Beer at Project Zero. This video
wouldn't<00:00:33.680><c> be</c><00:00:33.840><c> possible</c><00:00:34.079><c> without</c><00:00:34.320><c> his</c>

00:00:34.549 --> 00:00:34.559 align:start position:0%
wouldn't be possible without his
 

00:00:34.559 --> 00:00:36.630 align:start position:0%
wouldn't be possible without his
research.<00:00:35.280><c> Recreating</c><00:00:35.840><c> the</c><00:00:36.000><c> actual</c><00:00:36.239><c> exploit</c>

00:00:36.630 --> 00:00:36.640 align:start position:0%
research. Recreating the actual exploit
 

00:00:36.640 --> 00:00:37.910 align:start position:0%
research. Recreating the actual exploit
chain<00:00:36.880><c> for</c><00:00:37.040><c> this</c><00:00:37.120><c> video</c><00:00:37.280><c> would</c><00:00:37.520><c> have</c><00:00:37.600><c> been</c><00:00:37.680><c> too</c>

00:00:37.910 --> 00:00:37.920 align:start position:0%
chain for this video would have been too
 

00:00:37.920 --> 00:00:39.670 align:start position:0%
chain for this video would have been too
big<00:00:38.000><c> a</c><00:00:38.239><c> task.</c><00:00:38.559><c> And</c><00:00:38.640><c> since</c><00:00:38.879><c> we</c><00:00:39.120><c> unfortunately</c>

00:00:39.670 --> 00:00:39.680 align:start position:0%
big a task. And since we unfortunately
 

00:00:39.680 --> 00:00:41.350 align:start position:0%
big a task. And since we unfortunately
don't<00:00:39.840><c> have</c><00:00:40.000><c> any</c><00:00:40.239><c> samples</c><00:00:40.559><c> of</c><00:00:40.719><c> the</c><00:00:40.879><c> exploit,</c>

00:00:41.350 --> 00:00:41.360 align:start position:0%
don't have any samples of the exploit,
 

00:00:41.360 --> 00:00:42.869 align:start position:0%
don't have any samples of the exploit,
probably<00:00:41.680><c> due</c><00:00:41.920><c> to</c><00:00:42.079><c> public</c><00:00:42.399><c> security</c>

00:00:42.869 --> 00:00:42.879 align:start position:0%
probably due to public security
 

00:00:42.879 --> 00:00:44.549 align:start position:0%
probably due to public security
concerns,<00:00:43.600><c> I</c><00:00:43.760><c> decided</c><00:00:44.000><c> that</c><00:00:44.239><c> the</c><00:00:44.399><c> best</c>

00:00:44.549 --> 00:00:44.559 align:start position:0%
concerns, I decided that the best
 

00:00:44.559 --> 00:00:46.150 align:start position:0%
concerns, I decided that the best
approach<00:00:44.800><c> to</c><00:00:45.040><c> study</c><00:00:45.360><c> this</c><00:00:45.520><c> exploit</c><00:00:45.920><c> would</c><00:00:46.079><c> be</c>

00:00:46.150 --> 00:00:46.160 align:start position:0%
approach to study this exploit would be
 

00:00:46.160 --> 00:00:47.590 align:start position:0%
approach to study this exploit would be
to<00:00:46.320><c> recreate</c><00:00:46.719><c> the</c><00:00:46.960><c> environment</c><00:00:47.280><c> and</c>

00:00:47.590 --> 00:00:47.600 align:start position:0%
to recreate the environment and
 

00:00:47.600 --> 00:00:49.830 align:start position:0%
to recreate the environment and
primitives<00:00:48.079><c> as</c><00:00:48.320><c> closely</c><00:00:48.719><c> as</c><00:00:48.879><c> possible</c><00:00:49.440><c> inside</c>

00:00:49.830 --> 00:00:49.840 align:start position:0%
primitives as closely as possible inside
 

00:00:49.840 --> 00:00:51.910 align:start position:0%
primitives as closely as possible inside
my<00:00:50.079><c> own</c><00:00:50.320><c> test</c><00:00:50.640><c> process.</c><00:00:51.280><c> Then</c><00:00:51.520><c> given</c><00:00:51.760><c> the</c>

00:00:51.910 --> 00:00:51.920 align:start position:0%
my own test process. Then given the
 

00:00:51.920 --> 00:00:53.590 align:start position:0%
my own test process. Then given the
analysis<00:00:52.320><c> from</c><00:00:52.480><c> Ian</c><00:00:52.800><c> Beer,</c><00:00:53.280><c> I</c><00:00:53.440><c> could</c>

00:00:53.590 --> 00:00:53.600 align:start position:0%
analysis from Ian Beer, I could
 

00:00:53.600 --> 00:00:55.110 align:start position:0%
analysis from Ian Beer, I could
reimplement<00:00:54.079><c> the</c><00:00:54.239><c> exploit</c><00:00:54.640><c> techniques</c>

00:00:55.110 --> 00:00:55.120 align:start position:0%
reimplement the exploit techniques
 

00:00:55.120 --> 00:00:56.950 align:start position:0%
reimplement the exploit techniques
exactly,<00:00:55.680><c> all</c><00:00:55.840><c> while</c><00:00:56.079><c> being</c><00:00:56.239><c> able</c><00:00:56.480><c> to</c><00:00:56.640><c> debug</c>

00:00:56.950 --> 00:00:56.960 align:start position:0%
exactly, all while being able to debug
 

00:00:56.960 --> 00:00:58.950 align:start position:0%
exactly, all while being able to debug
the<00:00:57.120><c> exploit</c><00:00:57.520><c> step</c><00:00:57.760><c> by</c><00:00:57.920><c> step</c><00:00:58.160><c> and</c><00:00:58.399><c> investigate</c>

00:00:58.950 --> 00:00:58.960 align:start position:0%
the exploit step by step and investigate
 

00:00:58.960 --> 00:01:00.549 align:start position:0%
the exploit step by step and investigate
exactly<00:00:59.359><c> what</c><00:00:59.520><c> is</c><00:00:59.760><c> happening</c><00:01:00.000><c> in</c><00:01:00.320><c> live</c>

00:01:00.549 --> 00:01:00.559 align:start position:0%
exactly what is happening in live
 

00:01:00.559 --> 00:01:02.790 align:start position:0%
exactly what is happening in live
memory.<00:01:01.199><c> So</c><00:01:01.359><c> let's</c><00:01:01.600><c> get</c><00:01:01.760><c> started.</c><00:01:02.320><c> The</c><00:01:02.559><c> core</c>

00:01:02.790 --> 00:01:02.800 align:start position:0%
memory. So let's get started. The core
 

00:01:02.800 --> 00:01:04.149 align:start position:0%
memory. So let's get started. The core
vulnerability<00:01:03.280><c> here</c><00:01:03.440><c> is</c><00:01:03.680><c> triggered</c><00:01:03.920><c> when</c>

00:01:04.149 --> 00:01:04.159 align:start position:0%
vulnerability here is triggered when
 

00:01:04.159 --> 00:01:06.149 align:start position:0%
vulnerability here is triggered when
passing<00:01:04.559><c> a</c><00:01:04.720><c> malicious</c><00:01:05.119><c> image</c><00:01:05.439><c> file</c><00:01:05.760><c> embedded</c>

00:01:06.149 --> 00:01:06.159 align:start position:0%
passing a malicious image file embedded
 

00:01:06.159 --> 00:01:08.550 align:start position:0%
passing a malicious image file embedded
in<00:01:06.320><c> an</c><00:01:06.560><c> Apple</c><00:01:06.880><c> PK</c><00:01:07.280><c> pass.</c><00:01:08.000><c> Hence</c><00:01:08.240><c> the</c><00:01:08.400><c> name</c>

00:01:08.550 --> 00:01:08.560 align:start position:0%
in an Apple PK pass. Hence the name
 

00:01:08.560 --> 00:01:10.870 align:start position:0%
in an Apple PK pass. Hence the name
given<00:01:08.799><c> to</c><00:01:08.960><c> this</c><00:01:09.119><c> exploit,</c><00:01:09.680><c> blast</c><00:01:10.159><c> pass,</c><00:01:10.720><c> which</c>

00:01:10.870 --> 00:01:10.880 align:start position:0%
given to this exploit, blast pass, which
 

00:01:10.880 --> 00:01:12.550 align:start position:0%
given to this exploit, blast pass, which
is<00:01:11.040><c> sent</c><00:01:11.200><c> to</c><00:01:11.360><c> a</c><00:01:11.520><c> victim's</c><00:01:12.000><c> device</c><00:01:12.320><c> through</c>

00:01:12.550 --> 00:01:12.560 align:start position:0%
is sent to a victim's device through
 

00:01:12.560 --> 00:01:14.630 align:start position:0%
is sent to a victim's device through
iMessage.<00:01:13.360><c> The</c><00:01:13.520><c> malicious</c><00:01:14.000><c> image</c><00:01:14.240><c> is</c><00:01:14.400><c> in</c><00:01:14.560><c> the</c>

00:01:14.630 --> 00:01:14.640 align:start position:0%
iMessage. The malicious image is in the
 

00:01:14.640 --> 00:01:17.270 align:start position:0%
iMessage. The malicious image is in the
WEBP<00:01:15.119><c> format,</c><00:01:15.520><c> and</c><00:01:15.680><c> it</c><00:01:15.840><c> triggers</c><00:01:16.159><c> the</c><00:01:16.320><c> bug</c><00:01:16.720><c> CVE</c>

00:01:17.270 --> 00:01:17.280 align:start position:0%
WEBP format, and it triggers the bug CVE
 

00:01:17.280 --> 00:01:19.670 align:start position:0%
WEBP format, and it triggers the bug CVE
202341064.

00:01:19.670 --> 00:01:19.680 align:start position:0%
202341064.
 

00:01:19.680 --> 00:01:21.990 align:start position:0%
202341064.
Simply<00:01:20.080><c> put,</c><00:01:20.320><c> this</c><00:01:20.479><c> WEBP</c><00:01:20.960><c> pausing</c><00:01:21.360><c> bug</c><00:01:21.680><c> gives</c>

00:01:21.990 --> 00:01:22.000 align:start position:0%
Simply put, this WEBP pausing bug gives
 

00:01:22.000 --> 00:01:23.670 align:start position:0%
Simply put, this WEBP pausing bug gives
us<00:01:22.159><c> a</c><00:01:22.320><c> limited</c><00:01:22.799><c> out-of-bounds</c><00:01:23.439><c> write</c>

00:01:23.670 --> 00:01:23.680 align:start position:0%
us a limited out-of-bounds write
 

00:01:23.680 --> 00:01:25.510 align:start position:0%
us a limited out-of-bounds write
primitive.<00:01:24.320><c> Specifically,</c><00:01:24.880><c> we're</c><00:01:25.119><c> able</c><00:01:25.360><c> to</c>

00:01:25.510 --> 00:01:25.520 align:start position:0%
primitive. Specifically, we're able to
 

00:01:25.520 --> 00:01:29.830 align:start position:0%
primitive. Specifically, we're able to
write<00:01:25.759><c> the</c><00:01:26.000><c> 32-bit</c><00:01:26.799><c> value</c><00:01:27.360><c> 00070027</c>

00:01:29.830 --> 00:01:29.840 align:start position:0%
write the 32-bit value 00070027
 

00:01:29.840 --> 00:01:32.710 align:start position:0%
write the 32-bit value 00070027
out<00:01:30.080><c> of</c><00:01:30.240><c> bounds</c><00:01:30.560><c> at</c><00:01:30.799><c> offset</c><00:01:31.280><c> hex</c><00:01:31.759><c> 58</c><00:01:32.320><c> into</c><00:01:32.560><c> an</c>

00:01:32.710 --> 00:01:32.720 align:start position:0%
out of bounds at offset hex 58 into an
 

00:01:32.720 --> 00:01:34.469 align:start position:0%
out of bounds at offset hex 58 into an
adjacent<00:01:33.119><c> memory</c><00:01:33.439><c> buffer.</c><00:01:34.000><c> So,</c><00:01:34.159><c> this</c><00:01:34.400><c> is</c>

00:01:34.469 --> 00:01:34.479 align:start position:0%
adjacent memory buffer. So, this is
 

00:01:34.479 --> 00:01:36.069 align:start position:0%
adjacent memory buffer. So, this is
already<00:01:34.799><c> pretty</c><00:01:35.040><c> restrictive.</c><00:01:35.759><c> We</c><00:01:36.000><c> don't</c>

00:01:36.069 --> 00:01:36.079 align:start position:0%
already pretty restrictive. We don't
 

00:01:36.079 --> 00:01:37.910 align:start position:0%
already pretty restrictive. We don't
have<00:01:36.240><c> much</c><00:01:36.479><c> control</c><00:01:36.799><c> over</c><00:01:37.040><c> the</c><00:01:37.200><c> value</c><00:01:37.520><c> and</c><00:01:37.759><c> we</c>

00:01:37.910 --> 00:01:37.920 align:start position:0%
have much control over the value and we
 

00:01:37.920 --> 00:01:39.830 align:start position:0%
have much control over the value and we
cannot<00:01:38.159><c> control</c><00:01:38.320><c> the</c><00:01:38.479><c> offset.</c><00:01:39.360><c> We</c><00:01:39.520><c> can</c><00:01:39.600><c> also</c>

00:01:39.830 --> 00:01:39.840 align:start position:0%
cannot control the offset. We can also
 

00:01:39.840 --> 00:01:41.429 align:start position:0%
cannot control the offset. We can also
only<00:01:40.079><c> perform</c><00:01:40.320><c> the</c><00:01:40.479><c> out-</c><00:01:40.640><c> of-bounds</c><00:01:41.040><c> write</c>

00:01:41.429 --> 00:01:41.439 align:start position:0%
only perform the out- of-bounds write
 

00:01:41.439 --> 00:01:43.510 align:start position:0%
only perform the out- of-bounds write
exactly<00:01:41.759><c> once.</c><00:01:42.479><c> So,</c><00:01:42.640><c> what</c><00:01:42.799><c> do</c><00:01:42.880><c> we</c><00:01:43.040><c> do?</c><00:01:43.280><c> How</c><00:01:43.439><c> can</c>

00:01:43.510 --> 00:01:43.520 align:start position:0%
exactly once. So, what do we do? How can
 

00:01:43.520 --> 00:01:45.109 align:start position:0%
exactly once. So, what do we do? How can
we<00:01:43.680><c> take</c><00:01:43.920><c> such</c><00:01:44.079><c> a</c><00:01:44.240><c> basic</c><00:01:44.479><c> and</c><00:01:44.720><c> restrictive</c>

00:01:45.109 --> 00:01:45.119 align:start position:0%
we take such a basic and restrictive
 

00:01:45.119 --> 00:01:46.710 align:start position:0%
we take such a basic and restrictive
primitive<00:01:45.600><c> and</c><00:01:45.840><c> use</c><00:01:46.000><c> it</c><00:01:46.159><c> to</c><00:01:46.320><c> actually</c><00:01:46.479><c> get</c>

00:01:46.710 --> 00:01:46.720 align:start position:0%
primitive and use it to actually get
 

00:01:46.720 --> 00:01:48.389 align:start position:0%
primitive and use it to actually get
remote<00:01:46.960><c> code</c><00:01:47.200><c> execution?</c><00:01:47.840><c> Let's</c><00:01:48.079><c> break</c><00:01:48.240><c> down</c>

00:01:48.389 --> 00:01:48.399 align:start position:0%
remote code execution? Let's break down
 

00:01:48.399 --> 00:01:49.910 align:start position:0%
remote code execution? Let's break down
the<00:01:48.560><c> exploit</c><00:01:48.960><c> into</c><00:01:49.119><c> the</c><00:01:49.280><c> following</c><00:01:49.680><c> four</c>

00:01:49.910 --> 00:01:49.920 align:start position:0%
the exploit into the following four
 

00:01:49.920 --> 00:01:51.990 align:start position:0%
the exploit into the following four
stages.<00:01:50.880><c> We'll</c><00:01:51.119><c> go</c><00:01:51.280><c> through</c><00:01:51.520><c> each</c><00:01:51.680><c> of</c><00:01:51.759><c> these</c>

00:01:51.990 --> 00:01:52.000 align:start position:0%
stages. We'll go through each of these
 

00:01:52.000 --> 00:01:53.990 align:start position:0%
stages. We'll go through each of these
stages<00:01:52.320><c> in</c><00:01:52.560><c> depth</c><00:01:52.799><c> to</c><00:01:53.040><c> see</c><00:01:53.280><c> exactly</c><00:01:53.600><c> how</c><00:01:53.840><c> the</c>

00:01:53.990 --> 00:01:54.000 align:start position:0%
stages in depth to see exactly how the
 

00:01:54.000 --> 00:01:55.910 align:start position:0%
stages in depth to see exactly how the
attackers<00:01:54.479><c> leverage</c><00:01:54.799><c> a</c><00:01:55.119><c> controlled</c><00:01:55.520><c> memory</c>

00:01:55.910 --> 00:01:55.920 align:start position:0%
attackers leverage a controlled memory
 

00:01:55.920 --> 00:01:58.069 align:start position:0%
attackers leverage a controlled memory
layout<00:01:56.320><c> in</c><00:01:56.560><c> order</c><00:01:56.640><c> to</c><00:01:56.799><c> corrupt</c><00:01:57.200><c> useful</c><00:01:57.600><c> data.</c>

00:01:58.069 --> 00:01:58.079 align:start position:0%
layout in order to corrupt useful data.
 

00:01:58.079 --> 00:01:59.429 align:start position:0%
layout in order to corrupt useful data.
Then<00:01:58.399><c> going</c><00:01:58.560><c> on</c><00:01:58.719><c> to</c><00:01:58.880><c> upgrade</c><00:01:59.280><c> their</c>

00:01:59.429 --> 00:01:59.439 align:start position:0%
Then going on to upgrade their
 

00:01:59.439 --> 00:02:01.429 align:start position:0%
Then going on to upgrade their
primitives<00:01:59.920><c> and</c><00:02:00.159><c> eventually</c><00:02:00.640><c> run</c><00:02:00.960><c> arbitrary</c>

00:02:01.429 --> 00:02:01.439 align:start position:0%
primitives and eventually run arbitrary
 

00:02:01.439 --> 00:02:03.670 align:start position:0%
primitives and eventually run arbitrary
code<00:02:01.680><c> remotely</c><00:02:02.079><c> on</c><00:02:02.240><c> the</c><00:02:02.479><c> device.</c><00:02:03.200><c> First</c><00:02:03.439><c> and</c>

00:02:03.670 --> 00:02:03.680 align:start position:0%
code remotely on the device. First and
 

00:02:03.680 --> 00:02:05.590 align:start position:0%
code remotely on the device. First and
foremost,<00:02:04.399><c> controlling</c><00:02:04.880><c> the</c><00:02:05.040><c> heap</c><00:02:05.280><c> is</c><00:02:05.439><c> an</c>

00:02:05.590 --> 00:02:05.600 align:start position:0%
foremost, controlling the heap is an
 

00:02:05.600 --> 00:02:07.190 align:start position:0%
foremost, controlling the heap is an
essential<00:02:06.000><c> preparation</c><00:02:06.479><c> stage</c><00:02:06.799><c> for</c><00:02:07.040><c> this</c>

00:02:07.190 --> 00:02:07.200 align:start position:0%
essential preparation stage for this
 

00:02:07.200 --> 00:02:09.190 align:start position:0%
essential preparation stage for this
exploit.<00:02:07.920><c> As</c><00:02:08.080><c> we'll</c><00:02:08.319><c> see,</c><00:02:08.479><c> we</c><00:02:08.640><c> need</c><00:02:08.800><c> some</c><00:02:08.959><c> very</c>

00:02:09.190 --> 00:02:09.200 align:start position:0%
exploit. As we'll see, we need some very
 

00:02:09.200 --> 00:02:10.710 align:start position:0%
exploit. As we'll see, we need some very
specific<00:02:09.599><c> things</c><00:02:09.759><c> to</c><00:02:10.000><c> be</c><00:02:10.080><c> aligned</c><00:02:10.479><c> on</c><00:02:10.640><c> the</c>

00:02:10.710 --> 00:02:10.720 align:start position:0%
specific things to be aligned on the
 

00:02:10.720 --> 00:02:12.470 align:start position:0%
specific things to be aligned on the
heap<00:02:11.039><c> in</c><00:02:11.200><c> a</c><00:02:11.360><c> certain</c><00:02:11.599><c> way</c><00:02:11.840><c> in</c><00:02:12.080><c> order</c><00:02:12.160><c> for</c><00:02:12.319><c> the</c>

00:02:12.470 --> 00:02:12.480 align:start position:0%
heap in a certain way in order for the
 

00:02:12.480 --> 00:02:14.070 align:start position:0%
heap in a certain way in order for the
other<00:02:12.640><c> three</c><00:02:12.800><c> stages</c><00:02:13.200><c> to</c><00:02:13.360><c> work.</c><00:02:13.920><c> The</c>

00:02:14.070 --> 00:02:14.080 align:start position:0%
other three stages to work. The
 

00:02:14.080 --> 00:02:15.670 align:start position:0%
other three stages to work. The
attackers<00:02:14.480><c> are</c><00:02:14.640><c> able</c><00:02:14.879><c> to</c><00:02:15.040><c> influence</c><00:02:15.440><c> the</c>

00:02:15.670 --> 00:02:15.680 align:start position:0%
attackers are able to influence the
 

00:02:15.680 --> 00:02:17.589 align:start position:0%
attackers are able to influence the
target<00:02:16.000><c> process</c><00:02:16.400><c> heap</c><00:02:16.800><c> layout</c><00:02:17.040><c> by</c><00:02:17.200><c> triggering</c>

00:02:17.589 --> 00:02:17.599 align:start position:0%
target process heap layout by triggering
 

00:02:17.599 --> 00:02:19.830 align:start position:0%
target process heap layout by triggering
allocations<00:02:18.239><c> of</c><00:02:18.480><c> various</c><00:02:18.879><c> objects</c><00:02:19.599><c> by</c>

00:02:19.830 --> 00:02:19.840 align:start position:0%
allocations of various objects by
 

00:02:19.840 --> 00:02:21.830 align:start position:0%
allocations of various objects by
embedding<00:02:20.319><c> a</c><00:02:20.560><c> large</c><00:02:20.800><c> property</c><00:02:21.200><c> list</c><00:02:21.440><c> inside</c>

00:02:21.830 --> 00:02:21.840 align:start position:0%
embedding a large property list inside
 

00:02:21.840 --> 00:02:24.390 align:start position:0%
embedding a large property list inside
part<00:02:22.000><c> of</c><00:02:22.160><c> the</c><00:02:22.319><c> malicious</c><00:02:22.720><c> WEBP</c><00:02:23.200><c> image.</c><00:02:24.160><c> When</c>

00:02:24.390 --> 00:02:24.400 align:start position:0%
part of the malicious WEBP image. When
 

00:02:24.400 --> 00:02:26.390 align:start position:0%
part of the malicious WEBP image. When
the<00:02:24.560><c> messages</c><00:02:25.040><c> blast</c><00:02:25.440><c> door</c><00:02:25.680><c> service</c><00:02:26.080><c> passes</c>

00:02:26.390 --> 00:02:26.400 align:start position:0%
the messages blast door service passes
 

00:02:26.400 --> 00:02:28.309 align:start position:0%
the messages blast door service passes
this<00:02:26.640><c> WEBP</c><00:02:27.120><c> and</c><00:02:27.360><c> the</c><00:02:27.520><c> embedded</c><00:02:27.920><c> property</c>

00:02:28.309 --> 00:02:28.319 align:start position:0%
this WEBP and the embedded property
 

00:02:28.319 --> 00:02:30.470 align:start position:0%
this WEBP and the embedded property
list,<00:02:28.800><c> allocations</c><00:02:29.440><c> are</c><00:02:29.599><c> made</c><00:02:29.920><c> depending</c><00:02:30.319><c> on</c>

00:02:30.470 --> 00:02:30.480 align:start position:0%
list, allocations are made depending on
 

00:02:30.480 --> 00:02:32.470 align:start position:0%
list, allocations are made depending on
the<00:02:30.640><c> keys</c><00:02:30.959><c> and</c><00:02:31.120><c> values</c><00:02:31.440><c> defined.</c><00:02:32.319><c> For</c>

00:02:32.470 --> 00:02:32.480 align:start position:0%
the keys and values defined. For
 

00:02:32.480 --> 00:02:34.309 align:start position:0%
the keys and values defined. For
example,<00:02:32.959><c> consider</c><00:02:33.280><c> a</c><00:02:33.519><c> basic</c><00:02:33.840><c> property</c><00:02:34.160><c> list</c>

00:02:34.309 --> 00:02:34.319 align:start position:0%
example, consider a basic property list
 

00:02:34.319 --> 00:02:36.070 align:start position:0%
example, consider a basic property list
that<00:02:34.560><c> contains</c><00:02:34.800><c> a</c><00:02:35.040><c> couple</c><00:02:35.120><c> of</c><00:02:35.360><c> keys</c><00:02:35.680><c> and</c><00:02:35.920><c> some</c>

00:02:36.070 --> 00:02:36.080 align:start position:0%
that contains a couple of keys and some
 

00:02:36.080 --> 00:02:38.309 align:start position:0%
that contains a couple of keys and some
raw<00:02:36.319><c> data</c><00:02:36.640><c> as</c><00:02:36.879><c> their</c><00:02:37.040><c> values.</c><00:02:37.760><c> The</c><00:02:37.920><c> puzzle</c>

00:02:38.309 --> 00:02:38.319 align:start position:0%
raw data as their values. The puzzle
 

00:02:38.319 --> 00:02:39.750 align:start position:0%
raw data as their values. The puzzle
will<00:02:38.400><c> go</c><00:02:38.560><c> through</c><00:02:38.640><c> these</c><00:02:38.879><c> one</c><00:02:39.040><c> at</c><00:02:39.200><c> a</c><00:02:39.360><c> time</c><00:02:39.519><c> and</c>

00:02:39.750 --> 00:02:39.760 align:start position:0%
will go through these one at a time and
 

00:02:39.760 --> 00:02:41.990 align:start position:0%
will go through these one at a time and
allocate<00:02:40.239><c> a</c><00:02:40.400><c> corresponding</c><00:02:41.120><c> CF</c><00:02:41.440><c> data</c><00:02:41.760><c> object</c>

00:02:41.990 --> 00:02:42.000 align:start position:0%
allocate a corresponding CF data object
 

00:02:42.000 --> 00:02:43.990 align:start position:0%
allocate a corresponding CF data object
on<00:02:42.160><c> the</c><00:02:42.319><c> heap.</c><00:02:42.640><c> For</c><00:02:42.720><c> example,</c><00:02:43.599><c> the</c><00:02:43.760><c> real</c>

00:02:43.990 --> 00:02:44.000 align:start position:0%
on the heap. For example, the real
 

00:02:44.000 --> 00:02:46.150 align:start position:0%
on the heap. For example, the real
exploit<00:02:44.480><c> contains</c><00:02:44.800><c> a</c><00:02:45.040><c> huge</c><00:02:45.280><c> P</c><00:02:45.519><c> list</c><00:02:45.840><c> which</c><00:02:46.000><c> is</c>

00:02:46.150 --> 00:02:46.160 align:start position:0%
exploit contains a huge P list which is
 

00:02:46.160 --> 00:02:47.910 align:start position:0%
exploit contains a huge P list which is
carefully<00:02:46.560><c> engineered</c><00:02:46.959><c> to</c><00:02:47.200><c> arrange</c><00:02:47.519><c> the</c><00:02:47.680><c> heap</c>

00:02:47.910 --> 00:02:47.920 align:start position:0%
carefully engineered to arrange the heap
 

00:02:47.920 --> 00:02:49.990 align:start position:0%
carefully engineered to arrange the heap
in<00:02:48.080><c> a</c><00:02:48.160><c> very</c><00:02:48.400><c> very</c><00:02:48.640><c> specific</c><00:02:48.959><c> way.</c><00:02:49.599><c> We</c><00:02:49.840><c> don't</c>

00:02:49.990 --> 00:02:50.000 align:start position:0%
in a very very specific way. We don't
 

00:02:50.000 --> 00:02:51.430 align:start position:0%
in a very very specific way. We don't
have<00:02:50.080><c> all</c><00:02:50.239><c> the</c><00:02:50.400><c> details</c><00:02:50.640><c> on</c><00:02:50.800><c> this,</c><00:02:51.120><c> but</c><00:02:51.280><c> it</c>

00:02:51.430 --> 00:02:51.440 align:start position:0%
have all the details on this, but it
 

00:02:51.440 --> 00:02:52.869 align:start position:0%
have all the details on this, but it
isn't<00:02:51.680><c> really</c><00:02:51.840><c> important</c><00:02:52.080><c> for</c><00:02:52.239><c> our</c><00:02:52.480><c> analysis</c>

00:02:52.869 --> 00:02:52.879 align:start position:0%
isn't really important for our analysis
 

00:02:52.879 --> 00:02:54.470 align:start position:0%
isn't really important for our analysis
anyway<00:02:53.200><c> because</c><00:02:53.440><c> we</c><00:02:53.680><c> can</c><00:02:53.760><c> still</c><00:02:54.000><c> create</c><00:02:54.239><c> our</c>

00:02:54.470 --> 00:02:54.480 align:start position:0%
anyway because we can still create our
 

00:02:54.480 --> 00:02:56.070 align:start position:0%
anyway because we can still create our
own<00:02:54.640><c> heap</c><00:02:54.959><c> shaping</c><00:02:55.360><c> strategy</c><00:02:55.840><c> for</c>

00:02:56.070 --> 00:02:56.080 align:start position:0%
own heap shaping strategy for
 

00:02:56.080 --> 00:02:57.670 align:start position:0%
own heap shaping strategy for
demonstration<00:02:56.640><c> purposes.</c><00:02:57.120><c> As</c><00:02:57.280><c> we'll</c><00:02:57.440><c> see</c>

00:02:57.670 --> 00:02:57.680 align:start position:0%
demonstration purposes. As we'll see
 

00:02:57.680 --> 00:02:59.750 align:start position:0%
demonstration purposes. As we'll see
later,<00:02:58.319><c> the</c><00:02:58.560><c> exploit</c><00:02:58.959><c> wants</c><00:02:59.200><c> to</c><00:02:59.280><c> target</c><00:02:59.519><c> the</c>

00:02:59.750 --> 00:02:59.760 align:start position:0%
later, the exploit wants to target the
 

00:02:59.760 --> 00:03:01.910 align:start position:0%
later, the exploit wants to target the
heap<00:03:00.080><c> metadata.</c><00:03:00.879><c> That</c><00:03:01.040><c> is</c><00:03:01.200><c> the</c><00:03:01.360><c> data</c><00:03:01.599><c> that</c><00:03:01.760><c> the</c>

00:03:01.910 --> 00:03:01.920 align:start position:0%
heap metadata. That is the data that the
 

00:03:01.920 --> 00:03:03.430 align:start position:0%
heap metadata. That is the data that the
allocator<00:03:02.480><c> uses</c><00:03:02.800><c> to</c><00:03:02.959><c> track</c><00:03:03.200><c> which</c>

00:03:03.430 --> 00:03:03.440 align:start position:0%
allocator uses to track which
 

00:03:03.440 --> 00:03:05.270 align:start position:0%
allocator uses to track which
allocations<00:03:04.080><c> are</c><00:03:04.319><c> actually</c><00:03:04.560><c> in</c><00:03:04.800><c> use</c><00:03:05.040><c> and</c>

00:03:05.270 --> 00:03:05.280 align:start position:0%
allocations are actually in use and
 

00:03:05.280 --> 00:03:07.830 align:start position:0%
allocations are actually in use and
which<00:03:05.519><c> ones</c><00:03:05.680><c> are</c><00:03:05.840><c> freed.</c><00:03:06.560><c> On</c><00:03:06.800><c> iOS,</c><00:03:07.280><c> the</c><00:03:07.519><c> small</c>

00:03:07.830 --> 00:03:07.840 align:start position:0%
which ones are freed. On iOS, the small
 

00:03:07.840 --> 00:03:09.830 align:start position:0%
which ones are freed. On iOS, the small
range<00:03:08.159><c> is</c><00:03:08.319><c> a</c><00:03:08.480><c> maloc</c><00:03:08.879><c> range</c><00:03:09.200><c> used</c><00:03:09.360><c> to</c><00:03:09.519><c> serve</c>

00:03:09.830 --> 00:03:09.840 align:start position:0%
range is a maloc range used to serve
 

00:03:09.840 --> 00:03:12.790 align:start position:0%
range is a maloc range used to serve
allocations<00:03:10.319><c> of</c><00:03:10.480><c> a</c><00:03:10.720><c> size</c><00:03:10.959><c> between</c><00:03:11.360><c> 512</c><00:03:12.080><c> bytes</c>

00:03:12.790 --> 00:03:12.800 align:start position:0%
allocations of a size between 512 bytes
 

00:03:12.800 --> 00:03:16.790 align:start position:0%
allocations of a size between 512 bytes
up<00:03:13.040><c> to</c><00:03:13.280><c> hex</c><00:03:13.920><c> 3C00</c><00:03:14.959><c> bytes.</c><00:03:15.760><c> In</c><00:03:16.080><c> memory,</c><00:03:16.560><c> this</c>

00:03:16.790 --> 00:03:16.800 align:start position:0%
up to hex 3C00 bytes. In memory, this
 

00:03:16.800 --> 00:03:19.350 align:start position:0%
up to hex 3C00 bytes. In memory, this
range<00:03:17.120><c> is</c><00:03:17.440><c> organized</c><00:03:17.920><c> as</c><00:03:18.159><c> many</c><00:03:18.560><c> small</c><00:03:18.959><c> region</c>

00:03:19.350 --> 00:03:19.360 align:start position:0%
range is organized as many small region
 

00:03:19.360 --> 00:03:21.750 align:start position:0%
range is organized as many small region
structures.<00:03:20.319><c> Each</c><00:03:20.640><c> small</c><00:03:20.879><c> region</c><00:03:21.280><c> consists</c>

00:03:21.750 --> 00:03:21.760 align:start position:0%
structures. Each small region consists
 

00:03:21.760 --> 00:03:23.589 align:start position:0%
structures. Each small region consists
of<00:03:21.920><c> a</c><00:03:22.080><c> short</c><00:03:22.319><c> header</c><00:03:22.800><c> followed</c><00:03:23.120><c> by</c><00:03:23.360><c> some</c>

00:03:23.589 --> 00:03:23.599 align:start position:0%
of a short header followed by some
 

00:03:23.599 --> 00:03:25.670 align:start position:0%
of a short header followed by some
metadata<00:03:24.319><c> describing</c><00:03:24.959><c> blocks</c><00:03:25.360><c> that</c><00:03:25.519><c> are</c>

00:03:25.670 --> 00:03:25.680 align:start position:0%
metadata describing blocks that are
 

00:03:25.680 --> 00:03:27.350 align:start position:0%
metadata describing blocks that are
allocated<00:03:26.480><c> followed</c><00:03:26.800><c> by</c><00:03:26.959><c> the</c><00:03:27.120><c> actual</c>

00:03:27.350 --> 00:03:27.360 align:start position:0%
allocated followed by the actual
 

00:03:27.360 --> 00:03:29.670 align:start position:0%
allocated followed by the actual
allocation<00:03:27.840><c> data</c><00:03:28.159><c> itself.</c><00:03:28.959><c> The</c><00:03:29.200><c> allocation</c>

00:03:29.670 --> 00:03:29.680 align:start position:0%
allocation data itself. The allocation
 

00:03:29.680 --> 00:03:31.990 align:start position:0%
allocation data itself. The allocation
data<00:03:30.000><c> is</c><00:03:30.159><c> logically</c><00:03:30.640><c> divided</c><00:03:31.040><c> into</c><00:03:31.360><c> blocks</c><00:03:31.760><c> of</c>

00:03:31.990 --> 00:03:32.000 align:start position:0%
data is logically divided into blocks of
 

00:03:32.000 --> 00:03:35.350 align:start position:0%
data is logically divided into blocks of
512<00:03:32.720><c> bytes</c><00:03:33.120><c> each.</c><00:03:33.760><c> So</c><00:03:34.000><c> in</c><00:03:34.159><c> an</c><00:03:34.319><c> iOS</c><00:03:34.799><c> app,</c><00:03:35.120><c> if</c><00:03:35.280><c> we</c>

00:03:35.350 --> 00:03:35.360 align:start position:0%
512 bytes each. So in an iOS app, if we
 

00:03:35.360 --> 00:03:38.630 align:start position:0%
512 bytes each. So in an iOS app, if we
were<00:03:35.519><c> to</c><00:03:35.599><c> call</c><00:03:35.760><c> Maloc</c><00:03:36.319><c> with</c><00:03:36.480><c> size</c><00:03:37.040><c> 1,500,</c><00:03:38.400><c> the</c>

00:03:38.630 --> 00:03:38.640 align:start position:0%
were to call Maloc with size 1,500, the
 

00:03:38.640 --> 00:03:40.390 align:start position:0%
were to call Maloc with size 1,500, the
allocator<00:03:39.200><c> calculates</c><00:03:39.599><c> that</c><00:03:39.840><c> this</c><00:03:40.000><c> amount</c>

00:03:40.390 --> 00:03:40.400 align:start position:0%
allocator calculates that this amount
 

00:03:40.400 --> 00:03:42.470 align:start position:0%
allocator calculates that this amount
fits<00:03:40.720><c> within</c><00:03:40.959><c> the</c><00:03:41.120><c> small</c><00:03:41.360><c> range</c><00:03:41.920><c> and</c><00:03:42.080><c> it</c><00:03:42.239><c> also</c>

00:03:42.470 --> 00:03:42.480 align:start position:0%
fits within the small range and it also
 

00:03:42.480 --> 00:03:43.830 align:start position:0%
fits within the small range and it also
calculates<00:03:42.879><c> that</c><00:03:43.040><c> it</c><00:03:43.200><c> will</c><00:03:43.360><c> need</c><00:03:43.599><c> three</c>

00:03:43.830 --> 00:03:43.840 align:start position:0%
calculates that it will need three
 

00:03:43.840 --> 00:03:46.949 align:start position:0%
calculates that it will need three
blocks,<00:03:44.480><c> each</c><00:03:44.799><c> 512</c><00:03:45.599><c> bytes</c><00:03:46.159><c> to</c><00:03:46.400><c> serve</c><00:03:46.720><c> this</c>

00:03:46.949 --> 00:03:46.959 align:start position:0%
blocks, each 512 bytes to serve this
 

00:03:46.959 --> 00:03:48.630 align:start position:0%
blocks, each 512 bytes to serve this
allocation.<00:03:47.599><c> There</c><00:03:47.840><c> will</c><00:03:47.920><c> be</c><00:03:48.080><c> some</c><00:03:48.239><c> wasted</c>

00:03:48.630 --> 00:03:48.640 align:start position:0%
allocation. There will be some wasted
 

00:03:48.640 --> 00:03:50.869 align:start position:0%
allocation. There will be some wasted
space<00:03:48.799><c> at</c><00:03:48.959><c> the</c><00:03:49.040><c> end,</c><00:03:49.200><c> but</c><00:03:49.519><c> 1,500</c><00:03:50.480><c> bytes</c>

00:03:50.869 --> 00:03:50.879 align:start position:0%
space at the end, but 1,500 bytes
 

00:03:50.879 --> 00:03:52.949 align:start position:0%
space at the end, but 1,500 bytes
couldn't<00:03:51.200><c> fit</c><00:03:51.360><c> into</c><00:03:51.680><c> just</c><00:03:51.840><c> two</c><00:03:52.080><c> blocks,</c><00:03:52.720><c> and</c>

00:03:52.949 --> 00:03:52.959 align:start position:0%
couldn't fit into just two blocks, and
 

00:03:52.959 --> 00:03:55.110 align:start position:0%
couldn't fit into just two blocks, and
each<00:03:53.200><c> allocation</c><00:03:53.840><c> must</c><00:03:54.080><c> be</c><00:03:54.239><c> in</c><00:03:54.480><c> multiples</c><00:03:54.959><c> of</c>

00:03:55.110 --> 00:03:55.120 align:start position:0%
each allocation must be in multiples of
 

00:03:55.120 --> 00:03:58.390 align:start position:0%
each allocation must be in multiples of
the<00:03:55.360><c> 512</c><00:03:56.159><c> byt</c><00:03:56.480><c> block</c><00:03:56.720><c> size.</c><00:03:57.760><c> To</c><00:03:58.000><c> actually</c><00:03:58.239><c> make</c>

00:03:58.390 --> 00:03:58.400 align:start position:0%
the 512 byt block size. To actually make
 

00:03:58.400 --> 00:04:00.470 align:start position:0%
the 512 byt block size. To actually make
the<00:03:58.560><c> allocation,</c><00:03:59.200><c> the</c><00:03:59.360><c> allocator</c><00:04:00.000><c> will</c><00:04:00.239><c> find</c>

00:04:00.470 --> 00:04:00.480 align:start position:0%
the allocation, the allocator will find
 

00:04:00.480 --> 00:04:01.910 align:start position:0%
the allocation, the allocator will find
some<00:04:00.640><c> free</c><00:04:00.959><c> blocks</c><00:04:01.200><c> that</c><00:04:01.439><c> will</c><00:04:01.599><c> fit</c><00:04:01.760><c> the</c>

00:04:01.910 --> 00:04:01.920 align:start position:0%
some free blocks that will fit the
 

00:04:01.920 --> 00:04:04.630 align:start position:0%
some free blocks that will fit the
request<00:04:02.640><c> and</c><00:04:02.879><c> mark</c><00:04:03.200><c> these</c><00:04:03.439><c> blocks</c><00:04:03.760><c> as</c><00:04:04.080><c> in</c><00:04:04.319><c> use</c>

00:04:04.630 --> 00:04:04.640 align:start position:0%
request and mark these blocks as in use
 

00:04:04.640 --> 00:04:07.270 align:start position:0%
request and mark these blocks as in use
by<00:04:04.959><c> modifying</c><00:04:05.360><c> the</c><00:04:05.599><c> metadata.</c><00:04:06.640><c> Similarly</c><00:04:07.040><c> to</c>

00:04:07.270 --> 00:04:07.280 align:start position:0%
by modifying the metadata. Similarly to
 

00:04:07.280 --> 00:04:09.589 align:start position:0%
by modifying the metadata. Similarly to
how<00:04:07.439><c> the</c><00:04:07.680><c> allocation</c><00:04:08.239><c> data</c><00:04:08.560><c> is</c><00:04:08.799><c> divided</c><00:04:09.200><c> into</c>

00:04:09.589 --> 00:04:09.599 align:start position:0%
how the allocation data is divided into
 

00:04:09.599 --> 00:04:12.789 align:start position:0%
how the allocation data is divided into
512<00:04:10.400><c> byt</c><00:04:10.720><c> blocks,</c><00:04:11.360><c> the</c><00:04:11.519><c> metadata</c><00:04:12.159><c> is</c><00:04:12.400><c> divided</c>

00:04:12.789 --> 00:04:12.799 align:start position:0%
512 byt blocks, the metadata is divided
 

00:04:12.799 --> 00:04:15.030 align:start position:0%
512 byt blocks, the metadata is divided
into<00:04:13.120><c> two</c><00:04:13.360><c> byte</c><00:04:13.680><c> blocks.</c><00:04:14.319><c> Each</c><00:04:14.560><c> of</c><00:04:14.640><c> these</c><00:04:14.879><c> two</c>

00:04:15.030 --> 00:04:15.040 align:start position:0%
into two byte blocks. Each of these two
 

00:04:15.040 --> 00:04:17.030 align:start position:0%
into two byte blocks. Each of these two
bytes<00:04:15.519><c> represents</c><00:04:16.000><c> its</c><00:04:16.239><c> corresponding</c><00:04:16.799><c> block</c>

00:04:17.030 --> 00:04:17.040 align:start position:0%
bytes represents its corresponding block
 

00:04:17.040 --> 00:04:18.949 align:start position:0%
bytes represents its corresponding block
in<00:04:17.199><c> the</c><00:04:17.359><c> allocation</c><00:04:17.840><c> data.</c><00:04:18.400><c> So</c><00:04:18.639><c> when</c><00:04:18.799><c> the</c>

00:04:18.949 --> 00:04:18.959 align:start position:0%
in the allocation data. So when the
 

00:04:18.959 --> 00:04:20.789 align:start position:0%
in the allocation data. So when the
allocator<00:04:19.440><c> wants</c><00:04:19.600><c> to</c><00:04:19.759><c> mark</c><00:04:20.000><c> three</c><00:04:20.320><c> blocks</c><00:04:20.639><c> as</c>

00:04:20.789 --> 00:04:20.799 align:start position:0%
allocator wants to mark three blocks as
 

00:04:20.799 --> 00:04:23.030 align:start position:0%
allocator wants to mark three blocks as
in<00:04:21.040><c> use,</c><00:04:21.440><c> it</c><00:04:21.600><c> finds</c><00:04:21.840><c> a</c><00:04:22.000><c> nice</c><00:04:22.240><c> free</c><00:04:22.479><c> area</c><00:04:22.800><c> by</c>

00:04:23.030 --> 00:04:23.040 align:start position:0%
in use, it finds a nice free area by
 

00:04:23.040 --> 00:04:24.950 align:start position:0%
in use, it finds a nice free area by
looking<00:04:23.199><c> at</c><00:04:23.280><c> the</c><00:04:23.440><c> metadata</c><00:04:24.160><c> and</c><00:04:24.400><c> then</c><00:04:24.560><c> it</c><00:04:24.720><c> sets</c>

00:04:24.950 --> 00:04:24.960 align:start position:0%
looking at the metadata and then it sets
 

00:04:24.960 --> 00:04:27.030 align:start position:0%
looking at the metadata and then it sets
the<00:04:25.199><c> block</c><00:04:25.440><c> count</c><00:04:25.759><c> of</c><00:04:25.919><c> three</c><00:04:26.400><c> on</c><00:04:26.639><c> the</c><00:04:26.800><c> first</c>

00:04:27.030 --> 00:04:27.040 align:start position:0%
the block count of three on the first
 

00:04:27.040 --> 00:04:29.350 align:start position:0%
the block count of three on the first
metadata<00:04:27.680><c> item</c><00:04:28.160><c> that</c><00:04:28.479><c> corresponds</c><00:04:29.040><c> to</c><00:04:29.199><c> the</c>

00:04:29.350 --> 00:04:29.360 align:start position:0%
metadata item that corresponds to the
 

00:04:29.360 --> 00:04:31.670 align:start position:0%
metadata item that corresponds to the
start<00:04:29.520><c> of</c><00:04:29.600><c> the</c><00:04:29.759><c> allocation.</c><00:04:30.880><c> Internally</c><00:04:31.520><c> the</c>

00:04:31.670 --> 00:04:31.680 align:start position:0%
start of the allocation. Internally the
 

00:04:31.680 --> 00:04:33.590 align:start position:0%
start of the allocation. Internally the
allocator<00:04:32.240><c> will</c><00:04:32.479><c> see</c><00:04:32.639><c> this</c><00:04:32.880><c> three</c><00:04:33.120><c> and</c><00:04:33.360><c> now</c>

00:04:33.590 --> 00:04:33.600 align:start position:0%
allocator will see this three and now
 

00:04:33.600 --> 00:04:35.030 align:start position:0%
allocator will see this three and now
understands<00:04:34.000><c> that</c><00:04:34.240><c> there</c><00:04:34.320><c> is</c><00:04:34.479><c> an</c><00:04:34.639><c> allocation</c>

00:04:35.030 --> 00:04:35.040 align:start position:0%
understands that there is an allocation
 

00:04:35.040 --> 00:04:36.870 align:start position:0%
understands that there is an allocation
here<00:04:35.440><c> consisting</c><00:04:35.919><c> of</c><00:04:36.080><c> three</c><00:04:36.400><c> contiguous</c>

00:04:36.870 --> 00:04:36.880 align:start position:0%
here consisting of three contiguous
 

00:04:36.880 --> 00:04:38.390 align:start position:0%
here consisting of three contiguous
blocks<00:04:37.360><c> and</c><00:04:37.600><c> the</c><00:04:37.759><c> pointers</c><00:04:38.080><c> that</c><00:04:38.240><c> are</c>

00:04:38.390 --> 00:04:38.400 align:start position:0%
blocks and the pointers that are
 

00:04:38.400 --> 00:04:40.150 align:start position:0%
blocks and the pointers that are
allocation<00:04:38.800><c> memory</c><00:04:39.120><c> can</c><00:04:39.280><c> be</c><00:04:39.440><c> calculated</c><00:04:39.919><c> from</c>

00:04:40.150 --> 00:04:40.160 align:start position:0%
allocation memory can be calculated from
 

00:04:40.160 --> 00:04:42.469 align:start position:0%
allocation memory can be calculated from
the<00:04:40.320><c> metadata</c><00:04:40.880><c> index</c><00:04:41.440><c> and</c><00:04:41.680><c> returned</c><00:04:42.080><c> from</c><00:04:42.240><c> the</c>

00:04:42.469 --> 00:04:42.479 align:start position:0%
the metadata index and returned from the
 

00:04:42.479 --> 00:04:44.790 align:start position:0%
the metadata index and returned from the
C<00:04:42.639><c> tom</c><00:04:42.880><c> alloc.</c><00:04:43.919><c> Later</c><00:04:44.240><c> on</c><00:04:44.400><c> when</c><00:04:44.639><c> that</c>

00:04:44.790 --> 00:04:44.800 align:start position:0%
C tom alloc. Later on when that
 

00:04:44.800 --> 00:04:47.030 align:start position:0%
C tom alloc. Later on when that
allocation<00:04:45.360><c> is</c><00:04:45.520><c> freed</c><00:04:46.000><c> the</c><00:04:46.160><c> allocator</c><00:04:46.720><c> sets</c>

00:04:47.030 --> 00:04:47.040 align:start position:0%
allocation is freed the allocator sets
 

00:04:47.040 --> 00:04:48.550 align:start position:0%
allocation is freed the allocator sets
the<00:04:47.199><c> most</c><00:04:47.440><c> significant</c><00:04:47.919><c> bit</c><00:04:48.240><c> on</c><00:04:48.400><c> that</c>

00:04:48.550 --> 00:04:48.560 align:start position:0%
the most significant bit on that
 

00:04:48.560 --> 00:04:50.710 align:start position:0%
the most significant bit on that
metadata<00:04:49.120><c> piece</c><00:04:49.759><c> and</c><00:04:50.000><c> now</c><00:04:50.160><c> it</c><00:04:50.400><c> understands</c>

00:04:50.710 --> 00:04:50.720 align:start position:0%
metadata piece and now it understands
 

00:04:50.720 --> 00:04:52.150 align:start position:0%
metadata piece and now it understands
that<00:04:50.960><c> there</c><00:04:51.199><c> are</c><00:04:51.440><c> three</c><00:04:51.680><c> contiguous</c>

00:04:52.150 --> 00:04:52.160 align:start position:0%
that there are three contiguous
 

00:04:52.160 --> 00:04:54.230 align:start position:0%
that there are three contiguous
unallocated<00:04:52.880><c> blocks</c><00:04:53.199><c> at</c><00:04:53.440><c> this</c><00:04:53.600><c> position</c>

00:04:54.230 --> 00:04:54.240 align:start position:0%
unallocated blocks at this position
 

00:04:54.240 --> 00:04:55.830 align:start position:0%
unallocated blocks at this position
ready<00:04:54.479><c> for</c><00:04:54.639><c> reallocation</c><00:04:55.280><c> by</c><00:04:55.520><c> something</c>

00:04:55.830 --> 00:04:55.840 align:start position:0%
ready for reallocation by something
 

00:04:55.840 --> 00:04:58.230 align:start position:0%
ready for reallocation by something
else.<00:04:56.880><c> For</c><00:04:57.120><c> further</c><00:04:57.440><c> clarity</c><00:04:57.840><c> on</c><00:04:58.000><c> this</c>

00:04:58.230 --> 00:04:58.240 align:start position:0%
else. For further clarity on this
 

00:04:58.240 --> 00:04:59.990 align:start position:0%
else. For further clarity on this
mechanism<00:04:58.720><c> you</c><00:04:58.880><c> can</c><00:04:59.040><c> actually</c><00:04:59.280><c> observe</c><00:04:59.680><c> this</c>

00:04:59.990 --> 00:05:00.000 align:start position:0%
mechanism you can actually observe this
 

00:05:00.000 --> 00:05:01.749 align:start position:0%
mechanism you can actually observe this
happening<00:05:00.320><c> in</c><00:05:00.639><c> live</c><00:05:00.960><c> memory</c><00:05:01.280><c> on</c><00:05:01.440><c> your</c><00:05:01.600><c> own</c>

00:05:01.749 --> 00:05:01.759 align:start position:0%
happening in live memory on your own
 

00:05:01.759 --> 00:05:04.230 align:start position:0%
happening in live memory on your own
research<00:05:02.160><c> device.</c><00:05:03.280><c> Just</c><00:05:03.520><c> create</c><00:05:03.759><c> a</c><00:05:04.000><c> simple</c>

00:05:04.230 --> 00:05:04.240 align:start position:0%
research device. Just create a simple
 

00:05:04.240 --> 00:05:05.990 align:start position:0%
research device. Just create a simple
program<00:05:04.560><c> that</c><00:05:04.800><c> allocates</c><00:05:05.280><c> and</c><00:05:05.440><c> frees</c><00:05:05.759><c> some</c>

00:05:05.990 --> 00:05:06.000 align:start position:0%
program that allocates and frees some
 

00:05:06.000 --> 00:05:07.830 align:start position:0%
program that allocates and frees some
memory<00:05:06.320><c> in</c><00:05:06.479><c> the</c><00:05:06.639><c> small</c><00:05:06.880><c> region.</c><00:05:07.360><c> Attach</c><00:05:07.680><c> your</c>

00:05:07.830 --> 00:05:07.840 align:start position:0%
memory in the small region. Attach your
 

00:05:07.840 --> 00:05:10.230 align:start position:0%
memory in the small region. Attach your
debugger<00:05:08.400><c> and</c><00:05:08.639><c> dump</c><00:05:08.880><c> the</c><00:05:09.039><c> process</c><00:05:09.440><c> memory.</c>

00:05:10.230 --> 00:05:10.240 align:start position:0%
debugger and dump the process memory.
 

00:05:10.240 --> 00:05:11.990 align:start position:0%
debugger and dump the process memory.
You'll<00:05:10.479><c> see</c><00:05:10.560><c> the</c><00:05:10.800><c> metadata</c><00:05:11.360><c> associated</c><00:05:11.840><c> with</c>

00:05:11.990 --> 00:05:12.000 align:start position:0%
You'll see the metadata associated with
 

00:05:12.000 --> 00:05:13.510 align:start position:0%
You'll see the metadata associated with
your<00:05:12.160><c> allocation</c><00:05:12.639><c> and</c><00:05:12.800><c> you'll</c><00:05:13.039><c> see</c><00:05:13.120><c> it</c><00:05:13.280><c> being</c>

00:05:13.510 --> 00:05:13.520 align:start position:0%
your allocation and you'll see it being
 

00:05:13.520 --> 00:05:15.350 align:start position:0%
your allocation and you'll see it being
modified<00:05:13.840><c> when</c><00:05:14.000><c> you</c><00:05:14.240><c> free</c><00:05:14.400><c> the</c><00:05:14.479><c> buffer.</c><00:05:15.199><c> The</c>

00:05:15.350 --> 00:05:15.360 align:start position:0%
modified when you free the buffer. The
 

00:05:15.360 --> 00:05:17.270 align:start position:0%
modified when you free the buffer. The
attackers<00:05:15.840><c> abuse</c><00:05:16.240><c> this</c><00:05:16.479><c> mechanism</c><00:05:16.960><c> by</c>

00:05:17.270 --> 00:05:17.280 align:start position:0%
attackers abuse this mechanism by
 

00:05:17.280 --> 00:05:19.270 align:start position:0%
attackers abuse this mechanism by
targeting<00:05:17.680><c> these</c><00:05:18.000><c> metadata</c><00:05:18.560><c> bytes</c><00:05:18.960><c> with</c><00:05:19.120><c> the</c>

00:05:19.270 --> 00:05:19.280 align:start position:0%
targeting these metadata bytes with the
 

00:05:19.280 --> 00:05:21.189 align:start position:0%
targeting these metadata bytes with the
out-of-bounds<00:05:19.840><c> write</c><00:05:20.080><c> primitive.</c><00:05:20.800><c> In</c><00:05:21.039><c> order</c>

00:05:21.189 --> 00:05:21.199 align:start position:0%
out-of-bounds write primitive. In order
 

00:05:21.199 --> 00:05:22.790 align:start position:0%
out-of-bounds write primitive. In order
for<00:05:21.360><c> their</c><00:05:21.520><c> plan</c><00:05:21.680><c> to</c><00:05:21.840><c> work,</c><00:05:22.160><c> they</c><00:05:22.400><c> first</c><00:05:22.639><c> need</c>

00:05:22.790 --> 00:05:22.800 align:start position:0%
for their plan to work, they first need
 

00:05:22.800 --> 00:05:24.550 align:start position:0%
for their plan to work, they first need
a<00:05:22.960><c> very</c><00:05:23.199><c> specific</c><00:05:23.520><c> arrangement</c><00:05:24.000><c> of</c><00:05:24.160><c> objects</c>

00:05:24.550 --> 00:05:24.560 align:start position:0%
a very specific arrangement of objects
 

00:05:24.560 --> 00:05:26.870 align:start position:0%
a very specific arrangement of objects
on<00:05:24.800><c> the</c><00:05:24.960><c> heap.</c><00:05:25.520><c> First</c><00:05:25.680><c> of</c><00:05:25.840><c> all,</c><00:05:26.000><c> they</c><00:05:26.320><c> need</c><00:05:26.560><c> two</c>

00:05:26.870 --> 00:05:26.880 align:start position:0%
on the heap. First of all, they need two
 

00:05:26.880 --> 00:05:28.950 align:start position:0%
on the heap. First of all, they need two
small<00:05:27.199><c> regions</c><00:05:27.680><c> located</c><00:05:28.160><c> directly</c><00:05:28.560><c> next</c><00:05:28.800><c> to</c>

00:05:28.950 --> 00:05:28.960 align:start position:0%
small regions located directly next to
 

00:05:28.960 --> 00:05:31.270 align:start position:0%
small regions located directly next to
each<00:05:29.120><c> other</c><00:05:29.280><c> in</c><00:05:29.520><c> memory.</c><00:05:30.240><c> At</c><00:05:30.479><c> the</c><00:05:30.639><c> very</c><00:05:30.880><c> end</c><00:05:31.120><c> of</c>

00:05:31.270 --> 00:05:31.280 align:start position:0%
each other in memory. At the very end of
 

00:05:31.280 --> 00:05:33.029 align:start position:0%
each other in memory. At the very end of
the<00:05:31.440><c> first</c><00:05:31.680><c> small</c><00:05:32.000><c> region</c><00:05:32.320><c> is</c><00:05:32.560><c> the</c><00:05:32.720><c> actual</c>

00:05:33.029 --> 00:05:33.039 align:start position:0%
the first small region is the actual
 

00:05:33.039 --> 00:05:35.029 align:start position:0%
the first small region is the actual
Huffman<00:05:33.520><c> table</c><00:05:33.840><c> buffer,</c><00:05:34.400><c> which</c><00:05:34.560><c> is</c><00:05:34.639><c> where</c><00:05:34.800><c> the</c>

00:05:35.029 --> 00:05:35.039 align:start position:0%
Huffman table buffer, which is where the
 

00:05:35.039 --> 00:05:37.189 align:start position:0%
Huffman table buffer, which is where the
out-of-bounds<00:05:35.600><c> write</c><00:05:35.919><c> is</c><00:05:36.080><c> coming</c><00:05:36.320><c> from.</c><00:05:36.960><c> Then</c>

00:05:37.189 --> 00:05:37.199 align:start position:0%
out-of-bounds write is coming from. Then
 

00:05:37.199 --> 00:05:38.870 align:start position:0%
out-of-bounds write is coming from. Then
at<00:05:37.440><c> the</c><00:05:37.680><c> beginning</c><00:05:37.919><c> of</c><00:05:38.080><c> the</c><00:05:38.320><c> second</c><00:05:38.560><c> small</c>

00:05:38.870 --> 00:05:38.880 align:start position:0%
at the beginning of the second small
 

00:05:38.880 --> 00:05:40.870 align:start position:0%
at the beginning of the second small
region,<00:05:39.199><c> we</c><00:05:39.440><c> have</c><00:05:39.520><c> the</c><00:05:39.680><c> following.</c><00:05:40.479><c> There</c><00:05:40.720><c> is</c>

00:05:40.870 --> 00:05:40.880 align:start position:0%
region, we have the following. There is
 

00:05:40.880 --> 00:05:43.270 align:start position:0%
region, we have the following. There is
first<00:05:41.120><c> a</c><00:05:41.280><c> padding</c><00:05:41.680><c> allocation</c><00:05:42.160><c> of</c><00:05:42.400><c> hex</c><00:05:42.960><c> 19</c>

00:05:43.270 --> 00:05:43.280 align:start position:0%
first a padding allocation of hex 19
 

00:05:43.280 --> 00:05:45.670 align:start position:0%
first a padding allocation of hex 19
blocks.<00:05:44.400><c> The</c><00:05:44.560><c> size</c><00:05:44.800><c> of</c><00:05:44.960><c> this</c><00:05:45.120><c> allocation</c>

00:05:45.670 --> 00:05:45.680 align:start position:0%
blocks. The size of this allocation
 

00:05:45.680 --> 00:05:47.350 align:start position:0%
blocks. The size of this allocation
relates<00:05:46.000><c> to</c><00:05:46.160><c> the</c><00:05:46.320><c> offset</c><00:05:46.720><c> at</c><00:05:46.880><c> which</c><00:05:47.039><c> the</c><00:05:47.199><c> out-</c>

00:05:47.350 --> 00:05:47.360 align:start position:0%
relates to the offset at which the out-
 

00:05:47.360 --> 00:05:49.189 align:start position:0%
relates to the offset at which the out-
of-bounds<00:05:47.759><c> data</c><00:05:48.080><c> will</c><00:05:48.240><c> fall</c><00:05:48.479><c> as</c><00:05:48.720><c> we'll</c><00:05:48.880><c> see</c><00:05:48.960><c> in</c>

00:05:49.189 --> 00:05:49.199 align:start position:0%
of-bounds data will fall as we'll see in
 

00:05:49.199 --> 00:05:50.710 align:start position:0%
of-bounds data will fall as we'll see in
the<00:05:49.280><c> next</c><00:05:49.440><c> stage.</c><00:05:50.240><c> Then</c><00:05:50.400><c> there's</c><00:05:50.639><c> an</c>

00:05:50.710 --> 00:05:50.720 align:start position:0%
the next stage. Then there's an
 

00:05:50.720 --> 00:05:52.950 align:start position:0%
the next stage. Then there's an
allocation<00:05:51.280><c> of</c><00:05:51.680><c> three</c><00:05:51.919><c> blocks.</c><00:05:52.800><c> This</c>

00:05:52.950 --> 00:05:52.960 align:start position:0%
allocation of three blocks. This
 

00:05:52.960 --> 00:05:54.790 align:start position:0%
allocation of three blocks. This
allocation<00:05:53.520><c> is</c><00:05:53.759><c> actually</c><00:05:54.000><c> for</c><00:05:54.240><c> an</c><00:05:54.400><c> array</c>

00:05:54.790 --> 00:05:54.800 align:start position:0%
allocation is actually for an array
 

00:05:54.800 --> 00:05:57.189 align:start position:0%
allocation is actually for an array
named<00:05:55.199><c> code</c><00:05:55.520><c> lengths.</c><00:05:56.240><c> An</c><00:05:56.400><c> allocation</c><00:05:56.880><c> that's</c>

00:05:57.189 --> 00:05:57.199 align:start position:0%
named code lengths. An allocation that's
 

00:05:57.199 --> 00:05:59.029 align:start position:0%
named code lengths. An allocation that's
actually<00:05:57.520><c> used</c><00:05:57.840><c> by</c><00:05:58.080><c> the</c><00:05:58.240><c> actual</c><00:05:58.560><c> webp</c>

00:05:59.029 --> 00:05:59.039 align:start position:0%
actually used by the actual webp
 

00:05:59.039 --> 00:06:01.510 align:start position:0%
actually used by the actual webp
decoding<00:05:59.600><c> process</c><00:06:00.080><c> and</c><00:06:00.320><c> is</c><00:06:00.560><c> allocated</c><00:06:01.120><c> by</c><00:06:01.280><c> the</c>

00:06:01.510 --> 00:06:01.520 align:start position:0%
decoding process and is allocated by the
 

00:06:01.520 --> 00:06:03.350 align:start position:0%
decoding process and is allocated by the
decoder<00:06:01.919><c> itself.</c><00:06:02.479><c> The</c><00:06:02.639><c> attackers</c><00:06:03.039><c> of</c><00:06:03.199><c> course</c>

00:06:03.350 --> 00:06:03.360 align:start position:0%
decoder itself. The attackers of course
 

00:06:03.360 --> 00:06:04.870 align:start position:0%
decoder itself. The attackers of course
planned<00:06:03.600><c> for</c><00:06:03.759><c> it</c><00:06:03.840><c> to</c><00:06:03.919><c> be</c><00:06:04.080><c> allocated</c><00:06:04.479><c> at</c><00:06:04.720><c> this</c>

00:06:04.870 --> 00:06:04.880 align:start position:0%
planned for it to be allocated at this
 

00:06:04.880 --> 00:06:06.710 align:start position:0%
planned for it to be allocated at this
exact<00:06:05.199><c> spot</c><00:06:05.600><c> thanks</c><00:06:05.759><c> to</c><00:06:05.919><c> their</c><00:06:06.080><c> heap</c><00:06:06.319><c> shaping</c>

00:06:06.710 --> 00:06:06.720 align:start position:0%
exact spot thanks to their heap shaping
 

00:06:06.720 --> 00:06:08.469 align:start position:0%
exact spot thanks to their heap shaping
techniques.<00:06:07.440><c> This</c><00:06:07.600><c> is</c><00:06:07.759><c> the</c><00:06:07.919><c> allocation</c><00:06:08.319><c> that</c>

00:06:08.469 --> 00:06:08.479 align:start position:0%
techniques. This is the allocation that
 

00:06:08.479 --> 00:06:09.909 align:start position:0%
techniques. This is the allocation that
will<00:06:08.639><c> be</c><00:06:08.720><c> directly</c><00:06:09.199><c> targeted</c><00:06:09.600><c> by</c><00:06:09.759><c> the</c>

00:06:09.909 --> 00:06:09.919 align:start position:0%
will be directly targeted by the
 

00:06:09.919 --> 00:06:12.150 align:start position:0%
will be directly targeted by the
metadata<00:06:10.479><c> corruption.</c><00:06:11.360><c> After</c><00:06:11.600><c> that</c><00:06:11.840><c> we</c><00:06:12.000><c> have</c>

00:06:12.150 --> 00:06:12.160 align:start position:0%
metadata corruption. After that we have
 

00:06:12.160 --> 00:06:14.070 align:start position:0%
metadata corruption. After that we have
another<00:06:12.400><c> padding</c><00:06:12.880><c> allocation</c><00:06:13.440><c> made</c><00:06:13.680><c> up</c><00:06:13.840><c> of</c>

00:06:14.070 --> 00:06:14.080 align:start position:0%
another padding allocation made up of
 

00:06:14.080 --> 00:06:17.430 align:start position:0%
another padding allocation made up of
hex<00:06:14.880><c> 18</c><00:06:15.199><c> blocks</c><00:06:16.000><c> and</c><00:06:16.240><c> finally</c><00:06:16.720><c> another</c><00:06:17.120><c> threeb</c>

00:06:17.430 --> 00:06:17.440 align:start position:0%
hex 18 blocks and finally another threeb
 

00:06:17.440 --> 00:06:19.510 align:start position:0%
hex 18 blocks and finally another threeb
block<00:06:17.600><c> allocation.</c><00:06:18.560><c> This</c><00:06:18.800><c> final</c><00:06:19.039><c> allocation</c>

00:06:19.510 --> 00:06:19.520 align:start position:0%
block allocation. This final allocation
 

00:06:19.520 --> 00:06:21.990 align:start position:0%
block allocation. This final allocation
is<00:06:19.680><c> for</c><00:06:19.840><c> the</c><00:06:20.000><c> backend</c><00:06:20.479><c> buffer</c><00:06:20.800><c> of</c><00:06:21.039><c> a</c><00:06:21.280><c> cf</c><00:06:21.680><c> set</c>

00:06:21.990 --> 00:06:22.000 align:start position:0%
is for the backend buffer of a cf set
 

00:06:22.000 --> 00:06:24.070 align:start position:0%
is for the backend buffer of a cf set
object.<00:06:22.639><c> The</c><00:06:22.880><c> attackers</c><00:06:23.280><c> chose</c><00:06:23.600><c> this</c><00:06:23.759><c> type</c><00:06:23.919><c> of</c>

00:06:24.070 --> 00:06:24.080 align:start position:0%
object. The attackers chose this type of
 

00:06:24.080 --> 00:06:25.670 align:start position:0%
object. The attackers chose this type of
object<00:06:24.400><c> specifically</c><00:06:24.960><c> because</c><00:06:25.120><c> the</c><00:06:25.360><c> backing</c>

00:06:25.670 --> 00:06:25.680 align:start position:0%
object specifically because the backing
 

00:06:25.680 --> 00:06:27.909 align:start position:0%
object specifically because the backing
buffer<00:06:26.080><c> itself</c><00:06:26.560><c> will</c><00:06:26.800><c> contain</c><00:06:27.199><c> pointers</c><00:06:27.759><c> to</c>

00:06:27.909 --> 00:06:27.919 align:start position:0%
buffer itself will contain pointers to
 

00:06:27.919 --> 00:06:30.150 align:start position:0%
buffer itself will contain pointers to
other<00:06:28.160><c> core</c><00:06:28.479><c> foundation</c><00:06:28.960><c> objects</c><00:06:29.759><c> which</c><00:06:30.000><c> will</c>

00:06:30.150 --> 00:06:30.160 align:start position:0%
other core foundation objects which will
 

00:06:30.160 --> 00:06:32.070 align:start position:0%
other core foundation objects which will
be<00:06:30.240><c> a</c><00:06:30.400><c> key</c><00:06:30.560><c> part</c><00:06:30.720><c> in</c><00:06:30.880><c> how</c><00:06:31.120><c> code</c><00:06:31.360><c> execution</c><00:06:31.840><c> is</c>

00:06:32.070 --> 00:06:32.080 align:start position:0%
be a key part in how code execution is
 

00:06:32.080 --> 00:06:34.070 align:start position:0%
be a key part in how code execution is
ultimately<00:06:32.479><c> achieved.</c><00:06:33.280><c> So</c><00:06:33.520><c> this</c><00:06:33.680><c> is</c><00:06:33.840><c> the</c>

00:06:34.070 --> 00:06:34.080 align:start position:0%
ultimately achieved. So this is the
 

00:06:34.080 --> 00:06:35.830 align:start position:0%
ultimately achieved. So this is the
desired<00:06:34.560><c> layout</c><00:06:34.880><c> carefully</c><00:06:35.199><c> engineered</c><00:06:35.680><c> by</c>

00:06:35.830 --> 00:06:35.840 align:start position:0%
desired layout carefully engineered by
 

00:06:35.840 --> 00:06:37.909 align:start position:0%
desired layout carefully engineered by
the<00:06:36.000><c> malicious</c><00:06:36.400><c> image.</c><00:06:37.039><c> I</c><00:06:37.280><c> recreated</c><00:06:37.759><c> the</c>

00:06:37.909 --> 00:06:37.919 align:start position:0%
the malicious image. I recreated the
 

00:06:37.919 --> 00:06:39.909 align:start position:0%
the malicious image. I recreated the
same<00:06:38.240><c> layout</c><00:06:38.400><c> in</c><00:06:38.560><c> my</c><00:06:38.720><c> own</c><00:06:38.880><c> iOS</c><00:06:39.360><c> process</c><00:06:39.680><c> as</c>

00:06:39.909 --> 00:06:39.919 align:start position:0%
same layout in my own iOS process as
 

00:06:39.919 --> 00:06:41.670 align:start position:0%
same layout in my own iOS process as
closely<00:06:40.240><c> as</c><00:06:40.400><c> I</c><00:06:40.560><c> could</c><00:06:40.880><c> by</c><00:06:41.280><c> manually</c>

00:06:41.670 --> 00:06:41.680 align:start position:0%
closely as I could by manually
 

00:06:41.680 --> 00:06:43.510 align:start position:0%
closely as I could by manually
allocating<00:06:42.240><c> certain</c><00:06:42.479><c> objects</c><00:06:42.800><c> in</c><00:06:42.960><c> a</c><00:06:43.120><c> specific</c>

00:06:43.510 --> 00:06:43.520 align:start position:0%
allocating certain objects in a specific
 

00:06:43.520 --> 00:06:45.189 align:start position:0%
allocating certain objects in a specific
order<00:06:44.080><c> so</c><00:06:44.240><c> that</c><00:06:44.400><c> we</c><00:06:44.560><c> can</c><00:06:44.639><c> observe</c><00:06:44.960><c> the</c>

00:06:45.189 --> 00:06:45.199 align:start position:0%
order so that we can observe the
 

00:06:45.199 --> 00:06:47.110 align:start position:0%
order so that we can observe the
behavior<00:06:45.520><c> on</c><00:06:45.680><c> a</c><00:06:45.919><c> real</c><00:06:46.080><c> device</c><00:06:46.479><c> without</c><00:06:46.800><c> having</c>

00:06:47.110 --> 00:06:47.120 align:start position:0%
behavior on a real device without having
 

00:06:47.120 --> 00:06:49.189 align:start position:0%
behavior on a real device without having
access<00:06:47.360><c> to</c><00:06:47.520><c> the</c><00:06:47.680><c> original</c><00:06:48.000><c> exploit</c><00:06:48.479><c> sample.</c>

00:06:49.189 --> 00:06:49.199 align:start position:0%
access to the original exploit sample.
 

00:06:49.199 --> 00:06:51.029 align:start position:0%
access to the original exploit sample.
Even<00:06:49.520><c> inside</c><00:06:49.840><c> my</c><00:06:50.080><c> own</c><00:06:50.240><c> process,</c><00:06:50.639><c> which</c><00:06:50.800><c> I</c>

00:06:51.029 --> 00:06:51.039 align:start position:0%
Even inside my own process, which I
 

00:06:51.039 --> 00:06:53.029 align:start position:0%
Even inside my own process, which I
fully<00:06:51.280><c> control,</c><00:06:51.840><c> the</c><00:06:52.000><c> heap</c><00:06:52.319><c> shaping</c><00:06:52.720><c> strategy</c>

00:06:53.029 --> 00:06:53.039 align:start position:0%
fully control, the heap shaping strategy
 

00:06:53.039 --> 00:06:54.870 align:start position:0%
fully control, the heap shaping strategy
was<00:06:53.199><c> fairly</c><00:06:53.520><c> tedious</c><00:06:53.840><c> to</c><00:06:54.000><c> get</c><00:06:54.160><c> right.</c><00:06:54.560><c> So</c><00:06:54.720><c> I</c>

00:06:54.870 --> 00:06:54.880 align:start position:0%
was fairly tedious to get right. So I
 

00:06:54.880 --> 00:06:56.309 align:start position:0%
was fairly tedious to get right. So I
can<00:06:54.960><c> only</c><00:06:55.120><c> imagine</c><00:06:55.440><c> the</c><00:06:55.600><c> complexity</c><00:06:56.080><c> of</c><00:06:56.160><c> the</c>

00:06:56.309 --> 00:06:56.319 align:start position:0%
can only imagine the complexity of the
 

00:06:56.319 --> 00:06:57.749 align:start position:0%
can only imagine the complexity of the
real<00:06:56.560><c> exploit</c><00:06:56.960><c> given</c><00:06:57.199><c> the</c><00:06:57.360><c> fact</c><00:06:57.440><c> that</c><00:06:57.600><c> it</c>

00:06:57.749 --> 00:06:57.759 align:start position:0%
real exploit given the fact that it
 

00:06:57.759 --> 00:06:59.749 align:start position:0%
real exploit given the fact that it
needs<00:06:58.000><c> to</c><00:06:58.080><c> be</c><00:06:58.240><c> capable</c><00:06:58.639><c> of</c><00:06:58.960><c> reliably</c><00:06:59.440><c> shaping</c>

00:06:59.749 --> 00:06:59.759 align:start position:0%
needs to be capable of reliably shaping
 

00:06:59.759 --> 00:07:01.909 align:start position:0%
needs to be capable of reliably shaping
the<00:06:59.919><c> heap</c><00:07:00.319><c> on</c><00:07:00.560><c> a</c><00:07:00.720><c> real</c><00:07:00.960><c> target</c><00:07:01.280><c> process</c><00:07:01.680><c> on</c>

00:07:01.909 --> 00:07:01.919 align:start position:0%
the heap on a real target process on
 

00:07:01.919 --> 00:07:04.070 align:start position:0%
the heap on a real target process on
every<00:07:02.160><c> attempt.</c><00:07:02.960><c> For</c><00:07:03.120><c> example,</c><00:07:03.440><c> in</c><00:07:03.680><c> my</c><00:07:03.840><c> test</c>

00:07:04.070 --> 00:07:04.080 align:start position:0%
every attempt. For example, in my test
 

00:07:04.080 --> 00:07:05.670 align:start position:0%
every attempt. For example, in my test
environment,<00:07:04.560><c> this</c><00:07:04.800><c> extra</c><00:07:05.199><c> two</c><00:07:05.440><c> block</c>

00:07:05.670 --> 00:07:05.680 align:start position:0%
environment, this extra two block
 

00:07:05.680 --> 00:07:07.589 align:start position:0%
environment, this extra two block
allocation<00:07:06.240><c> kept</c><00:07:06.479><c> appearing</c><00:07:06.880><c> from</c><00:07:07.039><c> nowhere</c>

00:07:07.589 --> 00:07:07.599 align:start position:0%
allocation kept appearing from nowhere
 

00:07:07.599 --> 00:07:09.670 align:start position:0%
allocation kept appearing from nowhere
and<00:07:07.919><c> was</c><00:07:08.160><c> interfering</c><00:07:08.560><c> with</c><00:07:08.720><c> the</c><00:07:08.960><c> layout.</c>

00:07:09.670 --> 00:07:09.680 align:start position:0%
and was interfering with the layout.
 

00:07:09.680 --> 00:07:11.110 align:start position:0%
and was interfering with the layout.
This<00:07:09.919><c> was</c><00:07:10.000><c> probably</c><00:07:10.240><c> some</c><00:07:10.400><c> other</c><00:07:10.639><c> allocation</c>

00:07:11.110 --> 00:07:11.120 align:start position:0%
This was probably some other allocation
 

00:07:11.120 --> 00:07:13.029 align:start position:0%
This was probably some other allocation
made<00:07:11.440><c> during</c><00:07:11.759><c> the</c><00:07:11.919><c> process</c><00:07:12.160><c> of</c><00:07:12.400><c> creating</c><00:07:12.720><c> core</c>

00:07:13.029 --> 00:07:13.039 align:start position:0%
made during the process of creating core
 

00:07:13.039 --> 00:07:14.629 align:start position:0%
made during the process of creating core
foundation<00:07:13.440><c> objects,</c><00:07:14.160><c> but</c><00:07:14.319><c> I</c><00:07:14.479><c> couldn't</c>

00:07:14.629 --> 00:07:14.639 align:start position:0%
foundation objects, but I couldn't
 

00:07:14.639 --> 00:07:15.909 align:start position:0%
foundation objects, but I couldn't
really<00:07:14.800><c> be</c><00:07:14.960><c> bothered</c><00:07:15.120><c> to</c><00:07:15.280><c> debug</c><00:07:15.599><c> it</c><00:07:15.759><c> too</c>

00:07:15.909 --> 00:07:15.919 align:start position:0%
really be bothered to debug it too
 

00:07:15.919 --> 00:07:17.830 align:start position:0%
really be bothered to debug it too
closely.<00:07:16.319><c> So</c><00:07:16.479><c> instead,</c><00:07:16.880><c> I</c><00:07:17.039><c> just</c><00:07:17.199><c> adjusted</c><00:07:17.599><c> the</c>

00:07:17.830 --> 00:07:17.840 align:start position:0%
closely. So instead, I just adjusted the
 

00:07:17.840 --> 00:07:19.189 align:start position:0%
closely. So instead, I just adjusted the
amount<00:07:18.000><c> of</c><00:07:18.160><c> blocks</c><00:07:18.479><c> used</c><00:07:18.720><c> by</c><00:07:18.800><c> the</c><00:07:18.960><c> other</c>

00:07:19.189 --> 00:07:19.199 align:start position:0%
amount of blocks used by the other
 

00:07:19.199 --> 00:07:20.629 align:start position:0%
amount of blocks used by the other
allocations<00:07:19.759><c> to</c><00:07:20.000><c> make</c><00:07:20.080><c> sure</c><00:07:20.240><c> that</c><00:07:20.479><c> the</c>

00:07:20.629 --> 00:07:20.639 align:start position:0%
allocations to make sure that the
 

00:07:20.639 --> 00:07:22.629 align:start position:0%
allocations to make sure that the
calculations<00:07:21.280><c> worked</c><00:07:21.520><c> out.</c><00:07:22.160><c> So</c><00:07:22.319><c> with</c><00:07:22.479><c> the</c>

00:07:22.629 --> 00:07:22.639 align:start position:0%
calculations worked out. So with the
 

00:07:22.639 --> 00:07:24.230 align:start position:0%
calculations worked out. So with the
heap<00:07:22.960><c> layout</c><00:07:23.199><c> under</c><00:07:23.360><c> our</c><00:07:23.599><c> control,</c><00:07:23.919><c> we</c><00:07:24.160><c> can</c>

00:07:24.230 --> 00:07:24.240 align:start position:0%
heap layout under our control, we can
 

00:07:24.240 --> 00:07:26.390 align:start position:0%
heap layout under our control, we can
move<00:07:24.400><c> on</c><00:07:24.560><c> to</c><00:07:24.800><c> stage</c><00:07:25.120><c> two,</c><00:07:25.599><c> triggering</c><00:07:26.000><c> the</c><00:07:26.160><c> bug</c>

00:07:26.390 --> 00:07:26.400 align:start position:0%
move on to stage two, triggering the bug
 

00:07:26.400 --> 00:07:27.990 align:start position:0%
move on to stage two, triggering the bug
itself.<00:07:27.039><c> By</c><00:07:27.199><c> the</c><00:07:27.360><c> way,</c><00:07:27.440><c> if</c><00:07:27.599><c> you've</c><00:07:27.759><c> made</c><00:07:27.840><c> it</c>

00:07:27.990 --> 00:07:28.000 align:start position:0%
itself. By the way, if you've made it
 

00:07:28.000 --> 00:07:29.350 align:start position:0%
itself. By the way, if you've made it
this<00:07:28.160><c> far</c><00:07:28.319><c> into</c><00:07:28.479><c> the</c><00:07:28.639><c> video</c><00:07:28.800><c> and</c><00:07:29.039><c> appreciate</c>

00:07:29.350 --> 00:07:29.360 align:start position:0%
this far into the video and appreciate
 

00:07:29.360 --> 00:07:30.790 align:start position:0%
this far into the video and appreciate
the<00:07:29.599><c> research</c><00:07:29.919><c> effort</c><00:07:30.160><c> that</c><00:07:30.400><c> goes</c><00:07:30.560><c> into</c>

00:07:30.790 --> 00:07:30.800 align:start position:0%
the research effort that goes into
 

00:07:30.800 --> 00:07:32.790 align:start position:0%
the research effort that goes into
making<00:07:31.120><c> this</c><00:07:31.360><c> type</c><00:07:31.520><c> of</c><00:07:31.680><c> technical</c><00:07:32.080><c> content,</c>

00:07:32.790 --> 00:07:32.800 align:start position:0%
making this type of technical content,
 

00:07:32.800 --> 00:07:34.390 align:start position:0%
making this type of technical content,
consider<00:07:33.120><c> subscribing</c><00:07:33.599><c> and</c><00:07:33.840><c> leaving</c><00:07:34.080><c> a</c><00:07:34.240><c> like</c>

00:07:34.390 --> 00:07:34.400 align:start position:0%
consider subscribing and leaving a like
 

00:07:34.400 --> 00:07:36.469 align:start position:0%
consider subscribing and leaving a like
to<00:07:34.560><c> help</c><00:07:34.720><c> the</c><00:07:34.880><c> growth</c><00:07:35.039><c> of</c><00:07:35.199><c> this</c><00:07:35.440><c> channel.</c><00:07:36.080><c> As</c><00:07:36.319><c> I</c>

00:07:36.469 --> 00:07:36.479 align:start position:0%
to help the growth of this channel. As I
 

00:07:36.479 --> 00:07:38.550 align:start position:0%
to help the growth of this channel. As I
mentioned<00:07:36.720><c> before,</c><00:07:37.120><c> the</c><00:07:37.280><c> webpug</c><00:07:38.080><c> writes</c><00:07:38.400><c> the</c>

00:07:38.550 --> 00:07:38.560 align:start position:0%
mentioned before, the webpug writes the
 

00:07:38.560 --> 00:07:40.629 align:start position:0%
mentioned before, the webpug writes the
following<00:07:38.960><c> 32-bit</c><00:07:39.599><c> value</c><00:07:39.919><c> out</c><00:07:40.160><c> of</c><00:07:40.319><c> bounds</c>

00:07:40.629 --> 00:07:40.639 align:start position:0%
following 32-bit value out of bounds
 

00:07:40.639 --> 00:07:42.870 align:start position:0%
following 32-bit value out of bounds
from<00:07:40.800><c> the</c><00:07:40.960><c> Huffman</c><00:07:41.360><c> table</c><00:07:41.680><c> buffer</c><00:07:42.319><c> into</c><00:07:42.639><c> the</c>

00:07:42.870 --> 00:07:42.880 align:start position:0%
from the Huffman table buffer into the
 

00:07:42.880 --> 00:07:45.589 align:start position:0%
from the Huffman table buffer into the
adjacent<00:07:43.440><c> regions</c><00:07:44.000><c> metadata.</c><00:07:45.039><c> The</c><00:07:45.199><c> specific</c>

00:07:45.589 --> 00:07:45.599 align:start position:0%
adjacent regions metadata. The specific
 

00:07:45.599 --> 00:07:47.510 align:start position:0%
adjacent regions metadata. The specific
amount<00:07:45.759><c> of</c><00:07:45.919><c> padding</c><00:07:46.400><c> blocks</c><00:07:46.720><c> allocated</c><00:07:47.280><c> in</c>

00:07:47.510 --> 00:07:47.520 align:start position:0%
amount of padding blocks allocated in
 

00:07:47.520 --> 00:07:49.510 align:start position:0%
amount of padding blocks allocated in
the<00:07:47.680><c> second</c><00:07:47.919><c> small</c><00:07:48.240><c> region</c><00:07:48.880><c> result</c><00:07:49.199><c> in</c><00:07:49.360><c> the</c>

00:07:49.510 --> 00:07:49.520 align:start position:0%
the second small region result in the
 

00:07:49.520 --> 00:07:51.909 align:start position:0%
the second small region result in the
hex<00:07:50.000><c> 27</c><00:07:50.560><c> part</c><00:07:50.720><c> of</c><00:07:50.800><c> the</c><00:07:50.960><c> out-of-bounds</c><00:07:51.599><c> value</c>

00:07:51.909 --> 00:07:51.919 align:start position:0%
hex 27 part of the out-of-bounds value
 

00:07:51.919 --> 00:07:53.909 align:start position:0%
hex 27 part of the out-of-bounds value
to<00:07:52.160><c> be</c><00:07:52.240><c> written</c><00:07:52.639><c> exactly</c><00:07:53.199><c> over</c><00:07:53.440><c> the</c><00:07:53.759><c> first</c>

00:07:53.909 --> 00:07:53.919 align:start position:0%
to be written exactly over the first
 

00:07:53.919 --> 00:07:55.909 align:start position:0%
to be written exactly over the first
piece<00:07:54.160><c> of</c><00:07:54.319><c> metadata</c><00:07:54.960><c> for</c><00:07:55.199><c> the</c><00:07:55.360><c> three</c><00:07:55.680><c> block</c>

00:07:55.909 --> 00:07:55.919 align:start position:0%
piece of metadata for the three block
 

00:07:55.919 --> 00:07:57.749 align:start position:0%
piece of metadata for the three block
allocation,<00:07:56.560><c> the</c><00:07:56.800><c> one</c><00:07:57.039><c> used</c><00:07:57.280><c> for</c><00:07:57.520><c> code</c>

00:07:57.749 --> 00:07:57.759 align:start position:0%
allocation, the one used for code
 

00:07:57.759 --> 00:07:59.990 align:start position:0%
allocation, the one used for code
lengths.<00:07:58.800><c> This</c><00:07:59.120><c> subtle</c><00:07:59.440><c> change</c><00:07:59.680><c> to</c><00:07:59.919><c> the</c>

00:07:59.990 --> 00:08:00.000 align:start position:0%
lengths. This subtle change to the
 

00:08:00.000 --> 00:08:02.950 align:start position:0%
lengths. This subtle change to the
metadata<00:08:00.639><c> has</c><00:08:00.879><c> a</c><00:08:01.120><c> significant</c><00:08:01.680><c> impact.</c><00:08:02.720><c> Based</c>

00:08:02.950 --> 00:08:02.960 align:start position:0%
metadata has a significant impact. Based
 

00:08:02.960 --> 00:08:04.790 align:start position:0%
metadata has a significant impact. Based
on<00:08:03.120><c> the</c><00:08:03.280><c> allocation</c><00:08:03.759><c> and</c><00:08:03.919><c> free</c><00:08:04.400><c> mechanism</c>

00:08:04.790 --> 00:08:04.800 align:start position:0%
on the allocation and free mechanism
 

00:08:04.800 --> 00:08:06.710 align:start position:0%
on the allocation and free mechanism
that<00:08:04.960><c> we</c><00:08:05.199><c> discussed</c><00:08:05.759><c> from</c><00:08:06.000><c> the</c><00:08:06.160><c> allocators</c>

00:08:06.710 --> 00:08:06.720 align:start position:0%
that we discussed from the allocators
 

00:08:06.720 --> 00:08:08.550 align:start position:0%
that we discussed from the allocators
perspective,<00:08:07.199><c> the</c><00:08:07.360><c> code</c><00:08:07.680><c> lengths</c><00:08:08.000><c> array</c><00:08:08.319><c> now</c>

00:08:08.550 --> 00:08:08.560 align:start position:0%
perspective, the code lengths array now
 

00:08:08.560 --> 00:08:11.749 align:start position:0%
perspective, the code lengths array now
consists<00:08:08.960><c> of</c><00:08:09.199><c> 39</c><00:08:09.759><c> blocks,</c><00:08:10.639><c> not</c><00:08:10.800><c> just</c><00:08:11.039><c> three.</c>

00:08:11.749 --> 00:08:11.759 align:start position:0%
consists of 39 blocks, not just three.
 

00:08:11.759 --> 00:08:12.869 align:start position:0%
consists of 39 blocks, not just three.
If<00:08:11.919><c> you've</c><00:08:12.160><c> ever</c><00:08:12.319><c> done</c><00:08:12.479><c> any</c><00:08:12.639><c> kind</c><00:08:12.800><c> of</c>

00:08:12.869 --> 00:08:12.879 align:start position:0%
If you've ever done any kind of
 

00:08:12.879 --> 00:08:14.309 align:start position:0%
If you've ever done any kind of
exploitation,<00:08:13.520><c> then</c><00:08:13.680><c> you</c><00:08:13.840><c> can</c><00:08:14.000><c> probably</c><00:08:14.160><c> see</c>

00:08:14.309 --> 00:08:14.319 align:start position:0%
exploitation, then you can probably see
 

00:08:14.319 --> 00:08:16.150 align:start position:0%
exploitation, then you can probably see
where<00:08:14.560><c> this</c><00:08:14.720><c> is</c><00:08:14.879><c> going.</c><00:08:15.440><c> The</c><00:08:15.680><c> relevance</c><00:08:16.000><c> of</c>

00:08:16.150 --> 00:08:16.160 align:start position:0%
where this is going. The relevance of
 

00:08:16.160 --> 00:08:18.150 align:start position:0%
where this is going. The relevance of
the<00:08:16.319><c> code</c><00:08:16.560><c> lengths</c><00:08:16.960><c> allocation</c><00:08:17.520><c> also</c><00:08:17.759><c> isn't</c>

00:08:18.150 --> 00:08:18.160 align:start position:0%
the code lengths allocation also isn't
 

00:08:18.160 --> 00:08:20.230 align:start position:0%
the code lengths allocation also isn't
random.<00:08:18.879><c> The</c><00:08:19.039><c> attackers</c><00:08:19.520><c> understand</c><00:08:19.840><c> that</c><00:08:20.000><c> as</c>

00:08:20.230 --> 00:08:20.240 align:start position:0%
random. The attackers understand that as
 

00:08:20.240 --> 00:08:22.390 align:start position:0%
random. The attackers understand that as
soon<00:08:20.319><c> as</c><00:08:20.400><c> the</c><00:08:20.560><c> Huffman</c><00:08:20.960><c> decoding</c><00:08:21.520><c> fails,</c><00:08:22.160><c> the</c>

00:08:22.390 --> 00:08:22.400 align:start position:0%
soon as the Huffman decoding fails, the
 

00:08:22.400 --> 00:08:24.629 align:start position:0%
soon as the Huffman decoding fails, the
first<00:08:22.639><c> object</c><00:08:23.039><c> to</c><00:08:23.280><c> be</c><00:08:23.360><c> freed</c><00:08:23.759><c> is</c><00:08:24.000><c> in</c><00:08:24.160><c> fact</c><00:08:24.400><c> the</c>

00:08:24.629 --> 00:08:24.639 align:start position:0%
first object to be freed is in fact the
 

00:08:24.639 --> 00:08:26.469 align:start position:0%
first object to be freed is in fact the
code<00:08:24.879><c> lengths</c><00:08:25.199><c> array.</c><00:08:25.759><c> This</c><00:08:26.080><c> means</c><00:08:26.240><c> that</c>

00:08:26.469 --> 00:08:26.479 align:start position:0%
code lengths array. This means that
 

00:08:26.479 --> 00:08:27.670 align:start position:0%
code lengths array. This means that
shortly<00:08:26.800><c> after</c><00:08:27.120><c> performing</c><00:08:27.520><c> the</c>

00:08:27.670 --> 00:08:27.680 align:start position:0%
shortly after performing the
 

00:08:27.680 --> 00:08:29.670 align:start position:0%
shortly after performing the
out-of-bounds<00:08:28.240><c> write,</c><00:08:28.800><c> code</c><00:08:29.120><c> length</c><00:08:29.520><c> gets</c>

00:08:29.670 --> 00:08:29.680 align:start position:0%
out-of-bounds write, code length gets
 

00:08:29.680 --> 00:08:31.749 align:start position:0%
out-of-bounds write, code length gets
passed<00:08:29.919><c> to</c><00:08:30.160><c> free</c><00:08:30.560><c> and</c><00:08:30.800><c> the</c><00:08:31.039><c> allocator</c><00:08:31.520><c> sets</c>

00:08:31.749 --> 00:08:31.759 align:start position:0%
passed to free and the allocator sets
 

00:08:31.759 --> 00:08:33.190 align:start position:0%
passed to free and the allocator sets
the<00:08:31.919><c> free</c><00:08:32.159><c> bit</c><00:08:32.399><c> on</c><00:08:32.560><c> that</c><00:08:32.719><c> first</c><00:08:32.880><c> bit</c><00:08:33.039><c> of</c>

00:08:33.190 --> 00:08:33.200 align:start position:0%
the free bit on that first bit of
 

00:08:33.200 --> 00:08:35.430 align:start position:0%
the free bit on that first bit of
metadata.<00:08:34.080><c> Due</c><00:08:34.320><c> to</c><00:08:34.479><c> the</c><00:08:34.640><c> block</c><00:08:34.880><c> count</c><00:08:35.200><c> being</c>

00:08:35.430 --> 00:08:35.440 align:start position:0%
metadata. Due to the block count being
 

00:08:35.440 --> 00:08:38.310 align:start position:0%
metadata. Due to the block count being
modified<00:08:35.919><c> from</c><00:08:36.240><c> free</c><00:08:36.479><c> to</c><00:08:36.719><c> hex</c><00:08:37.120><c> 27,</c><00:08:38.080><c> this</c>

00:08:38.310 --> 00:08:38.320 align:start position:0%
modified from free to hex 27, this
 

00:08:38.320 --> 00:08:40.550 align:start position:0%
modified from free to hex 27, this
results<00:08:38.640><c> in</c><00:08:38.800><c> all</c><00:08:39.120><c> 39</c><00:08:39.599><c> blocks</c><00:08:40.000><c> being</c><00:08:40.159><c> freed</c>

00:08:40.550 --> 00:08:40.560 align:start position:0%
results in all 39 blocks being freed
 

00:08:40.560 --> 00:08:42.230 align:start position:0%
results in all 39 blocks being freed
back<00:08:40.719><c> to</c><00:08:40.800><c> the</c><00:08:40.959><c> allocator</c><00:08:41.599><c> and</c><00:08:41.839><c> ready</c><00:08:42.080><c> for</c>

00:08:42.230 --> 00:08:42.240 align:start position:0%
back to the allocator and ready for
 

00:08:42.240 --> 00:08:45.030 align:start position:0%
back to the allocator and ready for
reuse<00:08:42.640><c> by</c><00:08:42.959><c> subsequent</c><00:08:43.360><c> calls</c><00:08:43.680><c> to</c><00:08:43.760><c> Malo.</c><00:08:44.800><c> And</c>

00:08:45.030 --> 00:08:45.040 align:start position:0%
reuse by subsequent calls to Malo. And
 

00:08:45.040 --> 00:08:46.870 align:start position:0%
reuse by subsequent calls to Malo. And
of<00:08:45.200><c> course</c><00:08:45.440><c> included</c><00:08:45.839><c> in</c><00:08:46.080><c> those</c><00:08:46.240><c> free</c><00:08:46.480><c> blocks</c>

00:08:46.870 --> 00:08:46.880 align:start position:0%
of course included in those free blocks
 

00:08:46.880 --> 00:08:49.430 align:start position:0%
of course included in those free blocks
is<00:08:47.040><c> the</c><00:08:47.279><c> cf</c><00:08:47.680><c> set</c><00:08:48.000><c> backend</c><00:08:48.399><c> buffer.</c><00:08:49.200><c> The</c>

00:08:49.430 --> 00:08:49.440 align:start position:0%
is the cf set backend buffer. The
 

00:08:49.440 --> 00:08:51.030 align:start position:0%
is the cf set backend buffer. The
limited<00:08:49.920><c> out-of-bounds</c><00:08:50.480><c> write</c><00:08:50.720><c> that</c><00:08:50.880><c> we</c>

00:08:51.030 --> 00:08:51.040 align:start position:0%
limited out-of-bounds write that we
 

00:08:51.040 --> 00:08:53.030 align:start position:0%
limited out-of-bounds write that we
began<00:08:51.279><c> with</c><00:08:51.519><c> has</c><00:08:51.760><c> now</c><00:08:51.920><c> been</c><00:08:52.080><c> upgraded</c><00:08:52.560><c> to</c><00:08:52.800><c> a</c>

00:08:53.030 --> 00:08:53.040 align:start position:0%
began with has now been upgraded to a
 

00:08:53.040 --> 00:08:55.110 align:start position:0%
began with has now been upgraded to a
much<00:08:53.279><c> more</c><00:08:53.440><c> powerful</c><00:08:53.839><c> primitive,</c><00:08:54.480><c> a</c><00:08:54.800><c> classic</c>

00:08:55.110 --> 00:08:55.120 align:start position:0%
much more powerful primitive, a classic
 

00:08:55.120 --> 00:08:57.509 align:start position:0%
much more powerful primitive, a classic
use<00:08:55.360><c> after</c><00:08:55.760><c> free.</c><00:08:56.480><c> As</c><00:08:56.720><c> a</c><00:08:56.880><c> quick</c><00:08:57.040><c> side</c><00:08:57.200><c> note,</c>

00:08:57.509 --> 00:08:57.519 align:start position:0%
use after free. As a quick side note,
 

00:08:57.519 --> 00:08:59.110 align:start position:0%
use after free. As a quick side note,
allocations<00:08:58.000><c> in</c><00:08:58.160><c> the</c><00:08:58.320><c> small</c><00:08:58.560><c> region</c><00:08:58.880><c> are</c>

00:08:59.110 --> 00:08:59.120 align:start position:0%
allocations in the small region are
 

00:08:59.120 --> 00:09:01.590 align:start position:0%
allocations in the small region are
meant<00:08:59.279><c> to</c><00:08:59.440><c> be</c><00:08:59.600><c> only</c><00:08:59.920><c> 31</c><00:09:00.399><c> blocks</c><00:09:00.720><c> maximum.</c><00:09:01.440><c> And</c>

00:09:01.590 --> 00:09:01.600 align:start position:0%
meant to be only 31 blocks maximum. And
 

00:09:01.600 --> 00:09:04.150 align:start position:0%
meant to be only 31 blocks maximum. And
so<00:09:01.760><c> the</c><00:09:01.920><c> hex</c><00:09:02.320><c> 27</c><00:09:02.800><c> value,</c><00:09:03.120><c> which</c><00:09:03.279><c> is</c><00:09:03.519><c> 39</c><00:09:03.920><c> in</c>

00:09:04.150 --> 00:09:04.160 align:start position:0%
so the hex 27 value, which is 39 in
 

00:09:04.160 --> 00:09:06.310 align:start position:0%
so the hex 27 value, which is 39 in
decimal,<00:09:04.720><c> actually</c><00:09:05.040><c> goes</c><00:09:05.279><c> over</c><00:09:05.440><c> this</c><00:09:05.680><c> limit.</c>

00:09:06.310 --> 00:09:06.320 align:start position:0%
decimal, actually goes over this limit.
 

00:09:06.320 --> 00:09:07.990 align:start position:0%
decimal, actually goes over this limit.
When<00:09:06.560><c> calling</c><00:09:07.040><c> free</c><00:09:07.279><c> on</c><00:09:07.360><c> these</c><00:09:07.600><c> corrupted</c>

00:09:07.990 --> 00:09:08.000 align:start position:0%
When calling free on these corrupted
 

00:09:08.000 --> 00:09:09.590 align:start position:0%
When calling free on these corrupted
allocations,<00:09:08.560><c> I</c><00:09:08.720><c> actually</c><00:09:08.959><c> ended</c><00:09:09.200><c> up</c><00:09:09.360><c> seeing</c>

00:09:09.590 --> 00:09:09.600 align:start position:0%
allocations, I actually ended up seeing
 

00:09:09.600 --> 00:09:11.269 align:start position:0%
allocations, I actually ended up seeing
a<00:09:09.760><c> few</c><00:09:09.920><c> different</c><00:09:10.080><c> runtime</c><00:09:10.720><c> errors</c><00:09:10.880><c> from</c><00:09:11.120><c> the</c>

00:09:11.269 --> 00:09:11.279 align:start position:0%
a few different runtime errors from the
 

00:09:11.279 --> 00:09:12.949 align:start position:0%
a few different runtime errors from the
allocator,<00:09:12.000><c> which</c><00:09:12.240><c> was</c><00:09:12.399><c> breaking</c><00:09:12.800><c> my</c>

00:09:12.949 --> 00:09:12.959 align:start position:0%
allocator, which was breaking my
 

00:09:12.959 --> 00:09:15.110 align:start position:0%
allocator, which was breaking my
reimplementation<00:09:13.760><c> of</c><00:09:13.920><c> this</c><00:09:14.080><c> exploit.</c><00:09:14.720><c> Ian</c>

00:09:15.110 --> 00:09:15.120 align:start position:0%
reimplementation of this exploit. Ian
 

00:09:15.120 --> 00:09:16.710 align:start position:0%
reimplementation of this exploit. Ian
Beer<00:09:15.360><c> actually</c><00:09:15.600><c> acknowledges</c><00:09:16.080><c> this</c><00:09:16.320><c> point</c><00:09:16.480><c> in</c>

00:09:16.710 --> 00:09:16.720 align:start position:0%
Beer actually acknowledges this point in
 

00:09:16.720 --> 00:09:18.550 align:start position:0%
Beer actually acknowledges this point in
the<00:09:16.880><c> original</c><00:09:17.200><c> writeup,</c><00:09:17.920><c> but</c><00:09:18.080><c> he</c><00:09:18.240><c> says</c><00:09:18.399><c> that</c>

00:09:18.550 --> 00:09:18.560 align:start position:0%
the original writeup, but he says that
 

00:09:18.560 --> 00:09:20.630 align:start position:0%
the original writeup, but he says that
the<00:09:18.720><c> amount</c><00:09:18.959><c> of</c><00:09:19.120><c> blocks</c><00:09:19.440><c> used</c><00:09:19.760><c> is</c><00:09:20.080><c> not</c><00:09:20.240><c> always</c>

00:09:20.630 --> 00:09:20.640 align:start position:0%
the amount of blocks used is not always
 

00:09:20.640 --> 00:09:22.630 align:start position:0%
the amount of blocks used is not always
checked<00:09:20.959><c> on</c><00:09:21.200><c> every</c><00:09:21.519><c> free</c><00:09:21.920><c> path.</c><00:09:22.399><c> So</c>

00:09:22.630 --> 00:09:22.640 align:start position:0%
checked on every free path. So
 

00:09:22.640 --> 00:09:24.310 align:start position:0%
checked on every free path. So
presumably<00:09:23.120><c> the</c><00:09:23.360><c> attackers</c><00:09:23.760><c> triggered</c><00:09:24.080><c> a</c>

00:09:24.310 --> 00:09:24.320 align:start position:0%
presumably the attackers triggered a
 

00:09:24.320 --> 00:09:26.070 align:start position:0%
presumably the attackers triggered a
different<00:09:24.560><c> kind</c><00:09:24.720><c> of</c><00:09:24.880><c> free</c><00:09:25.200><c> path</c><00:09:25.519><c> that</c><00:09:25.839><c> managed</c>

00:09:26.070 --> 00:09:26.080 align:start position:0%
different kind of free path that managed
 

00:09:26.080 --> 00:09:27.750 align:start position:0%
different kind of free path that managed
to<00:09:26.240><c> avoid</c><00:09:26.560><c> this</c><00:09:26.800><c> check.</c><00:09:27.200><c> I</c><00:09:27.360><c> couldn't</c><00:09:27.519><c> get</c><00:09:27.600><c> this</c>

00:09:27.750 --> 00:09:27.760 align:start position:0%
to avoid this check. I couldn't get this
 

00:09:27.760 --> 00:09:29.350 align:start position:0%
to avoid this check. I couldn't get this
to<00:09:27.920><c> work</c><00:09:28.000><c> on</c><00:09:28.160><c> my</c><00:09:28.320><c> end,</c><00:09:28.560><c> however.</c><00:09:28.880><c> So</c><00:09:29.040><c> instead,</c>

00:09:29.350 --> 00:09:29.360 align:start position:0%
to work on my end, however. So instead,
 

00:09:29.360 --> 00:09:30.949 align:start position:0%
to work on my end, however. So instead,
for<00:09:29.600><c> my</c><00:09:29.760><c> research,</c><00:09:30.080><c> I</c><00:09:30.320><c> just</c><00:09:30.480><c> decided</c><00:09:30.800><c> to</c>

00:09:30.949 --> 00:09:30.959 align:start position:0%
for my research, I just decided to
 

00:09:30.959 --> 00:09:32.949 align:start position:0%
for my research, I just decided to
corrupt<00:09:31.279><c> the</c><00:09:31.440><c> value</c><00:09:31.760><c> to</c><00:09:32.000><c> a</c><00:09:32.240><c> value</c><00:09:32.480><c> less</c><00:09:32.720><c> than</c>

00:09:32.949 --> 00:09:32.959 align:start position:0%
corrupt the value to a value less than
 

00:09:32.959 --> 00:09:35.750 align:start position:0%
corrupt the value to a value less than
31<00:09:33.440><c> instead</c><00:09:34.000><c> to</c><00:09:34.320><c> bypass</c><00:09:34.720><c> this</c><00:09:34.959><c> issue.</c><00:09:35.600><c> The</c>

00:09:35.750 --> 00:09:35.760 align:start position:0%
31 instead to bypass this issue. The
 

00:09:35.760 --> 00:09:37.509 align:start position:0%
31 instead to bypass this issue. The
core<00:09:36.000><c> exploit</c><00:09:36.399><c> strategy</c><00:09:36.720><c> and</c><00:09:36.959><c> principles</c><00:09:37.360><c> are</c>

00:09:37.509 --> 00:09:37.519 align:start position:0%
core exploit strategy and principles are
 

00:09:37.519 --> 00:09:39.190 align:start position:0%
core exploit strategy and principles are
exactly<00:09:37.839><c> the</c><00:09:38.000><c> same.</c><00:09:38.160><c> However,</c><00:09:38.720><c> at</c><00:09:38.959><c> this</c><00:09:39.120><c> point</c>

00:09:39.190 --> 00:09:39.200 align:start position:0%
exactly the same. However, at this point
 

00:09:39.200 --> 00:09:41.030 align:start position:0%
exactly the same. However, at this point
in<00:09:39.360><c> the</c><00:09:39.519><c> parsing</c><00:09:39.920><c> process</c><00:09:40.240><c> of</c><00:09:40.399><c> the</c><00:09:40.560><c> incoming</c>

00:09:41.030 --> 00:09:41.040 align:start position:0%
in the parsing process of the incoming
 

00:09:41.040 --> 00:09:43.509 align:start position:0%
in the parsing process of the incoming
PK<00:09:41.440><c> pass</c><00:09:41.760><c> file,</c><00:09:42.160><c> the</c><00:09:42.320><c> Huffman</c><00:09:42.800><c> table</c><00:09:43.040><c> decoding</c>

00:09:43.509 --> 00:09:43.519 align:start position:0%
PK pass file, the Huffman table decoding
 

00:09:43.519 --> 00:09:45.590 align:start position:0%
PK pass file, the Huffman table decoding
has<00:09:43.760><c> exited</c><00:09:44.160><c> with</c><00:09:44.320><c> an</c><00:09:44.560><c> error</c><00:09:44.720><c> due</c><00:09:44.880><c> to</c><00:09:45.040><c> the</c><00:09:45.200><c> bug.</c>

00:09:45.590 --> 00:09:45.600 align:start position:0%
has exited with an error due to the bug.
 

00:09:45.600 --> 00:09:47.110 align:start position:0%
has exited with an error due to the bug.
But<00:09:45.680><c> there</c><00:09:45.839><c> are</c><00:09:46.000><c> still</c><00:09:46.160><c> other</c><00:09:46.480><c> components</c><00:09:46.880><c> to</c>

00:09:47.110 --> 00:09:47.120 align:start position:0%
But there are still other components to
 

00:09:47.120 --> 00:09:49.269 align:start position:0%
But there are still other components to
be<00:09:47.200><c> passed</c><00:09:47.839><c> and</c><00:09:48.080><c> these</c><00:09:48.320><c> components</c><00:09:48.880><c> trigger</c>

00:09:49.269 --> 00:09:49.279 align:start position:0%
be passed and these components trigger
 

00:09:49.279 --> 00:09:51.110 align:start position:0%
be passed and these components trigger
further<00:09:49.680><c> allocations</c><00:09:50.160><c> on</c><00:09:50.320><c> the</c><00:09:50.399><c> heap.</c><00:09:50.959><c> The</c>

00:09:51.110 --> 00:09:51.120 align:start position:0%
further allocations on the heap. The
 

00:09:51.120 --> 00:09:53.030 align:start position:0%
further allocations on the heap. The
next<00:09:51.360><c> allocation</c><00:09:51.839><c> made</c><00:09:52.080><c> by</c><00:09:52.240><c> the</c><00:09:52.399><c> attackers</c><00:09:52.880><c> is</c>

00:09:53.030 --> 00:09:53.040 align:start position:0%
next allocation made by the attackers is
 

00:09:53.040 --> 00:09:54.870 align:start position:0%
next allocation made by the attackers is
a<00:09:53.279><c> large</c><00:09:53.600><c> allocation</c><00:09:54.160><c> mostly</c><00:09:54.480><c> containing</c>

00:09:54.870 --> 00:09:54.880 align:start position:0%
a large allocation mostly containing
 

00:09:54.880 --> 00:09:56.949 align:start position:0%
a large allocation mostly containing
nulles.<00:09:55.760><c> It</c><00:09:55.920><c> reallocates</c><00:09:56.560><c> all</c><00:09:56.720><c> of</c><00:09:56.800><c> the</c>

00:09:56.949 --> 00:09:56.959 align:start position:0%
nulles. It reallocates all of the
 

00:09:56.959 --> 00:09:58.710 align:start position:0%
nulles. It reallocates all of the
recently<00:09:57.360><c> freed</c><00:09:57.680><c> blocks</c><00:09:58.160><c> including</c><00:09:58.480><c> the</c>

00:09:58.710 --> 00:09:58.720 align:start position:0%
recently freed blocks including the
 

00:09:58.720 --> 00:10:01.030 align:start position:0%
recently freed blocks including the
blocks<00:09:59.040><c> used</c><00:09:59.279><c> by</c><00:09:59.440><c> the</c><00:09:59.600><c> CF</c><00:09:59.920><c> set</c><00:10:00.080><c> backing</c><00:10:00.480><c> buffer</c>

00:10:01.030 --> 00:10:01.040 align:start position:0%
blocks used by the CF set backing buffer
 

00:10:01.040 --> 00:10:02.870 align:start position:0%
blocks used by the CF set backing buffer
which<00:10:01.279><c> by</c><00:10:01.440><c> the</c><00:10:01.519><c> way</c><00:10:01.680><c> the</c><00:10:01.839><c> CFS</c><00:10:02.240><c> set</c><00:10:02.480><c> object</c><00:10:02.720><c> that</c>

00:10:02.870 --> 00:10:02.880 align:start position:0%
which by the way the CFS set object that
 

00:10:02.880 --> 00:10:04.630 align:start position:0%
which by the way the CFS set object that
it's<00:10:03.120><c> associated</c><00:10:03.600><c> with</c><00:10:03.920><c> has</c><00:10:04.160><c> no</c><00:10:04.320><c> idea</c>

00:10:04.630 --> 00:10:04.640 align:start position:0%
it's associated with has no idea
 

00:10:04.640 --> 00:10:06.310 align:start position:0%
it's associated with has no idea
anything<00:10:04.959><c> has</c><00:10:05.200><c> happened</c><00:10:05.440><c> to</c><00:10:05.680><c> its</c><00:10:05.839><c> backing</c>

00:10:06.310 --> 00:10:06.320 align:start position:0%
anything has happened to its backing
 

00:10:06.320 --> 00:10:07.750 align:start position:0%
anything has happened to its backing
storage.<00:10:06.720><c> Let's</c><00:10:06.959><c> take</c><00:10:07.120><c> a</c><00:10:07.279><c> quick</c><00:10:07.440><c> step</c><00:10:07.600><c> back</c>

00:10:07.750 --> 00:10:07.760 align:start position:0%
storage. Let's take a quick step back
 

00:10:07.760 --> 00:10:09.829 align:start position:0%
storage. Let's take a quick step back
and<00:10:08.000><c> understand</c><00:10:08.399><c> exactly</c><00:10:08.800><c> what</c><00:10:08.959><c> a</c><00:10:09.120><c> CF</c><00:10:09.519><c> set</c><00:10:09.680><c> is</c>

00:10:09.829 --> 00:10:09.839 align:start position:0%
and understand exactly what a CF set is
 

00:10:09.839 --> 00:10:12.150 align:start position:0%
and understand exactly what a CF set is
and<00:10:10.080><c> how</c><00:10:10.240><c> the</c><00:10:10.399><c> attackers</c><00:10:10.880><c> plan</c><00:10:11.040><c> to</c><00:10:11.200><c> use</c><00:10:11.360><c> it.</c><00:10:11.920><c> A</c>

00:10:12.150 --> 00:10:12.160 align:start position:0%
and how the attackers plan to use it. A
 

00:10:12.160 --> 00:10:14.310 align:start position:0%
and how the attackers plan to use it. A
CF<00:10:12.560><c> set</c><00:10:12.800><c> is</c><00:10:12.959><c> a</c><00:10:13.120><c> core</c><00:10:13.360><c> foundation</c><00:10:13.839><c> object</c>

00:10:14.310 --> 00:10:14.320 align:start position:0%
CF set is a core foundation object
 

00:10:14.320 --> 00:10:16.630 align:start position:0%
CF set is a core foundation object
representing<00:10:14.880><c> a</c><00:10:15.120><c> set.</c><00:10:15.600><c> A</c><00:10:15.839><c> set</c><00:10:16.079><c> can</c><00:10:16.320><c> contain</c>

00:10:16.630 --> 00:10:16.640 align:start position:0%
representing a set. A set can contain
 

00:10:16.640 --> 00:10:18.310 align:start position:0%
representing a set. A set can contain
multiple<00:10:17.120><c> pointers</c><00:10:17.519><c> to</c><00:10:17.760><c> other</c><00:10:18.000><c> core</c>

00:10:18.310 --> 00:10:18.320 align:start position:0%
multiple pointers to other core
 

00:10:18.320 --> 00:10:20.069 align:start position:0%
multiple pointers to other core
foundation<00:10:18.800><c> objects.</c><00:10:19.440><c> These</c><00:10:19.680><c> object</c>

00:10:20.069 --> 00:10:20.079 align:start position:0%
foundation objects. These object
 

00:10:20.079 --> 00:10:21.910 align:start position:0%
foundation objects. These object
pointers<00:10:20.480><c> are</c><00:10:20.640><c> stored</c><00:10:20.959><c> in</c><00:10:21.120><c> the</c><00:10:21.279><c> set's</c><00:10:21.600><c> backing</c>

00:10:21.910 --> 00:10:21.920 align:start position:0%
pointers are stored in the set's backing
 

00:10:21.920 --> 00:10:23.350 align:start position:0%
pointers are stored in the set's backing
buffer,<00:10:22.320><c> the</c><00:10:22.560><c> part</c><00:10:22.640><c> of</c><00:10:22.800><c> the</c><00:10:22.880><c> memory</c><00:10:23.200><c> which</c>

00:10:23.350 --> 00:10:23.360 align:start position:0%
buffer, the part of the memory which
 

00:10:23.360 --> 00:10:25.509 align:start position:0%
buffer, the part of the memory which
we've<00:10:23.600><c> managed</c><00:10:23.839><c> to</c><00:10:24.079><c> free.</c><00:10:24.800><c> In</c><00:10:24.959><c> my</c><00:10:25.120><c> case,</c><00:10:25.360><c> I</c>

00:10:25.509 --> 00:10:25.519 align:start position:0%
we've managed to free. In my case, I
 

00:10:25.519 --> 00:10:27.430 align:start position:0%
we've managed to free. In my case, I
filled<00:10:25.760><c> the</c><00:10:25.920><c> CF</c><00:10:26.240><c> set</c><00:10:26.399><c> with</c><00:10:26.560><c> some</c><00:10:26.720><c> simple</c><00:10:27.040><c> CF</c>

00:10:27.430 --> 00:10:27.440 align:start position:0%
filled the CF set with some simple CF
 

00:10:27.440 --> 00:10:29.590 align:start position:0%
filled the CF set with some simple CF
data<00:10:27.680><c> objects.</c><00:10:28.399><c> Since</c><00:10:28.640><c> we've</c><00:10:28.880><c> now</c><00:10:29.120><c> gained</c><00:10:29.360><c> the</c>

00:10:29.590 --> 00:10:29.600 align:start position:0%
data objects. Since we've now gained the
 

00:10:29.600 --> 00:10:31.509 align:start position:0%
data objects. Since we've now gained the
ability<00:10:29.920><c> to</c><00:10:30.160><c> reallocate</c><00:10:30.800><c> over</c><00:10:30.959><c> the</c><00:10:31.200><c> backing</c>

00:10:31.509 --> 00:10:31.519 align:start position:0%
ability to reallocate over the backing
 

00:10:31.519 --> 00:10:33.750 align:start position:0%
ability to reallocate over the backing
buffers<00:10:31.920><c> memory,</c><00:10:32.480><c> we</c><00:10:32.720><c> can</c><00:10:32.880><c> theoretically</c><00:10:33.519><c> put</c>

00:10:33.750 --> 00:10:33.760 align:start position:0%
buffers memory, we can theoretically put
 

00:10:33.760 --> 00:10:35.829 align:start position:0%
buffers memory, we can theoretically put
fake<00:10:34.079><c> object</c><00:10:34.480><c> pointers</c><00:10:34.880><c> here</c><00:10:35.279><c> and</c><00:10:35.519><c> then</c><00:10:35.680><c> make</c>

00:10:35.829 --> 00:10:35.839 align:start position:0%
fake object pointers here and then make
 

00:10:35.839 --> 00:10:38.150 align:start position:0%
fake object pointers here and then make
the<00:10:36.000><c> CF</c><00:10:36.399><c> set</c><00:10:36.640><c> use</c><00:10:36.880><c> them.</c><00:10:37.519><c> However,</c><00:10:37.839><c> we</c><00:10:38.079><c> don't</c>

00:10:38.150 --> 00:10:38.160 align:start position:0%
the CF set use them. However, we don't
 

00:10:38.160 --> 00:10:39.670 align:start position:0%
the CF set use them. However, we don't
really<00:10:38.320><c> know</c><00:10:38.480><c> the</c><00:10:38.720><c> exact</c><00:10:39.040><c> location</c><00:10:39.360><c> on</c><00:10:39.600><c> the</c>

00:10:39.670 --> 00:10:39.680 align:start position:0%
really know the exact location on the
 

00:10:39.680 --> 00:10:41.670 align:start position:0%
really know the exact location on the
heap<00:10:40.000><c> of</c><00:10:40.160><c> anything</c><00:10:40.399><c> that</c><00:10:40.640><c> we</c><00:10:40.800><c> can</c><00:10:40.959><c> control.</c>

00:10:41.670 --> 00:10:41.680 align:start position:0%
heap of anything that we can control.
 

00:10:41.680 --> 00:10:42.790 align:start position:0%
heap of anything that we can control.
So,<00:10:41.839><c> this</c><00:10:42.000><c> isn't</c><00:10:42.240><c> actually</c><00:10:42.480><c> the</c><00:10:42.640><c> best</c>

00:10:42.790 --> 00:10:42.800 align:start position:0%
So, this isn't actually the best
 

00:10:42.800 --> 00:10:44.949 align:start position:0%
So, this isn't actually the best
approach.<00:10:43.519><c> Instead,</c><00:10:44.000><c> we</c><00:10:44.240><c> can</c><00:10:44.320><c> leverage</c><00:10:44.720><c> the</c>

00:10:44.949 --> 00:10:44.959 align:start position:0%
approach. Instead, we can leverage the
 

00:10:44.959 --> 00:10:46.710 align:start position:0%
approach. Instead, we can leverage the
fact<00:10:45.120><c> that</c><00:10:45.360><c> there</c><00:10:45.519><c> are</c><00:10:45.760><c> already</c><00:10:46.240><c> legit</c>

00:10:46.710 --> 00:10:46.720 align:start position:0%
fact that there are already legit
 

00:10:46.720 --> 00:10:48.710 align:start position:0%
fact that there are already legit
pointers<00:10:47.120><c> in</c><00:10:47.279><c> the</c><00:10:47.440><c> set</c><00:10:48.000><c> and</c><00:10:48.240><c> we</c><00:10:48.399><c> can</c><00:10:48.560><c> just</c>

00:10:48.710 --> 00:10:48.720 align:start position:0%
pointers in the set and we can just
 

00:10:48.720 --> 00:10:51.110 align:start position:0%
pointers in the set and we can just
partially<00:10:49.200><c> modify</c><00:10:49.680><c> them</c><00:10:49.839><c> instead.</c><00:10:50.720><c> Pointers</c>

00:10:51.110 --> 00:10:51.120 align:start position:0%
partially modify them instead. Pointers
 

00:10:51.120 --> 00:10:53.350 align:start position:0%
partially modify them instead. Pointers
are<00:10:51.360><c> stored</c><00:10:51.600><c> in</c><00:10:51.839><c> memory</c><00:10:52.240><c> in</c><00:10:52.640><c> reverse</c><00:10:53.120><c> byte</c>

00:10:53.350 --> 00:10:53.360 align:start position:0%
are stored in memory in reverse byte
 

00:10:53.360 --> 00:10:55.350 align:start position:0%
are stored in memory in reverse byte
order<00:10:53.760><c> due</c><00:10:53.920><c> to</c><00:10:54.079><c> the</c><00:10:54.320><c> little</c><00:10:54.640><c> Indian</c><00:10:55.040><c> nature</c><00:10:55.200><c> of</c>

00:10:55.350 --> 00:10:55.360 align:start position:0%
order due to the little Indian nature of
 

00:10:55.360 --> 00:10:57.670 align:start position:0%
order due to the little Indian nature of
iOS.<00:10:56.320><c> This</c><00:10:56.560><c> means</c><00:10:56.800><c> that</c><00:10:56.959><c> we</c><00:10:57.120><c> can</c><00:10:57.279><c> overwrite</c>

00:10:57.670 --> 00:10:57.680 align:start position:0%
iOS. This means that we can overwrite
 

00:10:57.680 --> 00:10:59.430 align:start position:0%
iOS. This means that we can overwrite
just<00:10:57.920><c> a</c><00:10:58.160><c> few</c><00:10:58.240><c> of</c><00:10:58.399><c> the</c><00:10:58.560><c> least</c><00:10:58.880><c> significant</c>

00:10:59.430 --> 00:10:59.440 align:start position:0%
just a few of the least significant
 

00:10:59.440 --> 00:11:01.430 align:start position:0%
just a few of the least significant
bytes<00:10:59.680><c> of</c><00:10:59.839><c> an</c><00:11:00.000><c> object</c><00:11:00.240><c> pointer</c><00:11:00.800><c> with</c><00:11:01.040><c> null</c>

00:11:01.430 --> 00:11:01.440 align:start position:0%
bytes of an object pointer with null
 

00:11:01.440 --> 00:11:03.430 align:start position:0%
bytes of an object pointer with null
values.<00:11:02.160><c> This</c><00:11:02.399><c> will</c><00:11:02.560><c> change</c><00:11:02.880><c> the</c><00:11:03.120><c> location</c>

00:11:03.430 --> 00:11:03.440 align:start position:0%
values. This will change the location
 

00:11:03.440 --> 00:11:05.590 align:start position:0%
values. This will change the location
that<00:11:03.680><c> that</c><00:11:03.920><c> pointer</c><00:11:04.240><c> is</c><00:11:04.399><c> pointing</c><00:11:04.800><c> to</c><00:11:05.279><c> while</c>

00:11:05.590 --> 00:11:05.600 align:start position:0%
that that pointer is pointing to while
 

00:11:05.600 --> 00:11:07.430 align:start position:0%
that that pointer is pointing to while
preserving<00:11:06.079><c> the</c><00:11:06.240><c> upper</c><00:11:06.480><c> bits</c><00:11:06.880><c> which</c><00:11:07.120><c> keeps</c><00:11:07.279><c> us</c>

00:11:07.430 --> 00:11:07.440 align:start position:0%
preserving the upper bits which keeps us
 

00:11:07.440 --> 00:11:09.350 align:start position:0%
preserving the upper bits which keeps us
within<00:11:07.680><c> a</c><00:11:07.839><c> legitimate</c><00:11:08.320><c> addressable</c><00:11:08.880><c> range.</c>

00:11:09.350 --> 00:11:09.360 align:start position:0%
within a legitimate addressable range.
 

00:11:09.360 --> 00:11:10.710 align:start position:0%
within a legitimate addressable range.
For<00:11:09.519><c> example,</c><00:11:09.839><c> if</c><00:11:10.000><c> we</c><00:11:10.160><c> have</c><00:11:10.240><c> the</c><00:11:10.399><c> following</c>

00:11:10.710 --> 00:11:10.720 align:start position:0%
For example, if we have the following
 

00:11:10.720 --> 00:11:12.870 align:start position:0%
For example, if we have the following
pointer<00:11:11.120><c> and</c><00:11:11.360><c> we</c><00:11:11.519><c> overwrite</c><00:11:12.000><c> its</c><00:11:12.240><c> three</c><00:11:12.560><c> least</c>

00:11:12.870 --> 00:11:12.880 align:start position:0%
pointer and we overwrite its three least
 

00:11:12.880 --> 00:11:14.630 align:start position:0%
pointer and we overwrite its three least
significant<00:11:13.360><c> bytes</c><00:11:13.680><c> with</c><00:11:13.839><c> nulls,</c><00:11:14.320><c> we</c><00:11:14.560><c> are</c>

00:11:14.630 --> 00:11:14.640 align:start position:0%
significant bytes with nulls, we are
 

00:11:14.640 --> 00:11:17.509 align:start position:0%
significant bytes with nulls, we are
left<00:11:14.800><c> with</c><00:11:15.040><c> hex</c><00:11:15.680><c> 145</c><00:11:16.160><c> and</c><00:11:16.399><c> then</c><00:11:16.640><c> six</c><00:11:16.880><c> zeros,</c>

00:11:17.509 --> 00:11:17.519 align:start position:0%
left with hex 145 and then six zeros,
 

00:11:17.519 --> 00:11:19.269 align:start position:0%
left with hex 145 and then six zeros,
which<00:11:17.760><c> is</c><00:11:17.920><c> actually</c><00:11:18.320><c> still</c><00:11:18.720><c> addressable</c>

00:11:19.269 --> 00:11:19.279 align:start position:0%
which is actually still addressable
 

00:11:19.279 --> 00:11:21.430 align:start position:0%
which is actually still addressable
memory<00:11:19.839><c> just</c><00:11:20.079><c> much</c><00:11:20.320><c> much</c><00:11:20.640><c> earlier</c><00:11:21.040><c> in</c><00:11:21.279><c> the</c>

00:11:21.430 --> 00:11:21.440 align:start position:0%
memory just much much earlier in the
 

00:11:21.440 --> 00:11:23.110 align:start position:0%
memory just much much earlier in the
address<00:11:21.680><c> space.</c><00:11:22.399><c> Something</c><00:11:22.640><c> I</c><00:11:22.880><c> didn't</c>

00:11:23.110 --> 00:11:23.120 align:start position:0%
address space. Something I didn't
 

00:11:23.120 --> 00:11:24.790 align:start position:0%
address space. Something I didn't
mention<00:11:23.440><c> before</c><00:11:23.680><c> in</c><00:11:23.839><c> the</c><00:11:24.000><c> heap</c><00:11:24.320><c> spray</c><00:11:24.560><c> stage</c>

00:11:24.790 --> 00:11:24.800 align:start position:0%
mention before in the heap spray stage
 

00:11:24.800 --> 00:11:26.710 align:start position:0%
mention before in the heap spray stage
is<00:11:24.959><c> that</c><00:11:25.040><c> the</c><00:11:25.200><c> attackers</c><00:11:25.680><c> also</c><00:11:26.000><c> prepared</c><00:11:26.399><c> some</c>

00:11:26.710 --> 00:11:26.720 align:start position:0%
is that the attackers also prepared some
 

00:11:26.720 --> 00:11:28.790 align:start position:0%
is that the attackers also prepared some
controlled<00:11:27.120><c> data</c><00:11:27.519><c> at</c><00:11:27.760><c> this</c><00:11:27.920><c> very</c><00:11:28.160><c> address.</c>

00:11:28.790 --> 00:11:28.800 align:start position:0%
controlled data at this very address.
 

00:11:28.800 --> 00:11:30.949 align:start position:0%
controlled data at this very address.
They<00:11:28.959><c> sprayed</c><00:11:29.360><c> multiple</c><00:11:29.760><c> large</c><00:11:30.160><c> 1</c><00:11:30.399><c> megabyte</c>

00:11:30.949 --> 00:11:30.959 align:start position:0%
They sprayed multiple large 1 megabyte
 

00:11:30.959 --> 00:11:32.790 align:start position:0%
They sprayed multiple large 1 megabyte
allocations<00:11:31.760><c> so</c><00:11:31.920><c> that</c><00:11:32.079><c> in</c><00:11:32.320><c> the</c><00:11:32.399><c> event</c><00:11:32.560><c> of</c>

00:11:32.790 --> 00:11:32.800 align:start position:0%
allocations so that in the event of
 

00:11:32.800 --> 00:11:34.630 align:start position:0%
allocations so that in the event of
corrupting<00:11:33.279><c> part</c><00:11:33.440><c> of</c><00:11:33.519><c> an</c><00:11:33.680><c> object</c><00:11:34.000><c> pointer,</c>

00:11:34.630 --> 00:11:34.640 align:start position:0%
corrupting part of an object pointer,
 

00:11:34.640 --> 00:11:36.470 align:start position:0%
corrupting part of an object pointer,
the<00:11:34.880><c> new</c><00:11:35.120><c> value</c><00:11:35.440><c> will</c><00:11:35.680><c> fall</c><00:11:35.920><c> within</c><00:11:36.240><c> some</c>

00:11:36.470 --> 00:11:36.480 align:start position:0%
the new value will fall within some
 

00:11:36.480 --> 00:11:37.829 align:start position:0%
the new value will fall within some
address<00:11:36.800><c> range</c><00:11:37.040><c> that</c><00:11:37.200><c> they</c><00:11:37.360><c> control</c><00:11:37.680><c> the</c>

00:11:37.829 --> 00:11:37.839 align:start position:0%
address range that they control the
 

00:11:37.839 --> 00:11:39.350 align:start position:0%
address range that they control the
contents<00:11:38.160><c> of.</c><00:11:38.480><c> And</c><00:11:38.640><c> the</c><00:11:38.800><c> data</c><00:11:39.040><c> that</c><00:11:39.200><c> they</c>

00:11:39.350 --> 00:11:39.360 align:start position:0%
contents of. And the data that they
 

00:11:39.360 --> 00:11:41.190 align:start position:0%
contents of. And the data that they
chose<00:11:39.600><c> to</c><00:11:39.680><c> put</c><00:11:39.839><c> at</c><00:11:40.079><c> this</c><00:11:40.240><c> address</c><00:11:40.640><c> represents</c>

00:11:41.190 --> 00:11:41.200 align:start position:0%
chose to put at this address represents
 

00:11:41.200 --> 00:11:44.230 align:start position:0%
chose to put at this address represents
a<00:11:41.440><c> faked</c><00:11:42.000><c> CF</c><00:11:42.480><c> readstream</c><00:11:43.120><c> object,</c><00:11:43.920><c> another</c>

00:11:44.230 --> 00:11:44.240 align:start position:0%
a faked CF readstream object, another
 

00:11:44.240 --> 00:11:45.670 align:start position:0%
a faked CF readstream object, another
object<00:11:44.640><c> from</c><00:11:44.800><c> the</c><00:11:44.959><c> core</c><00:11:45.200><c> foundation</c>

00:11:45.670 --> 00:11:45.680 align:start position:0%
object from the core foundation
 

00:11:45.680 --> 00:11:47.750 align:start position:0%
object from the core foundation
framework.<00:11:46.560><c> Finally,</c><00:11:46.880><c> the</c><00:11:47.120><c> attackers</c><00:11:47.519><c> are</c>

00:11:47.750 --> 00:11:47.760 align:start position:0%
framework. Finally, the attackers are
 

00:11:47.760 --> 00:11:49.509 align:start position:0%
framework. Finally, the attackers are
ready<00:11:47.920><c> to</c><00:11:48.079><c> enter</c><00:11:48.320><c> the</c><00:11:48.560><c> final</c><00:11:48.800><c> stage</c><00:11:49.040><c> and</c><00:11:49.279><c> gain</c>

00:11:49.509 --> 00:11:49.519 align:start position:0%
ready to enter the final stage and gain
 

00:11:49.519 --> 00:11:51.430 align:start position:0%
ready to enter the final stage and gain
remote<00:11:49.839><c> code</c><00:11:50.079><c> execution.</c><00:11:50.720><c> All</c><00:11:50.959><c> of</c><00:11:51.040><c> the</c><00:11:51.200><c> hard</c>

00:11:51.430 --> 00:11:51.440 align:start position:0%
remote code execution. All of the hard
 

00:11:51.440 --> 00:11:52.870 align:start position:0%
remote code execution. All of the hard
work<00:11:51.600><c> has</c><00:11:51.839><c> now</c><00:11:52.000><c> been</c><00:11:52.160><c> done</c><00:11:52.320><c> and</c><00:11:52.560><c> the</c><00:11:52.800><c> only</c>

00:11:52.870 --> 00:11:52.880 align:start position:0%
work has now been done and the only
 

00:11:52.880 --> 00:11:55.110 align:start position:0%
work has now been done and the only
thing<00:11:53.040><c> left</c><00:11:53.279><c> to</c><00:11:53.440><c> do</c><00:11:53.600><c> is</c><00:11:53.839><c> trigger</c><00:11:54.160><c> a</c><00:11:54.480><c> legitimate</c>

00:11:55.110 --> 00:11:55.120 align:start position:0%
thing left to do is trigger a legitimate
 

00:11:55.120 --> 00:11:57.750 align:start position:0%
thing left to do is trigger a legitimate
free<00:11:55.519><c> on</c><00:11:55.680><c> the</c><00:11:55.839><c> CF</c><00:11:56.240><c> set</c><00:11:56.480><c> object.</c><00:11:56.880><c> When</c><00:11:57.040><c> a</c><00:11:57.200><c> CF</c><00:11:57.519><c> set</c>

00:11:57.750 --> 00:11:57.760 align:start position:0%
free on the CF set object. When a CF set
 

00:11:57.760 --> 00:11:59.750 align:start position:0%
free on the CF set object. When a CF set
object<00:11:58.079><c> is</c><00:11:58.240><c> destroyed,</c><00:11:58.880><c> each</c><00:11:59.120><c> of</c><00:11:59.200><c> the</c><00:11:59.440><c> objects</c>

00:11:59.750 --> 00:11:59.760 align:start position:0%
object is destroyed, each of the objects
 

00:11:59.760 --> 00:12:01.990 align:start position:0%
object is destroyed, each of the objects
that<00:12:00.000><c> are</c><00:12:00.079><c> in</c><00:12:00.320><c> the</c><00:12:00.480><c> set</c><00:12:00.800><c> are</c><00:12:01.040><c> first</c><00:12:01.440><c> released</c>

00:12:01.990 --> 00:12:02.000 align:start position:0%
that are in the set are first released
 

00:12:02.000 --> 00:12:04.310 align:start position:0%
that are in the set are first released
by<00:12:02.240><c> calling</c><00:12:02.720><c> CF</c><00:12:03.200><c> release</c><00:12:03.440><c> on</c><00:12:03.680><c> each</c><00:12:03.839><c> of</c><00:12:04.000><c> them.</c>

00:12:04.310 --> 00:12:04.320 align:start position:0%
by calling CF release on each of them.
 

00:12:04.320 --> 00:12:06.710 align:start position:0%
by calling CF release on each of them.
When<00:12:04.640><c> CF</c><00:12:05.040><c> release</c><00:12:05.360><c> is</c><00:12:05.600><c> called</c><00:12:05.920><c> on</c><00:12:06.160><c> our</c><00:12:06.320><c> faked</c>

00:12:06.710 --> 00:12:06.720 align:start position:0%
When CF release is called on our faked
 

00:12:06.720 --> 00:12:08.629 align:start position:0%
When CF release is called on our faked
object<00:12:07.040><c> pointer,</c><00:12:07.600><c> the</c><00:12:07.760><c> code</c><00:12:08.000><c> will</c><00:12:08.160><c> attempt</c><00:12:08.399><c> to</c>

00:12:08.629 --> 00:12:08.639 align:start position:0%
object pointer, the code will attempt to
 

00:12:08.639 --> 00:12:10.230 align:start position:0%
object pointer, the code will attempt to
pull<00:12:08.880><c> a</c><00:12:09.040><c> function</c><00:12:09.360><c> pointer</c><00:12:09.839><c> from</c><00:12:10.079><c> that</c>

00:12:10.230 --> 00:12:10.240 align:start position:0%
pull a function pointer from that
 

00:12:10.240 --> 00:12:12.389 align:start position:0%
pull a function pointer from that
object's<00:12:10.800><c> list</c><00:12:10.959><c> of</c><00:12:11.120><c> callback</c><00:12:11.519><c> functions</c><00:12:12.160><c> and</c>

00:12:12.389 --> 00:12:12.399 align:start position:0%
object's list of callback functions and
 

00:12:12.399 --> 00:12:14.870 align:start position:0%
object's list of callback functions and
will<00:12:12.639><c> jump</c><00:12:12.959><c> directly</c><00:12:13.360><c> to</c><00:12:13.600><c> that</c><00:12:13.839><c> address.</c><00:12:14.639><c> In</c>

00:12:14.870 --> 00:12:14.880 align:start position:0%
will jump directly to that address. In
 

00:12:14.880 --> 00:12:16.710 align:start position:0%
will jump directly to that address. In
my<00:12:15.040><c> case,</c><00:12:15.279><c> I</c><00:12:15.440><c> prepared</c><00:12:15.760><c> the</c><00:12:15.920><c> fake</c><00:12:16.160><c> object</c><00:12:16.560><c> such</c>

00:12:16.710 --> 00:12:16.720 align:start position:0%
my case, I prepared the fake object such
 

00:12:16.720 --> 00:12:19.590 align:start position:0%
my case, I prepared the fake object such
that<00:12:16.959><c> it</c><00:12:17.120><c> contains</c><00:12:17.440><c> the</c><00:12:17.680><c> classic</c><00:12:18.079><c> ox</c><00:12:18.560><c> 414141</c>

00:12:19.590 --> 00:12:19.600 align:start position:0%
that it contains the classic ox 414141
 

00:12:19.600 --> 00:12:20.949 align:start position:0%
that it contains the classic ox 414141
at<00:12:19.760><c> the</c><00:12:19.920><c> appropriate</c><00:12:20.320><c> function</c><00:12:20.639><c> pointer</c>

00:12:20.949 --> 00:12:20.959 align:start position:0%
at the appropriate function pointer
 

00:12:20.959 --> 00:12:22.870 align:start position:0%
at the appropriate function pointer
offset.<00:12:21.680><c> So</c><00:12:21.920><c> now</c><00:12:22.160><c> putting</c><00:12:22.399><c> all</c><00:12:22.560><c> of</c><00:12:22.639><c> this</c>

00:12:22.870 --> 00:12:22.880 align:start position:0%
offset. So now putting all of this
 

00:12:22.880 --> 00:12:24.710 align:start position:0%
offset. So now putting all of this
together<00:12:23.200><c> with</c><00:12:23.440><c> our</c><00:12:23.680><c> controlled</c><00:12:24.000><c> heap</c><00:12:24.480><c> layout</c>

00:12:24.710 --> 00:12:24.720 align:start position:0%
together with our controlled heap layout
 

00:12:24.720 --> 00:12:26.470 align:start position:0%
together with our controlled heap layout
prepared,<00:12:25.440><c> we</c><00:12:25.600><c> can</c><00:12:25.760><c> trigger</c><00:12:26.000><c> the</c><00:12:26.160><c> bug</c>

00:12:26.470 --> 00:12:26.480 align:start position:0%
prepared, we can trigger the bug
 

00:12:26.480 --> 00:12:28.629 align:start position:0%
prepared, we can trigger the bug
corrupting<00:12:26.959><c> the</c><00:12:27.040><c> metadata,</c><00:12:27.920><c> free</c><00:12:28.160><c> the</c><00:12:28.399><c> code</c>

00:12:28.629 --> 00:12:28.639 align:start position:0%
corrupting the metadata, free the code
 

00:12:28.639 --> 00:12:30.389 align:start position:0%
corrupting the metadata, free the code
lengths<00:12:28.959><c> allocation</c><00:12:29.519><c> while</c><00:12:29.760><c> also</c><00:12:30.079><c> freeing</c>

00:12:30.389 --> 00:12:30.399 align:start position:0%
lengths allocation while also freeing
 

00:12:30.399 --> 00:12:32.710 align:start position:0%
lengths allocation while also freeing
the<00:12:30.560><c> CF</c><00:12:30.880><c> sets</c><00:12:31.200><c> back</c><00:12:31.360><c> in</c><00:12:31.519><c> storage.</c><00:12:32.160><c> Reallocate</c>

00:12:32.710 --> 00:12:32.720 align:start position:0%
the CF sets back in storage. Reallocate
 

00:12:32.720 --> 00:12:34.230 align:start position:0%
the CF sets back in storage. Reallocate
over<00:12:32.959><c> these</c><00:12:33.120><c> three</c><00:12:33.360><c> blocks</c><00:12:33.600><c> with</c><00:12:33.839><c> nulls</c>

00:12:34.230 --> 00:12:34.240 align:start position:0%
over these three blocks with nulls
 

00:12:34.240 --> 00:12:36.550 align:start position:0%
over these three blocks with nulls
partially<00:12:34.639><c> overwriting</c><00:12:35.200><c> a</c><00:12:35.440><c> CF</c><00:12:35.839><c> datas</c><00:12:36.240><c> pointer</c>

00:12:36.550 --> 00:12:36.560 align:start position:0%
partially overwriting a CF datas pointer
 

00:12:36.560 --> 00:12:38.550 align:start position:0%
partially overwriting a CF datas pointer
in<00:12:36.800><c> the</c><00:12:36.880><c> process</c><00:12:37.360><c> and</c><00:12:37.519><c> then</c><00:12:37.680><c> destroy</c><00:12:38.000><c> the</c><00:12:38.240><c> CF</c>

00:12:38.550 --> 00:12:38.560 align:start position:0%
in the process and then destroy the CF
 

00:12:38.560 --> 00:12:40.710 align:start position:0%
in the process and then destroy the CF
set<00:12:38.880><c> which</c><00:12:39.120><c> in</c><00:12:39.360><c> turn</c><00:12:39.519><c> will</c><00:12:39.839><c> call</c><00:12:40.079><c> CF</c><00:12:40.480><c> release</c>

00:12:40.710 --> 00:12:40.720 align:start position:0%
set which in turn will call CF release
 

00:12:40.720 --> 00:12:43.030 align:start position:0%
set which in turn will call CF release
on<00:12:40.959><c> our</c><00:12:41.120><c> fake</c><00:12:41.440><c> CF</c><00:12:41.839><c> object.</c><00:12:42.320><c> As</c><00:12:42.560><c> you</c><00:12:42.720><c> can</c><00:12:42.800><c> see,</c>

00:12:43.030 --> 00:12:43.040 align:start position:0%
on our fake CF object. As you can see,
 

00:12:43.040 --> 00:12:44.710 align:start position:0%
on our fake CF object. As you can see,
running<00:12:43.360><c> this</c><00:12:43.519><c> on</c><00:12:43.680><c> the</c><00:12:43.839><c> live</c><00:12:44.000><c> device</c><00:12:44.399><c> results</c>

00:12:44.710 --> 00:12:44.720 align:start position:0%
running this on the live device results
 

00:12:44.720 --> 00:12:46.790 align:start position:0%
running this on the live device results
in<00:12:44.880><c> the</c><00:12:45.040><c> target</c><00:12:45.360><c> process</c><00:12:45.680><c> crashing</c><00:12:46.160><c> with</c><00:12:46.399><c> ox</c>

00:12:46.790 --> 00:12:46.800 align:start position:0%
in the target process crashing with ox
 

00:12:46.800 --> 00:12:49.750 align:start position:0%
in the target process crashing with ox
414141<00:12:47.760><c> in</c><00:12:47.920><c> the</c><00:12:48.079><c> PC</c><00:12:48.399><c> register.</c><00:12:49.120><c> From</c><00:12:49.360><c> here,</c><00:12:49.519><c> we</c>

00:12:49.750 --> 00:12:49.760 align:start position:0%
414141 in the PC register. From here, we
 

00:12:49.760 --> 00:12:51.829 align:start position:0%
414141 in the PC register. From here, we
could<00:12:49.920><c> go</c><00:12:50.000><c> on</c><00:12:50.160><c> to</c><00:12:50.399><c> launch</c><00:12:50.720><c> some</c><00:12:50.959><c> kind</c><00:12:51.200><c> of</c><00:12:51.440><c> job</c>

00:12:51.829 --> 00:12:51.839 align:start position:0%
could go on to launch some kind of job
 

00:12:51.839 --> 00:12:53.750 align:start position:0%
could go on to launch some kind of job
chain<00:12:52.160><c> and</c><00:12:52.399><c> execute</c><00:12:52.880><c> completely</c><00:12:53.279><c> arbitrary</c>

00:12:53.750 --> 00:12:53.760 align:start position:0%
chain and execute completely arbitrary
 

00:12:53.760 --> 00:12:55.670 align:start position:0%
chain and execute completely arbitrary
logic<00:12:54.079><c> inside</c><00:12:54.399><c> the</c><00:12:54.639><c> target</c><00:12:54.959><c> process.</c><00:12:55.440><c> The</c>

00:12:55.670 --> 00:12:55.680 align:start position:0%
logic inside the target process. The
 

00:12:55.680 --> 00:12:57.910 align:start position:0%
logic inside the target process. The
exploit<00:12:56.079><c> at</c><00:12:56.240><c> this</c><00:12:56.399><c> point</c><00:12:56.639><c> is</c><00:12:56.959><c> complete.</c><00:12:57.760><c> If</c>

00:12:57.910 --> 00:12:57.920 align:start position:0%
exploit at this point is complete. If
 

00:12:57.920 --> 00:12:59.190 align:start position:0%
exploit at this point is complete. If
you<00:12:58.160><c> followed</c><00:12:58.399><c> this</c><00:12:58.639><c> far,</c><00:12:58.800><c> then</c><00:12:59.040><c> there's</c>

00:12:59.190 --> 00:12:59.200 align:start position:0%
you followed this far, then there's
 

00:12:59.200 --> 00:13:00.310 align:start position:0%
you followed this far, then there's
probably<00:12:59.360><c> a</c><00:12:59.600><c> couple</c><00:12:59.680><c> things</c><00:12:59.839><c> you</c><00:13:00.079><c> might</c><00:13:00.160><c> be</c>

00:13:00.310 --> 00:13:00.320 align:start position:0%
probably a couple things you might be
 

00:13:00.320 --> 00:13:02.069 align:start position:0%
probably a couple things you might be
wondering<00:13:00.639><c> at</c><00:13:00.800><c> this</c><00:13:00.959><c> point.</c><00:13:01.600><c> What</c><00:13:01.839><c> about</c>

00:13:02.069 --> 00:13:02.079 align:start position:0%
wondering at this point. What about
 

00:13:02.079 --> 00:13:03.990 align:start position:0%
wondering at this point. What about
pointer<00:13:02.480><c> authentication?</c><00:13:03.440><c> This</c><00:13:03.600><c> was</c><00:13:03.680><c> an</c><00:13:03.839><c> in</c>

00:13:03.990 --> 00:13:04.000 align:start position:0%
pointer authentication? This was an in
 

00:13:04.000 --> 00:13:06.790 align:start position:0%
pointer authentication? This was an in
the<00:13:04.240><c> wild</c><00:13:04.480><c> exploit</c><00:13:04.880><c> used</c><00:13:05.120><c> against</c><00:13:05.440><c> iOS</c><00:13:06.000><c> 16.6</c>

00:13:06.790 --> 00:13:06.800 align:start position:0%
the wild exploit used against iOS 16.6
 

00:13:06.800 --> 00:13:08.710 align:start position:0%
the wild exploit used against iOS 16.6
devices,<00:13:07.600><c> including</c><00:13:07.920><c> ones</c><00:13:08.160><c> that</c><00:13:08.399><c> support</c>

00:13:08.710 --> 00:13:08.720 align:start position:0%
devices, including ones that support
 

00:13:08.720 --> 00:13:10.550 align:start position:0%
devices, including ones that support
PAC.<00:13:09.279><c> So,</c><00:13:09.440><c> how</c><00:13:09.600><c> did</c><00:13:09.760><c> the</c><00:13:09.839><c> hackers</c><00:13:10.240><c> deal</c><00:13:10.399><c> with</c>

00:13:10.550 --> 00:13:10.560 align:start position:0%
PAC. So, how did the hackers deal with
 

00:13:10.560 --> 00:13:12.230 align:start position:0%
PAC. So, how did the hackers deal with
pointer<00:13:10.880><c> authentication?</c><00:13:11.760><c> The</c><00:13:12.000><c> simple</c>

00:13:12.230 --> 00:13:12.240 align:start position:0%
pointer authentication? The simple
 

00:13:12.240 --> 00:13:13.750 align:start position:0%
pointer authentication? The simple
workaround<00:13:12.639><c> for</c><00:13:12.800><c> this</c><00:13:12.959><c> is</c><00:13:13.120><c> that</c><00:13:13.279><c> instead</c><00:13:13.600><c> of</c>

00:13:13.750 --> 00:13:13.760 align:start position:0%
workaround for this is that instead of
 

00:13:13.760 --> 00:13:15.590 align:start position:0%
workaround for this is that instead of
jumping<00:13:14.160><c> directly</c><00:13:14.560><c> to</c><00:13:14.720><c> a</c><00:13:14.959><c> controlled</c><00:13:15.279><c> address</c>

00:13:15.590 --> 00:13:15.600 align:start position:0%
jumping directly to a controlled address
 

00:13:15.600 --> 00:13:18.069 align:start position:0%
jumping directly to a controlled address
like<00:13:15.839><c> ox4144141</c><00:13:17.200><c> as</c><00:13:17.360><c> I</c><00:13:17.519><c> showed</c><00:13:17.680><c> on</c><00:13:17.920><c> my</c>

00:13:18.069 --> 00:13:18.079 align:start position:0%
like ox4144141 as I showed on my
 

00:13:18.079 --> 00:13:20.150 align:start position:0%
like ox4144141 as I showed on my
non-pack<00:13:18.639><c> device,</c><00:13:19.200><c> the</c><00:13:19.360><c> attackers</c><00:13:19.760><c> instead</c>

00:13:20.150 --> 00:13:20.160 align:start position:0%
non-pack device, the attackers instead
 

00:13:20.160 --> 00:13:22.230 align:start position:0%
non-pack device, the attackers instead
jump<00:13:20.480><c> to</c><00:13:20.720><c> legitimate</c><00:13:21.279><c> callback</c><00:13:21.760><c> structures</c>

00:13:22.230 --> 00:13:22.240 align:start position:0%
jump to legitimate callback structures
 

00:13:22.240 --> 00:13:23.990 align:start position:0%
jump to legitimate callback structures
which<00:13:22.480><c> contain</c><00:13:22.880><c> legitimately</c><00:13:23.600><c> signed</c>

00:13:23.990 --> 00:13:24.000 align:start position:0%
which contain legitimately signed
 

00:13:24.000 --> 00:13:25.430 align:start position:0%
which contain legitimately signed
pointers.<00:13:24.560><c> These</c><00:13:24.800><c> are</c><00:13:24.959><c> scattered</c><00:13:25.279><c> all</c>

00:13:25.430 --> 00:13:25.440 align:start position:0%
pointers. These are scattered all
 

00:13:25.440 --> 00:13:27.509 align:start position:0%
pointers. These are scattered all
throughout<00:13:25.680><c> the</c><00:13:25.839><c> DLD</c><00:13:26.399><c> shared</c><00:13:26.639><c> cache.</c><00:13:27.120><c> And</c><00:13:27.279><c> so</c>

00:13:27.509 --> 00:13:27.519 align:start position:0%
throughout the DLD shared cache. And so
 

00:13:27.519 --> 00:13:29.350 align:start position:0%
throughout the DLD shared cache. And so
attackers<00:13:27.920><c> build</c><00:13:28.160><c> their</c><00:13:28.399><c> entire</c><00:13:28.720><c> payload</c><00:13:29.120><c> in</c>

00:13:29.350 --> 00:13:29.360 align:start position:0%
attackers build their entire payload in
 

00:13:29.360 --> 00:13:31.590 align:start position:0%
attackers build their entire payload in
what<00:13:29.519><c> Ian</c><00:13:29.839><c> B</c><00:13:30.079><c> refers</c><00:13:30.399><c> to</c><00:13:30.560><c> as</c><00:13:30.800><c> a</c><00:13:30.959><c> callback</c>

00:13:31.590 --> 00:13:31.600 align:start position:0%
what Ian B refers to as a callback
 

00:13:31.600 --> 00:13:33.590 align:start position:0%
what Ian B refers to as a callback
oriented<00:13:32.240><c> job</c><00:13:32.560><c> chain.</c><00:13:33.120><c> Check</c><00:13:33.279><c> out</c><00:13:33.360><c> the</c>

00:13:33.590 --> 00:13:33.600 align:start position:0%
oriented job chain. Check out the
 

00:13:33.600 --> 00:13:35.110 align:start position:0%
oriented job chain. Check out the
original<00:13:33.839><c> blog</c><00:13:34.079><c> post</c><00:13:34.240><c> for</c><00:13:34.480><c> more</c><00:13:34.639><c> details</c><00:13:34.959><c> on</c>

00:13:35.110 --> 00:13:35.120 align:start position:0%
original blog post for more details on
 

00:13:35.120 --> 00:13:36.629 align:start position:0%
original blog post for more details on
this.<00:13:35.600><c> And</c><00:13:35.760><c> finally,</c><00:13:36.079><c> forget</c><00:13:36.399><c> about</c>

00:13:36.629 --> 00:13:36.639 align:start position:0%
this. And finally, forget about
 

00:13:36.639 --> 00:13:38.150 align:start position:0%
this. And finally, forget about
executing<00:13:37.040><c> a</c><00:13:37.200><c> job</c><00:13:37.440><c> chain,</c><00:13:37.600><c> but</c><00:13:37.839><c> what</c><00:13:38.000><c> about</c>

00:13:38.150 --> 00:13:38.160 align:start position:0%
executing a job chain, but what about
 

00:13:38.160 --> 00:13:40.150 align:start position:0%
executing a job chain, but what about
ASLR?<00:13:38.880><c> How</c><00:13:39.040><c> do</c><00:13:39.120><c> we</c><00:13:39.279><c> even</c><00:13:39.440><c> know</c><00:13:39.600><c> the</c><00:13:39.760><c> addresses</c>

00:13:40.150 --> 00:13:40.160 align:start position:0%
ASLR? How do we even know the addresses
 

00:13:40.160 --> 00:13:41.910 align:start position:0%
ASLR? How do we even know the addresses
of<00:13:40.320><c> where</c><00:13:40.480><c> to</c><00:13:40.639><c> jump</c><00:13:40.800><c> to?</c><00:13:41.200><c> Well,</c><00:13:41.440><c> it</c><00:13:41.600><c> turns</c><00:13:41.839><c> out</c>

00:13:41.910 --> 00:13:41.920 align:start position:0%
of where to jump to? Well, it turns out
 

00:13:41.920 --> 00:13:43.829 align:start position:0%
of where to jump to? Well, it turns out
that<00:13:42.160><c> this</c><00:13:42.320><c> WEBP</c><00:13:42.800><c> exploit</c><00:13:43.279><c> actually</c><00:13:43.519><c> doesn't</c>

00:13:43.829 --> 00:13:43.839 align:start position:0%
that this WEBP exploit actually doesn't
 

00:13:43.839 --> 00:13:46.069 align:start position:0%
that this WEBP exploit actually doesn't
deal<00:13:44.000><c> with</c><00:13:44.160><c> ASLR</c><00:13:44.800><c> itself.</c><00:13:45.360><c> Beer</c><00:13:45.680><c> states</c><00:13:45.920><c> that</c>

00:13:46.069 --> 00:13:46.079 align:start position:0%
deal with ASLR itself. Beer states that
 

00:13:46.079 --> 00:13:47.910 align:start position:0%
deal with ASLR itself. Beer states that
there<00:13:46.240><c> is</c><00:13:46.399><c> most</c><00:13:46.639><c> likely</c><00:13:46.959><c> a</c><00:13:47.200><c> separate</c><00:13:47.519><c> memory</c>

00:13:47.910 --> 00:13:47.920 align:start position:0%
there is most likely a separate memory
 

00:13:47.920 --> 00:13:49.829 align:start position:0%
there is most likely a separate memory
disclosure<00:13:48.320><c> exploit</c><00:13:48.720><c> used</c><00:13:48.959><c> to</c><00:13:49.040><c> defeat</c><00:13:49.279><c> ASLR</c>

00:13:49.829 --> 00:13:49.839 align:start position:0%
disclosure exploit used to defeat ASLR
 

00:13:49.839 --> 00:13:51.829 align:start position:0%
disclosure exploit used to defeat ASLR
ahead<00:13:50.160><c> of</c><00:13:50.240><c> time,</c><00:13:50.720><c> which</c><00:13:50.959><c> is</c><00:13:51.120><c> deployed</c><00:13:51.519><c> before</c>

00:13:51.829 --> 00:13:51.839 align:start position:0%
ahead of time, which is deployed before
 

00:13:51.839 --> 00:13:54.069 align:start position:0%
ahead of time, which is deployed before
sending<00:13:52.240><c> this</c><00:13:52.399><c> malicious</c><00:13:52.800><c> PK</c><00:13:53.200><c> pass</c><00:13:53.519><c> file.</c><00:13:53.920><c> We</c>

00:13:54.069 --> 00:13:54.079 align:start position:0%
sending this malicious PK pass file. We
 

00:13:54.079 --> 00:13:56.069 align:start position:0%
sending this malicious PK pass file. We
can<00:13:54.160><c> infer</c><00:13:54.560><c> this</c><00:13:54.720><c> since</c><00:13:54.959><c> in</c><00:13:55.200><c> the</c><00:13:55.279><c> live</c><00:13:55.600><c> exploit</c>

00:13:56.069 --> 00:13:56.079 align:start position:0%
can infer this since in the live exploit
 

00:13:56.079 --> 00:13:58.389 align:start position:0%
can infer this since in the live exploit
samples,<00:13:56.800><c> the</c><00:13:56.959><c> malicious</c><00:13:57.440><c> WEBP</c><00:13:57.920><c> files</c>

00:13:58.389 --> 00:13:58.399 align:start position:0%
samples, the malicious WEBP files
 

00:13:58.399 --> 00:14:00.389 align:start position:0%
samples, the malicious WEBP files
already<00:13:58.800><c> contain</c><00:13:59.279><c> slid</c><00:13:59.680><c> memory</c><00:13:59.920><c> addresses</c>

00:14:00.389 --> 00:14:00.399 align:start position:0%
already contain slid memory addresses
 

00:14:00.399 --> 00:14:02.150 align:start position:0%
already contain slid memory addresses
for<00:14:00.560><c> the</c><00:14:00.720><c> target</c><00:14:01.040><c> device.</c><00:14:01.680><c> So,</c><00:14:01.839><c> it's</c><00:14:02.000><c> clear</c>

00:14:02.150 --> 00:14:02.160 align:start position:0%
for the target device. So, it's clear
 

00:14:02.160 --> 00:14:03.350 align:start position:0%
for the target device. So, it's clear
that<00:14:02.320><c> there</c><00:14:02.480><c> was</c><00:14:02.639><c> actually</c><00:14:02.800><c> some</c><00:14:03.040><c> kind</c><00:14:03.199><c> of</c>

00:14:03.350 --> 00:14:03.360 align:start position:0%
that there was actually some kind of
 

00:14:03.360 --> 00:14:05.750 align:start position:0%
that there was actually some kind of
separate<00:14:03.680><c> ASLR</c><00:14:04.240><c> bypass</c><00:14:04.720><c> and</c><00:14:05.040><c> then</c><00:14:05.120><c> these</c><00:14:05.360><c> PK</c>

00:14:05.750 --> 00:14:05.760 align:start position:0%
separate ASLR bypass and then these PK
 

00:14:05.760 --> 00:14:08.069 align:start position:0%
separate ASLR bypass and then these PK
pass<00:14:06.000><c> files</c><00:14:06.320><c> were</c><00:14:06.560><c> generated</c><00:14:07.040><c> dynamically</c><00:14:07.839><c> to</c>

00:14:08.069 --> 00:14:08.079 align:start position:0%
pass files were generated dynamically to
 

00:14:08.079 --> 00:14:10.069 align:start position:0%
pass files were generated dynamically to
include<00:14:08.399><c> the</c><00:14:08.560><c> slid</c><00:14:08.959><c> values.</c><00:14:09.680><c> There</c><00:14:09.920><c> doesn't</c>

00:14:10.069 --> 00:14:10.079 align:start position:0%
include the slid values. There doesn't
 

00:14:10.079 --> 00:14:11.750 align:start position:0%
include the slid values. There doesn't
seem<00:14:10.240><c> to</c><00:14:10.320><c> be</c><00:14:10.480><c> any</c><00:14:10.639><c> public</c><00:14:10.959><c> documentation</c><00:14:11.519><c> of</c>

00:14:11.750 --> 00:14:11.760 align:start position:0%
seem to be any public documentation of
 

00:14:11.760 --> 00:14:13.350 align:start position:0%
seem to be any public documentation of
this<00:14:11.920><c> part</c><00:14:12.079><c> of</c><00:14:12.160><c> the</c><00:14:12.320><c> chain.</c><00:14:12.560><c> However,</c><00:14:13.120><c> I</c><00:14:13.279><c> hope</c>

00:14:13.350 --> 00:14:13.360 align:start position:0%
this part of the chain. However, I hope
 

00:14:13.360 --> 00:14:14.710 align:start position:0%
this part of the chain. However, I hope
you<00:14:13.519><c> enjoyed</c><00:14:13.760><c> this</c><00:14:14.000><c> video,</c><00:14:14.160><c> and</c><00:14:14.399><c> if</c><00:14:14.560><c> you're</c>

00:14:14.710 --> 00:14:14.720 align:start position:0%
you enjoyed this video, and if you're
 

00:14:14.720 --> 00:14:16.629 align:start position:0%
you enjoyed this video, and if you're
new<00:14:14.880><c> to</c><00:14:15.040><c> the</c><00:14:15.199><c> world</c><00:14:15.360><c> of</c><00:14:15.600><c> security</c><00:14:16.000><c> research,</c><00:14:16.480><c> I</c>

00:14:16.629 --> 00:14:16.639 align:start position:0%
new to the world of security research, I
 

00:14:16.639 --> 00:14:18.230 align:start position:0%
new to the world of security research, I
hope<00:14:16.720><c> it</c><00:14:16.880><c> gave</c><00:14:17.040><c> you</c><00:14:17.120><c> a</c><00:14:17.279><c> newfound</c><00:14:17.760><c> appreciation</c>

00:14:18.230 --> 00:14:18.240 align:start position:0%
hope it gave you a newfound appreciation
 

00:14:18.240 --> 00:14:20.389 align:start position:0%
hope it gave you a newfound appreciation
for<00:14:18.480><c> the</c><00:14:18.639><c> genius</c><00:14:19.120><c> creativity</c><00:14:19.600><c> in</c><00:14:19.839><c> how</c><00:14:20.079><c> hackers</c>

00:14:20.389 --> 00:14:20.399 align:start position:0%
for the genius creativity in how hackers
 

00:14:20.399 --> 00:14:21.990 align:start position:0%
for the genius creativity in how hackers
can<00:14:20.560><c> turn</c><00:14:20.720><c> a</c><00:14:20.959><c> bug</c><00:14:21.120><c> that</c><00:14:21.360><c> seems</c><00:14:21.600><c> fairly</c>

00:14:21.990 --> 00:14:22.000 align:start position:0%
can turn a bug that seems fairly
 

00:14:22.000 --> 00:14:24.069 align:start position:0%
can turn a bug that seems fairly
uninteresting<00:14:22.560><c> and</c><00:14:22.800><c> limited</c><00:14:23.360><c> into</c><00:14:23.680><c> a</c><00:14:23.839><c> full</c>

00:14:24.069 --> 00:14:24.079 align:start position:0%
uninteresting and limited into a full
 

00:14:24.079 --> 00:14:25.990 align:start position:0%
uninteresting and limited into a full
remote<00:14:24.399><c> code</c><00:14:24.639><c> execution</c><00:14:25.120><c> exploit</c><00:14:25.600><c> with</c><00:14:25.839><c> just</c>

00:14:25.990 --> 00:14:26.000 align:start position:0%
remote code execution exploit with just
 

00:14:26.000 --> 00:14:28.230 align:start position:0%
remote code execution exploit with just
a<00:14:26.160><c> few</c><00:14:26.320><c> steps.</c><00:14:27.040><c> As</c><00:14:27.279><c> always,</c><00:14:27.600><c> relevant</c><00:14:28.000><c> links</c>

00:14:28.230 --> 00:14:28.240 align:start position:0%
a few steps. As always, relevant links
 

00:14:28.240 --> 00:14:29.829 align:start position:0%
a few steps. As always, relevant links
will<00:14:28.320><c> be</c><00:14:28.480><c> down</c><00:14:28.639><c> below</c><00:14:28.800><c> in</c><00:14:29.040><c> the</c><00:14:29.199><c> description.</c>

00:14:29.829 --> 00:14:29.839 align:start position:0%
will be down below in the description.
 

00:14:29.839 --> 00:14:31.269 align:start position:0%
will be down below in the description.
Thanks<00:14:30.079><c> for</c><00:14:30.240><c> watching,</c><00:14:30.480><c> and</c><00:14:30.639><c> I'll</c><00:14:30.880><c> see</c><00:14:31.040><c> you</c><00:14:31.120><c> in</c>

00:14:31.269 --> 00:14:31.279 align:start position:0%
Thanks for watching, and I'll see you in
 

00:14:31.279 --> 00:14:34.320 align:start position:0%
Thanks for watching, and I'll see you in
the<00:14:31.440><c> next</c><00:14:31.600><c> one.</c>

