WEBVTT
Kind: captions
Language: en

00:00:00.000 --> 00:00:01.750 align:start position:0%
 
How<00:00:00.440><c> could</c><00:00:00.600><c> something</c><00:00:00.920><c> as</c><00:00:01.080><c> innocent</c><00:00:01.520><c> as</c><00:00:01.640><c> a</c>

00:00:01.750 --> 00:00:01.760 align:start position:0%
How could something as innocent as a
 

00:00:01.760 --> 00:00:04.190 align:start position:0%
How could something as innocent as a
font<00:00:02.280><c> be</c><00:00:02.480><c> used</c><00:00:02.840><c> to</c><00:00:02.960><c> remotely</c><00:00:03.480><c> hack</c><00:00:03.840><c> into</c><00:00:04.080><c> an</c>

00:00:04.190 --> 00:00:04.200 align:start position:0%
font be used to remotely hack into an
 

00:00:04.200 --> 00:00:05.830 align:start position:0%
font be used to remotely hack into an
iPhone?<00:00:04.920><c> Today,</c><00:00:05.200><c> we're</c><00:00:05.280><c> going</c><00:00:05.400><c> to</c><00:00:05.480><c> look</c><00:00:05.720><c> at</c>

00:00:05.830 --> 00:00:05.840 align:start position:0%
iPhone? Today, we're going to look at
 

00:00:05.840 --> 00:00:07.710 align:start position:0%
iPhone? Today, we're going to look at
yet<00:00:06.000><c> another</c><00:00:06.440><c> iOS</c><00:00:06.760><c> update</c><00:00:07.160><c> patching</c><00:00:07.560><c> an</c>

00:00:07.710 --> 00:00:07.720 align:start position:0%
yet another iOS update patching an
 

00:00:07.720 --> 00:00:09.470 align:start position:0%
yet another iOS update patching an
in-the-wild<00:00:08.400><c> exploit</c><00:00:08.760><c> chain.</c><00:00:09.280><c> We're</c><00:00:09.360><c> going</c>

00:00:09.470 --> 00:00:09.480 align:start position:0%
in-the-wild exploit chain. We're going
 

00:00:09.480 --> 00:00:11.630 align:start position:0%
in-the-wild exploit chain. We're going
to<00:00:09.560><c> look</c><00:00:09.680><c> at</c><00:00:09.800><c> how</c><00:00:10.000><c> a</c><00:00:10.080><c> malicious</c><00:00:10.640><c> PDF</c><00:00:11.040><c> document</c>

00:00:11.630 --> 00:00:11.640 align:start position:0%
to look at how a malicious PDF document
 

00:00:11.640 --> 00:00:13.950 align:start position:0%
to look at how a malicious PDF document
containing<00:00:12.200><c> a</c><00:00:12.240><c> maliciously</c><00:00:12.840><c> crafted</c><00:00:13.320><c> font</c>

00:00:13.950 --> 00:00:13.960 align:start position:0%
containing a maliciously crafted font
 

00:00:13.960 --> 00:00:16.230 align:start position:0%
containing a maliciously crafted font
was<00:00:14.200><c> able</c><00:00:14.440><c> to</c><00:00:14.600><c> exploit</c><00:00:15.120><c> iPhones</c><00:00:15.560><c> running</c><00:00:15.920><c> iOS</c>

00:00:16.230 --> 00:00:16.240 align:start position:0%
was able to exploit iPhones running iOS
 

00:00:16.240 --> 00:00:18.390 align:start position:0%
was able to exploit iPhones running iOS
26<00:00:16.760><c> versions</c><00:00:17.680><c> through</c><00:00:17.920><c> the</c><00:00:18.000><c> WhatsApp</c>

00:00:18.390 --> 00:00:18.400 align:start position:0%
26 versions through the WhatsApp
 

00:00:18.400 --> 00:00:20.590 align:start position:0%
26 versions through the WhatsApp
application.<00:00:19.120><c> The</c><00:00:19.240><c> vulnerability</c><00:00:19.920><c> is</c><00:00:20.160><c> within</c>

00:00:20.590 --> 00:00:20.600 align:start position:0%
application. The vulnerability is within
 

00:00:20.600 --> 00:00:22.590 align:start position:0%
application. The vulnerability is within
Core<00:00:20.840><c> Graphics,</c><00:00:21.600><c> one</c><00:00:21.760><c> of</c><00:00:21.880><c> Apple's</c><00:00:22.240><c> graphic</c>

00:00:22.590 --> 00:00:22.600 align:start position:0%
Core Graphics, one of Apple's graphic
 

00:00:22.600 --> 00:00:25.110 align:start position:0%
Core Graphics, one of Apple's graphic
processing<00:00:23.040><c> libraries</c><00:00:23.520><c> on</c><00:00:23.760><c> iOS</c><00:00:24.120><c> and</c><00:00:24.240><c> macOS.</c>

00:00:25.110 --> 00:00:25.120 align:start position:0%
processing libraries on iOS and macOS.
 

00:00:25.120 --> 00:00:26.750 align:start position:0%
processing libraries on iOS and macOS.
And<00:00:25.320><c> according</c><00:00:25.720><c> to</c><00:00:25.800><c> the</c><00:00:25.920><c> analysis</c><00:00:26.520><c> by</c>

00:00:26.750 --> 00:00:26.760 align:start position:0%
And according to the analysis by
 

00:00:26.760 --> 00:00:29.270 align:start position:0%
And according to the analysis by
kalif.io,<00:00:28.040><c> this</c><00:00:28.240><c> vulnerability</c><00:00:28.800><c> was</c><00:00:28.960><c> almost</c>

00:00:29.270 --> 00:00:29.280 align:start position:0%
kalif.io, this vulnerability was almost
 

00:00:29.280 --> 00:00:31.030 align:start position:0%
kalif.io, this vulnerability was almost
certainly<00:00:29.680><c> exploited</c><00:00:30.320><c> through</c><00:00:30.560><c> the</c><00:00:30.640><c> WhatsApp</c>

00:00:31.030 --> 00:00:31.040 align:start position:0%
certainly exploited through the WhatsApp
 

00:00:31.040 --> 00:00:33.070 align:start position:0%
certainly exploited through the WhatsApp
application<00:00:31.880><c> as</c><00:00:32.119><c> indicated</c><00:00:32.560><c> by</c><00:00:32.680><c> the</c><00:00:32.840><c> new</c>

00:00:33.070 --> 00:00:33.080 align:start position:0%
application as indicated by the new
 

00:00:33.080 --> 00:00:34.950 align:start position:0%
application as indicated by the new
checks<00:00:33.520><c> for</c><00:00:33.680><c> dangerous</c><00:00:34.160><c> PDF</c><00:00:34.480><c> attachment</c>

00:00:34.950 --> 00:00:34.960 align:start position:0%
checks for dangerous PDF attachment
 

00:00:34.960 --> 00:00:37.670 align:start position:0%
checks for dangerous PDF attachment
types<00:00:35.560><c> added</c><00:00:35.920><c> in</c><00:00:36.120><c> recent</c><00:00:36.480><c> WhatsApp</c><00:00:36.840><c> code.</c>

00:00:37.670 --> 00:00:37.680 align:start position:0%
types added in recent WhatsApp code.
 

00:00:37.680 --> 00:00:39.510 align:start position:0%
types added in recent WhatsApp code.
It's<00:00:37.880><c> unclear</c><00:00:38.320><c> if</c><00:00:38.440><c> this</c><00:00:38.640><c> was</c><00:00:38.760><c> triggerable</c><00:00:39.320><c> as</c>

00:00:39.510 --> 00:00:39.520 align:start position:0%
It's unclear if this was triggerable as
 

00:00:39.520 --> 00:00:41.430 align:start position:0%
It's unclear if this was triggerable as
a<00:00:39.600><c> zero-click</c><00:00:40.280><c> or</c><00:00:40.560><c> a</c><00:00:40.640><c> one-click</c><00:00:41.120><c> style</c>

00:00:41.430 --> 00:00:41.440 align:start position:0%
a zero-click or a one-click style
 

00:00:41.440 --> 00:00:43.510 align:start position:0%
a zero-click or a one-click style
exploit,<00:00:42.320><c> and</c><00:00:42.560><c> we</c><00:00:42.640><c> don't</c><00:00:42.840><c> actually</c><00:00:43.080><c> have</c><00:00:43.320><c> any</c>

00:00:43.510 --> 00:00:43.520 align:start position:0%
exploit, and we don't actually have any
 

00:00:43.520 --> 00:00:45.750 align:start position:0%
exploit, and we don't actually have any
live<00:00:43.800><c> samples</c><00:00:44.280><c> of</c><00:00:44.360><c> the</c><00:00:44.480><c> exploit.</c><00:00:45.360><c> But</c><00:00:45.520><c> what</c><00:00:45.640><c> we</c>

00:00:45.750 --> 00:00:45.760 align:start position:0%
live samples of the exploit. But what we
 

00:00:45.760 --> 00:00:48.030 align:start position:0%
live samples of the exploit. But what we
do<00:00:45.920><c> have</c><00:00:46.240><c> is</c><00:00:46.480><c> a</c><00:00:46.560><c> nice</c><00:00:46.960><c> detailed</c><00:00:47.440><c> breakdown</c><00:00:47.920><c> of</c>

00:00:48.030 --> 00:00:48.040 align:start position:0%
do have is a nice detailed breakdown of
 

00:00:48.040 --> 00:00:50.150 align:start position:0%
do have is a nice detailed breakdown of
the<00:00:48.160><c> root</c><00:00:48.440><c> cause</c><00:00:48.800><c> of</c><00:00:48.880><c> the</c><00:00:48.960><c> vulnerability.</c>

00:00:50.150 --> 00:00:50.160 align:start position:0%
the root cause of the vulnerability.
 

00:00:50.160 --> 00:00:51.870 align:start position:0%
the root cause of the vulnerability.
Before<00:00:50.480><c> we</c><00:00:50.560><c> dive</c><00:00:50.800><c> in,</c><00:00:51.040><c> we</c><00:00:51.160><c> first</c><00:00:51.440><c> need</c><00:00:51.560><c> to</c><00:00:51.640><c> take</c>

00:00:51.870 --> 00:00:51.880 align:start position:0%
Before we dive in, we first need to take
 

00:00:51.880 --> 00:00:53.190 align:start position:0%
Before we dive in, we first need to take
some<00:00:52.000><c> time</c><00:00:52.280><c> to</c><00:00:52.400><c> look</c><00:00:52.640><c> at</c><00:00:52.720><c> the</c><00:00:52.800><c> main</c>

00:00:53.190 --> 00:00:53.200 align:start position:0%
some time to look at the main
 

00:00:53.200 --> 00:00:55.030 align:start position:0%
some time to look at the main
prerequisite<00:00:53.840><c> concept</c><00:00:54.240><c> here.</c>

00:00:55.030 --> 00:00:55.040 align:start position:0%
prerequisite concept here.
 

00:00:55.040 --> 00:00:56.550 align:start position:0%
prerequisite concept here.
Font<00:00:55.440><c> rendering.</c>

00:00:56.550 --> 00:00:56.560 align:start position:0%
Font rendering.
 

00:00:56.560 --> 00:00:58.310 align:start position:0%
Font rendering.
The<00:00:56.680><c> vulnerability</c><00:00:57.200><c> being</c><00:00:57.400><c> exploited</c><00:00:58.080><c> is</c>

00:00:58.310 --> 00:00:58.320 align:start position:0%
The vulnerability being exploited is
 

00:00:58.320 --> 00:01:00.070 align:start position:0%
The vulnerability being exploited is
deep<00:00:58.600><c> within</c><00:00:58.920><c> part</c><00:00:59.160><c> of</c><00:00:59.320><c> Apple's</c><00:00:59.680><c> code</c>

00:01:00.070 --> 00:01:00.080 align:start position:0%
deep within part of Apple's code
 

00:01:00.080 --> 00:01:02.150 align:start position:0%
deep within part of Apple's code
responsible<00:01:00.680><c> for</c><00:01:00.880><c> rendering</c><00:01:01.360><c> font</c><00:01:01.680><c> glyphs</c><00:01:02.040><c> on</c>

00:01:02.150 --> 00:01:02.160 align:start position:0%
responsible for rendering font glyphs on
 

00:01:02.160 --> 00:01:03.390 align:start position:0%
responsible for rendering font glyphs on
the<00:01:02.280><c> screen.</c><00:01:02.920><c> And</c><00:01:03.000><c> so,</c><00:01:03.120><c> we</c><00:01:03.200><c> need</c><00:01:03.320><c> to</c>

00:01:03.390 --> 00:01:03.400 align:start position:0%
the screen. And so, we need to
 

00:01:03.400 --> 00:01:05.110 align:start position:0%
the screen. And so, we need to
understand<00:01:03.800><c> a</c><00:01:03.840><c> bit</c><00:01:04.000><c> about</c><00:01:04.280><c> how</c><00:01:04.440><c> this</c><00:01:04.640><c> process</c>

00:01:05.110 --> 00:01:05.120 align:start position:0%
understand a bit about how this process
 

00:01:05.120 --> 00:01:07.350 align:start position:0%
understand a bit about how this process
is<00:01:05.239><c> expected</c><00:01:05.840><c> to</c><00:01:05.920><c> work</c><00:01:06.200><c> first</c><00:01:06.920><c> so</c><00:01:07.000><c> that</c><00:01:07.120><c> we</c><00:01:07.200><c> can</c>

00:01:07.350 --> 00:01:07.360 align:start position:0%
is expected to work first so that we can
 

00:01:07.360 --> 00:01:09.110 align:start position:0%
is expected to work first so that we can
fully<00:01:07.640><c> understand</c><00:01:08.080><c> the</c><00:01:08.160><c> bug.</c>

00:01:09.110 --> 00:01:09.120 align:start position:0%
fully understand the bug.
 

00:01:09.120 --> 00:01:10.590 align:start position:0%
fully understand the bug.
Without<00:01:09.520><c> any</c><00:01:09.720><c> prior</c><00:01:10.000><c> knowledge</c><00:01:10.320><c> on</c><00:01:10.440><c> this</c>

00:01:10.590 --> 00:01:10.600 align:start position:0%
Without any prior knowledge on this
 

00:01:10.600 --> 00:01:12.950 align:start position:0%
Without any prior knowledge on this
topic,<00:01:11.080><c> you</c><00:01:11.320><c> might</c><00:01:11.520><c> imagine</c><00:01:11.960><c> that</c><00:01:12.120><c> a</c><00:01:12.200><c> font</c><00:01:12.680><c> is</c>

00:01:12.950 --> 00:01:12.960 align:start position:0%
topic, you might imagine that a font is
 

00:01:12.960 --> 00:01:15.230 align:start position:0%
topic, you might imagine that a font is
represented<00:01:13.640><c> as</c><00:01:13.800><c> a</c><00:01:13.880><c> specific</c><00:01:14.400><c> set</c><00:01:14.720><c> of</c><00:01:14.880><c> pixel</c>

00:01:15.230 --> 00:01:15.240 align:start position:0%
represented as a specific set of pixel
 

00:01:15.240 --> 00:01:17.510 align:start position:0%
represented as a specific set of pixel
arrangements<00:01:15.880><c> representing</c><00:01:16.480><c> each</c><00:01:16.680><c> character</c>

00:01:17.510 --> 00:01:17.520 align:start position:0%
arrangements representing each character
 

00:01:17.520 --> 00:01:18.950 align:start position:0%
arrangements representing each character
that<00:01:17.680><c> the</c><00:01:17.760><c> device</c><00:01:18.160><c> will</c><00:01:18.280><c> then</c><00:01:18.480><c> render</c><00:01:18.760><c> on</c><00:01:18.880><c> the</c>

00:01:18.950 --> 00:01:18.960 align:start position:0%
that the device will then render on the
 

00:01:18.960 --> 00:01:21.310 align:start position:0%
that the device will then render on the
screen<00:01:19.400><c> when</c><00:01:19.560><c> it</c><00:01:19.640><c> needs</c><00:01:19.880><c> to</c><00:01:19.960><c> display</c><00:01:20.320><c> text.</c>

00:01:21.310 --> 00:01:21.320 align:start position:0%
screen when it needs to display text.
 

00:01:21.320 --> 00:01:22.750 align:start position:0%
screen when it needs to display text.
But<00:01:21.520><c> it's</c><00:01:21.600><c> actually</c><00:01:21.880><c> not</c><00:01:22.040><c> quite</c><00:01:22.280><c> as</c><00:01:22.360><c> simple</c><00:01:22.640><c> as</c>

00:01:22.750 --> 00:01:22.760 align:start position:0%
But it's actually not quite as simple as
 

00:01:22.760 --> 00:01:23.670 align:start position:0%
But it's actually not quite as simple as
this.

00:01:23.670 --> 00:01:23.680 align:start position:0%
this.
 

00:01:23.680 --> 00:01:25.430 align:start position:0%
this.
One<00:01:23.960><c> problem</c><00:01:24.320><c> that</c><00:01:24.440><c> would</c><00:01:24.560><c> arise</c><00:01:25.000><c> given</c><00:01:25.240><c> that</c>

00:01:25.430 --> 00:01:25.440 align:start position:0%
One problem that would arise given that
 

00:01:25.440 --> 00:01:27.190 align:start position:0%
One problem that would arise given that
method<00:01:25.800><c> of</c><00:01:25.880><c> representing</c><00:01:26.440><c> fonts</c><00:01:26.880><c> would</c><00:01:27.040><c> be</c>

00:01:27.190 --> 00:01:27.200 align:start position:0%
method of representing fonts would be
 

00:01:27.200 --> 00:01:29.430 align:start position:0%
method of representing fonts would be
scalability.<00:01:28.520><c> If</c><00:01:28.680><c> we</c><00:01:28.760><c> were</c><00:01:28.880><c> to</c><00:01:28.960><c> store</c><00:01:29.320><c> a</c>

00:01:29.430 --> 00:01:29.440 align:start position:0%
scalability. If we were to store a
 

00:01:29.440 --> 00:01:31.510 align:start position:0%
scalability. If we were to store a
simple<00:01:30.000><c> bitmap</c><00:01:30.400><c> representation</c><00:01:31.240><c> of</c><00:01:31.400><c> the</c>

00:01:31.510 --> 00:01:31.520 align:start position:0%
simple bitmap representation of the
 

00:01:31.520 --> 00:01:33.790 align:start position:0%
simple bitmap representation of the
letter<00:01:31.760><c> H,</c><00:01:32.040><c> for</c><00:01:32.160><c> example,</c><00:01:32.920><c> it</c><00:01:33.080><c> may</c><00:01:33.200><c> be</c><00:01:33.360><c> fine</c><00:01:33.680><c> if</c>

00:01:33.790 --> 00:01:33.800 align:start position:0%
letter H, for example, it may be fine if
 

00:01:33.800 --> 00:01:35.470 align:start position:0%
letter H, for example, it may be fine if
we<00:01:33.920><c> only</c><00:01:34.240><c> ever</c><00:01:34.440><c> want</c><00:01:34.640><c> to</c><00:01:34.760><c> render</c><00:01:35.080><c> it</c><00:01:35.160><c> at</c><00:01:35.320><c> one</c>

00:01:35.470 --> 00:01:35.480 align:start position:0%
we only ever want to render it at one
 

00:01:35.480 --> 00:01:37.550 align:start position:0%
we only ever want to render it at one
specific<00:01:35.960><c> size.</c><00:01:36.720><c> But</c><00:01:36.840><c> if</c><00:01:36.920><c> you</c><00:01:37.040><c> want</c><00:01:37.200><c> to</c><00:01:37.320><c> render</c>

00:01:37.550 --> 00:01:37.560 align:start position:0%
specific size. But if you want to render
 

00:01:37.560 --> 00:01:39.350 align:start position:0%
specific size. But if you want to render
that<00:01:37.760><c> same</c><00:01:37.960><c> letter</c><00:01:38.200><c> H</c><00:01:38.600><c> at</c><00:01:38.720><c> a</c><00:01:38.800><c> much</c><00:01:39.080><c> larger</c>

00:01:39.350 --> 00:01:39.360 align:start position:0%
that same letter H at a much larger
 

00:01:39.360 --> 00:01:41.350 align:start position:0%
that same letter H at a much larger
size,<00:01:39.840><c> a</c><00:01:39.960><c> problem</c><00:01:40.360><c> will</c><00:01:40.440><c> become</c><00:01:40.800><c> immediately</c>

00:01:41.350 --> 00:01:41.360 align:start position:0%
size, a problem will become immediately
 

00:01:41.360 --> 00:01:43.390 align:start position:0%
size, a problem will become immediately
obvious.<00:01:42.320><c> The</c><00:01:42.480><c> larger</c><00:01:42.880><c> render</c><00:01:43.200><c> of</c><00:01:43.320><c> the</c>

00:01:43.390 --> 00:01:43.400 align:start position:0%
obvious. The larger render of the
 

00:01:43.400 --> 00:01:45.750 align:start position:0%
obvious. The larger render of the
character<00:01:43.920><c> looks</c><00:01:44.200><c> blocky,</c><00:01:44.720><c> pixelated,</c><00:01:45.560><c> and</c>

00:01:45.750 --> 00:01:45.760 align:start position:0%
character looks blocky, pixelated, and
 

00:01:45.760 --> 00:01:47.750 align:start position:0%
character looks blocky, pixelated, and
just<00:01:45.960><c> doesn't</c><00:01:46.280><c> look</c><00:01:46.440><c> very</c><00:01:46.640><c> good.</c>

00:01:47.750 --> 00:01:47.760 align:start position:0%
just doesn't look very good.
 

00:01:47.760 --> 00:01:49.670 align:start position:0%
just doesn't look very good.
To<00:01:47.920><c> solve</c><00:01:48.160><c> this</c><00:01:48.320><c> problem,</c><00:01:48.840><c> fonts</c><00:01:49.200><c> are</c><00:01:49.280><c> instead</c>

00:01:49.670 --> 00:01:49.680 align:start position:0%
To solve this problem, fonts are instead
 

00:01:49.680 --> 00:01:51.350 align:start position:0%
To solve this problem, fonts are instead
represented<00:01:50.360><c> as</c><00:01:50.600><c> a</c><00:01:50.680><c> mathematical</c>

00:01:51.350 --> 00:01:51.360 align:start position:0%
represented as a mathematical
 

00:01:51.360 --> 00:01:53.270 align:start position:0%
represented as a mathematical
description<00:01:52.000><c> of</c><00:01:52.280><c> curves,</c><00:01:52.920><c> which</c><00:01:53.160><c> the</c>

00:01:53.270 --> 00:01:53.280 align:start position:0%
description of curves, which the
 

00:01:53.280 --> 00:01:55.390 align:start position:0%
description of curves, which the
renderer<00:01:53.760><c> code</c><00:01:54.080><c> will</c><00:01:54.200><c> then</c><00:01:54.360><c> dynamically</c><00:01:55.040><c> map</c>

00:01:55.390 --> 00:01:55.400 align:start position:0%
renderer code will then dynamically map
 

00:01:55.400 --> 00:01:57.350 align:start position:0%
renderer code will then dynamically map
to<00:01:55.560><c> pixels</c><00:01:55.920><c> on</c><00:01:56.040><c> the</c><00:01:56.080><c> screen</c><00:01:56.720><c> depending</c><00:01:57.120><c> on</c><00:01:57.200><c> the</c>

00:01:57.350 --> 00:01:57.360 align:start position:0%
to pixels on the screen depending on the
 

00:01:57.360 --> 00:01:58.670 align:start position:0%
to pixels on the screen depending on the
size<00:01:57.640><c> needed.</c>

00:01:58.670 --> 00:01:58.680 align:start position:0%
size needed.
 

00:01:58.680 --> 00:02:00.270 align:start position:0%
size needed.
Here<00:01:58.880><c> we</c><00:01:59.000><c> can</c><00:01:59.120><c> see</c><00:01:59.280><c> that</c><00:01:59.440><c> the</c><00:01:59.520><c> letter</c><00:01:59.800><c> H</c><00:02:00.120><c> in</c>

00:02:00.270 --> 00:02:00.280 align:start position:0%
Here we can see that the letter H in
 

00:02:00.280 --> 00:02:02.070 align:start position:0%
Here we can see that the letter H in
Hello<00:02:00.600><c> World</c><00:02:01.000><c> will</c><00:02:01.120><c> be</c><00:02:01.240><c> represented</c><00:02:01.880><c> by</c><00:02:02.040><c> a</c>

00:02:02.070 --> 00:02:02.080 align:start position:0%
Hello World will be represented by a
 

00:02:02.080 --> 00:02:03.870 align:start position:0%
Hello World will be represented by a
different<00:02:02.520><c> set</c><00:02:02.720><c> of</c><00:02:02.800><c> pixels,</c><00:02:03.280><c> depending</c><00:02:03.760><c> on</c>

00:02:03.870 --> 00:02:03.880 align:start position:0%
different set of pixels, depending on
 

00:02:03.880 --> 00:02:06.110 align:start position:0%
different set of pixels, depending on
the<00:02:04.000><c> render</c><00:02:04.280><c> size</c><00:02:04.680><c> of</c><00:02:04.800><c> the</c><00:02:04.880><c> glyph.</c>

00:02:06.110 --> 00:02:06.120 align:start position:0%
the render size of the glyph.
 

00:02:06.120 --> 00:02:07.870 align:start position:0%
the render size of the glyph.
Both<00:02:06.320><c> sets</c><00:02:06.520><c> of</c><00:02:06.640><c> pixels</c><00:02:07.040><c> resemble</c><00:02:07.479><c> the</c><00:02:07.600><c> same</c>

00:02:07.870 --> 00:02:07.880 align:start position:0%
Both sets of pixels resemble the same
 

00:02:07.880 --> 00:02:10.270 align:start position:0%
Both sets of pixels resemble the same
shape,<00:02:08.320><c> but</c><00:02:08.479><c> the</c><00:02:08.600><c> exact</c><00:02:09.119><c> pixel</c><00:02:09.560><c> coloring</c><00:02:10.080><c> is</c>

00:02:10.270 --> 00:02:10.280 align:start position:0%
shape, but the exact pixel coloring is
 

00:02:10.280 --> 00:02:11.910 align:start position:0%
shape, but the exact pixel coloring is
performed<00:02:10.800><c> dynamically</c><00:02:11.440><c> by</c><00:02:11.560><c> the</c><00:02:11.640><c> glyph</c>

00:02:11.910 --> 00:02:11.920 align:start position:0%
performed dynamically by the glyph
 

00:02:11.920 --> 00:02:13.430 align:start position:0%
performed dynamically by the glyph
renderer.

00:02:13.430 --> 00:02:13.440 align:start position:0%
renderer.
 

00:02:13.440 --> 00:02:14.910 align:start position:0%
renderer.
Something<00:02:13.760><c> else</c><00:02:13.959><c> you</c><00:02:14.040><c> might</c><00:02:14.200><c> notice</c><00:02:14.440><c> here</c><00:02:14.800><c> is</c>

00:02:14.910 --> 00:02:14.920 align:start position:0%
Something else you might notice here is
 

00:02:14.920 --> 00:02:18.030 align:start position:0%
Something else you might notice here is
that<00:02:15.080><c> not</c><00:02:15.360><c> all</c><00:02:15.480><c> pixels</c><00:02:16.000><c> are</c><00:02:16.200><c> colored</c><00:02:16.600><c> equally.</c>

00:02:18.030 --> 00:02:18.040 align:start position:0%
that not all pixels are colored equally.
 

00:02:18.040 --> 00:02:19.510 align:start position:0%
that not all pixels are colored equally.
You<00:02:18.080><c> can</c><00:02:18.200><c> see</c><00:02:18.360><c> that</c><00:02:18.520><c> some</c><00:02:18.680><c> of</c><00:02:18.760><c> these</c><00:02:18.920><c> pixels,</c>

00:02:19.510 --> 00:02:19.520 align:start position:0%
You can see that some of these pixels,
 

00:02:19.520 --> 00:02:21.230 align:start position:0%
You can see that some of these pixels,
particularly<00:02:19.920><c> those</c><00:02:20.200><c> around</c><00:02:20.520><c> the</c><00:02:20.680><c> edges</c><00:02:21.080><c> of</c>

00:02:21.230 --> 00:02:21.240 align:start position:0%
particularly those around the edges of
 

00:02:21.240 --> 00:02:23.270 align:start position:0%
particularly those around the edges of
the<00:02:21.320><c> shape,</c><00:02:22.000><c> are</c><00:02:22.160><c> less</c><00:02:22.480><c> opaque</c><00:02:23.040><c> than</c><00:02:23.160><c> the</c>

00:02:23.270 --> 00:02:23.280 align:start position:0%
the shape, are less opaque than the
 

00:02:23.280 --> 00:02:24.430 align:start position:0%
the shape, are less opaque than the
others.

00:02:24.430 --> 00:02:24.440 align:start position:0%
others.
 

00:02:24.440 --> 00:02:26.190 align:start position:0%
others.
And<00:02:24.520><c> this</c><00:02:24.680><c> is</c><00:02:24.760><c> the</c><00:02:24.840><c> result</c><00:02:25.200><c> of</c><00:02:25.400><c> anti-alias</c>

00:02:26.190 --> 00:02:26.200 align:start position:0%
And this is the result of anti-alias
 

00:02:26.200 --> 00:02:28.470 align:start position:0%
And this is the result of anti-alias
rasterization,<00:02:27.240><c> a</c><00:02:27.320><c> process</c><00:02:27.800><c> used</c><00:02:28.120><c> to</c><00:02:28.240><c> make</c>

00:02:28.470 --> 00:02:28.480 align:start position:0%
rasterization, a process used to make
 

00:02:28.480 --> 00:02:30.470 align:start position:0%
rasterization, a process used to make
the<00:02:28.640><c> edges</c><00:02:28.959><c> of</c><00:02:29.080><c> glyphs</c><00:02:29.480><c> appear</c><00:02:29.880><c> smoother</c><00:02:30.360><c> to</c>

00:02:30.470 --> 00:02:30.480 align:start position:0%
the edges of glyphs appear smoother to
 

00:02:30.480 --> 00:02:32.230 align:start position:0%
the edges of glyphs appear smoother to
the<00:02:30.600><c> human</c><00:02:30.920><c> eye.</c>

00:02:32.230 --> 00:02:32.240 align:start position:0%
the human eye.
 

00:02:32.240 --> 00:02:34.110 align:start position:0%
the human eye.
Imagine<00:02:32.520><c> you</c><00:02:32.640><c> have</c><00:02:32.880><c> a</c><00:02:33.040><c> really</c><00:02:33.280><c> simple</c><00:02:33.640><c> glyph</c>

00:02:34.110 --> 00:02:34.120 align:start position:0%
Imagine you have a really simple glyph
 

00:02:34.120 --> 00:02:36.070 align:start position:0%
Imagine you have a really simple glyph
of<00:02:34.360><c> some</c><00:02:34.720><c> oval</c><00:02:35.080><c> shape,</c><00:02:35.600><c> and</c><00:02:35.760><c> you</c><00:02:35.840><c> want</c><00:02:35.959><c> to</c>

00:02:36.070 --> 00:02:36.080 align:start position:0%
of some oval shape, and you want to
 

00:02:36.080 --> 00:02:39.430 align:start position:0%
of some oval shape, and you want to
render<00:02:36.400><c> it</c><00:02:36.520><c> onto</c><00:02:36.800><c> a</c><00:02:36.880><c> 15</c><00:02:37.280><c> by</c><00:02:37.440><c> 15</c><00:02:37.920><c> pixel</c><00:02:38.280><c> grid.</c>

00:02:39.430 --> 00:02:39.440 align:start position:0%
render it onto a 15 by 15 pixel grid.
 

00:02:39.440 --> 00:02:41.350 align:start position:0%
render it onto a 15 by 15 pixel grid.
Of<00:02:39.560><c> course,</c><00:02:39.800><c> the</c><00:02:39.959><c> oval</c><00:02:40.200><c> shape</c><00:02:40.480><c> itself</c><00:02:41.000><c> is</c><00:02:41.240><c> a</c>

00:02:41.350 --> 00:02:41.360 align:start position:0%
Of course, the oval shape itself is a
 

00:02:41.360 --> 00:02:43.750 align:start position:0%
Of course, the oval shape itself is a
continuous<00:02:42.040><c> curving</c><00:02:42.480><c> line,</c><00:02:43.120><c> but</c><00:02:43.360><c> a</c><00:02:43.440><c> grid</c><00:02:43.640><c> of</c>

00:02:43.750 --> 00:02:43.760 align:start position:0%
continuous curving line, but a grid of
 

00:02:43.760 --> 00:02:46.110 align:start position:0%
continuous curving line, but a grid of
pixels<00:02:44.280><c> is</c><00:02:44.480><c> not.</c><00:02:45.120><c> It's</c><00:02:45.320><c> a</c><00:02:45.360><c> set</c><00:02:45.600><c> of</c><00:02:45.720><c> fixed</c>

00:02:46.110 --> 00:02:46.120 align:start position:0%
pixels is not. It's a set of fixed
 

00:02:46.120 --> 00:02:47.750 align:start position:0%
pixels is not. It's a set of fixed
square<00:02:46.480><c> cells.</c>

00:02:47.750 --> 00:02:47.760 align:start position:0%
square cells.
 

00:02:47.760 --> 00:02:49.350 align:start position:0%
square cells.
So,<00:02:47.840><c> obviously</c><00:02:48.200><c> the</c><00:02:48.320><c> shape</c><00:02:48.680><c> cannot</c><00:02:48.959><c> be</c><00:02:49.080><c> mapped</c>

00:02:49.350 --> 00:02:49.360 align:start position:0%
So, obviously the shape cannot be mapped
 

00:02:49.360 --> 00:02:51.070 align:start position:0%
So, obviously the shape cannot be mapped
perfectly<00:02:49.840><c> onto</c><00:02:50.120><c> it.</c>

00:02:51.070 --> 00:02:51.080 align:start position:0%
perfectly onto it.
 

00:02:51.080 --> 00:02:52.270 align:start position:0%
perfectly onto it.
You<00:02:51.160><c> might</c><00:02:51.320><c> assume</c><00:02:51.600><c> that</c><00:02:51.720><c> the</c><00:02:51.800><c> best</c><00:02:52.040><c> way</c><00:02:52.160><c> to</c>

00:02:52.270 --> 00:02:52.280 align:start position:0%
You might assume that the best way to
 

00:02:52.280 --> 00:02:54.070 align:start position:0%
You might assume that the best way to
map<00:02:52.520><c> the</c><00:02:52.600><c> shape</c><00:02:52.880><c> onto</c><00:02:53.120><c> the</c><00:02:53.240><c> grid</c><00:02:53.600><c> is</c><00:02:53.760><c> to</c><00:02:53.840><c> just</c>

00:02:54.070 --> 00:02:54.080 align:start position:0%
map the shape onto the grid is to just
 

00:02:54.080 --> 00:02:55.670 align:start position:0%
map the shape onto the grid is to just
color<00:02:54.400><c> in</c><00:02:54.560><c> any</c><00:02:54.800><c> pixel</c><00:02:55.200><c> that</c><00:02:55.320><c> the</c><00:02:55.440><c> line</c>

00:02:55.670 --> 00:02:55.680 align:start position:0%
color in any pixel that the line
 

00:02:55.680 --> 00:02:56.910 align:start position:0%
color in any pixel that the line
touches.

00:02:56.910 --> 00:02:56.920 align:start position:0%
touches.
 

00:02:56.920 --> 00:02:58.910 align:start position:0%
touches.
But<00:02:57.000><c> that</c><00:02:57.120><c> results</c><00:02:57.520><c> in</c><00:02:57.640><c> an</c><00:02:57.760><c> ugly,</c><00:02:58.160><c> blocky</c><00:02:58.640><c> kind</c>

00:02:58.910 --> 00:02:58.920 align:start position:0%
But that results in an ugly, blocky kind
 

00:02:58.920 --> 00:03:00.790 align:start position:0%
But that results in an ugly, blocky kind
of<00:02:59.040><c> graphic</c><00:02:59.440><c> on</c><00:02:59.519><c> the</c><00:02:59.600><c> screen</c><00:03:00.280><c> that</c><00:03:00.480><c> doesn't</c>

00:03:00.790 --> 00:03:00.800 align:start position:0%
of graphic on the screen that doesn't
 

00:03:00.800 --> 00:03:02.470 align:start position:0%
of graphic on the screen that doesn't
really<00:03:01.080><c> resemble</c><00:03:01.560><c> the</c><00:03:01.680><c> original</c><00:03:02.120><c> smooth</c>

00:03:02.470 --> 00:03:02.480 align:start position:0%
really resemble the original smooth
 

00:03:02.480 --> 00:03:03.509 align:start position:0%
really resemble the original smooth
glyph.

00:03:03.509 --> 00:03:03.519 align:start position:0%
glyph.
 

00:03:03.519 --> 00:03:05.550 align:start position:0%
glyph.
This<00:03:03.600><c> is</c><00:03:03.720><c> where</c><00:03:03.880><c> this</c><00:03:04.080><c> process</c><00:03:04.560><c> of</c><00:03:04.800><c> anti-alias</c>

00:03:05.550 --> 00:03:05.560 align:start position:0%
This is where this process of anti-alias
 

00:03:05.560 --> 00:03:07.790 align:start position:0%
This is where this process of anti-alias
rasterization<00:03:06.280><c> comes</c><00:03:06.519><c> in.</c><00:03:07.280><c> Looking</c><00:03:07.519><c> at</c><00:03:07.600><c> the</c>

00:03:07.790 --> 00:03:07.800 align:start position:0%
rasterization comes in. Looking at the
 

00:03:07.800 --> 00:03:09.350 align:start position:0%
rasterization comes in. Looking at the
oval<00:03:08.080><c> shape</c><00:03:08.360><c> that</c><00:03:08.440><c> we've</c><00:03:08.600><c> rendered,</c><00:03:09.160><c> we</c><00:03:09.239><c> can</c>

00:03:09.350 --> 00:03:09.360 align:start position:0%
oval shape that we've rendered, we can
 

00:03:09.360 --> 00:03:10.830 align:start position:0%
oval shape that we've rendered, we can
see<00:03:09.519><c> that</c><00:03:09.640><c> the</c><00:03:09.760><c> main</c><00:03:10.000><c> reason</c><00:03:10.360><c> it</c><00:03:10.480><c> looks</c><00:03:10.680><c> so</c>

00:03:10.830 --> 00:03:10.840 align:start position:0%
see that the main reason it looks so
 

00:03:10.840 --> 00:03:12.949 align:start position:0%
see that the main reason it looks so
blocky<00:03:11.400><c> is</c><00:03:11.519><c> because</c><00:03:11.840><c> we're</c><00:03:11.959><c> coloring</c><00:03:12.400><c> pixels</c>

00:03:12.949 --> 00:03:12.959 align:start position:0%
blocky is because we're coloring pixels
 

00:03:12.959 --> 00:03:14.949 align:start position:0%
blocky is because we're coloring pixels
if<00:03:13.320><c> any</c><00:03:13.600><c> part</c><00:03:13.880><c> of</c><00:03:14.000><c> the</c><00:03:14.080><c> glyph</c><00:03:14.360><c> line</c><00:03:14.600><c> touches</c>

00:03:14.949 --> 00:03:14.959 align:start position:0%
if any part of the glyph line touches
 

00:03:14.959 --> 00:03:17.229 align:start position:0%
if any part of the glyph line touches
it.<00:03:15.519><c> We</c><00:03:15.640><c> have</c><00:03:15.800><c> pixels</c><00:03:16.200><c> that</c><00:03:16.320><c> are</c><00:03:16.519><c> only</c><00:03:16.840><c> just</c>

00:03:17.229 --> 00:03:17.239 align:start position:0%
it. We have pixels that are only just
 

00:03:17.239 --> 00:03:19.350 align:start position:0%
it. We have pixels that are only just
inside<00:03:17.720><c> of</c><00:03:17.800><c> the</c><00:03:17.880><c> glyph</c><00:03:18.160><c> outline,</c><00:03:19.040><c> and</c><00:03:19.160><c> we</c><00:03:19.239><c> have</c>

00:03:19.350 --> 00:03:19.360 align:start position:0%
inside of the glyph outline, and we have
 

00:03:19.360 --> 00:03:21.110 align:start position:0%
inside of the glyph outline, and we have
pixels<00:03:19.760><c> that</c><00:03:19.880><c> are</c><00:03:20.040><c> almost</c><00:03:20.360><c> entirely</c><00:03:20.840><c> inside</c>

00:03:21.110 --> 00:03:21.120 align:start position:0%
pixels that are almost entirely inside
 

00:03:21.120 --> 00:03:23.150 align:start position:0%
pixels that are almost entirely inside
of<00:03:21.200><c> the</c><00:03:21.280><c> glyph</c><00:03:21.560><c> outline,</c><00:03:22.280><c> both</c><00:03:22.519><c> being</c><00:03:22.760><c> colored</c>

00:03:23.150 --> 00:03:23.160 align:start position:0%
of the glyph outline, both being colored
 

00:03:23.160 --> 00:03:24.990 align:start position:0%
of the glyph outline, both being colored
in<00:03:23.239><c> exactly</c><00:03:23.720><c> the</c><00:03:23.800><c> same</c><00:03:24.040><c> way.</c>

00:03:24.990 --> 00:03:25.000 align:start position:0%
in exactly the same way.
 

00:03:25.000 --> 00:03:26.630 align:start position:0%
in exactly the same way.
A<00:03:25.120><c> more</c><00:03:25.280><c> effective</c><00:03:25.680><c> approach</c><00:03:26.120><c> is</c><00:03:26.239><c> to</c><00:03:26.360><c> actually</c>

00:03:26.630 --> 00:03:26.640 align:start position:0%
A more effective approach is to actually
 

00:03:26.640 --> 00:03:28.830 align:start position:0%
A more effective approach is to actually
calculate<00:03:27.280><c> how</c><00:03:27.480><c> much</c><00:03:27.880><c> of</c><00:03:28.080><c> the</c><00:03:28.160><c> pixel</c><00:03:28.640><c> is</c>

00:03:28.830 --> 00:03:28.840 align:start position:0%
calculate how much of the pixel is
 

00:03:28.840 --> 00:03:30.870 align:start position:0%
calculate how much of the pixel is
captured<00:03:29.360><c> by</c><00:03:29.519><c> the</c><00:03:29.640><c> glyph</c><00:03:29.920><c> shape,</c><00:03:30.640><c> and</c><00:03:30.760><c> then</c>

00:03:30.870 --> 00:03:30.880 align:start position:0%
captured by the glyph shape, and then
 

00:03:30.880 --> 00:03:33.430 align:start position:0%
captured by the glyph shape, and then
adjust<00:03:31.360><c> its</c><00:03:31.519><c> opacity</c><00:03:32.160><c> accordingly.</c><00:03:33.200><c> With</c><00:03:33.320><c> the</c>

00:03:33.430 --> 00:03:33.440 align:start position:0%
adjust its opacity accordingly. With the
 

00:03:33.440 --> 00:03:35.150 align:start position:0%
adjust its opacity accordingly. With the
pixels<00:03:33.840><c> that</c><00:03:33.959><c> are</c><00:03:34.040><c> more</c><00:03:34.400><c> within</c><00:03:34.720><c> the</c><00:03:34.800><c> shape</c>

00:03:35.150 --> 00:03:35.160 align:start position:0%
pixels that are more within the shape
 

00:03:35.160 --> 00:03:37.030 align:start position:0%
pixels that are more within the shape
being<00:03:35.360><c> more</c><00:03:35.560><c> opaque,</c><00:03:36.360><c> and</c><00:03:36.480><c> the</c><00:03:36.519><c> pixels</c><00:03:36.920><c> that</c>

00:03:37.030 --> 00:03:37.040 align:start position:0%
being more opaque, and the pixels that
 

00:03:37.040 --> 00:03:38.949 align:start position:0%
being more opaque, and the pixels that
are<00:03:37.160><c> only</c><00:03:37.480><c> just</c><00:03:37.760><c> inside</c><00:03:38.320><c> being</c><00:03:38.600><c> almost</c>

00:03:38.949 --> 00:03:38.959 align:start position:0%
are only just inside being almost
 

00:03:38.959 --> 00:03:41.030 align:start position:0%
are only just inside being almost
transparent.<00:03:40.000><c> As</c><00:03:40.120><c> you</c><00:03:40.200><c> can</c><00:03:40.320><c> see,</c><00:03:40.560><c> the</c><00:03:40.680><c> result</c>

00:03:41.030 --> 00:03:41.040 align:start position:0%
transparent. As you can see, the result
 

00:03:41.040 --> 00:03:42.990 align:start position:0%
transparent. As you can see, the result
of<00:03:41.120><c> this</c><00:03:41.400><c> is</c><00:03:41.600><c> much</c><00:03:41.920><c> easier</c><00:03:42.239><c> on</c><00:03:42.320><c> the</c><00:03:42.480><c> eyes</c><00:03:42.800><c> and</c>

00:03:42.990 --> 00:03:43.000 align:start position:0%
of this is much easier on the eyes and
 

00:03:43.000 --> 00:03:44.509 align:start position:0%
of this is much easier on the eyes and
much<00:03:43.280><c> more</c><00:03:43.440><c> closely</c><00:03:43.880><c> represents</c><00:03:44.400><c> the</c>

00:03:44.509 --> 00:03:44.519 align:start position:0%
much more closely represents the
 

00:03:44.519 --> 00:03:46.630 align:start position:0%
much more closely represents the
original<00:03:45.040><c> glyph</c><00:03:45.320><c> shape.</c><00:03:46.200><c> It</c><00:03:46.320><c> gives</c><00:03:46.519><c> the</c>

00:03:46.630 --> 00:03:46.640 align:start position:0%
original glyph shape. It gives the
 

00:03:46.640 --> 00:03:49.030 align:start position:0%
original glyph shape. It gives the
illusion<00:03:47.200><c> of</c><00:03:47.360><c> smoothed</c><00:03:47.880><c> edges</c><00:03:48.360><c> when</c><00:03:48.640><c> viewed</c>

00:03:49.030 --> 00:03:49.040 align:start position:0%
illusion of smoothed edges when viewed
 

00:03:49.040 --> 00:03:51.229 align:start position:0%
illusion of smoothed edges when viewed
from<00:03:49.239><c> afar,</c><00:03:49.959><c> compared</c><00:03:50.320><c> to</c><00:03:50.440><c> the</c><00:03:50.600><c> unrasterized</c>

00:03:51.229 --> 00:03:51.239 align:start position:0%
from afar, compared to the unrasterized
 

00:03:51.239 --> 00:03:52.390 align:start position:0%
from afar, compared to the unrasterized
version.

00:03:52.390 --> 00:03:52.400 align:start position:0%
version.
 

00:03:52.400 --> 00:03:54.270 align:start position:0%
version.
The<00:03:52.520><c> algorithm</c><00:03:53.080><c> that</c><00:03:53.280><c> Apple's</c><00:03:53.680><c> Core</c><00:03:53.880><c> Graphics</c>

00:03:54.270 --> 00:03:54.280 align:start position:0%
The algorithm that Apple's Core Graphics
 

00:03:54.280 --> 00:03:55.630 align:start position:0%
The algorithm that Apple's Core Graphics
framework<00:03:54.640><c> uses</c><00:03:55.040><c> to</c><00:03:55.120><c> perform</c><00:03:55.480><c> this</c>

00:03:55.630 --> 00:03:55.640 align:start position:0%
framework uses to perform this
 

00:03:55.640 --> 00:03:57.790 align:start position:0%
framework uses to perform this
rasterization<00:03:56.280><c> process</c><00:03:56.840><c> walks</c><00:03:57.120><c> across</c><00:03:57.440><c> scan</c>

00:03:57.790 --> 00:03:57.800 align:start position:0%
rasterization process walks across scan
 

00:03:57.800 --> 00:03:59.510 align:start position:0%
rasterization process walks across scan
lines,<00:03:58.160><c> which</c><00:03:58.440><c> are</c><00:03:58.640><c> horizontal</c><00:03:59.200><c> rows</c><00:03:59.400><c> of</c>

00:03:59.510 --> 00:03:59.520 align:start position:0%
lines, which are horizontal rows of
 

00:03:59.520 --> 00:04:01.830 align:start position:0%
lines, which are horizontal rows of
pixels,<00:04:00.360><c> and</c><00:04:00.600><c> calculates</c><00:04:01.120><c> the</c><00:04:01.200><c> coverage</c><00:04:01.680><c> of</c>

00:04:01.830 --> 00:04:01.840 align:start position:0%
pixels, and calculates the coverage of
 

00:04:01.840 --> 00:04:03.750 align:start position:0%
pixels, and calculates the coverage of
pixels<00:04:02.320><c> across</c><00:04:02.680><c> that</c><00:04:02.920><c> row.</c>

00:04:03.750 --> 00:04:03.760 align:start position:0%
pixels across that row.
 

00:04:03.760 --> 00:04:05.430 align:start position:0%
pixels across that row.
It<00:04:03.880><c> does</c><00:04:04.080><c> this</c><00:04:04.280><c> for</c><00:04:04.400><c> every</c><00:04:04.640><c> scan</c><00:04:05.000><c> line</c><00:04:05.240><c> in</c><00:04:05.360><c> the</c>

00:04:05.430 --> 00:04:05.440 align:start position:0%
It does this for every scan line in the
 

00:04:05.440 --> 00:04:06.949 align:start position:0%
It does this for every scan line in the
glyph<00:04:05.680><c> being</c><00:04:05.920><c> rendered.</c>

00:04:06.949 --> 00:04:06.959 align:start position:0%
glyph being rendered.
 

00:04:06.959 --> 00:04:08.670 align:start position:0%
glyph being rendered.
Logically,<00:04:07.520><c> it</c><00:04:07.680><c> treats</c><00:04:08.080><c> each</c><00:04:08.280><c> individual</c>

00:04:08.670 --> 00:04:08.680 align:start position:0%
Logically, it treats each individual
 

00:04:08.680 --> 00:04:12.750 align:start position:0%
Logically, it treats each individual
pixel<00:04:09.120><c> as</c><00:04:09.320><c> a</c><00:04:09.400><c> 4,096</c><00:04:10.560><c> by</c><00:04:10.720><c> 4,096</c><00:04:12.040><c> subpixel</c>

00:04:12.750 --> 00:04:12.760 align:start position:0%
pixel as a 4,096 by 4,096 subpixel
 

00:04:12.760 --> 00:04:14.190 align:start position:0%
pixel as a 4,096 by 4,096 subpixel
block,<00:04:13.480><c> and</c><00:04:13.560><c> then</c><00:04:13.680><c> it</c><00:04:13.760><c> performs</c><00:04:14.120><c> a</c>

00:04:14.190 --> 00:04:14.200 align:start position:0%
block, and then it performs a
 

00:04:14.200 --> 00:04:16.150 align:start position:0%
block, and then it performs a
calculation<00:04:14.800><c> on</c><00:04:14.920><c> this</c><00:04:15.280><c> to</c><00:04:15.400><c> convert</c><00:04:15.920><c> each</c>

00:04:16.150 --> 00:04:16.160 align:start position:0%
calculation on this to convert each
 

00:04:16.160 --> 00:04:18.509 align:start position:0%
calculation on this to convert each
coordinate<00:04:16.680><c> point</c><00:04:17.000><c> of</c><00:04:17.120><c> the</c><00:04:17.200><c> glyph</c><00:04:17.480><c> shape</c><00:04:18.320><c> to</c><00:04:18.480><c> a</c>

00:04:18.509 --> 00:04:18.519 align:start position:0%
coordinate point of the glyph shape to a
 

00:04:18.519 --> 00:04:21.270 align:start position:0%
coordinate point of the glyph shape to a
position<00:04:19.040><c> within</c><00:04:19.320><c> this</c><00:04:19.519><c> subpixel</c><00:04:20.200><c> grid.</c>

00:04:21.270 --> 00:04:21.280 align:start position:0%
position within this subpixel grid.
 

00:04:21.280 --> 00:04:22.630 align:start position:0%
position within this subpixel grid.
This<00:04:21.440><c> is</c><00:04:21.519><c> so</c><00:04:21.640><c> that</c><00:04:21.760><c> the</c><00:04:21.880><c> code</c><00:04:22.200><c> is</c><00:04:22.320><c> able</c><00:04:22.520><c> to</c>

00:04:22.630 --> 00:04:22.640 align:start position:0%
This is so that the code is able to
 

00:04:22.640 --> 00:04:24.150 align:start position:0%
This is so that the code is able to
operate<00:04:22.960><c> with</c><00:04:23.120><c> integer</c><00:04:23.480><c> values</c><00:04:23.919><c> for</c><00:04:24.040><c> its</c>

00:04:24.150 --> 00:04:24.160 align:start position:0%
operate with integer values for its
 

00:04:24.160 --> 00:04:26.270 align:start position:0%
operate with integer values for its
calculations,<00:04:25.200><c> rather</c><00:04:25.480><c> than</c><00:04:25.640><c> working</c><00:04:26.000><c> only</c>

00:04:26.270 --> 00:04:26.280 align:start position:0%
calculations, rather than working only
 

00:04:26.280 --> 00:04:27.870 align:start position:0%
calculations, rather than working only
with<00:04:26.440><c> floating</c><00:04:26.840><c> points.</c>

00:04:27.870 --> 00:04:27.880 align:start position:0%
with floating points.
 

00:04:27.880 --> 00:04:29.510 align:start position:0%
with floating points.
Converting<00:04:28.320><c> a</c><00:04:28.360><c> floating-point</c><00:04:28.919><c> value</c><00:04:29.280><c> to</c><00:04:29.440><c> a</c>

00:04:29.510 --> 00:04:29.520 align:start position:0%
Converting a floating-point value to a
 

00:04:29.520 --> 00:04:31.470 align:start position:0%
Converting a floating-point value to a
subpixel<00:04:30.080><c> value</c><00:04:30.480><c> is</c><00:04:30.720><c> simply</c><00:04:31.040><c> done</c><00:04:31.320><c> by</c>

00:04:31.470 --> 00:04:31.480 align:start position:0%
subpixel value is simply done by
 

00:04:31.480 --> 00:04:33.430 align:start position:0%
subpixel value is simply done by
multiplying<00:04:32.120><c> the</c><00:04:32.280><c> float</c><00:04:32.600><c> coordinate</c><00:04:33.040><c> value</c>

00:04:33.430 --> 00:04:33.440 align:start position:0%
multiplying the float coordinate value
 

00:04:33.440 --> 00:04:36.270 align:start position:0%
multiplying the float coordinate value
of<00:04:33.560><c> a</c><00:04:33.640><c> given</c><00:04:33.919><c> point</c><00:04:34.520><c> by</c><00:04:34.760><c> 4,096</c>

00:04:36.270 --> 00:04:36.280 align:start position:0%
of a given point by 4,096
 

00:04:36.280 --> 00:04:38.630 align:start position:0%
of a given point by 4,096
and<00:04:36.560><c> adding</c><00:04:36.840><c> 0.5</c><00:04:37.600><c> to</c><00:04:37.840><c> round</c><00:04:38.120><c> to</c><00:04:38.240><c> the</c><00:04:38.320><c> nearest</c>

00:04:38.630 --> 00:04:38.640 align:start position:0%
and adding 0.5 to round to the nearest
 

00:04:38.640 --> 00:04:40.870 align:start position:0%
and adding 0.5 to round to the nearest
subpixel.<00:04:39.640><c> The</c><00:04:39.720><c> result</c><00:04:40.040><c> of</c><00:04:40.120><c> this</c><00:04:40.280><c> calculation</c>

00:04:40.870 --> 00:04:40.880 align:start position:0%
subpixel. The result of this calculation
 

00:04:40.880 --> 00:04:42.430 align:start position:0%
subpixel. The result of this calculation
will<00:04:40.960><c> be</c><00:04:41.080><c> used</c><00:04:41.320><c> by</c><00:04:41.480><c> Core</c><00:04:41.720><c> Graphics</c><00:04:42.160><c> in</c><00:04:42.280><c> its</c>

00:04:42.430 --> 00:04:42.440 align:start position:0%
will be used by Core Graphics in its
 

00:04:42.440 --> 00:04:44.390 align:start position:0%
will be used by Core Graphics in its
calculations<00:04:43.200><c> to</c><00:04:43.320><c> determine</c><00:04:43.919><c> how</c><00:04:44.040><c> much</c><00:04:44.280><c> of</c><00:04:44.360><c> a</c>

00:04:44.390 --> 00:04:44.400 align:start position:0%
calculations to determine how much of a
 

00:04:44.400 --> 00:04:46.230 align:start position:0%
calculations to determine how much of a
given<00:04:44.680><c> pixel</c><00:04:45.080><c> is</c><00:04:45.200><c> covered.</c><00:04:46.200><c> The</c>

00:04:46.230 --> 00:04:46.240 align:start position:0%
given pixel is covered. The
 

00:04:46.240 --> 00:04:48.230 align:start position:0%
given pixel is covered. The
vulnerability<00:04:46.760><c> that</c><00:04:46.880><c> we</c><00:04:46.960><c> saw</c><00:04:47.240><c> exploited</c><00:04:47.800><c> here</c>

00:04:48.230 --> 00:04:48.240 align:start position:0%
vulnerability that we saw exploited here
 

00:04:48.240 --> 00:04:50.030 align:start position:0%
vulnerability that we saw exploited here
actually<00:04:48.640><c> lies</c><00:04:49.040><c> within</c><00:04:49.320><c> this</c><00:04:49.520><c> conversion</c>

00:04:50.030 --> 00:04:50.040 align:start position:0%
actually lies within this conversion
 

00:04:50.040 --> 00:04:51.950 align:start position:0%
actually lies within this conversion
process.<00:04:50.919><c> And</c><00:04:51.040><c> of</c><00:04:51.120><c> course,</c><00:04:51.480><c> it</c><00:04:51.600><c> is</c><00:04:51.720><c> yet</c>

00:04:51.950 --> 00:04:51.960 align:start position:0%
process. And of course, it is yet
 

00:04:51.960 --> 00:04:54.670 align:start position:0%
process. And of course, it is yet
another<00:04:52.440><c> integer</c><00:04:52.880><c> overflow</c><00:04:53.280><c> type</c><00:04:53.600><c> bug.</c>

00:04:54.670 --> 00:04:54.680 align:start position:0%
another integer overflow type bug.
 

00:04:54.680 --> 00:04:56.350 align:start position:0%
another integer overflow type bug.
After<00:04:54.919><c> the</c><00:04:55.000><c> multiplication</c><00:04:55.600><c> is</c><00:04:55.720><c> performed,</c>

00:04:56.350 --> 00:04:56.360 align:start position:0%
After the multiplication is performed,
 

00:04:56.360 --> 00:04:58.510 align:start position:0%
After the multiplication is performed,
the<00:04:56.480><c> resulting</c><00:04:57.080><c> floating-point</c><00:04:57.800><c> value</c><00:04:58.240><c> needs</c>

00:04:58.510 --> 00:04:58.520 align:start position:0%
the resulting floating-point value needs
 

00:04:58.520 --> 00:05:00.550 align:start position:0%
the resulting floating-point value needs
to<00:04:58.600><c> be</c><00:04:58.720><c> cast</c><00:04:59.320><c> to</c><00:04:59.440><c> an</c><00:04:59.560><c> integer.</c>

00:05:00.550 --> 00:05:00.560 align:start position:0%
to be cast to an integer.
 

00:05:00.560 --> 00:05:02.630 align:start position:0%
to be cast to an integer.
And<00:05:00.720><c> during</c><00:05:01.040><c> this</c><00:05:01.200><c> cast,</c><00:05:01.760><c> it's</c><00:05:02.000><c> possible</c><00:05:02.400><c> for</c>

00:05:02.630 --> 00:05:02.640 align:start position:0%
And during this cast, it's possible for
 

00:05:02.640 --> 00:05:04.630 align:start position:0%
And during this cast, it's possible for
an<00:05:02.800><c> overflow</c><00:05:03.320><c> to</c><00:05:03.560><c> occur.</c>

00:05:04.630 --> 00:05:04.640 align:start position:0%
an overflow to occur.
 

00:05:04.640 --> 00:05:06.870 align:start position:0%
an overflow to occur.
The<00:05:04.720><c> 32-bit</c><00:05:05.320><c> integer</c><00:05:05.640><c> type</c><00:05:06.000><c> has</c><00:05:06.280><c> a</c><00:05:06.400><c> minimum</c>

00:05:06.870 --> 00:05:06.880 align:start position:0%
The 32-bit integer type has a minimum
 

00:05:06.880 --> 00:05:09.710 align:start position:0%
The 32-bit integer type has a minimum
and<00:05:07.080><c> maximum</c><00:05:07.480><c> value</c><00:05:07.880><c> of</c><00:05:08.000><c> about</c><00:05:08.360><c> -2.1</c><00:05:09.280><c> billion</c>

00:05:09.710 --> 00:05:09.720 align:start position:0%
and maximum value of about -2.1 billion
 

00:05:09.720 --> 00:05:11.670 align:start position:0%
and maximum value of about -2.1 billion
and<00:05:09.919><c> +2.1</c><00:05:10.680><c> billion.</c>

00:05:11.670 --> 00:05:11.680 align:start position:0%
and +2.1 billion.
 

00:05:11.680 --> 00:05:14.110 align:start position:0%
and +2.1 billion.
Whereas<00:05:11.960><c> the</c><00:05:12.160><c> double</c><00:05:12.520><c> type</c><00:05:13.000><c> supports</c><00:05:13.440><c> a</c><00:05:13.520><c> range</c>

00:05:14.110 --> 00:05:14.120 align:start position:0%
Whereas the double type supports a range
 

00:05:14.120 --> 00:05:15.750 align:start position:0%
Whereas the double type supports a range
way<00:05:14.400><c> beyond</c><00:05:14.680><c> this.</c>

00:05:15.750 --> 00:05:15.760 align:start position:0%
way beyond this.
 

00:05:15.760 --> 00:05:17.550 align:start position:0%
way beyond this.
So,<00:05:16.040><c> if</c><00:05:16.200><c> we</c><00:05:16.280><c> consider</c><00:05:16.640><c> the</c><00:05:16.760><c> scenario</c><00:05:17.240><c> that</c><00:05:17.440><c> the</c>

00:05:17.550 --> 00:05:17.560 align:start position:0%
So, if we consider the scenario that the
 

00:05:17.560 --> 00:05:19.230 align:start position:0%
So, if we consider the scenario that the
floating-point<00:05:18.240><c> coordinate</c><00:05:19.000><c> when</c>

00:05:19.230 --> 00:05:19.240 align:start position:0%
floating-point coordinate when
 

00:05:19.240 --> 00:05:21.909 align:start position:0%
floating-point coordinate when
multiplied<00:05:19.760><c> by</c><00:05:20.000><c> 4,096</c><00:05:21.040><c> results</c><00:05:21.480><c> in</c><00:05:21.600><c> a</c><00:05:21.680><c> very</c>

00:05:21.909 --> 00:05:21.919 align:start position:0%
multiplied by 4,096 results in a very
 

00:05:21.919 --> 00:05:23.990 align:start position:0%
multiplied by 4,096 results in a very
large<00:05:22.120><c> value</c><00:05:22.840><c> when</c><00:05:22.960><c> it's</c><00:05:23.080><c> cast</c><00:05:23.400><c> to</c><00:05:23.560><c> a</c><00:05:23.640><c> signed</c>

00:05:23.990 --> 00:05:24.000 align:start position:0%
large value when it's cast to a signed
 

00:05:24.000 --> 00:05:25.630 align:start position:0%
large value when it's cast to a signed
32-bit<00:05:24.560><c> integer,</c>

00:05:25.630 --> 00:05:25.640 align:start position:0%
32-bit integer,
 

00:05:25.640 --> 00:05:27.310 align:start position:0%
32-bit integer,
we<00:05:25.720><c> end</c><00:05:25.919><c> up</c><00:05:26.080><c> with</c><00:05:26.200><c> the</c><00:05:26.320><c> wrong</c><00:05:26.520><c> value</c><00:05:27.040><c> because</c>

00:05:27.310 --> 00:05:27.320 align:start position:0%
we end up with the wrong value because
 

00:05:27.320 --> 00:05:28.990 align:start position:0%
we end up with the wrong value because
the<00:05:27.440><c> integer</c><00:05:27.800><c> type</c><00:05:28.080><c> is</c><00:05:28.160><c> not</c><00:05:28.400><c> capable</c><00:05:28.880><c> of</c>

00:05:28.990 --> 00:05:29.000 align:start position:0%
the integer type is not capable of
 

00:05:29.000 --> 00:05:31.510 align:start position:0%
the integer type is not capable of
representing<00:05:29.600><c> such</c><00:05:29.919><c> a</c><00:05:30.000><c> high</c><00:05:30.160><c> number.</c>

00:05:31.510 --> 00:05:31.520 align:start position:0%
representing such a high number.
 

00:05:31.520 --> 00:05:33.070 align:start position:0%
representing such a high number.
So,<00:05:31.640><c> what</c><00:05:31.800><c> value</c><00:05:32.120><c> does</c><00:05:32.240><c> the</c><00:05:32.360><c> integer</c><00:05:32.720><c> actually</c>

00:05:33.070 --> 00:05:33.080 align:start position:0%
So, what value does the integer actually
 

00:05:33.080 --> 00:05:34.030 align:start position:0%
So, what value does the integer actually
get?

00:05:34.030 --> 00:05:34.040 align:start position:0%
get?
 

00:05:34.040 --> 00:05:35.470 align:start position:0%
get?
Well,<00:05:34.240><c> depending</c><00:05:34.600><c> on</c><00:05:34.680><c> the</c><00:05:34.800><c> compiler</c><00:05:35.360><c> or</c>

00:05:35.470 --> 00:05:35.480 align:start position:0%
Well, depending on the compiler or
 

00:05:35.480 --> 00:05:37.190 align:start position:0%
Well, depending on the compiler or
configuration,<00:05:36.280><c> this</c><00:05:36.480><c> conversion</c><00:05:37.080><c> can</c>

00:05:37.190 --> 00:05:37.200 align:start position:0%
configuration, this conversion can
 

00:05:37.200 --> 00:05:39.150 align:start position:0%
configuration, this conversion can
actually<00:05:37.440><c> be</c><00:05:37.560><c> handled</c><00:05:38.000><c> differently.</c>

00:05:39.150 --> 00:05:39.160 align:start position:0%
actually be handled differently.
 

00:05:39.160 --> 00:05:41.070 align:start position:0%
actually be handled differently.
For<00:05:39.280><c> example,</c><00:05:39.720><c> the</c><00:05:39.880><c> compiler</c><00:05:40.360><c> might</c><00:05:40.640><c> use</c><00:05:40.880><c> the</c>

00:05:41.070 --> 00:05:41.080 align:start position:0%
For example, the compiler might use the
 

00:05:41.080 --> 00:05:44.430 align:start position:0%
For example, the compiler might use the
ARM64<00:05:41.720><c> instruction</c><00:05:42.480><c> FCVTZS</c>

00:05:44.430 --> 00:05:44.440 align:start position:0%
ARM64 instruction FCVTZS
 

00:05:44.440 --> 00:05:45.990 align:start position:0%
ARM64 instruction FCVTZS
to<00:05:44.600><c> directly</c><00:05:45.080><c> convert</c><00:05:45.400><c> the</c><00:05:45.480><c> floating-point</c>

00:05:45.990 --> 00:05:46.000 align:start position:0%
to directly convert the floating-point
 

00:05:46.000 --> 00:05:48.070 align:start position:0%
to directly convert the floating-point
to<00:05:46.120><c> a</c><00:05:46.160><c> signed</c><00:05:46.520><c> integer,</c><00:05:47.240><c> storing</c><00:05:47.600><c> the</c><00:05:47.680><c> result</c>

00:05:48.070 --> 00:05:48.080 align:start position:0%
to a signed integer, storing the result
 

00:05:48.080 --> 00:05:51.150 align:start position:0%
to a signed integer, storing the result
into<00:05:48.480><c> a</c><00:05:48.600><c> 32-bit</c><00:05:49.400><c> W</c><00:05:49.720><c> register,</c><00:05:50.480><c> which</c><00:05:50.720><c> results</c>

00:05:51.150 --> 00:05:51.160 align:start position:0%
into a 32-bit W register, which results
 

00:05:51.160 --> 00:05:53.750 align:start position:0%
into a 32-bit W register, which results
in<00:05:51.320><c> the</c><00:05:51.440><c> truncated</c><00:05:52.000><c> value</c><00:05:52.320><c> being</c><00:05:52.960><c> the</c><00:05:53.120><c> int32</c>

00:05:53.750 --> 00:05:53.760 align:start position:0%
in the truncated value being the int32
 

00:05:53.760 --> 00:05:56.430 align:start position:0%
in the truncated value being the int32
max<00:05:54.160><c> on</c><00:05:54.320><c> overflow,</c><00:05:55.120><c> which</c><00:05:55.320><c> is</c><00:05:55.600><c> 2.1</c><00:05:56.040><c> billion</c><00:05:56.360><c> or</c>

00:05:56.430 --> 00:05:56.440 align:start position:0%
max on overflow, which is 2.1 billion or
 

00:05:56.440 --> 00:05:57.590 align:start position:0%
max on overflow, which is 2.1 billion or
so.

00:05:57.590 --> 00:05:57.600 align:start position:0%
so.
 

00:05:57.600 --> 00:05:59.110 align:start position:0%
so.
Alternatively,<00:05:58.320><c> the</c><00:05:58.520><c> compiler</c><00:05:58.960><c> might</c>

00:05:59.110 --> 00:05:59.120 align:start position:0%
Alternatively, the compiler might
 

00:05:59.120 --> 00:06:01.190 align:start position:0%
Alternatively, the compiler might
instead<00:05:59.560><c> convert</c><00:05:59.960><c> the</c><00:06:00.040><c> double</c><00:06:00.360><c> to</c><00:06:00.520><c> a</c><00:06:00.600><c> 64-bit</c>

00:06:01.190 --> 00:06:01.200 align:start position:0%
instead convert the double to a 64-bit
 

00:06:01.200 --> 00:06:03.270 align:start position:0%
instead convert the double to a 64-bit
integer<00:06:01.560><c> first</c><00:06:02.200><c> and</c><00:06:02.320><c> then</c><00:06:02.480><c> truncate</c><00:06:02.960><c> it</c><00:06:03.120><c> to</c>

00:06:03.270 --> 00:06:03.280 align:start position:0%
integer first and then truncate it to
 

00:06:03.280 --> 00:06:05.830 align:start position:0%
integer first and then truncate it to
keep<00:06:03.560><c> the</c><00:06:03.680><c> low</c><00:06:03.920><c> 32</c><00:06:04.400><c> bits.</c><00:06:05.120><c> This</c><00:06:05.320><c> results</c><00:06:05.720><c> in</c>

00:06:05.830 --> 00:06:05.840 align:start position:0%
keep the low 32 bits. This results in
 

00:06:05.840 --> 00:06:08.190 align:start position:0%
keep the low 32 bits. This results in
some<00:06:06.080><c> large</c><00:06:06.360><c> negative</c><00:06:06.760><c> value.</c>

00:06:08.190 --> 00:06:08.200 align:start position:0%
some large negative value.
 

00:06:08.200 --> 00:06:09.790 align:start position:0%
some large negative value.
Depending<00:06:08.560><c> on</c><00:06:08.640><c> the</c><00:06:08.680><c> compiler</c><00:06:09.080><c> choice,</c><00:06:09.560><c> the</c>

00:06:09.790 --> 00:06:09.800 align:start position:0%
Depending on the compiler choice, the
 

00:06:09.800 --> 00:06:11.630 align:start position:0%
Depending on the compiler choice, the
overflow<00:06:10.240><c> in</c><00:06:10.360><c> cast</c><00:06:10.840><c> between</c><00:06:11.120><c> the</c><00:06:11.200><c> double</c><00:06:11.520><c> and</c>

00:06:11.630 --> 00:06:11.640 align:start position:0%
overflow in cast between the double and
 

00:06:11.640 --> 00:06:13.270 align:start position:0%
overflow in cast between the double and
the<00:06:11.760><c> integer</c><00:06:12.280><c> can</c><00:06:12.440><c> produce</c><00:06:12.960><c> different</c>

00:06:13.270 --> 00:06:13.280 align:start position:0%
the integer can produce different
 

00:06:13.280 --> 00:06:14.470 align:start position:0%
the integer can produce different
results.

00:06:14.470 --> 00:06:14.480 align:start position:0%
results.
 

00:06:14.480 --> 00:06:15.710 align:start position:0%
results.
And<00:06:14.560><c> it</c><00:06:14.640><c> is</c><00:06:14.760><c> in</c><00:06:14.960><c> this</c><00:06:15.120><c> difference</c><00:06:15.520><c> that</c>

00:06:15.710 --> 00:06:15.720 align:start position:0%
And it is in this difference that
 

00:06:15.720 --> 00:06:17.830 align:start position:0%
And it is in this difference that
Kalif.io<00:06:16.920><c> managed</c><00:06:17.240><c> to</c><00:06:17.320><c> find</c><00:06:17.520><c> a</c><00:06:17.560><c> way</c><00:06:17.720><c> to</c>

00:06:17.830 --> 00:06:17.840 align:start position:0%
Kalif.io managed to find a way to
 

00:06:17.840 --> 00:06:19.270 align:start position:0%
Kalif.io managed to find a way to
trigger<00:06:18.160><c> a</c><00:06:18.240><c> memory</c><00:06:18.560><c> corruption</c><00:06:19.000><c> within</c><00:06:19.200><c> the</c>

00:06:19.270 --> 00:06:19.280 align:start position:0%
trigger a memory corruption within the
 

00:06:19.280 --> 00:06:20.510 align:start position:0%
trigger a memory corruption within the
font<00:06:19.560><c> renderer.</c>

00:06:20.510 --> 00:06:20.520 align:start position:0%
font renderer.
 

00:06:20.520 --> 00:06:22.670 align:start position:0%
font renderer.
Kalif<00:06:20.800><c> identified</c><00:06:21.360><c> that</c><00:06:21.480><c> the</c><00:06:21.600><c> functions</c><00:06:22.320><c> AA</c>

00:06:22.670 --> 00:06:22.680 align:start position:0%
Kalif identified that the functions AA
 

00:06:22.680 --> 00:06:24.990 align:start position:0%
Kalif identified that the functions AA
Move<00:06:23.000><c> To</c><00:06:23.280><c> and</c><00:06:23.560><c> AA</c><00:06:23.800><c> Line</c><00:06:24.200><c> To</c><00:06:24.560><c> from</c><00:06:24.720><c> the</c><00:06:24.800><c> Core</c>

00:06:24.990 --> 00:06:25.000 align:start position:0%
Move To and AA Line To from the Core
 

00:06:25.000 --> 00:06:26.870 align:start position:0%
Move To and AA Line To from the Core
Graphics<00:06:25.360><c> framework,</c><00:06:26.080><c> which</c><00:06:26.360><c> are</c><00:06:26.480><c> involved</c>

00:06:26.870 --> 00:06:26.880 align:start position:0%
Graphics framework, which are involved
 

00:06:26.880 --> 00:06:29.190 align:start position:0%
Graphics framework, which are involved
in<00:06:27.000><c> this</c><00:06:27.160><c> rasterization</c><00:06:27.760><c> process,</c><00:06:28.600><c> both</c><00:06:28.880><c> use</c>

00:06:29.190 --> 00:06:29.200 align:start position:0%
in this rasterization process, both use
 

00:06:29.200 --> 00:06:31.590 align:start position:0%
in this rasterization process, both use
different<00:06:29.640><c> arm64</c><00:06:30.360><c> instructions</c><00:06:31.000><c> to</c><00:06:31.200><c> handle</c>

00:06:31.590 --> 00:06:31.600 align:start position:0%
different arm64 instructions to handle
 

00:06:31.600 --> 00:06:33.190 align:start position:0%
different arm64 instructions to handle
the<00:06:31.720><c> type</c><00:06:31.960><c> cast.</c>

00:06:33.190 --> 00:06:33.200 align:start position:0%
the type cast.
 

00:06:33.200 --> 00:06:34.630 align:start position:0%
the type cast.
The<00:06:33.240><c> Move</c><00:06:33.480><c> To</c><00:06:33.640><c> function</c><00:06:34.200><c> uses</c><00:06:34.520><c> the</c>

00:06:34.630 --> 00:06:34.640 align:start position:0%
The Move To function uses the
 

00:06:34.640 --> 00:06:36.110 align:start position:0%
The Move To function uses the
instruction<00:06:35.200><c> to</c><00:06:35.360><c> convert</c><00:06:35.720><c> the</c><00:06:35.800><c> double</c>

00:06:36.110 --> 00:06:36.120 align:start position:0%
instruction to convert the double
 

00:06:36.120 --> 00:06:38.350 align:start position:0%
instruction to convert the double
directly<00:06:36.720><c> to</c><00:06:36.840><c> a</c><00:06:36.919><c> 32-bit</c><00:06:37.440><c> integer,</c><00:06:38.120><c> but</c><00:06:38.240><c> the</c>

00:06:38.350 --> 00:06:38.360 align:start position:0%
directly to a 32-bit integer, but the
 

00:06:38.360 --> 00:06:40.510 align:start position:0%
directly to a 32-bit integer, but the
Line<00:06:38.640><c> To</c><00:06:39.000><c> uses</c><00:06:39.360><c> a</c><00:06:39.480><c> different</c><00:06:39.800><c> instruction</c><00:06:40.400><c> to</c>

00:06:40.510 --> 00:06:40.520 align:start position:0%
Line To uses a different instruction to
 

00:06:40.520 --> 00:06:42.270 align:start position:0%
Line To uses a different instruction to
first<00:06:40.840><c> convert</c><00:06:41.160><c> the</c><00:06:41.200><c> double</c><00:06:41.480><c> to</c><00:06:41.640><c> a</c><00:06:41.680><c> 64-bit</c>

00:06:42.270 --> 00:06:42.280 align:start position:0%
first convert the double to a 64-bit
 

00:06:42.280 --> 00:06:44.630 align:start position:0%
first convert the double to a 64-bit
integer<00:06:43.160><c> and</c><00:06:43.280><c> then</c><00:06:43.400><c> performs</c><00:06:43.800><c> the</c><00:06:43.880><c> truncation</c>

00:06:44.630 --> 00:06:44.640 align:start position:0%
integer and then performs the truncation
 

00:06:44.640 --> 00:06:48.110 align:start position:0%
integer and then performs the truncation
to<00:06:44.760><c> get</c><00:06:45.040><c> bottom</c><00:06:45.360><c> 32</c><00:06:45.880><c> bits</c><00:06:46.320><c> of</c><00:06:46.520><c> that</c><00:06:46.680><c> value.</c>

00:06:48.110 --> 00:06:48.120 align:start position:0%
to get bottom 32 bits of that value.
 

00:06:48.120 --> 00:06:49.630 align:start position:0%
to get bottom 32 bits of that value.
In<00:06:48.200><c> the</c><00:06:48.320><c> higher-level</c><00:06:48.800><c> C</c><00:06:49.000><c> code</c><00:06:49.240><c> for</c><00:06:49.360><c> both</c><00:06:49.560><c> of</c>

00:06:49.630 --> 00:06:49.640 align:start position:0%
In the higher-level C code for both of
 

00:06:49.640 --> 00:06:50.870 align:start position:0%
In the higher-level C code for both of
these<00:06:49.800><c> functions,</c><00:06:50.360><c> there</c><00:06:50.480><c> would</c><00:06:50.600><c> have</c><00:06:50.680><c> been</c>

00:06:50.870 --> 00:06:50.880 align:start position:0%
these functions, there would have been
 

00:06:50.880 --> 00:06:52.470 align:start position:0%
these functions, there would have been
no<00:06:51.040><c> visible</c><00:06:51.440><c> difference</c><00:06:51.919><c> in</c><00:06:52.160><c> how</c><00:06:52.320><c> they</c>

00:06:52.470 --> 00:06:52.480 align:start position:0%
no visible difference in how they
 

00:06:52.480 --> 00:06:53.550 align:start position:0%
no visible difference in how they
operate.

00:06:53.550 --> 00:06:53.560 align:start position:0%
operate.
 

00:06:53.560 --> 00:06:55.030 align:start position:0%
operate.
You'd<00:06:53.760><c> see</c><00:06:53.960><c> a</c><00:06:54.040><c> line</c><00:06:54.280><c> of</c><00:06:54.360><c> C</c><00:06:54.520><c> code</c><00:06:54.800><c> in</c><00:06:54.880><c> each</c>

00:06:55.030 --> 00:06:55.040 align:start position:0%
You'd see a line of C code in each
 

00:06:55.040 --> 00:06:57.710 align:start position:0%
You'd see a line of C code in each
function,<00:06:55.480><c> both</c><00:06:55.760><c> doing</c><00:06:56.120><c> the</c><00:06:56.360><c> int32</c><00:06:57.040><c> type</c><00:06:57.320><c> cast</c>

00:06:57.710 --> 00:06:57.720 align:start position:0%
function, both doing the int32 type cast
 

00:06:57.720 --> 00:06:59.870 align:start position:0%
function, both doing the int32 type cast
on<00:06:57.840><c> the</c><00:06:57.919><c> floating</c><00:06:58.240><c> point</c><00:06:58.440><c> variable.</c>

00:06:59.870 --> 00:06:59.880 align:start position:0%
on the floating point variable.
 

00:06:59.880 --> 00:07:01.590 align:start position:0%
on the floating point variable.
This<00:07:00.040><c> difference</c><00:07:00.440><c> is</c><00:07:00.680><c> only</c><00:07:00.960><c> visible</c><00:07:01.360><c> when</c>

00:07:01.590 --> 00:07:01.600 align:start position:0%
This difference is only visible when
 

00:07:01.600 --> 00:07:03.830 align:start position:0%
This difference is only visible when
analyzing<00:07:02.080><c> the</c><00:07:02.160><c> compiled</c><00:07:02.680><c> code,</c><00:07:03.400><c> making</c><00:07:03.720><c> it</c>

00:07:03.830 --> 00:07:03.840 align:start position:0%
analyzing the compiled code, making it
 

00:07:03.840 --> 00:07:05.510 align:start position:0%
analyzing the compiled code, making it
particularly<00:07:04.280><c> subtle.</c>

00:07:05.510 --> 00:07:05.520 align:start position:0%
particularly subtle.
 

00:07:05.520 --> 00:07:06.870 align:start position:0%
particularly subtle.
So,<00:07:05.640><c> given</c><00:07:05.919><c> the</c><00:07:06.000><c> same</c><00:07:06.280><c> floating</c><00:07:06.640><c> point</c>

00:07:06.870 --> 00:07:06.880 align:start position:0%
So, given the same floating point
 

00:07:06.880 --> 00:07:08.870 align:start position:0%
So, given the same floating point
coordinate,<00:07:07.560><c> the</c><00:07:07.680><c> cast</c><00:07:08.080><c> to</c><00:07:08.200><c> integer</c><00:07:08.760><c> will</c>

00:07:08.870 --> 00:07:08.880 align:start position:0%
coordinate, the cast to integer will
 

00:07:08.880 --> 00:07:11.030 align:start position:0%
coordinate, the cast to integer will
result<00:07:09.200><c> in</c><00:07:09.360><c> two</c><00:07:09.640><c> different</c><00:07:10.040><c> values</c><00:07:10.640><c> if</c><00:07:10.840><c> each</c>

00:07:11.030 --> 00:07:11.040 align:start position:0%
result in two different values if each
 

00:07:11.040 --> 00:07:12.870 align:start position:0%
result in two different values if each
of<00:07:11.080><c> these</c><00:07:11.280><c> functions</c><00:07:11.680><c> are</c><00:07:11.760><c> used.</c>

00:07:12.870 --> 00:07:12.880 align:start position:0%
of these functions are used.
 

00:07:12.880 --> 00:07:14.070 align:start position:0%
of these functions are used.
And<00:07:12.960><c> the</c><00:07:13.040><c> proof</c><00:07:13.240><c> of</c><00:07:13.360><c> concept</c><00:07:13.760><c> that</c><00:07:13.840><c> they</c><00:07:13.960><c> were</c>

00:07:14.070 --> 00:07:14.080 align:start position:0%
And the proof of concept that they were
 

00:07:14.080 --> 00:07:16.870 align:start position:0%
And the proof of concept that they were
able<00:07:14.240><c> to</c><00:07:14.360><c> generate</c><00:07:14.800><c> leverages</c><00:07:15.280><c> this</c><00:07:15.480><c> fact.</c>

00:07:16.870 --> 00:07:16.880 align:start position:0%
able to generate leverages this fact.
 

00:07:16.880 --> 00:07:18.630 align:start position:0%
able to generate leverages this fact.
They<00:07:17.040><c> create</c><00:07:17.400><c> a</c><00:07:17.480><c> glyph</c><00:07:17.880><c> that</c><00:07:18.040><c> triggers</c><00:07:18.400><c> both</c>

00:07:18.630 --> 00:07:18.640 align:start position:0%
They create a glyph that triggers both
 

00:07:18.640 --> 00:07:20.670 align:start position:0%
They create a glyph that triggers both
functions<00:07:19.120><c> during</c><00:07:19.400><c> rendering</c><00:07:20.160><c> and</c><00:07:20.400><c> due</c><00:07:20.560><c> to</c>

00:07:20.670 --> 00:07:20.680 align:start position:0%
functions during rendering and due to
 

00:07:20.680 --> 00:07:22.430 align:start position:0%
functions during rendering and due to
the<00:07:20.760><c> mismatch</c><00:07:21.320><c> in</c><00:07:21.440><c> how</c><00:07:21.720><c> these</c><00:07:21.919><c> coordinates</c>

00:07:22.430 --> 00:07:22.440 align:start position:0%
the mismatch in how these coordinates
 

00:07:22.440 --> 00:07:24.909 align:start position:0%
the mismatch in how these coordinates
have<00:07:22.560><c> been</c><00:07:22.720><c> cast,</c><00:07:23.560><c> later</c><00:07:23.960><c> on</c><00:07:24.160><c> in</c><00:07:24.280><c> the</c><00:07:24.400><c> call</c><00:07:24.640><c> to</c>

00:07:24.909 --> 00:07:24.919 align:start position:0%
have been cast, later on in the call to
 

00:07:24.919 --> 00:07:27.550 align:start position:0%
have been cast, later on in the call to
AA<00:07:25.240><c> Add</c><00:07:25.600><c> Edges,</c><00:07:26.200><c> a</c><00:07:26.320><c> buffer</c><00:07:26.640><c> is</c><00:07:26.760><c> allocated</c><00:07:27.320><c> with</c>

00:07:27.550 --> 00:07:27.560 align:start position:0%
AA Add Edges, a buffer is allocated with
 

00:07:27.560 --> 00:07:30.070 align:start position:0%
AA Add Edges, a buffer is allocated with
a<00:07:27.680><c> smaller</c><00:07:28.080><c> size</c><00:07:28.440><c> than</c><00:07:28.600><c> intended.</c><00:07:29.640><c> This</c><00:07:29.760><c> goes</c>

00:07:30.070 --> 00:07:30.080 align:start position:0%
a smaller size than intended. This goes
 

00:07:30.080 --> 00:07:31.909 align:start position:0%
a smaller size than intended. This goes
unnoticed<00:07:30.760><c> and</c><00:07:31.040><c> subsequently</c><00:07:31.520><c> leads</c><00:07:31.760><c> to</c>

00:07:31.909 --> 00:07:31.919 align:start position:0%
unnoticed and subsequently leads to
 

00:07:31.919 --> 00:07:33.230 align:start position:0%
unnoticed and subsequently leads to
memory<00:07:32.200><c> corruption.</c>

00:07:33.230 --> 00:07:33.240 align:start position:0%
memory corruption.
 

00:07:33.240 --> 00:07:34.750 align:start position:0%
memory corruption.
The<00:07:33.320><c> undersized</c><00:07:33.840><c> buffer</c><00:07:34.080><c> allocation</c><00:07:34.640><c> is</c>

00:07:34.750 --> 00:07:34.760 align:start position:0%
The undersized buffer allocation is
 

00:07:34.760 --> 00:07:36.550 align:start position:0%
The undersized buffer allocation is
intended<00:07:35.200><c> to</c><00:07:35.280><c> hold</c><00:07:35.520><c> data</c><00:07:35.840><c> relating</c><00:07:36.320><c> to</c><00:07:36.400><c> the</c>

00:07:36.550 --> 00:07:36.560 align:start position:0%
intended to hold data relating to the
 

00:07:36.560 --> 00:07:38.590 align:start position:0%
intended to hold data relating to the
alpha<00:07:36.800><c> values</c><00:07:37.160><c> of</c><00:07:37.280><c> pixels</c><00:07:38.040><c> on</c><00:07:38.240><c> the</c><00:07:38.320><c> current</c>

00:07:38.590 --> 00:07:38.600 align:start position:0%
alpha values of pixels on the current
 

00:07:38.600 --> 00:07:40.470 align:start position:0%
alpha values of pixels on the current
scan<00:07:38.880><c> line,</c><00:07:39.360><c> and</c><00:07:39.640><c> since</c><00:07:39.880><c> this</c><00:07:40.040><c> is</c><00:07:40.160><c> smaller</c>

00:07:40.470 --> 00:07:40.480 align:start position:0%
scan line, and since this is smaller
 

00:07:40.480 --> 00:07:42.110 align:start position:0%
scan line, and since this is smaller
than<00:07:40.600><c> it</c><00:07:40.680><c> should</c><00:07:40.840><c> be,</c><00:07:41.400><c> as</c><00:07:41.600><c> the</c><00:07:41.680><c> rendering</c>

00:07:42.110 --> 00:07:42.120 align:start position:0%
than it should be, as the rendering
 

00:07:42.120 --> 00:07:43.830 align:start position:0%
than it should be, as the rendering
pipeline<00:07:42.480><c> continues,</c><00:07:43.120><c> data</c><00:07:43.440><c> begins</c><00:07:43.720><c> to</c>

00:07:43.830 --> 00:07:43.840 align:start position:0%
pipeline continues, data begins to
 

00:07:43.840 --> 00:07:45.630 align:start position:0%
pipeline continues, data begins to
overflow<00:07:44.320><c> out</c><00:07:44.480><c> of</c><00:07:44.560><c> the</c><00:07:44.640><c> buffer</c><00:07:45.080><c> and</c><00:07:45.240><c> corrupt</c>

00:07:45.630 --> 00:07:45.640 align:start position:0%
overflow out of the buffer and corrupt
 

00:07:45.640 --> 00:07:47.110 align:start position:0%
overflow out of the buffer and corrupt
adjacent<00:07:46.040><c> memory.</c>

00:07:47.110 --> 00:07:47.120 align:start position:0%
adjacent memory.
 

00:07:47.120 --> 00:07:48.670 align:start position:0%
adjacent memory.
A<00:07:47.160><c> classic</c><00:07:47.640><c> out-of-bounds</c><00:07:48.240><c> corruption</c>

00:07:48.670 --> 00:07:48.680 align:start position:0%
A classic out-of-bounds corruption
 

00:07:48.680 --> 00:07:49.870 align:start position:0%
A classic out-of-bounds corruption
primitive.

00:07:49.870 --> 00:07:49.880 align:start position:0%
primitive.
 

00:07:49.880 --> 00:07:51.270 align:start position:0%
primitive.
To<00:07:49.960><c> actually</c><00:07:50.200><c> trigger</c><00:07:50.440><c> the</c><00:07:50.520><c> bug</c><00:07:50.800><c> on</c><00:07:50.920><c> a</c><00:07:50.960><c> live</c>

00:07:51.270 --> 00:07:51.280 align:start position:0%
To actually trigger the bug on a live
 

00:07:51.280 --> 00:07:53.150 align:start position:0%
To actually trigger the bug on a live
system,<00:07:51.800><c> we</c><00:07:51.920><c> must</c><00:07:52.120><c> find</c><00:07:52.400><c> a</c><00:07:52.440><c> code</c><00:07:52.720><c> path</c><00:07:52.960><c> that</c>

00:07:53.150 --> 00:07:53.160 align:start position:0%
system, we must find a code path that
 

00:07:53.160 --> 00:07:54.990 align:start position:0%
system, we must find a code path that
reaches<00:07:53.520><c> the</c><00:07:53.640><c> glyph</c><00:07:53.880><c> renderer.</c><00:07:54.680><c> This</c><00:07:54.840><c> could</c>

00:07:54.990 --> 00:07:55.000 align:start position:0%
reaches the glyph renderer. This could
 

00:07:55.000 --> 00:07:56.670 align:start position:0%
reaches the glyph renderer. This could
theoretically<00:07:55.520><c> be</c><00:07:55.640><c> done</c><00:07:55.880><c> in</c><00:07:55.960><c> multiple</c><00:07:56.360><c> ways,</c>

00:07:56.670 --> 00:07:56.680 align:start position:0%
theoretically be done in multiple ways,
 

00:07:56.680 --> 00:07:58.790 align:start position:0%
theoretically be done in multiple ways,
but<00:07:56.960><c> Kalif</c><00:07:57.400><c> chose</c><00:07:57.680><c> to</c><00:07:57.760><c> do</c><00:07:57.920><c> this</c><00:07:58.080><c> the</c><00:07:58.200><c> same</c><00:07:58.520><c> way</c>

00:07:58.790 --> 00:07:58.800 align:start position:0%
but Kalif chose to do this the same way
 

00:07:58.800 --> 00:08:01.230 align:start position:0%
but Kalif chose to do this the same way
as<00:07:59.000><c> the</c><00:07:59.120><c> original</c><00:07:59.600><c> attackers.</c><00:08:00.600><c> By</c><00:08:00.720><c> inserting</c>

00:08:01.230 --> 00:08:01.240 align:start position:0%
as the original attackers. By inserting
 

00:08:01.240 --> 00:08:03.910 align:start position:0%
as the original attackers. By inserting
the<00:08:01.320><c> glyph</c><00:08:01.800><c> into</c><00:08:02.080><c> a</c><00:08:02.160><c> PDF</c><00:08:02.520><c> file.</c><00:08:03.280><c> Upon</c><00:08:03.640><c> viewing</c>

00:08:03.910 --> 00:08:03.920 align:start position:0%
the glyph into a PDF file. Upon viewing
 

00:08:03.920 --> 00:08:06.070 align:start position:0%
the glyph into a PDF file. Upon viewing
that<00:08:04.080><c> PDF</c><00:08:04.440><c> file</c><00:08:04.840><c> on</c><00:08:04.960><c> a</c><00:08:05.040><c> vulnerable</c><00:08:05.440><c> system,</c>

00:08:06.070 --> 00:08:06.080 align:start position:0%
that PDF file on a vulnerable system,
 

00:08:06.080 --> 00:08:07.750 align:start position:0%
that PDF file on a vulnerable system,
iOS<00:08:06.520><c> will</c><00:08:06.680><c> invoke</c><00:08:07.120><c> the</c><00:08:07.200><c> Core</c><00:08:07.400><c> Graphics</c>

00:08:07.750 --> 00:08:07.760 align:start position:0%
iOS will invoke the Core Graphics
 

00:08:07.760 --> 00:08:09.590 align:start position:0%
iOS will invoke the Core Graphics
framework<00:08:08.240><c> to</c><00:08:08.480><c> render</c><00:08:08.760><c> the</c><00:08:08.880><c> glyph</c><00:08:09.320><c> stored</c>

00:08:09.590 --> 00:08:09.600 align:start position:0%
framework to render the glyph stored
 

00:08:09.600 --> 00:08:11.950 align:start position:0%
framework to render the glyph stored
within<00:08:10.360><c> and</c><00:08:10.600><c> the</c><00:08:10.680><c> process</c><00:08:11.040><c> will</c><00:08:11.120><c> crash.</c><00:08:11.840><c> The</c>

00:08:11.950 --> 00:08:11.960 align:start position:0%
within and the process will crash. The
 

00:08:11.960 --> 00:08:13.830 align:start position:0%
within and the process will crash. The
proof<00:08:12.160><c> of</c><00:08:12.280><c> concept</c><00:08:12.680><c> provided</c><00:08:13.120><c> by</c><00:08:13.280><c> Kalif</c><00:08:13.680><c> can</c>

00:08:13.830 --> 00:08:13.840 align:start position:0%
proof of concept provided by Kalif can
 

00:08:13.840 --> 00:08:15.870 align:start position:0%
proof of concept provided by Kalif can
be<00:08:14.000><c> run</c><00:08:14.280><c> on</c><00:08:14.440><c> a</c><00:08:14.520><c> vulnerable</c><00:08:14.880><c> macOS</c><00:08:15.240><c> machine</c><00:08:15.760><c> and</c>

00:08:15.870 --> 00:08:15.880 align:start position:0%
be run on a vulnerable macOS machine and
 

00:08:15.880 --> 00:08:17.590 align:start position:0%
be run on a vulnerable macOS machine and
you'll<00:08:16.000><c> see</c><00:08:16.160><c> the</c><00:08:16.240><c> backtrace</c><00:08:16.760><c> listing</c><00:08:17.160><c> a</c><00:08:17.240><c> bunch</c>

00:08:17.590 --> 00:08:17.600 align:start position:0%
you'll see the backtrace listing a bunch
 

00:08:17.600 --> 00:08:19.470 align:start position:0%
you'll see the backtrace listing a bunch
of<00:08:17.720><c> Core</c><00:08:17.880><c> Graphics</c><00:08:18.240><c> function</c><00:08:18.560><c> calls</c><00:08:19.160><c> leading</c>

00:08:19.470 --> 00:08:19.480 align:start position:0%
of Core Graphics function calls leading
 

00:08:19.480 --> 00:08:21.550 align:start position:0%
of Core Graphics function calls leading
up<00:08:19.680><c> to</c><00:08:19.800><c> the</c><00:08:19.880><c> point</c><00:08:20.080><c> of</c><00:08:20.160><c> crash.</c><00:08:21.120><c> This</c><00:08:21.280><c> is</c><00:08:21.360><c> just</c>

00:08:21.550 --> 00:08:21.560 align:start position:0%
up to the point of crash. This is just
 

00:08:21.560 --> 00:08:23.510 align:start position:0%
up to the point of crash. This is just
one<00:08:21.800><c> method</c><00:08:22.200><c> of</c><00:08:22.480><c> reaching</c><00:08:22.800><c> memory</c><00:08:23.040><c> corruption</c>

00:08:23.510 --> 00:08:23.520 align:start position:0%
one method of reaching memory corruption
 

00:08:23.520 --> 00:08:25.150 align:start position:0%
one method of reaching memory corruption
through<00:08:23.760><c> the</c><00:08:23.880><c> use</c><00:08:24.040><c> of</c><00:08:24.120><c> this</c><00:08:24.280><c> vulnerability,</c>

00:08:25.150 --> 00:08:25.160 align:start position:0%
through the use of this vulnerability,
 

00:08:25.160 --> 00:08:26.670 align:start position:0%
through the use of this vulnerability,
but<00:08:25.320><c> it's</c><00:08:25.440><c> actually</c><00:08:25.680><c> entirely</c><00:08:26.160><c> possible</c><00:08:26.560><c> that</c>

00:08:26.670 --> 00:08:26.680 align:start position:0%
but it's actually entirely possible that
 

00:08:26.680 --> 00:08:28.150 align:start position:0%
but it's actually entirely possible that
the<00:08:26.800><c> original</c><00:08:27.240><c> exploit</c><00:08:27.640><c> did</c><00:08:27.840><c> something</c>

00:08:28.150 --> 00:08:28.160 align:start position:0%
the original exploit did something
 

00:08:28.160 --> 00:08:29.990 align:start position:0%
the original exploit did something
different.<00:08:29.000><c> There's</c><00:08:29.120><c> a</c><00:08:29.200><c> lot</c><00:08:29.360><c> involved</c><00:08:29.840><c> in</c><00:08:29.919><c> the</c>

00:08:29.990 --> 00:08:30.000 align:start position:0%
different. There's a lot involved in the
 

00:08:30.000 --> 00:08:31.230 align:start position:0%
different. There's a lot involved in the
rendering<00:08:30.360><c> of</c><00:08:30.480><c> glyphs</c><00:08:30.840><c> through</c><00:08:31.040><c> Core</c>

00:08:31.230 --> 00:08:31.240 align:start position:0%
rendering of glyphs through Core
 

00:08:31.240 --> 00:08:33.310 align:start position:0%
rendering of glyphs through Core
Graphics<00:08:32.039><c> and</c><00:08:32.240><c> so</c><00:08:32.400><c> there</c><00:08:32.560><c> are</c><00:08:32.640><c> likely</c><00:08:33.000><c> many</c>

00:08:33.310 --> 00:08:33.320 align:start position:0%
Graphics and so there are likely many
 

00:08:33.320 --> 00:08:34.550 align:start position:0%
Graphics and so there are likely many
different<00:08:33.680><c> ways</c><00:08:33.919><c> to</c><00:08:34.039><c> leverage</c><00:08:34.400><c> the</c>

00:08:34.550 --> 00:08:34.560 align:start position:0%
different ways to leverage the
 

00:08:34.560 --> 00:08:36.709 align:start position:0%
different ways to leverage the
underlying<00:08:35.120><c> double</c><00:08:35.400><c> conversion</c><00:08:35.960><c> bug</c><00:08:36.479><c> to</c>

00:08:36.709 --> 00:08:36.719 align:start position:0%
underlying double conversion bug to
 

00:08:36.719 --> 00:08:38.110 align:start position:0%
underlying double conversion bug to
trigger<00:08:37.000><c> memory</c><00:08:37.280><c> corruption</c><00:08:37.719><c> in</c><00:08:37.840><c> different</c>

00:08:38.110 --> 00:08:38.120 align:start position:0%
trigger memory corruption in different
 

00:08:38.120 --> 00:08:39.110 align:start position:0%
trigger memory corruption in different
ways.

00:08:39.110 --> 00:08:39.120 align:start position:0%
ways.
 

00:08:39.120 --> 00:08:40.790 align:start position:0%
ways.
Sadly,<00:08:39.640><c> as</c><00:08:39.840><c> is</c><00:08:40.000><c> normally</c><00:08:40.280><c> the</c><00:08:40.400><c> case</c><00:08:40.680><c> with</c>

00:08:40.790 --> 00:08:40.800 align:start position:0%
Sadly, as is normally the case with
 

00:08:40.800 --> 00:08:42.750 align:start position:0%
Sadly, as is normally the case with
these<00:08:41.000><c> in-the-wild</c><00:08:41.520><c> exploits,</c><00:08:42.400><c> we</c><00:08:42.520><c> do</c><00:08:42.599><c> not</c>

00:08:42.750 --> 00:08:42.760 align:start position:0%
these in-the-wild exploits, we do not
 

00:08:42.760 --> 00:08:44.710 align:start position:0%
these in-the-wild exploits, we do not
have<00:08:43.000><c> any</c><00:08:43.200><c> original</c><00:08:43.599><c> samples</c><00:08:44.120><c> of</c><00:08:44.240><c> the</c><00:08:44.400><c> actual</c>

00:08:44.710 --> 00:08:44.720 align:start position:0%
have any original samples of the actual
 

00:08:44.720 --> 00:08:46.750 align:start position:0%
have any original samples of the actual
PDF<00:08:45.160><c> that</c><00:08:45.280><c> was</c><00:08:45.480><c> used</c><00:08:45.839><c> to</c><00:08:45.920><c> target</c><00:08:46.280><c> real</c><00:08:46.480><c> iPhone</c>

00:08:46.750 --> 00:08:46.760 align:start position:0%
PDF that was used to target real iPhone
 

00:08:46.760 --> 00:08:47.750 align:start position:0%
PDF that was used to target real iPhone
users.

00:08:47.750 --> 00:08:47.760 align:start position:0%
users.
 

00:08:47.760 --> 00:08:49.550 align:start position:0%
users.
All<00:08:47.960><c> of</c><00:08:48.040><c> the</c><00:08:48.120><c> work</c><00:08:48.400><c> done</c><00:08:48.560><c> by</c><00:08:48.720><c> Kalif</c><00:08:49.160><c> and</c><00:08:49.360><c> other</c>

00:08:49.550 --> 00:08:49.560 align:start position:0%
All of the work done by Kalif and other
 

00:08:49.560 --> 00:08:50.870 align:start position:0%
All of the work done by Kalif and other
researchers<00:08:50.120><c> is</c><00:08:50.320><c> through</c><00:08:50.520><c> reverse</c>

00:08:50.870 --> 00:08:50.880 align:start position:0%
researchers is through reverse
 

00:08:50.880 --> 00:08:52.870 align:start position:0%
researchers is through reverse
engineering<00:08:51.280><c> the</c><00:08:51.400><c> patch</c><00:08:51.680><c> update</c><00:08:52.360><c> and</c><00:08:52.640><c> using</c>

00:08:52.870 --> 00:08:52.880 align:start position:0%
engineering the patch update and using
 

00:08:52.880 --> 00:08:55.230 align:start position:0%
engineering the patch update and using
the<00:08:52.960><c> CVE</c><00:08:53.400><c> description</c><00:08:53.920><c> as</c><00:08:54.080><c> guidance.</c>

00:08:55.230 --> 00:08:55.240 align:start position:0%
the CVE description as guidance.
 

00:08:55.240 --> 00:08:56.910 align:start position:0%
the CVE description as guidance.
We<00:08:55.320><c> can</c><00:08:55.440><c> only</c><00:08:55.640><c> speculate</c><00:08:56.160><c> on</c><00:08:56.280><c> exactly</c><00:08:56.720><c> how</c>

00:08:56.910 --> 00:08:56.920 align:start position:0%
We can only speculate on exactly how
 

00:08:56.920 --> 00:08:59.270 align:start position:0%
We can only speculate on exactly how
this<00:08:57.120><c> was</c><00:08:57.280><c> used</c><00:08:57.600><c> to</c><00:08:57.680><c> achieve</c><00:08:58.000><c> code</c><00:08:58.200><c> execution</c>

00:08:59.270 --> 00:08:59.280 align:start position:0%
this was used to achieve code execution
 

00:08:59.280 --> 00:09:00.870 align:start position:0%
this was used to achieve code execution
and<00:08:59.600><c> what</c><00:08:59.760><c> other</c><00:08:59.960><c> exploits</c><00:09:00.400><c> may</c><00:09:00.520><c> have</c><00:09:00.640><c> also</c>

00:09:00.870 --> 00:09:00.880 align:start position:0%
and what other exploits may have also
 

00:09:00.880 --> 00:09:02.750 align:start position:0%
and what other exploits may have also
been<00:09:01.040><c> chained</c><00:09:01.400><c> after</c><00:09:01.720><c> it.</c>

00:09:02.750 --> 00:09:02.760 align:start position:0%
been chained after it.
 

00:09:02.760 --> 00:09:04.190 align:start position:0%
been chained after it.
The<00:09:02.839><c> general</c><00:09:03.200><c> flow</c><00:09:03.480><c> would</c><00:09:03.600><c> have</c><00:09:03.720><c> involved</c>

00:09:04.190 --> 00:09:04.200 align:start position:0%
The general flow would have involved
 

00:09:04.200 --> 00:09:05.910 align:start position:0%
The general flow would have involved
using<00:09:04.440><c> this</c><00:09:04.600><c> memory</c><00:09:04.880><c> corruption</c><00:09:05.400><c> to</c><00:09:05.600><c> hit</c>

00:09:05.910 --> 00:09:05.920 align:start position:0%
using this memory corruption to hit
 

00:09:05.920 --> 00:09:07.829 align:start position:0%
using this memory corruption to hit
interesting<00:09:06.480><c> structures</c><00:09:06.880><c> in</c><00:09:07.000><c> memory</c><00:09:07.680><c> with</c>

00:09:07.829 --> 00:09:07.839 align:start position:0%
interesting structures in memory with
 

00:09:07.839 --> 00:09:09.430 align:start position:0%
interesting structures in memory with
the<00:09:07.960><c> end</c><00:09:08.120><c> goal</c><00:09:08.440><c> of</c><00:09:08.600><c> taking</c><00:09:08.880><c> control</c><00:09:09.280><c> of</c><00:09:09.400><c> a</c>

00:09:09.430 --> 00:09:09.440 align:start position:0%
the end goal of taking control of a
 

00:09:09.440 --> 00:09:11.190 align:start position:0%
the end goal of taking control of a
function<00:09:09.800><c> pointer</c><00:09:10.280><c> in</c><00:09:10.440><c> order</c><00:09:10.600><c> to</c><00:09:10.720><c> redirect</c>

00:09:11.190 --> 00:09:11.200 align:start position:0%
function pointer in order to redirect
 

00:09:11.200 --> 00:09:12.990 align:start position:0%
function pointer in order to redirect
code<00:09:11.360><c> execution</c><00:09:11.960><c> to</c><00:09:12.120><c> an</c><00:09:12.200><c> attacker-supplied</c>

00:09:12.990 --> 00:09:13.000 align:start position:0%
code execution to an attacker-supplied
 

00:09:13.000 --> 00:09:14.030 align:start position:0%
code execution to an attacker-supplied
payload.

00:09:14.030 --> 00:09:14.040 align:start position:0%
payload.
 

00:09:14.040 --> 00:09:15.150 align:start position:0%
payload.
If<00:09:14.120><c> you're</c><00:09:14.240><c> curious</c><00:09:14.520><c> about</c><00:09:14.760><c> how</c><00:09:14.880><c> this</c><00:09:15.040><c> would</c>

00:09:15.150 --> 00:09:15.160 align:start position:0%
If you're curious about how this would
 

00:09:15.160 --> 00:09:16.790 align:start position:0%
If you're curious about how this would
actually<00:09:15.440><c> work</c><00:09:15.800><c> and</c><00:09:15.960><c> how</c><00:09:16.160><c> the</c><00:09:16.280><c> attacker</c><00:09:16.600><c> would</c>

00:09:16.790 --> 00:09:16.800 align:start position:0%
actually work and how the attacker would
 

00:09:16.800 --> 00:09:18.630 align:start position:0%
actually work and how the attacker would
execute<00:09:17.200><c> their</c><00:09:17.400><c> own</c><00:09:17.640><c> code</c><00:09:18.080><c> on</c><00:09:18.200><c> the</c><00:09:18.280><c> target</c>

00:09:18.630 --> 00:09:18.640 align:start position:0%
execute their own code on the target
 

00:09:18.640 --> 00:09:20.630 align:start position:0%
execute their own code on the target
phone,<00:09:19.320><c> check</c><00:09:19.560><c> out</c><00:09:19.680><c> my</c><00:09:19.839><c> other</c><00:09:20.040><c> video</c><00:09:20.360><c> where</c><00:09:20.560><c> I</c>

00:09:20.630 --> 00:09:20.640 align:start position:0%
phone, check out my other video where I
 

00:09:20.640 --> 00:09:22.430 align:start position:0%
phone, check out my other video where I
break<00:09:20.960><c> down</c><00:09:21.240><c> the</c><00:09:21.360><c> exploit</c><00:09:21.720><c> strategy</c><00:09:22.240><c> of</c><00:09:22.360><c> a</c>

00:09:22.430 --> 00:09:22.440 align:start position:0%
break down the exploit strategy of a
 

00:09:22.440 --> 00:09:24.470 align:start position:0%
break down the exploit strategy of a
similar<00:09:22.880><c> bug</c><00:09:23.160><c> that</c><00:09:23.280><c> was</c><00:09:23.440><c> used</c><00:09:23.800><c> in</c><00:09:23.920><c> a</c><00:09:24.000><c> Pegasus</c>

00:09:24.470 --> 00:09:24.480 align:start position:0%
similar bug that was used in a Pegasus
 

00:09:24.480 --> 00:09:25.829 align:start position:0%
similar bug that was used in a Pegasus
exploit<00:09:24.839><c> chain.</c>

00:09:25.829 --> 00:09:25.839 align:start position:0%
exploit chain.
 

00:09:25.839 --> 00:09:27.510 align:start position:0%
exploit chain.
That<00:09:26.000><c> video</c><00:09:26.280><c> covers</c><00:09:26.560><c> the</c><00:09:26.680><c> actual</c><00:09:27.000><c> techniques</c>

00:09:27.510 --> 00:09:27.520 align:start position:0%
That video covers the actual techniques
 

00:09:27.520 --> 00:09:29.510 align:start position:0%
That video covers the actual techniques
used<00:09:27.880><c> to</c><00:09:27.960><c> take</c><00:09:28.240><c> basic</c><00:09:28.600><c> memory</c><00:09:28.800><c> corruption</c><00:09:29.360><c> and</c>

00:09:29.510 --> 00:09:29.520 align:start position:0%
used to take basic memory corruption and
 

00:09:29.520 --> 00:09:31.310 align:start position:0%
used to take basic memory corruption and
turn<00:09:29.720><c> it</c><00:09:29.800><c> into</c><00:09:30.040><c> a</c><00:09:30.160><c> powerful</c><00:09:30.680><c> code</c><00:09:30.880><c> execution</c>

00:09:31.310 --> 00:09:31.320 align:start position:0%
turn it into a powerful code execution
 

00:09:31.320 --> 00:09:32.829 align:start position:0%
turn it into a powerful code execution
exploit.

00:09:32.829 --> 00:09:32.839 align:start position:0%
exploit.
 

00:09:32.839 --> 00:09:34.350 align:start position:0%
exploit.
Also,<00:09:33.120><c> be</c><00:09:33.240><c> sure</c><00:09:33.440><c> to</c><00:09:33.520><c> check</c><00:09:33.720><c> out</c><00:09:33.800><c> the</c><00:09:33.920><c> original</c>

00:09:34.350 --> 00:09:34.360 align:start position:0%
Also, be sure to check out the original
 

00:09:34.360 --> 00:09:35.990 align:start position:0%
Also, be sure to check out the original
Kalif<00:09:34.680><c> blog</c><00:09:34.880><c> post</c><00:09:35.240><c> about</c><00:09:35.520><c> this</c><00:09:35.640><c> specific</c>

00:09:35.990 --> 00:09:36.000 align:start position:0%
Kalif blog post about this specific
 

00:09:36.000 --> 00:09:37.230 align:start position:0%
Kalif blog post about this specific
vulnerability.

00:09:37.230 --> 00:09:37.240 align:start position:0%
vulnerability.
 

00:09:37.240 --> 00:09:38.190 align:start position:0%
vulnerability.
These<00:09:37.440><c> guys</c><00:09:37.640><c> are</c><00:09:37.720><c> doing</c><00:09:37.880><c> a</c><00:09:37.920><c> lot</c><00:09:38.080><c> of</c>

00:09:38.190 --> 00:09:38.200 align:start position:0%
These guys are doing a lot of
 

00:09:38.200 --> 00:09:40.070 align:start position:0%
These guys are doing a lot of
interesting<00:09:38.640><c> security</c><00:09:39.080><c> research</c><00:09:39.520><c> powered</c><00:09:39.880><c> by</c>

00:09:40.070 --> 00:09:40.080 align:start position:0%
interesting security research powered by
 

00:09:40.080 --> 00:09:42.070 align:start position:0%
interesting security research powered by
LLM's<00:09:40.760><c> and</c><00:09:40.960><c> just</c><00:09:41.200><c> last</c><00:09:41.480><c> week</c><00:09:41.720><c> they</c><00:09:41.840><c> even</c>

00:09:42.070 --> 00:09:42.080 align:start position:0%
LLM's and just last week they even
 

00:09:42.080 --> 00:09:43.910 align:start position:0%
LLM's and just last week they even
demoed<00:09:42.400><c> a</c><00:09:42.520><c> fully</c><00:09:42.880><c> untethered</c><00:09:43.320><c> jailbreak</c><00:09:43.800><c> on</c>

00:09:43.910 --> 00:09:43.920 align:start position:0%
demoed a fully untethered jailbreak on
 

00:09:43.920 --> 00:09:46.870 align:start position:0%
demoed a fully untethered jailbreak on
the<00:09:44.000><c> latest</c><00:09:44.400><c> iOS</c><00:09:44.720><c> 27</c><00:09:45.280><c> version</c><00:09:45.960><c> at</c><00:09:46.160><c> Hexacon</c><00:09:46.680><c> in</c>

00:09:46.870 --> 00:09:46.880 align:start position:0%
the latest iOS 27 version at Hexacon in
 

00:09:46.880 --> 00:09:47.870 align:start position:0%
the latest iOS 27 version at Hexacon in
Paris.

00:09:47.870 --> 00:09:47.880 align:start position:0%
Paris.
 

00:09:47.880 --> 00:09:49.110 align:start position:0%
Paris.
The<00:09:47.920><c> link</c><00:09:48.080><c> to</c><00:09:48.200><c> their</c><00:09:48.320><c> research</c><00:09:48.640><c> blog</c><00:09:48.920><c> will</c><00:09:49.040><c> be</c>

00:09:49.110 --> 00:09:49.120 align:start position:0%
The link to their research blog will be
 

00:09:49.120 --> 00:09:51.030 align:start position:0%
The link to their research blog will be
down<00:09:49.280><c> below</c><00:09:49.600><c> in</c><00:09:49.720><c> the</c><00:09:49.800><c> description.</c>

00:09:51.030 --> 00:09:51.040 align:start position:0%
down below in the description.
 

00:09:51.040 --> 00:09:52.190 align:start position:0%
down below in the description.
Thanks<00:09:51.160><c> for</c><00:09:51.240><c> watching</c><00:09:51.600><c> and</c><00:09:51.720><c> I</c><00:09:51.760><c> will</c><00:09:51.880><c> see</c><00:09:52.040><c> you</c>

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

00:09:52.200 --> 00:09:54.800 align:start position:0%
Thanks for watching and I will see you
in<00:09:52.280><c> the</c><00:09:52.360><c> next</c><00:09:52.560><c> one.</c>

