WEBVTT
Kind: captions
Language: en

00:00:00.030 --> 00:00:02.119 align:start position:0%
 
hey<00:00:00.480><c> guys</c><00:00:00.630><c> welcome</c><00:00:00.900><c> back</c><00:00:01.230><c> so</c><00:00:01.530><c> today</c><00:00:01.560><c> in</c><00:00:02.040><c> this</c>

00:00:02.119 --> 00:00:02.129 align:start position:0%
hey guys welcome back so today in this
 

00:00:02.129 --> 00:00:03.590 align:start position:0%
hey guys welcome back so today in this
video<00:00:02.399><c> we're</c><00:00:02.639><c> going</c><00:00:02.730><c> to</c><00:00:02.820><c> be</c><00:00:02.879><c> discussing</c><00:00:03.179><c> two</c>

00:00:03.590 --> 00:00:03.600 align:start position:0%
video we're going to be discussing two
 

00:00:03.600 --> 00:00:05.960 align:start position:0%
video we're going to be discussing two
techniques<00:00:03.959><c> used</c><00:00:04.410><c> in</c><00:00:04.710><c> heap</c><00:00:05.009><c> exploitation</c><00:00:05.759><c> and</c>

00:00:05.960 --> 00:00:05.970 align:start position:0%
techniques used in heap exploitation and
 

00:00:05.970 --> 00:00:09.020 align:start position:0%
techniques used in heap exploitation and
these<00:00:06.509><c> are</c><00:00:06.870><c> feng</c><00:00:07.230><c> shui</c><00:00:07.410><c> and</c><00:00:07.740><c> heap</c><00:00:08.189><c> sprains</c><00:00:08.580><c> so</c>

00:00:09.020 --> 00:00:09.030 align:start position:0%
these are feng shui and heap sprains so
 

00:00:09.030 --> 00:00:10.160 align:start position:0%
these are feng shui and heap sprains so
these<00:00:09.540><c> are</c><00:00:09.750><c> actually</c><00:00:09.990><c> two</c><00:00:10.019><c> different</c>

00:00:10.160 --> 00:00:10.170 align:start position:0%
these are actually two different
 

00:00:10.170 --> 00:00:12.259 align:start position:0%
these are actually two different
techniques<00:00:10.860><c> which</c><00:00:11.280><c> sometimes</c><00:00:11.910><c> get</c><00:00:12.150><c> confused</c>

00:00:12.259 --> 00:00:12.269 align:start position:0%
techniques which sometimes get confused
 

00:00:12.269 --> 00:00:14.360 align:start position:0%
techniques which sometimes get confused
by<00:00:12.750><c> people</c><00:00:13.049><c> and</c><00:00:13.200><c> people</c><00:00:13.950><c> will</c><00:00:14.040><c> assume</c><00:00:14.219><c> that</c>

00:00:14.360 --> 00:00:14.370 align:start position:0%
by people and people will assume that
 

00:00:14.370 --> 00:00:16.160 align:start position:0%
by people and people will assume that
they're<00:00:14.490><c> here</c><00:00:14.759><c> the</c><00:00:14.849><c> same</c><00:00:15.030><c> technique</c><00:00:15.389><c> but</c><00:00:15.719><c> they</c>

00:00:16.160 --> 00:00:16.170 align:start position:0%
they're here the same technique but they
 

00:00:16.170 --> 00:00:18.080 align:start position:0%
they're here the same technique but they
do<00:00:16.230><c> have</c><00:00:16.470><c> their</c><00:00:16.619><c> differences</c><00:00:17.000><c> essentially</c><00:00:18.000><c> in</c>

00:00:18.080 --> 00:00:18.090 align:start position:0%
do have their differences essentially in
 

00:00:18.090 --> 00:00:18.830 align:start position:0%
do have their differences essentially in
this<00:00:18.150><c> video</c><00:00:18.359><c> we're</c><00:00:18.449><c> gonna</c><00:00:18.539><c> be</c><00:00:18.630><c> talking</c><00:00:18.810><c> about</c>

00:00:18.830 --> 00:00:18.840 align:start position:0%
this video we're gonna be talking about
 

00:00:18.840 --> 00:00:20.120 align:start position:0%
this video we're gonna be talking about
what<00:00:19.050><c> these</c><00:00:19.170><c> techniques</c><00:00:19.590><c> are</c><00:00:19.770><c> and</c><00:00:19.949><c> I'm</c><00:00:20.010><c> gonna</c>

00:00:20.120 --> 00:00:20.130 align:start position:0%
what these techniques are and I'm gonna
 

00:00:20.130 --> 00:00:21.590 align:start position:0%
what these techniques are and I'm gonna
be<00:00:20.250><c> giving</c><00:00:20.490><c> you</c><00:00:20.550><c> an</c><00:00:20.640><c> example</c><00:00:20.939><c> of</c><00:00:21.150><c> how</c><00:00:21.300><c> you</c><00:00:21.359><c> can</c>

00:00:21.590 --> 00:00:21.600 align:start position:0%
be giving you an example of how you can
 

00:00:21.600 --> 00:00:23.480 align:start position:0%
be giving you an example of how you can
actually<00:00:21.720><c> carry</c><00:00:22.470><c> out</c><00:00:22.560><c> these</c><00:00:22.769><c> techniques</c><00:00:23.250><c> on</c>

00:00:23.480 --> 00:00:23.490 align:start position:0%
actually carry out these techniques on
 

00:00:23.490 --> 00:00:24.830 align:start position:0%
actually carry out these techniques on
the<00:00:23.550><c> iOS</c><00:00:23.910><c> kernel</c><00:00:24.449><c> so</c><00:00:24.510><c> we're</c><00:00:24.600><c> going</c><00:00:24.720><c> to</c><00:00:24.779><c> be</c>

00:00:24.830 --> 00:00:24.840 align:start position:0%
the iOS kernel so we're going to be
 

00:00:24.840 --> 00:00:28.370 align:start position:0%
the iOS kernel so we're going to be
using<00:00:25.170><c> my</c><00:00:25.740><c> my</c><00:00:26.310><c> iPhone</c><00:00:26.580><c> 5c</c><00:00:27.119><c> here</c><00:00:27.390><c> as</c><00:00:28.050><c> a</c><00:00:28.109><c> demo</c>

00:00:28.370 --> 00:00:28.380 align:start position:0%
using my my iPhone 5c here as a demo
 

00:00:28.380 --> 00:00:29.689 align:start position:0%
using my my iPhone 5c here as a demo
device<00:00:28.619><c> to</c><00:00:28.980><c> show</c><00:00:29.130><c> you</c><00:00:29.189><c> guys</c><00:00:29.369><c> the</c><00:00:29.490><c> kind</c><00:00:29.580><c> of</c>

00:00:29.689 --> 00:00:29.699 align:start position:0%
device to show you guys the kind of
 

00:00:29.699 --> 00:00:32.269 align:start position:0%
device to show you guys the kind of
proof<00:00:29.910><c> of</c><00:00:30.000><c> concept</c><00:00:30.470><c> using</c><00:00:31.470><c> one</c><00:00:31.650><c> technique</c><00:00:32.070><c> of</c>

00:00:32.269 --> 00:00:32.279 align:start position:0%
proof of concept using one technique of
 

00:00:32.279 --> 00:00:34.790 align:start position:0%
proof of concept using one technique of
doing<00:00:32.610><c> an</c><00:00:33.059><c> iOS</c><00:00:33.390><c> kernel</c><00:00:33.809><c> heap</c><00:00:33.960><c> spray</c><00:00:34.230><c> so</c>

00:00:34.790 --> 00:00:34.800 align:start position:0%
doing an iOS kernel heap spray so
 

00:00:34.800 --> 00:00:36.620 align:start position:0%
doing an iOS kernel heap spray so
hopefully<00:00:35.579><c> you'll</c><00:00:35.730><c> find</c><00:00:35.880><c> this</c><00:00:36.000><c> useful</c><00:00:36.180><c> if</c><00:00:36.510><c> you</c>

00:00:36.620 --> 00:00:36.630 align:start position:0%
hopefully you'll find this useful if you
 

00:00:36.630 --> 00:00:38.660 align:start position:0%
hopefully you'll find this useful if you
are<00:00:36.840><c> interested</c><00:00:37.649><c> in</c><00:00:37.739><c> iOS</c><00:00:37.920><c> security</c><00:00:38.399><c> and</c><00:00:38.550><c> this</c>

00:00:38.660 --> 00:00:38.670 align:start position:0%
are interested in iOS security and this
 

00:00:38.670 --> 00:00:41.360 align:start position:0%
are interested in iOS security and this
actually<00:00:38.969><c> also</c><00:00:39.090><c> closely</c><00:00:39.480><c> relates</c><00:00:39.960><c> to</c><00:00:40.370><c> closely</c>

00:00:41.360 --> 00:00:41.370 align:start position:0%
actually also closely relates to closely
 

00:00:41.370 --> 00:00:43.340 align:start position:0%
actually also closely relates to closely
ties<00:00:41.579><c> in</c><00:00:41.820><c> with</c><00:00:42.000><c> the</c><00:00:42.210><c> series</c><00:00:42.750><c> I</c><00:00:42.780><c> started</c><00:00:42.870><c> over</c><00:00:43.320><c> a</c>

00:00:43.340 --> 00:00:43.350 align:start position:0%
ties in with the series I started over a
 

00:00:43.350 --> 00:00:45.049 align:start position:0%
ties in with the series I started over a
year<00:00:43.559><c> ago</c><00:00:43.710><c> on</c><00:00:43.800><c> this</c><00:00:43.890><c> channel</c><00:00:44.280><c> but</c><00:00:44.700><c> have</c><00:00:44.910><c> not</c>

00:00:45.049 --> 00:00:45.059 align:start position:0%
year ago on this channel but have not
 

00:00:45.059 --> 00:00:47.119 align:start position:0%
year ago on this channel but have not
yet<00:00:45.270><c> managed</c><00:00:45.570><c> to</c><00:00:45.750><c> finish</c><00:00:46.079><c> and</c><00:00:46.410><c> that</c><00:00:46.440><c> is</c><00:00:46.829><c> how</c><00:00:47.100><c> to</c>

00:00:47.119 --> 00:00:47.129 align:start position:0%
yet managed to finish and that is how to
 

00:00:47.129 --> 00:00:48.709 align:start position:0%
yet managed to finish and that is how to
develop<00:00:47.460><c> your</c><00:00:47.700><c> own</c><00:00:47.760><c> jailbreak</c><00:00:48.180><c> series</c><00:00:48.539><c> which</c>

00:00:48.709 --> 00:00:48.719 align:start position:0%
develop your own jailbreak series which
 

00:00:48.719 --> 00:00:49.940 align:start position:0%
develop your own jailbreak series which
some<00:00:48.899><c> of</c><00:00:48.930><c> you</c><00:00:49.050><c> may</c><00:00:49.170><c> remember</c><00:00:49.260><c> me</c><00:00:49.590><c> starting</c>

00:00:49.940 --> 00:00:49.950 align:start position:0%
some of you may remember me starting
 

00:00:49.950 --> 00:00:52.490 align:start position:0%
some of you may remember me starting
here<00:00:50.129><c> so</c><00:00:50.969><c> this</c><00:00:51.270><c> is</c><00:00:51.329><c> only</c><00:00:51.510><c> did</c><00:00:51.629><c> have</c><00:00:51.840><c> two</c><00:00:52.199><c> video</c>

00:00:52.490 --> 00:00:52.500 align:start position:0%
here so this is only did have two video
 

00:00:52.500 --> 00:00:55.040 align:start position:0%
here so this is only did have two video
paths<00:00:52.800><c> that</c><00:00:53.460><c> I</c><00:00:53.489><c> had</c><00:00:53.850><c> that</c><00:00:54.360><c> I'd</c><00:00:54.449><c> uploaded</c><00:00:54.870><c> at</c>

00:00:55.040 --> 00:00:55.050 align:start position:0%
paths that I had that I'd uploaded at
 

00:00:55.050 --> 00:00:57.889 align:start position:0%
paths that I had that I'd uploaded at
this<00:00:55.199><c> point</c><00:00:55.440><c> but</c><00:00:56.100><c> yeah</c><00:00:56.910><c> this</c><00:00:57.180><c> series</c><00:00:57.600><c> will</c>

00:00:57.889 --> 00:00:57.899 align:start position:0%
this point but yeah this series will
 

00:00:57.899 --> 00:01:00.709 align:start position:0%
this point but yeah this series will
continue<00:00:58.109><c> in</c><00:00:58.469><c> 2019</c><00:00:59.100><c> I</c><00:00:59.520><c> won't</c><00:01:00.180><c> talk</c><00:01:00.329><c> about</c><00:01:00.539><c> now</c>

00:01:00.709 --> 00:01:00.719 align:start position:0%
continue in 2019 I won't talk about now
 

00:01:00.719 --> 00:01:02.479 align:start position:0%
continue in 2019 I won't talk about now
why<00:01:00.960><c> I've</c><00:01:01.170><c> not</c><00:01:01.500><c> actually</c><00:01:01.859><c> released</c><00:01:02.129><c> any</c><00:01:02.280><c> more</c>

00:01:02.479 --> 00:01:02.489 align:start position:0%
why I've not actually released any more
 

00:01:02.489 --> 00:01:04.579 align:start position:0%
why I've not actually released any more
videos<00:01:03.180><c> in</c><00:01:03.449><c> this</c><00:01:03.570><c> series</c><00:01:03.750><c> up</c><00:01:04.110><c> until</c><00:01:04.500><c> this</c>

00:01:04.579 --> 00:01:04.589 align:start position:0%
videos in this series up until this
 

00:01:04.589 --> 00:01:06.770 align:start position:0%
videos in this series up until this
point<00:01:04.680><c> but</c><00:01:05.100><c> this</c><00:01:05.640><c> video</c><00:01:05.909><c> will</c><00:01:06.210><c> actually</c><00:01:06.540><c> tie</c>

00:01:06.770 --> 00:01:06.780 align:start position:0%
point but this video will actually tie
 

00:01:06.780 --> 00:01:08.690 align:start position:0%
point but this video will actually tie
in<00:01:06.990><c> with</c><00:01:07.290><c> with</c><00:01:07.860><c> this</c><00:01:07.950><c> series</c><00:01:08.280><c> and</c><00:01:08.460><c> will</c><00:01:08.640><c> let</c>

00:01:08.690 --> 00:01:08.700 align:start position:0%
in with with this series and will let
 

00:01:08.700 --> 00:01:10.070 align:start position:0%
in with with this series and will let
should<00:01:08.850><c> be</c><00:01:08.939><c> using</c><00:01:09.150><c> the</c><00:01:09.510><c> technique</c><00:01:09.810><c> I'm</c><00:01:09.930><c> gonna</c>

00:01:10.070 --> 00:01:10.080 align:start position:0%
should be using the technique I'm gonna
 

00:01:10.080 --> 00:01:12.050 align:start position:0%
should be using the technique I'm gonna
show<00:01:10.260><c> in</c><00:01:10.350><c> this</c><00:01:10.439><c> video</c><00:01:10.680><c> in</c><00:01:10.950><c> the</c><00:01:11.490><c> jailbreak</c><00:01:11.820><c> that</c>

00:01:12.050 --> 00:01:12.060 align:start position:0%
show in this video in the jailbreak that
 

00:01:12.060 --> 00:01:13.789 align:start position:0%
show in this video in the jailbreak that
we<00:01:12.150><c> end</c><00:01:12.270><c> up</c><00:01:12.420><c> developing</c><00:01:12.659><c> using</c><00:01:13.229><c> the</c><00:01:13.409><c> Pegasus</c>

00:01:13.789 --> 00:01:13.799 align:start position:0%
we end up developing using the Pegasus
 

00:01:13.799 --> 00:01:15.590 align:start position:0%
we end up developing using the Pegasus
bugs<00:01:14.010><c> so</c><00:01:14.790><c> if</c><00:01:14.970><c> you</c><00:01:15.060><c> haven't</c><00:01:15.240><c> already</c><00:01:15.299><c> checked</c>

00:01:15.590 --> 00:01:15.600 align:start position:0%
bugs so if you haven't already checked
 

00:01:15.600 --> 00:01:16.910 align:start position:0%
bugs so if you haven't already checked
out<00:01:15.659><c> the</c><00:01:15.780><c> first</c><00:01:15.960><c> two</c><00:01:16.110><c> parts</c><00:01:16.259><c> of</c><00:01:16.470><c> that</c><00:01:16.560><c> series</c>

00:01:16.910 --> 00:01:16.920 align:start position:0%
out the first two parts of that series
 

00:01:16.920 --> 00:01:17.960 align:start position:0%
out the first two parts of that series
and<00:01:17.100><c> go</c><00:01:17.189><c> ahead</c><00:01:17.369><c> I'll</c><00:01:17.490><c> leave</c><00:01:17.610><c> a</c><00:01:17.640><c> link</c><00:01:17.790><c> in</c><00:01:17.909><c> the</c>

00:01:17.960 --> 00:01:17.970 align:start position:0%
and go ahead I'll leave a link in the
 

00:01:17.970 --> 00:01:20.090 align:start position:0%
and go ahead I'll leave a link in the
description<00:01:18.420><c> but</c><00:01:19.290><c> anyway</c><00:01:19.530><c> so</c><00:01:19.590><c> now</c><00:01:19.799><c> let's</c><00:01:20.009><c> go</c>

00:01:20.090 --> 00:01:20.100 align:start position:0%
description but anyway so now let's go
 

00:01:20.100 --> 00:01:22.969 align:start position:0%
description but anyway so now let's go
ahead<00:01:20.369><c> and</c><00:01:20.580><c> talk</c><00:01:20.939><c> about</c><00:01:21.119><c> these</c><00:01:21.930><c> two</c><00:01:22.229><c> heap</c>

00:01:22.969 --> 00:01:22.979 align:start position:0%
ahead and talk about these two heap
 

00:01:22.979 --> 00:01:25.130 align:start position:0%
ahead and talk about these two heap
exploitation<00:01:23.610><c> techniques</c><00:01:24.030><c> so</c><00:01:24.299><c> first</c><00:01:24.900><c> of</c><00:01:25.080><c> all</c>

00:01:25.130 --> 00:01:25.140 align:start position:0%
exploitation techniques so first of all
 

00:01:25.140 --> 00:01:27.530 align:start position:0%
exploitation techniques so first of all
if<00:01:25.650><c> you</c><00:01:25.770><c> haven't</c><00:01:26.009><c> read</c><00:01:26.220><c> my</c><00:01:26.490><c> book</c><00:01:26.850><c> my</c><00:01:27.150><c> second</c>

00:01:27.530 --> 00:01:27.540 align:start position:0%
if you haven't read my book my second
 

00:01:27.540 --> 00:01:28.969 align:start position:0%
if you haven't read my book my second
book<00:01:27.630><c> beginner's</c><00:01:28.080><c> guide</c><00:01:28.170><c> to</c><00:01:28.290><c> exploitation</c><00:01:28.740><c> on</c>

00:01:28.969 --> 00:01:28.979 align:start position:0%
book beginner's guide to exploitation on
 

00:01:28.979 --> 00:01:31.100 align:start position:0%
book beginner's guide to exploitation on
volume<00:01:29.369><c> 2</c><00:01:29.610><c> the</c><00:01:30.390><c> chapter</c><00:01:30.689><c> in</c><00:01:30.780><c> here</c><00:01:30.960><c> actually</c>

00:01:31.100 --> 00:01:31.110 align:start position:0%
volume 2 the chapter in here actually
 

00:01:31.110 --> 00:01:33.830 align:start position:0%
volume 2 the chapter in here actually
does<00:01:31.439><c> cover</c><00:01:31.740><c> Fung</c><00:01:32.460><c> Shui</c><00:01:32.610><c> and</c><00:01:33.390><c> it</c><00:01:33.509><c> has</c><00:01:33.630><c> some</c>

00:01:33.830 --> 00:01:33.840 align:start position:0%
does cover Fung Shui and it has some
 

00:01:33.840 --> 00:01:36.469 align:start position:0%
does cover Fung Shui and it has some
like<00:01:33.990><c> diagrams</c><00:01:34.439><c> in</c><00:01:34.560><c> here</c><00:01:34.770><c> so</c><00:01:35.369><c> chapter</c><00:01:35.790><c> 6</c><00:01:36.090><c> right</c>

00:01:36.469 --> 00:01:36.479 align:start position:0%
like diagrams in here so chapter 6 right
 

00:01:36.479 --> 00:01:39.440 align:start position:0%
like diagrams in here so chapter 6 right
here<00:01:36.590><c> actually</c><00:01:37.590><c> covers</c><00:01:38.130><c> a</c><00:01:38.700><c> heap</c><00:01:39.090><c> Fung</c><00:01:39.329><c> Shui</c>

00:01:39.440 --> 00:01:39.450 align:start position:0%
here actually covers a heap Fung Shui
 

00:01:39.450 --> 00:01:41.510 align:start position:0%
here actually covers a heap Fung Shui
and<00:01:39.750><c> it</c><00:01:39.900><c> covers</c><00:01:40.200><c> one</c><00:01:40.650><c> of</c><00:01:40.740><c> the</c><00:01:40.890><c> export</c>

00:01:41.510 --> 00:01:41.520 align:start position:0%
and it covers one of the export
 

00:01:41.520 --> 00:01:44.210 align:start position:0%
and it covers one of the export
exercises<00:01:42.090><c> on</c><00:01:42.210><c> my</c><00:01:42.360><c> github</c><00:01:42.680><c> it</c><00:01:43.680><c> also</c><00:01:43.799><c> uses</c><00:01:44.009><c> some</c>

00:01:44.210 --> 00:01:44.220 align:start position:0%
exercises on my github it also uses some
 

00:01:44.220 --> 00:01:45.980 align:start position:0%
exercises on my github it also uses some
diagrams<00:01:44.610><c> to</c><00:01:44.909><c> explain</c><00:01:44.939><c> how</c><00:01:45.299><c> this</c><00:01:45.390><c> works</c><00:01:45.630><c> and</c>

00:01:45.980 --> 00:01:45.990 align:start position:0%
diagrams to explain how this works and
 

00:01:45.990 --> 00:01:47.149 align:start position:0%
diagrams to explain how this works and
it<00:01:46.290><c> basically</c><00:01:46.409><c> walks</c><00:01:46.710><c> through</c><00:01:46.890><c> one</c><00:01:47.009><c> of</c><00:01:47.040><c> the</c>

00:01:47.149 --> 00:01:47.159 align:start position:0%
it basically walks through one of the
 

00:01:47.159 --> 00:01:48.740 align:start position:0%
it basically walks through one of the
programs<00:01:47.520><c> and</c><00:01:47.670><c> it's</c><00:01:47.820><c> available</c><00:01:47.939><c> my</c><00:01:48.210><c> github</c><00:01:48.600><c> I</c>

00:01:48.740 --> 00:01:48.750 align:start position:0%
programs and it's available my github I
 

00:01:48.750 --> 00:01:51.139 align:start position:0%
programs and it's available my github I
believe<00:01:49.170><c> heap</c><00:01:49.409><c> level</c><00:01:49.770><c> free</c><00:01:50.159><c> maybe</c><00:01:50.340><c> so</c><00:01:50.670><c> go</c>

00:01:51.139 --> 00:01:51.149 align:start position:0%
believe heap level free maybe so go
 

00:01:51.149 --> 00:01:52.130 align:start position:0%
believe heap level free maybe so go
ahead<00:01:51.240><c> and</c><00:01:51.329><c> check</c><00:01:51.540><c> that</c><00:01:51.570><c> out</c><00:01:51.780><c> if</c><00:01:51.869><c> you</c><00:01:51.930><c> want</c><00:01:51.960><c> to</c>

00:01:52.130 --> 00:01:52.140 align:start position:0%
ahead and check that out if you want to
 

00:01:52.140 --> 00:01:53.359 align:start position:0%
ahead and check that out if you want to
play<00:01:52.290><c> around</c><00:01:52.470><c> with</c><00:01:52.560><c> more</c><00:01:52.829><c> of</c><00:01:52.890><c> an</c><00:01:52.950><c> artificial</c>

00:01:53.359 --> 00:01:53.369 align:start position:0%
play around with more of an artificial
 

00:01:53.369 --> 00:01:55.370 align:start position:0%
play around with more of an artificial
environment<00:01:53.750><c> if</c><00:01:54.750><c> you've</c><00:01:54.990><c> already</c><00:01:55.110><c> done</c><00:01:55.320><c> that</c>

00:01:55.370 --> 00:01:55.380 align:start position:0%
environment if you've already done that
 

00:01:55.380 --> 00:01:56.480 align:start position:0%
environment if you've already done that
or<00:01:55.590><c> if</c><00:01:55.649><c> you</c><00:01:55.740><c> don't</c><00:01:55.890><c> want</c><00:01:56.009><c> to</c><00:01:56.070><c> do</c><00:01:56.130><c> that</c><00:01:56.250><c> then</c>

00:01:56.480 --> 00:01:56.490 align:start position:0%
or if you don't want to do that then
 

00:01:56.490 --> 00:01:58.100 align:start position:0%
or if you don't want to do that then
just<00:01:57.030><c> watch</c><00:01:57.149><c> the</c><00:01:57.270><c> rest</c><00:01:57.450><c> this</c><00:01:57.540><c> video</c><00:01:57.780><c> and</c><00:01:58.049><c> you</c>

00:01:58.100 --> 00:01:58.110 align:start position:0%
just watch the rest this video and you
 

00:01:58.110 --> 00:01:59.690 align:start position:0%
just watch the rest this video and you
can<00:01:58.229><c> play</c><00:01:58.439><c> around</c><00:01:58.560><c> directly</c><00:01:59.130><c> on</c><00:01:59.340><c> the</c><00:01:59.490><c> iOS</c>

00:01:59.690 --> 00:01:59.700 align:start position:0%
can play around directly on the iOS
 

00:01:59.700 --> 00:02:02.569 align:start position:0%
can play around directly on the iOS
kernel<00:02:00.240><c> heap</c><00:02:00.360><c> itself</c><00:02:00.750><c> so</c><00:02:01.079><c> what</c><00:02:01.860><c> are</c><00:02:02.040><c> heap</c><00:02:02.340><c> Fung</c>

00:02:02.569 --> 00:02:02.579 align:start position:0%
kernel heap itself so what are heap Fung
 

00:02:02.579 --> 00:02:05.179 align:start position:0%
kernel heap itself so what are heap Fung
shooey<00:02:02.700><c> and</c><00:02:03.060><c> heaps</c><00:02:03.540><c> brain</c><00:02:03.869><c> so</c><00:02:04.200><c> first</c><00:02:05.040><c> of</c><00:02:05.130><c> all</c>

00:02:05.179 --> 00:02:05.189 align:start position:0%
shooey and heaps brain so first of all
 

00:02:05.189 --> 00:02:06.889 align:start position:0%
shooey and heaps brain so first of all
we're<00:02:05.280><c> gonna</c><00:02:05.430><c> start</c><00:02:05.700><c> with</c><00:02:05.880><c> heaps</c><00:02:06.270><c> brain</c><00:02:06.570><c> so</c>

00:02:06.889 --> 00:02:06.899 align:start position:0%
we're gonna start with heaps brain so
 

00:02:06.899 --> 00:02:09.559 align:start position:0%
we're gonna start with heaps brain so
both<00:02:07.500><c> of</c><00:02:07.619><c> these</c><00:02:07.680><c> techniques</c><00:02:08.099><c> are</c><00:02:08.569><c> essentially</c>

00:02:09.559 --> 00:02:09.569 align:start position:0%
both of these techniques are essentially
 

00:02:09.569 --> 00:02:11.630 align:start position:0%
both of these techniques are essentially
ways<00:02:09.840><c> of</c><00:02:10.110><c> manipulating</c><00:02:10.289><c> the</c><00:02:10.860><c> heap</c><00:02:11.370><c> memory</c>

00:02:11.630 --> 00:02:11.640 align:start position:0%
ways of manipulating the heap memory
 

00:02:11.640 --> 00:02:12.040 align:start position:0%
ways of manipulating the heap memory
lane

00:02:12.040 --> 00:02:12.050 align:start position:0%
lane
 

00:02:12.050 --> 00:02:15.570 align:start position:0%
lane
in<00:02:12.230><c> a</c><00:02:12.590><c> target</c><00:02:13.010><c> process</c><00:02:13.360><c> during</c><00:02:14.360><c> an</c><00:02:14.450><c> exploit</c><00:02:14.870><c> to</c>

00:02:15.570 --> 00:02:15.580 align:start position:0%
in a target process during an exploit to
 

00:02:15.580 --> 00:02:18.160 align:start position:0%
in a target process during an exploit to
come<00:02:16.580><c> to</c><00:02:16.700><c> and</c><00:02:17.420><c> of</c><00:02:17.480><c> arrangement</c><00:02:18.020><c> where</c><00:02:18.140><c> you</c>

00:02:18.160 --> 00:02:18.170 align:start position:0%
come to and of arrangement where you
 

00:02:18.170 --> 00:02:20.140 align:start position:0%
come to and of arrangement where you
have<00:02:18.500><c> control</c><00:02:19.100><c> over</c><00:02:19.130><c> what's</c><00:02:19.550><c> going</c><00:02:19.640><c> on</c><00:02:19.910><c> and</c>

00:02:20.140 --> 00:02:20.150 align:start position:0%
have control over what's going on and
 

00:02:20.150 --> 00:02:22.990 align:start position:0%
have control over what's going on and
how<00:02:20.780><c> things</c><00:02:21.080><c> are</c><00:02:21.230><c> laid</c><00:02:21.410><c> out</c><00:02:21.440><c> so</c><00:02:21.920><c> so</c><00:02:22.430><c> heat</c><00:02:22.670><c> spray</c>

00:02:22.990 --> 00:02:23.000 align:start position:0%
how things are laid out so so heat spray
 

00:02:23.000 --> 00:02:24.850 align:start position:0%
how things are laid out so so heat spray
is<00:02:23.060><c> essentially</c><00:02:23.570><c> where</c><00:02:23.750><c> you</c><00:02:23.870><c> just</c><00:02:24.170><c> spray</c>

00:02:24.850 --> 00:02:24.860 align:start position:0%
is essentially where you just spray
 

00:02:24.860 --> 00:02:26.730 align:start position:0%
is essentially where you just spray
areas<00:02:25.340><c> of</c><00:02:25.430><c> the</c><00:02:25.520><c> heap</c><00:02:25.700><c> with</c><00:02:25.910><c> controlled</c><00:02:26.450><c> data</c>

00:02:26.730 --> 00:02:26.740 align:start position:0%
areas of the heap with controlled data
 

00:02:26.740 --> 00:02:29.680 align:start position:0%
areas of the heap with controlled data
that<00:02:27.740><c> you</c><00:02:27.950><c> as</c><00:02:28.100><c> the</c><00:02:28.130><c> attacker</c><00:02:28.550><c> control</c><00:02:29.060><c> to</c>

00:02:29.680 --> 00:02:29.690 align:start position:0%
that you as the attacker control to
 

00:02:29.690 --> 00:02:31.930 align:start position:0%
that you as the attacker control to
attempt<00:02:30.620><c> to</c><00:02:30.830><c> populate</c><00:02:31.340><c> the</c><00:02:31.460><c> heap</c><00:02:31.640><c> who</c><00:02:31.790><c> have</c><00:02:31.880><c> as</c>

00:02:31.930 --> 00:02:31.940 align:start position:0%
attempt to populate the heap who have as
 

00:02:31.940 --> 00:02:33.220 align:start position:0%
attempt to populate the heap who have as
much<00:02:32.090><c> of</c><00:02:32.150><c> your</c><00:02:32.420><c> controlled</c><00:02:32.810><c> memory</c><00:02:33.110><c> as</c>

00:02:33.220 --> 00:02:33.230 align:start position:0%
much of your controlled memory as
 

00:02:33.230 --> 00:02:35.380 align:start position:0%
much of your controlled memory as
possible<00:02:33.590><c> and</c><00:02:33.830><c> this</c><00:02:34.190><c> is</c><00:02:34.370><c> normally</c><00:02:34.700><c> used</c><00:02:34.940><c> so</c>

00:02:35.380 --> 00:02:35.390 align:start position:0%
possible and this is normally used so
 

00:02:35.390 --> 00:02:37.630 align:start position:0%
possible and this is normally used so
that<00:02:35.600><c> you</c><00:02:35.750><c> can</c><00:02:35.990><c> increase</c><00:02:36.770><c> the</c><00:02:37.040><c> likelihood</c><00:02:37.250><c> of</c>

00:02:37.630 --> 00:02:37.640 align:start position:0%
that you can increase the likelihood of
 

00:02:37.640 --> 00:02:39.370 align:start position:0%
that you can increase the likelihood of
being<00:02:37.970><c> able</c><00:02:38.090><c> to</c><00:02:38.240><c> find</c><00:02:38.570><c> your</c><00:02:38.810><c> controlled</c><00:02:39.200><c> data</c>

00:02:39.370 --> 00:02:39.380 align:start position:0%
being able to find your controlled data
 

00:02:39.380 --> 00:02:41.260 align:start position:0%
being able to find your controlled data
so<00:02:39.620><c> for</c><00:02:39.800><c> example</c><00:02:40.190><c> you</c><00:02:40.700><c> can</c><00:02:40.850><c> kind</c><00:02:41.060><c> of</c><00:02:41.120><c> think</c>

00:02:41.260 --> 00:02:41.270 align:start position:0%
so for example you can kind of think
 

00:02:41.270 --> 00:02:42.910 align:start position:0%
so for example you can kind of think
think<00:02:41.660><c> of</c><00:02:41.720><c> this</c><00:02:41.870><c> in</c><00:02:41.990><c> a</c><00:02:42.050><c> similar</c><00:02:42.380><c> way</c><00:02:42.410><c> as</c><00:02:42.680><c> how</c><00:02:42.860><c> we</c>

00:02:42.910 --> 00:02:42.920 align:start position:0%
think of this in a similar way as how we
 

00:02:42.920 --> 00:02:45.520 align:start position:0%
think of this in a similar way as how we
would<00:02:43.190><c> use</c><00:02:43.220><c> to</c><00:02:43.640><c> do</c><00:02:43.790><c> an</c><00:02:44.570><c> op</c><00:02:44.810><c> sled</c><00:02:45.140><c> in</c><00:02:45.380><c> a</c>

00:02:45.520 --> 00:02:45.530 align:start position:0%
would use to do an op sled in a
 

00:02:45.530 --> 00:02:47.590 align:start position:0%
would use to do an op sled in a
shellcode<00:02:45.950><c> payload</c><00:02:46.130><c> on</c><00:02:46.610><c> the</c><00:02:46.700><c> stack</c><00:02:46.940><c> where</c><00:02:47.480><c> you</c>

00:02:47.590 --> 00:02:47.600 align:start position:0%
shellcode payload on the stack where you
 

00:02:47.600 --> 00:02:49.660 align:start position:0%
shellcode payload on the stack where you
don't<00:02:47.780><c> exactly</c><00:02:47.990><c> know</c><00:02:48.320><c> whereabouts</c><00:02:48.680><c> your</c><00:02:49.250><c> your</c>

00:02:49.660 --> 00:02:49.670 align:start position:0%
don't exactly know whereabouts your your
 

00:02:49.670 --> 00:02:51.520 align:start position:0%
don't exactly know whereabouts your your
shellcode<00:02:50.030><c> starts</c><00:02:50.540><c> so</c><00:02:50.900><c> you</c><00:02:50.960><c> kind</c><00:02:51.230><c> of</c><00:02:51.350><c> have</c><00:02:51.500><c> a</c>

00:02:51.520 --> 00:02:51.530 align:start position:0%
shellcode starts so you kind of have a
 

00:02:51.530 --> 00:02:53.710 align:start position:0%
shellcode starts so you kind of have a
load<00:02:51.740><c> of</c><00:02:51.860><c> nops</c><00:02:52.130><c> before</c><00:02:52.550><c> it</c><00:02:52.640><c> so</c><00:02:52.760><c> anywhere</c><00:02:53.210><c> land</c>

00:02:53.710 --> 00:02:53.720 align:start position:0%
load of nops before it so anywhere land
 

00:02:53.720 --> 00:02:55.330 align:start position:0%
load of nops before it so anywhere land
if<00:02:54.020><c> you</c><00:02:54.050><c> land</c><00:02:54.290><c> anywhere</c><00:02:54.650><c> inside</c><00:02:54.950><c> these</c><00:02:55.070><c> knobs</c>

00:02:55.330 --> 00:02:55.340 align:start position:0%
if you land anywhere inside these knobs
 

00:02:55.340 --> 00:02:57.520 align:start position:0%
if you land anywhere inside these knobs
you're<00:02:55.880><c> going</c><00:02:56.000><c> to</c><00:02:56.060><c> get</c><00:02:56.330><c> to</c><00:02:56.540><c> the</c><00:02:56.750><c> shellcode</c><00:02:56.960><c> so</c>

00:02:57.520 --> 00:02:57.530 align:start position:0%
you're going to get to the shellcode so
 

00:02:57.530 --> 00:02:58.540 align:start position:0%
you're going to get to the shellcode so
you<00:02:57.590><c> don't</c><00:02:57.740><c> have</c><00:02:57.830><c> to</c><00:02:57.920><c> land</c><00:02:58.070><c> in</c><00:02:58.220><c> the</c><00:02:58.310><c> exact</c>

00:02:58.540 --> 00:02:58.550 align:start position:0%
you don't have to land in the exact
 

00:02:58.550 --> 00:03:00.160 align:start position:0%
you don't have to land in the exact
exact<00:02:58.910><c> position</c><00:02:59.300><c> now</c><00:02:59.420><c> it's</c><00:02:59.750><c> kind</c><00:02:59.990><c> of</c><00:03:00.050><c> a</c>

00:03:00.160 --> 00:03:00.170 align:start position:0%
exact position now it's kind of a
 

00:03:00.170 --> 00:03:02.470 align:start position:0%
exact position now it's kind of a
similar<00:03:00.350><c> idea</c><00:03:00.650><c> to</c><00:03:01.280><c> that</c><00:03:01.880><c> you</c><00:03:02.150><c> essentially</c>

00:03:02.470 --> 00:03:02.480 align:start position:0%
similar idea to that you essentially
 

00:03:02.480 --> 00:03:04.870 align:start position:0%
similar idea to that you essentially
want<00:03:02.600><c> to</c><00:03:02.780><c> raise</c><00:03:03.590><c> the</c><00:03:03.830><c> chances</c><00:03:04.310><c> of</c><00:03:04.460><c> you</c><00:03:04.610><c> finding</c>

00:03:04.870 --> 00:03:04.880 align:start position:0%
want to raise the chances of you finding
 

00:03:04.880 --> 00:03:06.880 align:start position:0%
want to raise the chances of you finding
your<00:03:05.210><c> controlled</c><00:03:05.660><c> data</c><00:03:05.840><c> in</c><00:03:06.020><c> the</c><00:03:06.110><c> kernel</c><00:03:06.440><c> so</c><00:03:06.470><c> a</c>

00:03:06.880 --> 00:03:06.890 align:start position:0%
your controlled data in the kernel so a
 

00:03:06.890 --> 00:03:09.160 align:start position:0%
your controlled data in the kernel so a
heap<00:03:07.370><c> spray</c><00:03:07.700><c> also</c><00:03:08.420><c> in</c><00:03:08.660><c> the</c><00:03:08.750><c> heap</c><00:03:08.900><c> not</c><00:03:09.050><c> the</c>

00:03:09.160 --> 00:03:09.170 align:start position:0%
heap spray also in the heap not the
 

00:03:09.170 --> 00:03:10.450 align:start position:0%
heap spray also in the heap not the
kernel<00:03:09.440><c> so</c><00:03:09.620><c> a</c><00:03:09.650><c> heap</c><00:03:09.950><c> spray</c><00:03:10.160><c> would</c><00:03:10.310><c> basically</c>

00:03:10.450 --> 00:03:10.460 align:start position:0%
kernel so a heap spray would basically
 

00:03:10.460 --> 00:03:13.120 align:start position:0%
kernel so a heap spray would basically
work<00:03:10.820><c> by</c><00:03:11.120><c> just</c><00:03:11.450><c> making</c><00:03:12.200><c> several</c><00:03:12.470><c> allocations</c>

00:03:13.120 --> 00:03:13.130 align:start position:0%
work by just making several allocations
 

00:03:13.130 --> 00:03:15.790 align:start position:0%
work by just making several allocations
we<00:03:13.730><c> use</c><00:03:13.880><c> in</c><00:03:14.060><c> control</c><00:03:14.450><c> data</c><00:03:14.690><c> so</c><00:03:15.080><c> you</c><00:03:15.560><c> just</c><00:03:15.680><c> need</c>

00:03:15.790 --> 00:03:15.800 align:start position:0%
we use in control data so you just need
 

00:03:15.800 --> 00:03:17.050 align:start position:0%
we use in control data so you just need
to<00:03:15.920><c> find</c><00:03:16.070><c> a</c><00:03:16.190><c> way</c><00:03:16.340><c> to</c><00:03:16.400><c> make</c><00:03:16.640><c> an</c><00:03:16.760><c> allocation</c>

00:03:17.050 --> 00:03:17.060 align:start position:0%
to find a way to make an allocation
 

00:03:17.060 --> 00:03:18.729 align:start position:0%
to find a way to make an allocation
essentially<00:03:17.540><c> on</c><00:03:17.630><c> the</c><00:03:17.690><c> heap</c><00:03:17.900><c> and</c><00:03:18.110><c> this</c><00:03:18.620><c> will</c>

00:03:18.729 --> 00:03:18.739 align:start position:0%
essentially on the heap and this will
 

00:03:18.739 --> 00:03:20.740 align:start position:0%
essentially on the heap and this will
vary<00:03:18.950><c> from</c><00:03:19.160><c> target</c><00:03:19.580><c> to</c><00:03:19.700><c> target</c><00:03:19.850><c> so</c><00:03:20.239><c> in</c><00:03:20.660><c> a</c>

00:03:20.740 --> 00:03:20.750 align:start position:0%
vary from target to target so in a
 

00:03:20.750 --> 00:03:21.820 align:start position:0%
vary from target to target so in a
minute<00:03:20.959><c> we're</c><00:03:21.050><c> going</c><00:03:21.080><c> to</c><00:03:21.230><c> discuss</c><00:03:21.530><c> a</c><00:03:21.620><c> way</c><00:03:21.739><c> of</c>

00:03:21.820 --> 00:03:21.830 align:start position:0%
minute we're going to discuss a way of
 

00:03:21.830 --> 00:03:23.860 align:start position:0%
minute we're going to discuss a way of
doing<00:03:21.980><c> this</c><00:03:22.070><c> in</c><00:03:22.370><c> the</c><00:03:22.459><c> iOS</c><00:03:22.700><c> kernel</c><00:03:23.060><c> heap</c><00:03:23.239><c> and</c><00:03:23.510><c> I</c>

00:03:23.860 --> 00:03:23.870 align:start position:0%
doing this in the iOS kernel heap and I
 

00:03:23.870 --> 00:03:25.420 align:start position:0%
doing this in the iOS kernel heap and I
will<00:03:23.989><c> see</c><00:03:24.140><c> we</c><00:03:24.560><c> need</c><00:03:24.739><c> to</c><00:03:24.800><c> be</c><00:03:24.950><c> able</c><00:03:25.010><c> to</c><00:03:25.160><c> do</c><00:03:25.280><c> this</c>

00:03:25.420 --> 00:03:25.430 align:start position:0%
will see we need to be able to do this
 

00:03:25.430 --> 00:03:28.270 align:start position:0%
will see we need to be able to do this
in<00:03:25.640><c> the</c><00:03:25.700><c> point</c><00:03:25.940><c> of</c><00:03:26.090><c> an</c><00:03:26.180><c> iOS</c><00:03:26.510><c> kernel</c><00:03:27.470><c> exploit</c><00:03:28.010><c> we</c>

00:03:28.270 --> 00:03:28.280 align:start position:0%
in the point of an iOS kernel exploit we
 

00:03:28.280 --> 00:03:29.380 align:start position:0%
in the point of an iOS kernel exploit we
need<00:03:28.430><c> to</c><00:03:28.520><c> be</c><00:03:28.580><c> able</c><00:03:28.640><c> to</c><00:03:28.760><c> do</c><00:03:28.850><c> this</c><00:03:28.940><c> from</c><00:03:29.150><c> user</c>

00:03:29.380 --> 00:03:29.390 align:start position:0%
need to be able to do this from user
 

00:03:29.390 --> 00:03:31.330 align:start position:0%
need to be able to do this from user
land<00:03:29.630><c> so</c><00:03:29.870><c> obviously</c><00:03:30.620><c> if</c><00:03:30.709><c> we</c><00:03:30.830><c> were</c><00:03:30.950><c> in</c><00:03:31.160><c> the</c>

00:03:31.330 --> 00:03:31.340 align:start position:0%
land so obviously if we were in the
 

00:03:31.340 --> 00:03:33.100 align:start position:0%
land so obviously if we were in the
kernel<00:03:31.700><c> and</c><00:03:31.910><c> actually</c><00:03:32.570><c> running</c><00:03:32.870><c> through</c><00:03:33.020><c> the</c>

00:03:33.100 --> 00:03:33.110 align:start position:0%
kernel and actually running through the
 

00:03:33.110 --> 00:03:34.330 align:start position:0%
kernel and actually running through the
kernel<00:03:33.350><c> we</c><00:03:33.440><c> could</c><00:03:33.590><c> actually</c><00:03:33.709><c> just</c><00:03:33.890><c> call</c><00:03:34.220><c> an</c>

00:03:34.330 --> 00:03:34.340 align:start position:0%
kernel we could actually just call an
 

00:03:34.340 --> 00:03:36.490 align:start position:0%
kernel we could actually just call an
allocate<00:03:34.730><c> method</c><00:03:35.090><c> like</c><00:03:35.239><c> my</c><00:03:35.600><c> lock</c><00:03:35.780><c> or</c><00:03:36.020><c> kalak</c>

00:03:36.490 --> 00:03:36.500 align:start position:0%
allocate method like my lock or kalak
 

00:03:36.500 --> 00:03:39.010 align:start position:0%
allocate method like my lock or kalak
whatever<00:03:36.770><c> is</c><00:03:36.920><c> in</c><00:03:37.100><c> the</c><00:03:37.190><c> kernel</c><00:03:37.390><c> but</c><00:03:38.390><c> we</c><00:03:38.540><c> need</c><00:03:38.780><c> as</c>

00:03:39.010 --> 00:03:39.020 align:start position:0%
whatever is in the kernel but we need as
 

00:03:39.020 --> 00:03:40.600 align:start position:0%
whatever is in the kernel but we need as
an<00:03:39.350><c> expert</c><00:03:39.620><c> developer</c><00:03:40.070><c> we</c><00:03:40.250><c> need</c><00:03:40.370><c> to</c><00:03:40.459><c> be</c><00:03:40.550><c> able</c>

00:03:40.600 --> 00:03:40.610 align:start position:0%
an expert developer we need to be able
 

00:03:40.610 --> 00:03:42.490 align:start position:0%
an expert developer we need to be able
to<00:03:40.730><c> allocate</c><00:03:40.880><c> memory</c><00:03:41.390><c> in</c><00:03:41.630><c> the</c><00:03:41.720><c> kernel</c><00:03:42.080><c> but</c>

00:03:42.490 --> 00:03:42.500 align:start position:0%
to allocate memory in the kernel but
 

00:03:42.500 --> 00:03:44.979 align:start position:0%
to allocate memory in the kernel but
from<00:03:42.800><c> our</c><00:03:42.950><c> user</c><00:03:43.220><c> land</c><00:03:43.520><c> from</c><00:03:44.510><c> the</c><00:03:44.660><c> user</c><00:03:44.810><c> land</c>

00:03:44.979 --> 00:03:44.989 align:start position:0%
from our user land from the user land
 

00:03:44.989 --> 00:03:46.690 align:start position:0%
from our user land from the user land
perspective<00:03:45.440><c> so</c><00:03:45.770><c> that's</c><00:03:46.400><c> we're</c><00:03:46.520><c> going</c><00:03:46.640><c> to</c>

00:03:46.690 --> 00:03:46.700 align:start position:0%
perspective so that's we're going to
 

00:03:46.700 --> 00:03:48.699 align:start position:0%
perspective so that's we're going to
discuss<00:03:47.000><c> in</c><00:03:47.120><c> a</c><00:03:47.180><c> minute</c><00:03:47.270><c> Fung</c><00:03:48.260><c> Shui</c><00:03:48.440><c> on</c><00:03:48.590><c> the</c>

00:03:48.699 --> 00:03:48.709 align:start position:0%
discuss in a minute Fung Shui on the
 

00:03:48.709 --> 00:03:50.560 align:start position:0%
discuss in a minute Fung Shui on the
other<00:03:48.860><c> hand</c><00:03:49.070><c> this</c><00:03:49.640><c> kind</c><00:03:50.060><c> of</c><00:03:50.150><c> starts</c><00:03:50.450><c> out</c>

00:03:50.560 --> 00:03:50.570 align:start position:0%
other hand this kind of starts out
 

00:03:50.570 --> 00:03:52.360 align:start position:0%
other hand this kind of starts out
similar<00:03:51.170><c> in</c><00:03:51.560><c> the</c><00:03:51.650><c> way</c><00:03:51.709><c> you</c><00:03:51.830><c> carry</c><00:03:52.130><c> out</c><00:03:52.250><c> this</c>

00:03:52.360 --> 00:03:52.370 align:start position:0%
similar in the way you carry out this
 

00:03:52.370 --> 00:03:54.280 align:start position:0%
similar in the way you carry out this
technique<00:03:52.790><c> in</c><00:03:53.030><c> the</c><00:03:53.420><c> way</c><00:03:53.510><c> that</c><00:03:53.690><c> you</c><00:03:53.780><c> spray</c><00:03:54.140><c> the</c>

00:03:54.280 --> 00:03:54.290 align:start position:0%
technique in the way that you spray the
 

00:03:54.290 --> 00:03:56.770 align:start position:0%
technique in the way that you spray the
heap<00:03:54.500><c> with</c><00:03:54.739><c> lots</c><00:03:55.010><c> of</c><00:03:55.130><c> control</c><00:03:55.520><c> data</c><00:03:55.760><c> but</c><00:03:56.630><c> with</c>

00:03:56.770 --> 00:03:56.780 align:start position:0%
heap with lots of control data but with
 

00:03:56.780 --> 00:03:58.840 align:start position:0%
heap with lots of control data but with
Fung<00:03:56.989><c> Shui</c><00:03:57.200><c> the</c><00:03:57.440><c> idea</c><00:03:57.800><c> is</c><00:03:57.980><c> not</c><00:03:58.190><c> just</c><00:03:58.430><c> to</c><00:03:58.550><c> raise</c>

00:03:58.840 --> 00:03:58.850 align:start position:0%
Fung Shui the idea is not just to raise
 

00:03:58.850 --> 00:04:00.100 align:start position:0%
Fung Shui the idea is not just to raise
the<00:03:59.000><c> chance</c><00:03:59.270><c> of</c><00:03:59.420><c> you</c><00:03:59.510><c> being</c><00:03:59.540><c> able</c><00:03:59.750><c> to</c><00:03:59.870><c> find</c>

00:04:00.100 --> 00:04:00.110 align:start position:0%
the chance of you being able to find
 

00:04:00.110 --> 00:04:02.550 align:start position:0%
the chance of you being able to find
your<00:04:00.170><c> data</c><00:04:00.440><c> is</c><00:04:00.709><c> to</c><00:04:01.280><c> be</c><00:04:01.370><c> able</c><00:04:01.489><c> to</c><00:04:01.610><c> then</c><00:04:01.820><c> make</c><00:04:02.120><c> a</c>

00:04:02.550 --> 00:04:02.560 align:start position:0%
your data is to be able to then make a
 

00:04:02.560 --> 00:04:05.650 align:start position:0%
your data is to be able to then make a
deterministic<00:04:03.560><c> allocation</c><00:04:04.220><c> a</c><00:04:04.660><c> known</c>

00:04:05.650 --> 00:04:05.660 align:start position:0%
deterministic allocation a known
 

00:04:05.660 --> 00:04:08.259 align:start position:0%
deterministic allocation a known
location<00:04:06.250><c> after</c><00:04:07.250><c> you've</c><00:04:07.370><c> done</c><00:04:07.520><c> your</c><00:04:07.580><c> spray</c><00:04:08.030><c> so</c>

00:04:08.259 --> 00:04:08.269 align:start position:0%
location after you've done your spray so
 

00:04:08.269 --> 00:04:09.610 align:start position:0%
location after you've done your spray so
essentially<00:04:08.690><c> what</c><00:04:08.780><c> you</c><00:04:08.870><c> do</c><00:04:09.019><c> is</c><00:04:09.050><c> you</c><00:04:09.260><c> spray</c><00:04:09.410><c> the</c>

00:04:09.610 --> 00:04:09.620 align:start position:0%
essentially what you do is you spray the
 

00:04:09.620 --> 00:04:11.500 align:start position:0%
essentially what you do is you spray the
heap<00:04:09.800><c> with</c><00:04:10.070><c> a</c><00:04:10.100><c> whole</c><00:04:10.519><c> bunch</c><00:04:10.670><c> of</c><00:04:10.940><c> control</c><00:04:11.269><c> data</c>

00:04:11.500 --> 00:04:11.510 align:start position:0%
heap with a whole bunch of control data
 

00:04:11.510 --> 00:04:13.630 align:start position:0%
heap with a whole bunch of control data
and<00:04:11.810><c> then</c><00:04:12.470><c> you</c><00:04:12.769><c> free</c><00:04:13.100><c> some</c><00:04:13.400><c> of</c><00:04:13.430><c> those</c>

00:04:13.630 --> 00:04:13.640 align:start position:0%
and then you free some of those
 

00:04:13.640 --> 00:04:15.729 align:start position:0%
and then you free some of those
allocations<00:04:13.940><c> only</c><00:04:14.660><c> a</c><00:04:14.690><c> few</c><00:04:14.959><c> of</c><00:04:15.050><c> them</c><00:04:15.170><c> and</c><00:04:15.410><c> what</c>

00:04:15.729 --> 00:04:15.739 align:start position:0%
allocations only a few of them and what
 

00:04:15.739 --> 00:04:17.349 align:start position:0%
allocations only a few of them and what
this<00:04:15.830><c> essentially</c><00:04:16.340><c> does</c><00:04:16.370><c> is</c><00:04:16.669><c> it</c><00:04:16.790><c> pokes</c><00:04:17.030><c> holes</c>

00:04:17.349 --> 00:04:17.359 align:start position:0%
this essentially does is it pokes holes
 

00:04:17.359 --> 00:04:18.990 align:start position:0%
this essentially does is it pokes holes
in<00:04:17.750><c> the</c><00:04:17.989><c> heap</c><00:04:18.169><c> in</c><00:04:18.410><c> the</c><00:04:18.560><c> memory</c><00:04:18.799><c> that</c>

00:04:18.990 --> 00:04:19.000 align:start position:0%
in the heap in the memory that
 

00:04:19.000 --> 00:04:21.660 align:start position:0%
in the heap in the memory that
you've<00:04:19.510><c> all</c><00:04:19.630><c> allocated</c><00:04:20.140><c> so</c><00:04:20.320><c> you</c><00:04:21.160><c> initially</c>

00:04:21.660 --> 00:04:21.670 align:start position:0%
you've all allocated so you initially
 

00:04:21.670 --> 00:04:23.730 align:start position:0%
you've all allocated so you initially
allocate<00:04:22.120><c> a</c><00:04:22.150><c> load</c><00:04:22.510><c> of</c><00:04:22.630><c> data</c><00:04:22.840><c> which</c><00:04:23.470><c> then</c>

00:04:23.730 --> 00:04:23.740 align:start position:0%
allocate a load of data which then
 

00:04:23.740 --> 00:04:25.140 align:start position:0%
allocate a load of data which then
results<00:04:24.190><c> in</c><00:04:24.280><c> lots</c><00:04:24.550><c> of</c><00:04:24.700><c> data</c><00:04:24.910><c> being</c>

00:04:25.140 --> 00:04:25.150 align:start position:0%
results in lots of data being
 

00:04:25.150 --> 00:04:27.150 align:start position:0%
results in lots of data being
consecutively<00:04:25.900><c> allocated</c><00:04:26.530><c> that</c><00:04:26.620><c> you</c><00:04:26.740><c> control</c>

00:04:27.150 --> 00:04:27.160 align:start position:0%
consecutively allocated that you control
 

00:04:27.160 --> 00:04:29.610 align:start position:0%
consecutively allocated that you control
then<00:04:28.000><c> you</c><00:04:28.180><c> free</c><00:04:28.570><c> you</c><00:04:28.840><c> punch</c><00:04:29.080><c> them</c><00:04:29.200><c> holes</c><00:04:29.410><c> into</c>

00:04:29.610 --> 00:04:29.620 align:start position:0%
then you free you punch them holes into
 

00:04:29.620 --> 00:04:31.530 align:start position:0%
then you free you punch them holes into
this<00:04:29.830><c> into</c><00:04:30.190><c> this</c><00:04:30.250><c> memory</c><00:04:30.610><c> and</c><00:04:30.790><c> then</c><00:04:31.270><c> whatever</c>

00:04:31.530 --> 00:04:31.540 align:start position:0%
this into this memory and then whatever
 

00:04:31.540 --> 00:04:33.330 align:start position:0%
this into this memory and then whatever
you<00:04:31.750><c> allocate</c><00:04:32.080><c> next</c><00:04:32.500><c> is</c><00:04:32.590><c> going</c><00:04:32.740><c> to</c><00:04:32.800><c> fall</c><00:04:33.070><c> or</c>

00:04:33.330 --> 00:04:33.340 align:start position:0%
you allocate next is going to fall or
 

00:04:33.340 --> 00:04:34.710 align:start position:0%
you allocate next is going to fall or
likely<00:04:33.850><c> is</c><00:04:33.940><c> going</c><00:04:34.090><c> to</c><00:04:34.150><c> fall</c><00:04:34.330><c> into</c><00:04:34.360><c> one</c><00:04:34.570><c> of</c>

00:04:34.710 --> 00:04:34.720 align:start position:0%
likely is going to fall into one of
 

00:04:34.720 --> 00:04:36.720 align:start position:0%
likely is going to fall into one of
these<00:04:34.810><c> holes</c><00:04:35.050><c> which</c><00:04:35.710><c> means</c><00:04:35.980><c> that</c><00:04:36.160><c> is</c><00:04:36.250><c> directly</c>

00:04:36.720 --> 00:04:36.730 align:start position:0%
these holes which means that is directly
 

00:04:36.730 --> 00:04:40.020 align:start position:0%
these holes which means that is directly
surrounded<00:04:37.390><c> by</c><00:04:37.990><c> your</c><00:04:38.350><c> control</c><00:04:38.770><c> data</c><00:04:39.010><c> and</c><00:04:39.400><c> this</c>

00:04:40.020 --> 00:04:40.030 align:start position:0%
surrounded by your control data and this
 

00:04:40.030 --> 00:04:41.520 align:start position:0%
surrounded by your control data and this
could<00:04:40.240><c> be</c><00:04:40.330><c> useful</c><00:04:40.480><c> in</c><00:04:40.900><c> different</c><00:04:41.230><c> scenarios</c>

00:04:41.520 --> 00:04:41.530 align:start position:0%
could be useful in different scenarios
 

00:04:41.530 --> 00:04:43.860 align:start position:0%
could be useful in different scenarios
which<00:04:42.010><c> we</c><00:04:42.280><c> won't</c><00:04:42.460><c> cover</c><00:04:42.640><c> now</c><00:04:42.880><c> but</c><00:04:43.450><c> we'll</c><00:04:43.780><c> talk</c>

00:04:43.860 --> 00:04:43.870 align:start position:0%
which we won't cover now but we'll talk
 

00:04:43.870 --> 00:04:45.660 align:start position:0%
which we won't cover now but we'll talk
about<00:04:44.020><c> that</c><00:04:44.200><c> later</c><00:04:44.440><c> on</c><00:04:44.620><c> so</c><00:04:45.010><c> as</c><00:04:45.130><c> I</c><00:04:45.250><c> said</c><00:04:45.400><c> the</c><00:04:45.550><c> way</c>

00:04:45.660 --> 00:04:45.670 align:start position:0%
about that later on so as I said the way
 

00:04:45.670 --> 00:04:47.880 align:start position:0%
about that later on so as I said the way
of<00:04:45.880><c> getting</c><00:04:46.090><c> a</c><00:04:46.270><c> heap</c><00:04:46.450><c> allocation</c><00:04:46.870><c> is</c><00:04:47.650><c> going</c><00:04:47.740><c> to</c>

00:04:47.880 --> 00:04:47.890 align:start position:0%
of getting a heap allocation is going to
 

00:04:47.890 --> 00:04:49.380 align:start position:0%
of getting a heap allocation is going to
be<00:04:47.950><c> different</c><00:04:48.280><c> depending</c><00:04:48.370><c> on</c><00:04:48.700><c> what</c><00:04:48.880><c> target</c>

00:04:49.380 --> 00:04:49.390 align:start position:0%
be different depending on what target
 

00:04:49.390 --> 00:04:50.400 align:start position:0%
be different depending on what target
you're<00:04:49.570><c> working</c><00:04:49.900><c> with</c><00:04:50.020><c> now</c><00:04:50.200><c> if</c><00:04:50.290><c> you're</c>

00:04:50.400 --> 00:04:50.410 align:start position:0%
you're working with now if you're
 

00:04:50.410 --> 00:04:52.440 align:start position:0%
you're working with now if you're
working<00:04:50.590><c> with</c><00:04:50.740><c> the</c><00:04:51.100><c> example</c><00:04:51.790><c> program</c><00:04:52.180><c> that</c><00:04:52.390><c> I</c>

00:04:52.440 --> 00:04:52.450 align:start position:0%
working with the example program that I
 

00:04:52.450 --> 00:04:54.090 align:start position:0%
working with the example program that I
actually<00:04:52.600><c> mentioned</c><00:04:53.260><c> in</c><00:04:53.530><c> it</c><00:04:53.650><c> that's</c><00:04:53.890><c> covered</c>

00:04:54.090 --> 00:04:54.100 align:start position:0%
actually mentioned in it that's covered
 

00:04:54.100 --> 00:04:55.560 align:start position:0%
actually mentioned in it that's covered
in<00:04:54.130><c> the</c><00:04:54.220><c> book</c><00:04:54.400><c> and</c><00:04:54.669><c> then</c><00:04:54.880><c> in</c><00:04:55.030><c> this</c><00:04:55.180><c> challenge</c>

00:04:55.560 --> 00:04:55.570 align:start position:0%
in the book and then in this challenge
 

00:04:55.570 --> 00:04:56.610 align:start position:0%
in the book and then in this challenge
essentially<00:04:55.930><c> the</c><00:04:56.020><c> way</c><00:04:56.110><c> you</c><00:04:56.169><c> allocate</c><00:04:56.500><c> me</c>

00:04:56.610 --> 00:04:56.620 align:start position:0%
essentially the way you allocate me
 

00:04:56.620 --> 00:04:57.900 align:start position:0%
essentially the way you allocate me
around<00:04:56.800><c> the</c><00:04:56.860><c> heap</c><00:04:56.980><c> is</c><00:04:57.160><c> there</c><00:04:57.310><c> just</c><00:04:57.460><c> an</c><00:04:57.550><c> option</c>

00:04:57.900 --> 00:04:57.910 align:start position:0%
around the heap is there just an option
 

00:04:57.910 --> 00:05:00.690 align:start position:0%
around the heap is there just an option
in<00:04:58.120><c> a</c><00:04:58.419><c> menu</c><00:04:58.870><c> in</c><00:04:59.140><c> a</c><00:04:59.200><c> ripple</c><00:04:59.800><c> and</c><00:04:59.980><c> you</c><00:05:00.520><c> just</c>

00:05:00.690 --> 00:05:00.700 align:start position:0%
in a menu in a ripple and you just
 

00:05:00.700 --> 00:05:03.030 align:start position:0%
in a menu in a ripple and you just
select<00:05:01.300><c> the</c><00:05:01.330><c> option</c><00:05:01.720><c> out</c><00:05:02.050><c> the</c><00:05:02.169><c> case</c><00:05:02.350><c> with</c><00:05:02.860><c> some</c>

00:05:03.030 --> 00:05:03.040 align:start position:0%
select the option out the case with some
 

00:05:03.040 --> 00:05:05.520 align:start position:0%
select the option out the case with some
data<00:05:03.220><c> in</c><00:05:03.970><c> a</c><00:05:04.060><c> real</c><00:05:04.270><c> world</c><00:05:04.450><c> scenario</c><00:05:04.870><c> it's</c><00:05:05.350><c> not</c>

00:05:05.520 --> 00:05:05.530 align:start position:0%
data in a real world scenario it's not
 

00:05:05.530 --> 00:05:06.480 align:start position:0%
data in a real world scenario it's not
as<00:05:05.620><c> straightforward</c><00:05:05.830><c> as</c><00:05:06.100><c> that</c><00:05:06.250><c> you're</c><00:05:06.400><c> not</c>

00:05:06.480 --> 00:05:06.490 align:start position:0%
as straightforward as that you're not
 

00:05:06.490 --> 00:05:08.790 align:start position:0%
as straightforward as that you're not
going<00:05:06.580><c> to</c><00:05:06.669><c> have</c><00:05:06.850><c> an</c><00:05:07.630><c> easy</c><00:05:07.900><c> way</c><00:05:08.050><c> necessarily</c><00:05:08.680><c> to</c>

00:05:08.790 --> 00:05:08.800 align:start position:0%
going to have an easy way necessarily to
 

00:05:08.800 --> 00:05:10.770 align:start position:0%
going to have an easy way necessarily to
allocate<00:05:09.190><c> data</c><00:05:09.700><c> on</c><00:05:09.880><c> the</c><00:05:09.970><c> heap</c><00:05:10.150><c> so</c><00:05:10.419><c> with</c>

00:05:10.770 --> 00:05:10.780 align:start position:0%
allocate data on the heap so with
 

00:05:10.780 --> 00:05:12.780 align:start position:0%
allocate data on the heap so with
regards<00:05:11.530><c> to</c><00:05:11.590><c> the</c><00:05:11.710><c> iOS</c><00:05:12.040><c> kernel</c><00:05:12.430><c> let's</c><00:05:12.669><c> say</c>

00:05:12.780 --> 00:05:12.790 align:start position:0%
regards to the iOS kernel let's say
 

00:05:12.790 --> 00:05:15.090 align:start position:0%
regards to the iOS kernel let's say
we're<00:05:12.940><c> building</c><00:05:13.270><c> a</c><00:05:13.390><c> jailbreak</c><00:05:13.810><c> app</c><00:05:14.020><c> and</c><00:05:14.890><c> we</c>

00:05:15.090 --> 00:05:15.100 align:start position:0%
we're building a jailbreak app and we
 

00:05:15.100 --> 00:05:17.400 align:start position:0%
we're building a jailbreak app and we
want<00:05:15.310><c> a</c><00:05:15.460><c> way</c><00:05:15.580><c> to</c><00:05:15.640><c> allocate</c><00:05:16.090><c> memory</c><00:05:16.450><c> that</c><00:05:17.260><c> we</c>

00:05:17.400 --> 00:05:17.410 align:start position:0%
want a way to allocate memory that we
 

00:05:17.410 --> 00:05:19.920 align:start position:0%
want a way to allocate memory that we
control<00:05:17.860><c> into</c><00:05:18.220><c> the</c><00:05:18.310><c> kernel</c><00:05:18.430><c> memory</c><00:05:18.669><c> from</c><00:05:19.630><c> user</c>

00:05:19.920 --> 00:05:19.930 align:start position:0%
control into the kernel memory from user
 

00:05:19.930 --> 00:05:21.659 align:start position:0%
control into the kernel memory from user
land<00:05:20.169><c> the</c><00:05:20.590><c> way</c><00:05:20.740><c> we</c><00:05:20.860><c> can</c><00:05:21.040><c> do</c><00:05:21.160><c> this</c><00:05:21.310><c> there</c><00:05:21.550><c> are</c>

00:05:21.659 --> 00:05:21.669 align:start position:0%
land the way we can do this there are
 

00:05:21.669 --> 00:05:23.100 align:start position:0%
land the way we can do this there are
multiple<00:05:22.000><c> ways</c><00:05:22.120><c> but</c><00:05:22.150><c> the</c><00:05:22.419><c> way</c><00:05:22.570><c> I'm</c><00:05:22.840><c> gonna</c><00:05:22.960><c> be</c>

00:05:23.100 --> 00:05:23.110 align:start position:0%
multiple ways but the way I'm gonna be
 

00:05:23.110 --> 00:05:24.480 align:start position:0%
multiple ways but the way I'm gonna be
showing<00:05:23.229><c> you</c><00:05:23.320><c> guys</c><00:05:23.440><c> in</c><00:05:23.560><c> this</c><00:05:23.620><c> video</c><00:05:23.740><c> is</c><00:05:24.040><c> using</c>

00:05:24.480 --> 00:05:24.490 align:start position:0%
showing you guys in this video is using
 

00:05:24.490 --> 00:05:26.880 align:start position:0%
showing you guys in this video is using
mock<00:05:24.910><c> message</c><00:05:25.390><c> spring</c><00:05:25.780><c> so</c><00:05:26.140><c> this</c><00:05:26.740><c> is</c><00:05:26.860><c> a</c>

00:05:26.880 --> 00:05:26.890 align:start position:0%
mock message spring so this is a
 

00:05:26.890 --> 00:05:28.740 align:start position:0%
mock message spring so this is a
technique<00:05:27.250><c> that</c><00:05:27.430><c> I've</c><00:05:27.490><c> come</c><00:05:27.700><c> across</c><00:05:27.729><c> on</c><00:05:28.479><c> a</c><00:05:28.540><c> few</c>

00:05:28.740 --> 00:05:28.750 align:start position:0%
technique that I've come across on a few
 

00:05:28.750 --> 00:05:30.750 align:start position:0%
technique that I've come across on a few
different<00:05:29.020><c> sites</c><00:05:29.260><c> and</c><00:05:29.650><c> I've</c><00:05:29.979><c> also</c><00:05:30.130><c> spoke</c><00:05:30.490><c> to</c>

00:05:30.750 --> 00:05:30.760 align:start position:0%
different sites and I've also spoke to
 

00:05:30.760 --> 00:05:33.659 align:start position:0%
different sites and I've also spoke to
team<00:05:31.540><c> star</c><00:05:31.810><c> and</c><00:05:32.050><c> saccuzzo</c><00:05:32.410><c> about</c><00:05:32.740><c> this</c><00:05:32.919><c> when</c><00:05:33.640><c> I</c>

00:05:33.659 --> 00:05:33.669 align:start position:0%
team star and saccuzzo about this when I
 

00:05:33.669 --> 00:05:36.540 align:start position:0%
team star and saccuzzo about this when I
met<00:05:33.910><c> them</c><00:05:34.090><c> in</c><00:05:34.360><c> Leipzig</c><00:05:35.040><c> 35c</c><00:05:36.040><c> free</c><00:05:36.310><c> last</c>

00:05:36.540 --> 00:05:36.550 align:start position:0%
met them in Leipzig 35c free last
 

00:05:36.550 --> 00:05:38.250 align:start position:0%
met them in Leipzig 35c free last
December<00:05:37.030><c> and</c><00:05:37.240><c> this</c><00:05:37.780><c> is</c><00:05:37.930><c> actually</c><00:05:38.229><c> a</c>

00:05:38.250 --> 00:05:38.260 align:start position:0%
December and this is actually a
 

00:05:38.260 --> 00:05:41.400 align:start position:0%
December and this is actually a
technique<00:05:38.680><c> that</c><00:05:39.190><c> is</c><00:05:39.430><c> it's</c><00:05:40.060><c> been</c><00:05:40.180><c> used</c><00:05:40.390><c> to</c><00:05:40.840><c> to</c>

00:05:41.400 --> 00:05:41.410 align:start position:0%
technique that is it's been used to to
 

00:05:41.410 --> 00:05:43.110 align:start position:0%
technique that is it's been used to to
achieve<00:05:41.710><c> a</c><00:05:41.740><c> kernel</c><00:05:42.130><c> heap</c><00:05:42.250><c> spray</c><00:05:42.520><c> and</c><00:05:42.790><c> you</c><00:05:43.000><c> can</c>

00:05:43.110 --> 00:05:43.120 align:start position:0%
achieve a kernel heap spray and you can
 

00:05:43.120 --> 00:05:45.000 align:start position:0%
achieve a kernel heap spray and you can
also<00:05:43.240><c> use</c><00:05:43.419><c> it</c><00:05:43.540><c> for</c><00:05:43.570><c> Fung</c><00:05:43.810><c> Shui</c><00:05:43.960><c> so</c><00:05:44.260><c> this</c><00:05:44.860><c> is</c><00:05:44.979><c> a</c>

00:05:45.000 --> 00:05:45.010 align:start position:0%
also use it for Fung Shui so this is a
 

00:05:45.010 --> 00:05:46.560 align:start position:0%
also use it for Fung Shui so this is a
general<00:05:45.340><c> technique</c><00:05:45.729><c> but</c><00:05:46.000><c> we</c><00:05:46.120><c> will</c><00:05:46.270><c> actually</c>

00:05:46.560 --> 00:05:46.570 align:start position:0%
general technique but we will actually
 

00:05:46.570 --> 00:05:48.540 align:start position:0%
general technique but we will actually
use<00:05:46.660><c> this</c><00:05:46.840><c> specific</c><00:05:47.050><c> technique</c><00:05:47.680><c> in</c>

00:05:48.540 --> 00:05:48.550 align:start position:0%
use this specific technique in
 

00:05:48.550 --> 00:05:50.370 align:start position:0%
use this specific technique in
developing<00:05:49.150><c> that</c><00:05:49.240><c> jailbreak</c><00:05:49.690><c> with</c><00:05:50.050><c> using</c><00:05:50.320><c> the</c>

00:05:50.370 --> 00:05:50.380 align:start position:0%
developing that jailbreak with using the
 

00:05:50.380 --> 00:05:52.050 align:start position:0%
developing that jailbreak with using the
Pegasus<00:05:50.740><c> bugs</c><00:05:50.979><c> but</c><00:05:51.220><c> in</c><00:05:51.460><c> this</c><00:05:51.729><c> video</c><00:05:51.970><c> we're</c>

00:05:52.050 --> 00:05:52.060 align:start position:0%
Pegasus bugs but in this video we're
 

00:05:52.060 --> 00:05:53.310 align:start position:0%
Pegasus bugs but in this video we're
just<00:05:52.090><c> going</c><00:05:52.210><c> to</c><00:05:52.330><c> focus</c><00:05:52.479><c> on</c><00:05:52.750><c> the</c><00:05:52.840><c> technique</c><00:05:53.140><c> as</c>

00:05:53.310 --> 00:05:53.320 align:start position:0%
just going to focus on the technique as
 

00:05:53.320 --> 00:05:55.530 align:start position:0%
just going to focus on the technique as
a<00:05:53.350><c> whole</c><00:05:53.560><c> so</c><00:05:53.800><c> first</c><00:05:54.040><c> of</c><00:05:54.160><c> all</c><00:05:54.280><c> what</c><00:05:54.820><c> is</c><00:05:55.000><c> a</c><00:05:55.270><c> mock</c>

00:05:55.530 --> 00:05:55.540 align:start position:0%
a whole so first of all what is a mock
 

00:05:55.540 --> 00:05:58.230 align:start position:0%
a whole so first of all what is a mock
message<00:05:55.930><c> so</c><00:05:56.169><c> mock</c><00:05:56.950><c> messages</c><00:05:57.400><c> are</c><00:05:57.669><c> essentially</c>

00:05:58.230 --> 00:05:58.240 align:start position:0%
message so mock messages are essentially
 

00:05:58.240 --> 00:06:00.290 align:start position:0%
message so mock messages are essentially
messages<00:05:58.630><c> passed</c><00:05:58.930><c> between</c><00:05:59.260><c> tasks</c><00:05:59.830><c> ports</c>

00:06:00.290 --> 00:06:00.300 align:start position:0%
messages passed between tasks ports
 

00:06:00.300 --> 00:06:02.610 align:start position:0%
messages passed between tasks ports
through<00:06:01.300><c> processes</c><00:06:01.930><c> so</c><00:06:02.050><c> this</c><00:06:02.169><c> is</c><00:06:02.260><c> used</c><00:06:02.500><c> for</c>

00:06:02.610 --> 00:06:02.620 align:start position:0%
through processes so this is used for
 

00:06:02.620 --> 00:06:05.790 align:start position:0%
through processes so this is used for
inter<00:06:03.130><c> process</c><00:06:03.340><c> communication</c><00:06:04.020><c> on</c><00:06:05.020><c> iOS</c><00:06:05.440><c> and</c>

00:06:05.790 --> 00:06:05.800 align:start position:0%
inter process communication on iOS and
 

00:06:05.800 --> 00:06:08.040 align:start position:0%
inter process communication on iOS and
on<00:06:05.890><c> Mac</c><00:06:06.040><c> OS</c><00:06:06.280><c> and</c><00:06:06.550><c> if</c><00:06:07.270><c> you</c><00:06:07.360><c> actually</c><00:06:07.630><c> search</c><00:06:07.780><c> up</c>

00:06:08.040 --> 00:06:08.050 align:start position:0%
on Mac OS and if you actually search up
 

00:06:08.050 --> 00:06:10.110 align:start position:0%
on Mac OS and if you actually search up
mock<00:06:08.650><c> message</c><00:06:09.010><c> we</c><00:06:09.160><c> can</c><00:06:09.280><c> find</c><00:06:09.550><c> the</c><00:06:09.790><c> function</c>

00:06:10.110 --> 00:06:10.120 align:start position:0%
mock message we can find the function
 

00:06:10.120 --> 00:06:12.330 align:start position:0%
mock message we can find the function
here<00:06:10.360><c> this</c><00:06:10.840><c> is</c><00:06:11.080><c> the</c><00:06:11.290><c> mock</c><00:06:11.500><c> message</c><00:06:11.860><c> function</c>

00:06:12.330 --> 00:06:12.340 align:start position:0%
here this is the mock message function
 

00:06:12.340 --> 00:06:15.000 align:start position:0%
here this is the mock message function
and<00:06:12.490><c> calling</c><00:06:13.390><c> this</c><00:06:13.540><c> we've</c><00:06:14.020><c> specified</c><00:06:14.470><c> port</c>

00:06:15.000 --> 00:06:15.010 align:start position:0%
and calling this we've specified port
 

00:06:15.010 --> 00:06:16.980 align:start position:0%
and calling this we've specified port
setup<00:06:15.280><c> and</c><00:06:15.580><c> a</c><00:06:15.850><c> message</c><00:06:16.180><c> actually</c><00:06:16.360><c> set</c><00:06:16.630><c> up</c><00:06:16.660><c> you</c>

00:06:16.980 --> 00:06:16.990 align:start position:0%
setup and a message actually set up you
 

00:06:16.990 --> 00:06:19.830 align:start position:0%
setup and a message actually set up you
can<00:06:17.200><c> send</c><00:06:17.560><c> and</c><00:06:17.860><c> receive</c><00:06:18.280><c> messages</c><00:06:19.120><c> containing</c>

00:06:19.830 --> 00:06:19.840 align:start position:0%
can send and receive messages containing
 

00:06:19.840 --> 00:06:23.040 align:start position:0%
can send and receive messages containing
arbitrary<00:06:20.350><c> data</c><00:06:20.500><c> to</c><00:06:21.280><c> different</c><00:06:22.210><c> ports</c><00:06:22.600><c> so</c>

00:06:23.040 --> 00:06:23.050 align:start position:0%
arbitrary data to different ports so
 

00:06:23.050 --> 00:06:24.240 align:start position:0%
arbitrary data to different ports so
essentially<00:06:23.440><c> it</c><00:06:23.530><c> would</c><00:06:23.590><c> work</c><00:06:23.770><c> you</c><00:06:24.040><c> need</c><00:06:24.190><c> to</c>

00:06:24.240 --> 00:06:24.250 align:start position:0%
essentially it would work you need to
 

00:06:24.250 --> 00:06:26.520 align:start position:0%
essentially it would work you need to
have<00:06:24.600><c> access</c><00:06:25.600><c> and</c><00:06:25.780><c> you'd</c><00:06:25.870><c> have</c><00:06:25.930><c> a</c><00:06:25.990><c> send</c><00:06:26.260><c> right</c>

00:06:26.520 --> 00:06:26.530 align:start position:0%
have access and you'd have a send right
 

00:06:26.530 --> 00:06:28.529 align:start position:0%
have access and you'd have a send right
to<00:06:26.800><c> the</c><00:06:27.010><c> port</c><00:06:27.250><c> you</c><00:06:27.700><c> want</c><00:06:27.849><c> to</c><00:06:27.970><c> send</c><00:06:28.180><c> a</c><00:06:28.270><c> message</c>

00:06:28.529 --> 00:06:28.539 align:start position:0%
to the port you want to send a message
 

00:06:28.539 --> 00:06:30.450 align:start position:0%
to the port you want to send a message
to<00:06:28.570><c> so</c><00:06:29.200><c> this</c><00:06:29.289><c> could</c><00:06:29.470><c> be</c><00:06:29.500><c> for</c><00:06:29.590><c> another</c><00:06:29.860><c> app</c><00:06:30.190><c> or</c>

00:06:30.450 --> 00:06:30.460 align:start position:0%
to so this could be for another app or
 

00:06:30.460 --> 00:06:31.470 align:start position:0%
to so this could be for another app or
it<00:06:30.520><c> could</c><00:06:30.640><c> be</c><00:06:30.760><c> differ</c>

00:06:31.470 --> 00:06:31.480 align:start position:0%
it could be differ
 

00:06:31.480 --> 00:06:32.940 align:start position:0%
it could be differ
ports<00:06:31.750><c> inside</c><00:06:32.050><c> your</c><00:06:32.200><c> own</c><00:06:32.290><c> apps</c><00:06:32.500><c> it</c><00:06:32.710><c> could</c><00:06:32.830><c> be</c>

00:06:32.940 --> 00:06:32.950 align:start position:0%
ports inside your own apps it could be
 

00:06:32.950 --> 00:06:34.860 align:start position:0%
ports inside your own apps it could be
the<00:06:33.160><c> exception</c><00:06:33.610><c> ports</c><00:06:34.150><c> if</c><00:06:34.540><c> you're</c><00:06:34.750><c> dealing</c>

00:06:34.860 --> 00:06:34.870 align:start position:0%
the exception ports if you're dealing
 

00:06:34.870 --> 00:06:36.480 align:start position:0%
the exception ports if you're dealing
with<00:06:35.080><c> catching</c><00:06:35.710><c> exceptions</c><00:06:36.160><c> and</c><00:06:36.310><c> stuff</c><00:06:36.430><c> like</c>

00:06:36.480 --> 00:06:36.490 align:start position:0%
with catching exceptions and stuff like
 

00:06:36.490 --> 00:06:38.280 align:start position:0%
with catching exceptions and stuff like
that<00:06:36.700><c> essentially</c><00:06:37.660><c> you</c><00:06:37.720><c> just</c><00:06:37.750><c> need</c><00:06:37.960><c> to</c><00:06:38.080><c> write</c>

00:06:38.280 --> 00:06:38.290 align:start position:0%
that essentially you just need to write
 

00:06:38.290 --> 00:06:40.110 align:start position:0%
that essentially you just need to write
the<00:06:38.440><c> correct</c><00:06:38.620><c> rights</c><00:06:38.950><c> and</c><00:06:39.310><c> if</c><00:06:39.850><c> you've</c><00:06:39.970><c> looked</c>

00:06:40.110 --> 00:06:40.120 align:start position:0%
the correct rights and if you've looked
 

00:06:40.120 --> 00:06:41.160 align:start position:0%
the correct rights and if you've looked
at<00:06:40.210><c> my</c><00:06:40.300><c> other</c><00:06:40.390><c> videos</c><00:06:40.690><c> where</c><00:06:40.840><c> we</c><00:06:40.900><c> look</c><00:06:41.050><c> at</c>

00:06:41.160 --> 00:06:41.170 align:start position:0%
at my other videos where we look at
 

00:06:41.170 --> 00:06:43.080 align:start position:0%
at my other videos where we look at
getting<00:06:41.380><c> the</c><00:06:41.500><c> kernel</c><00:06:41.890><c> task</c><00:06:42.100><c> port</c><00:06:42.370><c> that</c><00:06:42.940><c> is</c>

00:06:43.080 --> 00:06:43.090 align:start position:0%
getting the kernel task port that is
 

00:06:43.090 --> 00:06:44.910 align:start position:0%
getting the kernel task port that is
also<00:06:43.240><c> a</c><00:06:43.420><c> mock</c><00:06:43.780><c> port</c><00:06:44.050><c> and</c><00:06:44.230><c> we</c><00:06:44.620><c> essentially</c>

00:06:44.910 --> 00:06:44.920 align:start position:0%
also a mock port and we essentially
 

00:06:44.920 --> 00:06:46.380 align:start position:0%
also a mock port and we essentially
interact<00:06:45.280><c> with</c><00:06:45.400><c> a</c><00:06:45.430><c> kernel</c><00:06:45.790><c> and</c><00:06:45.880><c> control</c><00:06:46.240><c> it</c>

00:06:46.380 --> 00:06:46.390 align:start position:0%
interact with a kernel and control it
 

00:06:46.390 --> 00:06:47.670 align:start position:0%
interact with a kernel and control it
through<00:06:46.570><c> sending</c><00:06:47.170><c> these</c><00:06:47.230><c> messages</c>

00:06:47.670 --> 00:06:47.680 align:start position:0%
through sending these messages
 

00:06:47.680 --> 00:06:50.520 align:start position:0%
through sending these messages
essentially<00:06:48.190><c> so</c><00:06:48.640><c> the</c><00:06:49.150><c> way</c><00:06:49.270><c> it</c><00:06:49.390><c> would</c><00:06:49.450><c> work</c><00:06:49.530><c> is</c>

00:06:50.520 --> 00:06:50.530 align:start position:0%
essentially so the way it would work is
 

00:06:50.530 --> 00:06:53.550 align:start position:0%
essentially so the way it would work is
you<00:06:50.590><c> would</c><00:06:51.100><c> have</c><00:06:51.490><c> one</c><00:06:52.360><c> process</c><00:06:52.840><c> with</c><00:06:53.380><c> an</c>

00:06:53.550 --> 00:06:53.560 align:start position:0%
you would have one process with an
 

00:06:53.560 --> 00:06:55.020 align:start position:0%
you would have one process with an
access<00:06:53.920><c> to</c><00:06:54.040><c> the</c><00:06:54.130><c> port</c><00:06:54.340><c> of</c><00:06:54.430><c> another</c><00:06:54.640><c> process</c>

00:06:55.020 --> 00:06:55.030 align:start position:0%
access to the port of another process
 

00:06:55.030 --> 00:06:57.420 align:start position:0%
access to the port of another process
this<00:06:55.510><c> process</c><00:06:55.930><c> then</c><00:06:56.080><c> sends</c><00:06:56.530><c> some</c><00:06:56.770><c> message</c><00:06:57.160><c> in</c>

00:06:57.420 --> 00:06:57.430 align:start position:0%
this process then sends some message in
 

00:06:57.430 --> 00:06:59.310 align:start position:0%
this process then sends some message in
in<00:06:57.700><c> some</c><00:06:57.940><c> kind</c><00:06:58.090><c> of</c><00:06:58.150><c> message</c><00:06:58.480><c> structure</c><00:06:58.930><c> it</c>

00:06:59.310 --> 00:06:59.320 align:start position:0%
in some kind of message structure it
 

00:06:59.320 --> 00:07:01.590 align:start position:0%
in some kind of message structure it
goes<00:06:59.740><c> it</c><00:07:00.310><c> goes</c><00:07:00.370><c> to</c><00:07:00.700><c> get</c><00:07:00.820><c> sent</c><00:07:01.060><c> into</c><00:07:01.180><c> the</c><00:07:01.360><c> kernel</c>

00:07:01.590 --> 00:07:01.600 align:start position:0%
goes it goes to get sent into the kernel
 

00:07:01.600 --> 00:07:03.540 align:start position:0%
goes it goes to get sent into the kernel
and<00:07:01.870><c> then</c><00:07:02.410><c> the</c><00:07:02.530><c> kernel</c><00:07:02.920><c> will</c><00:07:03.100><c> redirect</c><00:07:03.520><c> that</c>

00:07:03.540 --> 00:07:03.550 align:start position:0%
and then the kernel will redirect that
 

00:07:03.550 --> 00:07:05.730 align:start position:0%
and then the kernel will redirect that
to<00:07:03.670><c> the</c><00:07:03.940><c> port</c><00:07:04.210><c> when</c><00:07:04.750><c> this</c><00:07:04.960><c> application</c><00:07:05.110><c> tries</c>

00:07:05.730 --> 00:07:05.740 align:start position:0%
to the port when this application tries
 

00:07:05.740 --> 00:07:07.410 align:start position:0%
to the port when this application tries
to<00:07:05.920><c> receive</c><00:07:06.220><c> it</c><00:07:06.400><c> and</c><00:07:06.550><c> then</c><00:07:06.910><c> that</c><00:07:07.120><c> that's</c><00:07:07.300><c> how</c>

00:07:07.410 --> 00:07:07.420 align:start position:0%
to receive it and then that that's how
 

00:07:07.420 --> 00:07:08.550 align:start position:0%
to receive it and then that that's how
you<00:07:07.480><c> have</c><00:07:07.690><c> kind</c><00:07:07.870><c> of</c><00:07:07.900><c> transfer</c><00:07:08.260><c> data</c><00:07:08.440><c> between</c>

00:07:08.550 --> 00:07:08.560 align:start position:0%
you have kind of transfer data between
 

00:07:08.560 --> 00:07:11.160 align:start position:0%
you have kind of transfer data between
applications<00:07:09.430><c> and</c><00:07:09.520><c> between</c><00:07:10.120><c> ports</c><00:07:10.540><c> now</c><00:07:10.990><c> how</c>

00:07:11.160 --> 00:07:11.170 align:start position:0%
applications and between ports now how
 

00:07:11.170 --> 00:07:13.080 align:start position:0%
applications and between ports now how
do<00:07:11.230><c> we</c><00:07:11.290><c> actually</c><00:07:11.590><c> use</c><00:07:11.770><c> that</c><00:07:11.800><c> as</c><00:07:12.160><c> a</c><00:07:12.250><c> way</c><00:07:13.060><c> of</c>

00:07:13.080 --> 00:07:13.090 align:start position:0%
do we actually use that as a way of
 

00:07:13.090 --> 00:07:14.640 align:start position:0%
do we actually use that as a way of
spraying<00:07:13.630><c> the</c><00:07:13.780><c> kernel</c><00:07:14.080><c> heap</c><00:07:14.260><c> and</c><00:07:14.440><c> getting</c>

00:07:14.640 --> 00:07:14.650 align:start position:0%
spraying the kernel heap and getting
 

00:07:14.650 --> 00:07:16.530 align:start position:0%
spraying the kernel heap and getting
controlled<00:07:15.010><c> data</c><00:07:15.190><c> into</c><00:07:15.430><c> the</c><00:07:15.520><c> kernel</c><00:07:15.700><c> well</c>

00:07:16.530 --> 00:07:16.540 align:start position:0%
controlled data into the kernel well
 

00:07:16.540 --> 00:07:18.600 align:start position:0%
controlled data into the kernel well
it's<00:07:16.810><c> actually</c><00:07:16.900><c> pretty</c><00:07:17.200><c> clever</c><00:07:17.380><c> because</c><00:07:17.860><c> if</c>

00:07:18.600 --> 00:07:18.610 align:start position:0%
it's actually pretty clever because if
 

00:07:18.610 --> 00:07:19.770 align:start position:0%
it's actually pretty clever because if
you<00:07:18.760><c> think</c><00:07:18.880><c> about</c><00:07:19.000><c> it</c><00:07:19.240><c> when</c><00:07:19.360><c> we</c><00:07:19.450><c> have</c><00:07:19.630><c> these</c>

00:07:19.770 --> 00:07:19.780 align:start position:0%
you think about it when we have these
 

00:07:19.780 --> 00:07:21.930 align:start position:0%
you think about it when we have these
two<00:07:19.960><c> processes</c><00:07:20.410><c> in</c><00:07:20.650><c> New</c><00:07:20.770><c> Zealand</c><00:07:20.800><c> and</c><00:07:21.280><c> we</c><00:07:21.640><c> send</c>

00:07:21.930 --> 00:07:21.940 align:start position:0%
two processes in New Zealand and we send
 

00:07:21.940 --> 00:07:23.970 align:start position:0%
two processes in New Zealand and we send
a<00:07:22.030><c> message</c><00:07:22.360><c> from</c><00:07:22.540><c> one</c><00:07:22.780><c> to</c><00:07:22.960><c> the</c><00:07:23.080><c> other</c><00:07:23.110><c> it</c><00:07:23.500><c> goes</c>

00:07:23.970 --> 00:07:23.980 align:start position:0%
a message from one to the other it goes
 

00:07:23.980 --> 00:07:25.500 align:start position:0%
a message from one to the other it goes
through<00:07:24.370><c> the</c><00:07:24.490><c> kernel</c><00:07:24.850><c> because</c><00:07:24.940><c> the</c><00:07:25.150><c> kernel</c><00:07:25.450><c> is</c>

00:07:25.500 --> 00:07:25.510 align:start position:0%
through the kernel because the kernel is
 

00:07:25.510 --> 00:07:26.400 align:start position:0%
through the kernel because the kernel is
obviously<00:07:25.750><c> what's</c><00:07:25.900><c> managing</c><00:07:26.320><c> these</c>

00:07:26.400 --> 00:07:26.410 align:start position:0%
obviously what's managing these
 

00:07:26.410 --> 00:07:28.770 align:start position:0%
obviously what's managing these
processes<00:07:26.980><c> so</c><00:07:27.190><c> when</c><00:07:28.090><c> the</c><00:07:28.210><c> first</c><00:07:28.390><c> process</c>

00:07:28.770 --> 00:07:28.780 align:start position:0%
processes so when the first process
 

00:07:28.780 --> 00:07:31.230 align:start position:0%
processes so when the first process
sends<00:07:29.380><c> a</c><00:07:29.620><c> mock</c><00:07:29.860><c> message</c><00:07:30.250><c> the</c><00:07:30.670><c> kernel</c><00:07:31.000><c> actually</c>

00:07:31.230 --> 00:07:31.240 align:start position:0%
sends a mock message the kernel actually
 

00:07:31.240 --> 00:07:33.000 align:start position:0%
sends a mock message the kernel actually
allocate<00:07:31.630><c> some</c><00:07:31.900><c> memory</c><00:07:31.930><c> on</c><00:07:32.410><c> the</c><00:07:32.530><c> kernel</c><00:07:32.830><c> heap</c>

00:07:33.000 --> 00:07:33.010 align:start position:0%
allocate some memory on the kernel heap
 

00:07:33.010 --> 00:07:34.890 align:start position:0%
allocate some memory on the kernel heap
this<00:07:33.730><c> mock</c><00:07:34.000><c> message</c><00:07:34.360><c> is</c><00:07:34.480><c> copied</c><00:07:34.780><c> in</c>

00:07:34.890 --> 00:07:34.900 align:start position:0%
this mock message is copied in
 

00:07:34.900 --> 00:07:36.630 align:start position:0%
this mock message is copied in
containing<00:07:35.680><c> any</c><00:07:35.860><c> data</c><00:07:36.160><c> that</c><00:07:36.280><c> the</c><00:07:36.490><c> mock</c>

00:07:36.630 --> 00:07:36.640 align:start position:0%
containing any data that the mock
 

00:07:36.640 --> 00:07:38.160 align:start position:0%
containing any data that the mock
message<00:07:36.970><c> had</c><00:07:37.210><c> from</c><00:07:37.480><c> the</c><00:07:37.570><c> user</c><00:07:37.750><c> land</c><00:07:37.960><c> so</c><00:07:38.080><c> we</c>

00:07:38.160 --> 00:07:38.170 align:start position:0%
message had from the user land so we
 

00:07:38.170 --> 00:07:40.500 align:start position:0%
message had from the user land so we
could<00:07:38.320><c> populate</c><00:07:38.500><c> this</c><00:07:38.860><c> with</c><00:07:39.100><c> uber</c><00:07:39.460><c> Judea</c><00:07:39.790><c> this</c>

00:07:40.500 --> 00:07:40.510 align:start position:0%
could populate this with uber Judea this
 

00:07:40.510 --> 00:07:42.060 align:start position:0%
could populate this with uber Judea this
gets<00:07:40.750><c> written</c><00:07:40.960><c> to</c><00:07:41.110><c> some</c><00:07:41.410><c> area</c><00:07:41.620><c> on</c><00:07:41.710><c> the</c><00:07:41.800><c> kernel</c>

00:07:42.060 --> 00:07:42.070 align:start position:0%
gets written to some area on the kernel
 

00:07:42.070 --> 00:07:44.030 align:start position:0%
gets written to some area on the kernel
heap<00:07:42.280><c> and</c><00:07:42.520><c> then</c><00:07:43.000><c> when</c><00:07:43.180><c> the</c><00:07:43.300><c> other</c><00:07:43.450><c> process</c>

00:07:44.030 --> 00:07:44.040 align:start position:0%
heap and then when the other process
 

00:07:44.040 --> 00:07:46.650 align:start position:0%
heap and then when the other process
tries<00:07:45.040><c> to</c><00:07:45.250><c> receive</c><00:07:45.640><c> it</c><00:07:45.820><c> it</c><00:07:46.030><c> will</c><00:07:46.480><c> basically</c>

00:07:46.650 --> 00:07:46.660 align:start position:0%
tries to receive it it will basically
 

00:07:46.660 --> 00:07:47.880 align:start position:0%
tries to receive it it will basically
come<00:07:46.990><c> out</c><00:07:47.050><c> of</c><00:07:47.200><c> the</c><00:07:47.260><c> kernel</c><00:07:47.500><c> heap</c><00:07:47.650><c> and</c><00:07:47.830><c> the</c>

00:07:47.880 --> 00:07:47.890 align:start position:0%
come out of the kernel heap and the
 

00:07:47.890 --> 00:07:49.890 align:start position:0%
come out of the kernel heap and the
other<00:07:48.220><c> process</c><00:07:48.550><c> will</c><00:07:48.700><c> be</c><00:07:49.060><c> have</c><00:07:49.300><c> access</c><00:07:49.630><c> to</c><00:07:49.750><c> it</c>

00:07:49.890 --> 00:07:49.900 align:start position:0%
other process will be have access to it
 

00:07:49.900 --> 00:07:52.230 align:start position:0%
other process will be have access to it
but<00:07:50.620><c> what</c><00:07:50.770><c> we</c><00:07:50.860><c> can</c><00:07:51.040><c> do</c><00:07:51.220><c> is</c><00:07:51.460><c> essentially</c><00:07:51.820><c> just</c>

00:07:52.230 --> 00:07:52.240 align:start position:0%
but what we can do is essentially just
 

00:07:52.240 --> 00:07:54.570 align:start position:0%
but what we can do is essentially just
send<00:07:52.540><c> lots</c><00:07:52.990><c> and</c><00:07:53.170><c> lots</c><00:07:53.320><c> of</c><00:07:53.410><c> mock</c><00:07:53.590><c> messages</c><00:07:54.070><c> they</c>

00:07:54.570 --> 00:07:54.580 align:start position:0%
send lots and lots of mock messages they
 

00:07:54.580 --> 00:07:55.950 align:start position:0%
send lots and lots of mock messages they
will<00:07:54.700><c> all</c><00:07:54.850><c> get</c><00:07:54.970><c> populated</c><00:07:55.510><c> in</c><00:07:55.570><c> a</c><00:07:55.660><c> different</c>

00:07:55.950 --> 00:07:55.960 align:start position:0%
will all get populated in a different
 

00:07:55.960 --> 00:07:57.720 align:start position:0%
will all get populated in a different
different<00:07:56.320><c> areas</c><00:07:56.650><c> in</c><00:07:56.860><c> the</c><00:07:57.010><c> kernel</c><00:07:57.280><c> heap</c><00:07:57.460><c> and</c>

00:07:57.720 --> 00:07:57.730 align:start position:0%
different areas in the kernel heap and
 

00:07:57.730 --> 00:08:00.030 align:start position:0%
different areas in the kernel heap and
if<00:07:58.240><c> we</c><00:07:58.390><c> never</c><00:07:58.660><c> receive</c><00:07:59.110><c> them</c><00:07:59.320><c> so</c><00:07:59.530><c> essentially</c>

00:08:00.030 --> 00:08:00.040 align:start position:0%
if we never receive them so essentially
 

00:08:00.040 --> 00:08:02.310 align:start position:0%
if we never receive them so essentially
if<00:08:00.100><c> we</c><00:08:00.130><c> control</c><00:08:00.520><c> both</c><00:08:00.820><c> ends</c><00:08:01.180><c> of</c><00:08:01.210><c> the</c><00:08:01.330><c> ports</c><00:08:01.660><c> and</c>

00:08:02.310 --> 00:08:02.320 align:start position:0%
if we control both ends of the ports and
 

00:08:02.320 --> 00:08:03.960 align:start position:0%
if we control both ends of the ports and
never<00:08:02.620><c> receive</c><00:08:03.040><c> any</c><00:08:03.220><c> of</c><00:08:03.310><c> these</c><00:08:03.370><c> messages</c><00:08:03.790><c> they</c>

00:08:03.960 --> 00:08:03.970 align:start position:0%
never receive any of these messages they
 

00:08:03.970 --> 00:08:06.750 align:start position:0%
never receive any of these messages they
essentially<00:08:04.300><c> stay</c><00:08:04.780><c> in</c><00:08:05.110><c> the</c><00:08:05.410><c> kernel</c><00:08:05.740><c> so</c><00:08:05.890><c> by</c>

00:08:06.750 --> 00:08:06.760 align:start position:0%
essentially stay in the kernel so by
 

00:08:06.760 --> 00:08:08.130 align:start position:0%
essentially stay in the kernel so by
sending<00:08:07.210><c> that</c><00:08:07.330><c> say</c><00:08:07.480><c> a</c><00:08:07.510><c> thousand</c><00:08:07.990><c> mock</c>

00:08:08.130 --> 00:08:08.140 align:start position:0%
sending that say a thousand mock
 

00:08:08.140 --> 00:08:09.960 align:start position:0%
sending that say a thousand mock
messages<00:08:08.530><c> contain</c><00:08:08.950><c> in</c><00:08:09.100><c> some</c><00:08:09.370><c> some</c><00:08:09.700><c> data</c><00:08:09.880><c> like</c>

00:08:09.960 --> 00:08:09.970 align:start position:0%
messages contain in some some data like
 

00:08:09.970 --> 00:08:12.510 align:start position:0%
messages contain in some some data like
for<00:08:10.330><c> one</c><00:08:10.480><c> for</c><00:08:10.660><c> one</c><00:08:10.690><c> for</c><00:08:10.960><c> one</c><00:08:10.990><c> bytes</c><00:08:11.290><c> we</c><00:08:12.280><c> would</c>

00:08:12.510 --> 00:08:12.520 align:start position:0%
for one for one for one bytes we would
 

00:08:12.520 --> 00:08:14.640 align:start position:0%
for one for one for one bytes we would
have<00:08:12.790><c> a</c><00:08:13.120><c> thousand</c><00:08:13.660><c> allocations</c><00:08:14.200><c> with</c><00:08:14.410><c> these</c>

00:08:14.640 --> 00:08:14.650 align:start position:0%
have a thousand allocations with these
 

00:08:14.650 --> 00:08:16.440 align:start position:0%
have a thousand allocations with these
bytes<00:08:14.920><c> in</c><00:08:15.400><c> random</c><00:08:15.700><c> places</c><00:08:15.790><c> in</c><00:08:16.060><c> the</c><00:08:16.150><c> kernel</c>

00:08:16.440 --> 00:08:16.450 align:start position:0%
bytes in random places in the kernel
 

00:08:16.450 --> 00:08:18.540 align:start position:0%
bytes in random places in the kernel
heap<00:08:16.600><c> so</c><00:08:16.930><c> that</c><00:08:17.620><c> is</c><00:08:17.710><c> how</c><00:08:17.830><c> we</c><00:08:17.890><c> can</c><00:08:18.040><c> actually</c><00:08:18.190><c> get</c>

00:08:18.540 --> 00:08:18.550 align:start position:0%
heap so that is how we can actually get
 

00:08:18.550 --> 00:08:20.070 align:start position:0%
heap so that is how we can actually get
some<00:08:18.730><c> kind</c><00:08:18.880><c> of</c><00:08:18.940><c> control</c><00:08:19.390><c> over</c><00:08:19.510><c> what's</c><00:08:19.750><c> on</c><00:08:19.960><c> the</c>

00:08:20.070 --> 00:08:20.080 align:start position:0%
some kind of control over what's on the
 

00:08:20.080 --> 00:08:21.990 align:start position:0%
some kind of control over what's on the
kernel<00:08:20.350><c> heap</c><00:08:20.560><c> so</c><00:08:21.160><c> how</c><00:08:21.550><c> could</c><00:08:21.730><c> you</c><00:08:21.790><c> actually</c>

00:08:21.990 --> 00:08:22.000 align:start position:0%
kernel heap so how could you actually
 

00:08:22.000 --> 00:08:24.690 align:start position:0%
kernel heap so how could you actually
turn<00:08:22.360><c> this</c><00:08:22.510><c> heap</c><00:08:22.750><c> spray</c><00:08:23.050><c> into</c><00:08:23.830><c> a</c><00:08:24.100><c> funk</c>

00:08:24.690 --> 00:08:24.700 align:start position:0%
turn this heap spray into a funk
 

00:08:24.700 --> 00:08:26.910 align:start position:0%
turn this heap spray into a funk
technique<00:08:25.330><c> well</c><00:08:25.660><c> you</c><00:08:26.170><c> can</c><00:08:26.320><c> do</c><00:08:26.410><c> the</c><00:08:26.530><c> same</c><00:08:26.680><c> thing</c>

00:08:26.910 --> 00:08:26.920 align:start position:0%
technique well you can do the same thing
 

00:08:26.920 --> 00:08:28.350 align:start position:0%
technique well you can do the same thing
while<00:08:27.100><c> sending</c><00:08:27.400><c> sending</c><00:08:27.820><c> lots</c><00:08:28.060><c> and</c><00:08:28.180><c> lots</c><00:08:28.300><c> of</c>

00:08:28.350 --> 00:08:28.360 align:start position:0%
while sending sending lots and lots of
 

00:08:28.360 --> 00:08:30.390 align:start position:0%
while sending sending lots and lots of
muck<00:08:28.570><c> messages</c><00:08:29.020><c> into</c><00:08:29.320><c> the</c><00:08:29.410><c> kernel</c><00:08:29.740><c> and</c><00:08:29.860><c> then</c>

00:08:30.390 --> 00:08:30.400 align:start position:0%
muck messages into the kernel and then
 

00:08:30.400 --> 00:08:32.159 align:start position:0%
muck messages into the kernel and then
never<00:08:30.580><c> receiving</c><00:08:31.090><c> them</c><00:08:31.240><c> but</c><00:08:31.690><c> then</c><00:08:31.960><c> if</c><00:08:32.080><c> you</c>

00:08:32.159 --> 00:08:32.169 align:start position:0%
never receiving them but then if you
 

00:08:32.169 --> 00:08:33.930 align:start position:0%
never receiving them but then if you
then<00:08:32.349><c> choose</c><00:08:32.680><c> to</c><00:08:32.919><c> receive</c><00:08:33.190><c> a</c><00:08:33.250><c> few</c><00:08:33.580><c> of</c><00:08:33.700><c> them</c><00:08:33.820><c> at</c>

00:08:33.930 --> 00:08:33.940 align:start position:0%
then choose to receive a few of them at
 

00:08:33.940 --> 00:08:36.150 align:start position:0%
then choose to receive a few of them at
random<00:08:34.360><c> positions</c><00:08:34.510><c> in</c><00:08:34.960><c> this</c><00:08:35.140><c> in</c><00:08:35.500><c> this</c><00:08:35.620><c> list</c><00:08:36.010><c> of</c>

00:08:36.150 --> 00:08:36.160 align:start position:0%
random positions in this in this list of
 

00:08:36.160 --> 00:08:37.740 align:start position:0%
random positions in this in this list of
ports<00:08:36.340><c> then</c><00:08:36.970><c> essentially</c><00:08:37.300><c> what</c><00:08:37.450><c> that's</c><00:08:37.630><c> going</c>

00:08:37.740 --> 00:08:37.750 align:start position:0%
ports then essentially what that's going
 

00:08:37.750 --> 00:08:39.839 align:start position:0%
ports then essentially what that's going
to<00:08:37.810><c> do</c><00:08:37.990><c> is</c><00:08:38.169><c> free</c><00:08:38.440><c> up</c><00:08:38.470><c> these</c><00:08:38.800><c> these</c><00:08:39.460><c> memory</c>

00:08:39.839 --> 00:08:39.849 align:start position:0%
to do is free up these these memory
 

00:08:39.849 --> 00:08:42.150 align:start position:0%
to do is free up these these memory
areas<00:08:40.120><c> and</c><00:08:40.240><c> the</c><00:08:40.300><c> heap</c><00:08:40.450><c> poking</c><00:08:40.990><c> holes</c><00:08:41.170><c> so</c><00:08:41.740><c> you</c>

00:08:42.150 --> 00:08:42.160 align:start position:0%
areas and the heap poking holes so you
 

00:08:42.160 --> 00:08:44.550 align:start position:0%
areas and the heap poking holes so you
can<00:08:42.280><c> use</c><00:08:42.400><c> these</c><00:08:42.550><c> mock</c><00:08:42.760><c> messages</c><00:08:43.180><c> as</c><00:08:43.330><c> a</c>

00:08:44.550 --> 00:08:44.560 align:start position:0%
can use these mock messages as a
 

00:08:44.560 --> 00:08:46.769 align:start position:0%
can use these mock messages as a
a<00:08:44.590><c> steep</c><00:08:44.980><c> spraying</c><00:08:45.310><c> technique</c><00:08:45.580><c> and</c><00:08:46.029><c> also</c><00:08:46.480><c> for</c>

00:08:46.769 --> 00:08:46.779 align:start position:0%
a steep spraying technique and also for
 

00:08:46.779 --> 00:08:49.230 align:start position:0%
a steep spraying technique and also for
Fung<00:08:47.020><c> Shui</c><00:08:47.140><c> so</c><00:08:47.440><c> that</c><00:08:48.220><c> is</c><00:08:48.400><c> that</c><00:08:48.790><c> is</c><00:08:48.880><c> one</c><00:08:49.090><c> way</c><00:08:49.210><c> of</c>

00:08:49.230 --> 00:08:49.240 align:start position:0%
Fung Shui so that is that is one way of
 

00:08:49.240 --> 00:08:50.760 align:start position:0%
Fung Shui so that is that is one way of
doing<00:08:49.480><c> this</c><00:08:49.720><c> with</c><00:08:49.930><c> the</c><00:08:50.020><c> iOS</c><00:08:50.260><c> kernel</c><00:08:50.529><c> there</c><00:08:50.650><c> are</c>

00:08:50.760 --> 00:08:50.770 align:start position:0%
doing this with the iOS kernel there are
 

00:08:50.770 --> 00:08:52.050 align:start position:0%
doing this with the iOS kernel there are
other<00:08:50.950><c> ways</c><00:08:51.130><c> that</c><00:08:51.340><c> have</c><00:08:51.430><c> been</c><00:08:51.580><c> used</c><00:08:51.850><c> in</c>

00:08:52.050 --> 00:08:52.060 align:start position:0%
other ways that have been used in
 

00:08:52.060 --> 00:08:52.890 align:start position:0%
other ways that have been used in
different<00:08:52.120><c> jailbreaks</c>

00:08:52.890 --> 00:08:52.900 align:start position:0%
different jailbreaks
 

00:08:52.900 --> 00:08:54.330 align:start position:0%
different jailbreaks
so<00:08:53.140><c> now</c><00:08:53.320><c> I'm</c><00:08:53.380><c> going</c><00:08:53.470><c> to</c><00:08:53.529><c> show</c><00:08:53.770><c> you</c><00:08:53.830><c> some</c><00:08:54.070><c> code</c>

00:08:54.330 --> 00:08:54.340 align:start position:0%
so now I'm going to show you some code
 

00:08:54.340 --> 00:08:56.310 align:start position:0%
so now I'm going to show you some code
that<00:08:54.610><c> actually</c><00:08:55.270><c> basically</c><00:08:55.810><c> how</c><00:08:55.990><c> this</c><00:08:56.140><c> works</c>

00:08:56.310 --> 00:08:56.320 align:start position:0%
that actually basically how this works
 

00:08:56.320 --> 00:08:57.990 align:start position:0%
that actually basically how this works
so<00:08:56.410><c> first</c><00:08:56.680><c> of</c><00:08:56.800><c> all</c><00:08:56.860><c> just</c><00:08:56.920><c> send</c><00:08:57.490><c> in</c><00:08:57.610><c> a</c><00:08:57.670><c> basic</c>

00:08:57.990 --> 00:08:58.000 align:start position:0%
so first of all just send in a basic
 

00:08:58.000 --> 00:09:00.570 align:start position:0%
so first of all just send in a basic
mach<00:08:58.210><c> message</c><00:08:58.600><c> works</c><00:08:59.440><c> as</c><00:08:59.800><c> follows</c><00:09:00.040><c> so</c><00:09:00.279><c> we</c><00:09:00.400><c> have</c>

00:09:00.570 --> 00:09:00.580 align:start position:0%
mach message works as follows so we have
 

00:09:00.580 --> 00:09:02.730 align:start position:0%
mach message works as follows so we have
this<00:09:00.760><c> structure</c><00:09:01.270><c> here</c><00:09:01.570><c> which</c><00:09:02.020><c> is</c><00:09:02.320><c> a</c><00:09:02.350><c> message</c>

00:09:02.730 --> 00:09:02.740 align:start position:0%
this structure here which is a message
 

00:09:02.740 --> 00:09:04.980 align:start position:0%
this structure here which is a message
structure<00:09:03.010><c> we</c><00:09:03.640><c> have</c><00:09:03.790><c> a</c><00:09:03.850><c> message</c><00:09:04.300><c> header</c><00:09:04.600><c> and</c><00:09:04.900><c> a</c>

00:09:04.980 --> 00:09:04.990 align:start position:0%
structure we have a message header and a
 

00:09:04.990 --> 00:09:07.290 align:start position:0%
structure we have a message header and a
body<00:09:05.020><c> and</c><00:09:05.589><c> then</c><00:09:06.040><c> we</c><00:09:06.160><c> have</c><00:09:06.370><c> some</c><00:09:06.640><c> inline</c><00:09:07.060><c> data</c>

00:09:07.290 --> 00:09:07.300 align:start position:0%
body and then we have some inline data
 

00:09:07.300 --> 00:09:08.610 align:start position:0%
body and then we have some inline data
here<00:09:07.630><c> now</c><00:09:07.750><c> this</c><00:09:07.839><c> can</c><00:09:08.050><c> be</c><00:09:08.080><c> anything</c><00:09:08.410><c> you</c><00:09:08.560><c> want</c>

00:09:08.610 --> 00:09:08.620 align:start position:0%
here now this can be anything you want
 

00:09:08.620 --> 00:09:11.340 align:start position:0%
here now this can be anything you want
so<00:09:09.070><c> in</c><00:09:09.400><c> this</c><00:09:09.790><c> case</c><00:09:10.000><c> it's</c><00:09:10.180><c> just</c><00:09:10.240><c> a</c><00:09:10.750><c> 32-bit</c>

00:09:11.340 --> 00:09:11.350 align:start position:0%
so in this case it's just a 32-bit
 

00:09:11.350 --> 00:09:12.780 align:start position:0%
so in this case it's just a 32-bit
integer<00:09:11.410><c> which</c><00:09:12.100><c> is</c><00:09:12.130><c> enough</c><00:09:12.490><c> for</c><00:09:12.670><c> us</c><00:09:12.730><c> to</c>

00:09:12.780 --> 00:09:12.790 align:start position:0%
integer which is enough for us to
 

00:09:12.790 --> 00:09:15.840 align:start position:0%
integer which is enough for us to
basically<00:09:13.120><c> put</c><00:09:13.330><c> like</c><00:09:13.570><c> 441</c><00:09:14.320><c> bytes</c><00:09:14.529><c> so</c><00:09:15.430><c> if</c><00:09:15.490><c> we</c>

00:09:15.840 --> 00:09:15.850 align:start position:0%
basically put like 441 bytes so if we
 

00:09:15.850 --> 00:09:17.670 align:start position:0%
basically put like 441 bytes so if we
want<00:09:16.000><c> to</c><00:09:16.089><c> have</c><00:09:16.660><c> those</c><00:09:16.839><c> shown</c><00:09:17.350><c> up</c><00:09:17.500><c> in</c><00:09:17.589><c> the</c>

00:09:17.670 --> 00:09:17.680 align:start position:0%
want to have those shown up in the
 

00:09:17.680 --> 00:09:19.350 align:start position:0%
want to have those shown up in the
kernel<00:09:17.920><c> heap</c><00:09:18.070><c> so</c><00:09:18.670><c> we</c><00:09:18.790><c> can</c><00:09:18.880><c> have</c><00:09:19.029><c> an</c><00:09:19.120><c> integer</c>

00:09:19.350 --> 00:09:19.360 align:start position:0%
kernel heap so we can have an integer
 

00:09:19.360 --> 00:09:20.490 align:start position:0%
kernel heap so we can have an integer
now<00:09:19.570><c> what</c><00:09:19.720><c> we</c><00:09:19.839><c> need</c><00:09:19.990><c> to</c><00:09:20.080><c> do</c><00:09:20.200><c> is</c><00:09:20.320><c> basically</c>

00:09:20.490 --> 00:09:20.500 align:start position:0%
now what we need to do is basically
 

00:09:20.500 --> 00:09:22.470 align:start position:0%
now what we need to do is basically
create<00:09:20.890><c> an</c><00:09:21.100><c> instance</c><00:09:21.430><c> of</c><00:09:21.550><c> this</c><00:09:21.700><c> structure</c><00:09:22.089><c> and</c>

00:09:22.470 --> 00:09:22.480 align:start position:0%
create an instance of this structure and
 

00:09:22.480 --> 00:09:25.500 align:start position:0%
create an instance of this structure and
then<00:09:23.140><c> assign</c><00:09:23.950><c> all</c><00:09:24.190><c> of</c><00:09:24.220><c> the</c><00:09:24.520><c> correct</c><00:09:24.970><c> fields</c><00:09:25.390><c> so</c>

00:09:25.500 --> 00:09:25.510 align:start position:0%
then assign all of the correct fields so
 

00:09:25.510 --> 00:09:27.269 align:start position:0%
then assign all of the correct fields so
we<00:09:25.540><c> need</c><00:09:25.720><c> to</c><00:09:25.839><c> set</c><00:09:25.990><c> up</c><00:09:26.020><c> all</c><00:09:26.170><c> the</c><00:09:26.260><c> ports</c><00:09:26.620><c> and</c><00:09:26.770><c> in</c>

00:09:27.269 --> 00:09:27.279 align:start position:0%
we need to set up all the ports and in
 

00:09:27.279 --> 00:09:28.769 align:start position:0%
we need to set up all the ports and in
this<00:09:27.400><c> case</c><00:09:27.580><c> as</c><00:09:27.700><c> I</c><00:09:27.820><c> said</c><00:09:28.000><c> we're</c><00:09:28.150><c> using</c><00:09:28.390><c> we're</c>

00:09:28.769 --> 00:09:28.779 align:start position:0%
this case as I said we're using we're
 

00:09:28.779 --> 00:09:30.690 align:start position:0%
this case as I said we're using we're
sending<00:09:28.990><c> to</c><00:09:29.200><c> a</c><00:09:29.230><c> port</c><00:09:29.529><c> that</c><00:09:29.710><c> we</c><00:09:29.920><c> own</c><00:09:30.070><c> as</c><00:09:30.279><c> well</c><00:09:30.490><c> so</c>

00:09:30.690 --> 00:09:30.700 align:start position:0%
sending to a port that we own as well so
 

00:09:30.700 --> 00:09:32.040 align:start position:0%
sending to a port that we own as well so
that<00:09:30.820><c> we</c><00:09:30.910><c> can</c><00:09:31.089><c> choose</c><00:09:31.270><c> not</c><00:09:31.330><c> to</c><00:09:31.630><c> receive</c><00:09:31.870><c> the</c>

00:09:32.040 --> 00:09:32.050 align:start position:0%
that we can choose not to receive the
 

00:09:32.050 --> 00:09:35.579 align:start position:0%
that we can choose not to receive the
message<00:09:32.460><c> you</c><00:09:33.460><c> you</c><00:09:33.700><c> assign</c><00:09:33.940><c> those</c><00:09:34.060><c> ports</c><00:09:34.589><c> and</c>

00:09:35.579 --> 00:09:35.589 align:start position:0%
message you you assign those ports and
 

00:09:35.589 --> 00:09:38.130 align:start position:0%
message you you assign those ports and
then<00:09:35.800><c> the</c><00:09:36.190><c> actual</c><00:09:36.339><c> inline</c><00:09:36.850><c> data</c><00:09:37.180><c> you</c><00:09:37.750><c> can</c><00:09:37.900><c> set</c>

00:09:38.130 --> 00:09:38.140 align:start position:0%
then the actual inline data you can set
 

00:09:38.140 --> 00:09:40.320 align:start position:0%
then the actual inline data you can set
this<00:09:38.320><c> to</c><00:09:38.770><c> whichever</c><00:09:39.550><c> data</c><00:09:39.820><c> you</c><00:09:39.940><c> want</c><00:09:40.150><c> so</c><00:09:40.270><c> in</c>

00:09:40.320 --> 00:09:40.330 align:start position:0%
this to whichever data you want so in
 

00:09:40.330 --> 00:09:41.730 align:start position:0%
this to whichever data you want so in
this<00:09:40.420><c> case</c><00:09:40.630><c> I'm</c><00:09:40.810><c> using</c><00:09:40.870><c> four</c><00:09:41.380><c> five</c><00:09:41.529><c> four</c><00:09:41.710><c> five</c>

00:09:41.730 --> 00:09:41.740 align:start position:0%
this case I'm using four five four five
 

00:09:41.740 --> 00:09:43.950 align:start position:0%
this case I'm using four five four five
four<00:09:41.950><c> five</c><00:09:42.160><c> four</c><00:09:42.220><c> five</c><00:09:42.370><c> and</c><00:09:42.850><c> then</c><00:09:43.540><c> what</c><00:09:43.660><c> we</c><00:09:43.779><c> do</c>

00:09:43.950 --> 00:09:43.960 align:start position:0%
four five four five and then what we do
 

00:09:43.960 --> 00:09:46.500 align:start position:0%
four five four five and then what we do
is<00:09:43.990><c> we</c><00:09:44.230><c> pass</c><00:09:44.440><c> in</c><00:09:44.740><c> that</c><00:09:45.070><c> structure</c><00:09:45.580><c> as</c><00:09:46.330><c> an</c>

00:09:46.500 --> 00:09:46.510 align:start position:0%
is we pass in that structure as an
 

00:09:46.510 --> 00:09:49.170 align:start position:0%
is we pass in that structure as an
argument<00:09:46.839><c> to</c><00:09:46.990><c> the</c><00:09:47.170><c> muk</c><00:09:47.740><c> message</c><00:09:48.310><c> function</c><00:09:48.790><c> so</c>

00:09:49.170 --> 00:09:49.180 align:start position:0%
argument to the muk message function so
 

00:09:49.180 --> 00:09:51.060 align:start position:0%
argument to the muk message function so
mock<00:09:49.810><c> message</c><00:09:50.170><c> is</c><00:09:50.380><c> actually</c><00:09:50.770><c> used</c><00:09:50.950><c> for</c>

00:09:51.060 --> 00:09:51.070 align:start position:0%
mock message is actually used for
 

00:09:51.070 --> 00:09:53.190 align:start position:0%
mock message is actually used for
sending<00:09:51.460><c> and</c><00:09:51.610><c> receiving</c><00:09:51.839><c> there's</c><00:09:52.839><c> not</c><00:09:53.020><c> like</c><00:09:53.170><c> a</c>

00:09:53.190 --> 00:09:53.200 align:start position:0%
sending and receiving there's not like a
 

00:09:53.200 --> 00:09:54.600 align:start position:0%
sending and receiving there's not like a
set<00:09:53.500><c> of</c><00:09:53.620><c> mock</c><00:09:53.770><c> message</c><00:09:54.040><c> send</c><00:09:54.310><c> and</c><00:09:54.430><c> a</c><00:09:54.460><c> mock</c>

00:09:54.600 --> 00:09:54.610 align:start position:0%
set of mock message send and a mock
 

00:09:54.610 --> 00:09:56.010 align:start position:0%
set of mock message send and a mock
message<00:09:54.880><c> receive</c><00:09:55.240><c> that</c><00:09:55.480><c> it's</c><00:09:55.600><c> both</c><00:09:55.780><c> in</c><00:09:55.900><c> the</c>

00:09:56.010 --> 00:09:56.020 align:start position:0%
message receive that it's both in the
 

00:09:56.020 --> 00:09:58.560 align:start position:0%
message receive that it's both in the
same<00:09:56.140><c> function</c><00:09:56.620><c> you</c><00:09:56.980><c> just</c><00:09:57.010><c> specify</c><00:09:57.570><c> using</c>

00:09:58.560 --> 00:09:58.570 align:start position:0%
same function you just specify using
 

00:09:58.570 --> 00:10:01.230 align:start position:0%
same function you just specify using
here<00:09:59.110><c> this</c><00:09:59.650><c> this</c><00:10:00.010><c> constant</c><00:10:00.520><c> mock</c><00:10:00.700><c> commit</c><00:10:00.970><c> mock</c>

00:10:01.230 --> 00:10:01.240 align:start position:0%
here this this constant mock commit mock
 

00:10:01.240 --> 00:10:03.510 align:start position:0%
here this this constant mock commit mock
send<00:10:01.540><c> message</c><00:10:01.930><c> as</c><00:10:02.530><c> opposed</c><00:10:02.830><c> to</c><00:10:02.920><c> mock</c><00:10:03.190><c> receive</c>

00:10:03.510 --> 00:10:03.520 align:start position:0%
send message as opposed to mock receive
 

00:10:03.520 --> 00:10:06.329 align:start position:0%
send message as opposed to mock receive
message<00:10:03.850><c> and</c><00:10:04.530><c> we're</c><00:10:05.530><c> passing</c><00:10:05.860><c> in</c><00:10:05.980><c> the</c>

00:10:06.329 --> 00:10:06.339 align:start position:0%
message and we're passing in the
 

00:10:06.339 --> 00:10:09.030 align:start position:0%
message and we're passing in the
structure<00:10:07.150><c> and</c><00:10:07.330><c> sending</c><00:10:08.020><c> it</c><00:10:08.140><c> to</c><00:10:08.170><c> that</c><00:10:08.740><c> port</c>

00:10:09.030 --> 00:10:09.040 align:start position:0%
structure and sending it to that port
 

00:10:09.040 --> 00:10:10.260 align:start position:0%
structure and sending it to that port
that<00:10:09.160><c> we've</c><00:10:09.280><c> specified</c><00:10:09.520><c> in</c><00:10:09.850><c> the</c><00:10:09.910><c> structure</c>

00:10:10.260 --> 00:10:10.270 align:start position:0%
that we've specified in the structure
 

00:10:10.270 --> 00:10:13.170 align:start position:0%
that we've specified in the structure
and<00:10:10.450><c> then</c><00:10:11.140><c> if</c><00:10:11.770><c> that</c><00:10:11.980><c> succeeds</c><00:10:12.370><c> the</c><00:10:12.880><c> message</c>

00:10:13.170 --> 00:10:13.180 align:start position:0%
and then if that succeeds the message
 

00:10:13.180 --> 00:10:15.030 align:start position:0%
and then if that succeeds the message
has<00:10:13.300><c> been</c><00:10:13.330><c> queued</c><00:10:13.780><c> and</c><00:10:14.020><c> essentially</c><00:10:14.860><c> means</c>

00:10:15.030 --> 00:10:15.040 align:start position:0%
has been queued and essentially means
 

00:10:15.040 --> 00:10:16.680 align:start position:0%
has been queued and essentially means
it's<00:10:15.190><c> been</c><00:10:15.310><c> put</c><00:10:16.000><c> into</c><00:10:16.180><c> the</c><00:10:16.270><c> kernel</c><00:10:16.540><c> memory</c>

00:10:16.680 --> 00:10:16.690 align:start position:0%
it's been put into the kernel memory
 

00:10:16.690 --> 00:10:19.079 align:start position:0%
it's been put into the kernel memory
until<00:10:17.410><c> we</c><00:10:17.589><c> choose</c><00:10:17.920><c> to</c><00:10:18.130><c> receive</c><00:10:18.400><c> it</c><00:10:18.610><c> which</c><00:10:18.940><c> we</c>

00:10:19.079 --> 00:10:19.089 align:start position:0%
until we choose to receive it which we
 

00:10:19.089 --> 00:10:21.360 align:start position:0%
until we choose to receive it which we
never<00:10:19.210><c> do</c><00:10:19.420><c> so</c><00:10:20.170><c> this</c><00:10:20.710><c> is</c><00:10:20.830><c> just</c><00:10:21.040><c> sending</c><00:10:21.250><c> a</c>

00:10:21.360 --> 00:10:21.370 align:start position:0%
never do so this is just sending a
 

00:10:21.370 --> 00:10:22.950 align:start position:0%
never do so this is just sending a
single<00:10:21.580><c> mock</c><00:10:21.850><c> message</c><00:10:22.210><c> Bava</c><00:10:22.450><c> so</c><00:10:22.630><c> this</c><00:10:22.750><c> is</c><00:10:22.839><c> in</c><00:10:22.900><c> a</c>

00:10:22.950 --> 00:10:22.960 align:start position:0%
single mock message Bava so this is in a
 

00:10:22.960 --> 00:10:24.210 align:start position:0%
single mock message Bava so this is in a
function<00:10:23.320><c> which</c><00:10:23.470><c> you</c><00:10:23.589><c> could</c><00:10:23.740><c> call</c><00:10:23.980><c> like</c><00:10:24.190><c> a</c>

00:10:24.210 --> 00:10:24.220 align:start position:0%
function which you could call like a
 

00:10:24.220 --> 00:10:25.440 align:start position:0%
function which you could call like a
thousand<00:10:24.670><c> times</c><00:10:24.850><c> if</c><00:10:25.000><c> you</c><00:10:25.060><c> wanted</c><00:10:25.270><c> to</c><00:10:25.330><c> do</c><00:10:25.420><c> a</c>

00:10:25.440 --> 00:10:25.450 align:start position:0%
thousand times if you wanted to do a
 

00:10:25.450 --> 00:10:28.290 align:start position:0%
thousand times if you wanted to do a
proper<00:10:25.600><c> spray</c><00:10:26.160><c> in</c><00:10:27.160><c> this</c><00:10:27.400><c> actual</c><00:10:27.790><c> application</c>

00:10:28.290 --> 00:10:28.300 align:start position:0%
proper spray in this actual application
 

00:10:28.300 --> 00:10:31.110 align:start position:0%
proper spray in this actual application
here<00:10:28.660><c> this</c><00:10:29.530><c> is</c><00:10:29.830><c> working</c><00:10:30.370><c> with</c><00:10:30.520><c> the</c><00:10:30.700><c> Pegasus</c>

00:10:31.110 --> 00:10:31.120 align:start position:0%
here this is working with the Pegasus
 

00:10:31.120 --> 00:10:32.280 align:start position:0%
here this is working with the Pegasus
bugs<00:10:31.360><c> this</c><00:10:31.570><c> is</c><00:10:31.690><c> actually</c><00:10:31.959><c> what</c><00:10:32.080><c> we're</c><00:10:32.170><c> going</c>

00:10:32.280 --> 00:10:32.290 align:start position:0%
bugs this is actually what we're going
 

00:10:32.290 --> 00:10:34.020 align:start position:0%
bugs this is actually what we're going
to<00:10:32.320><c> be</c><00:10:32.410><c> using</c><00:10:32.650><c> in</c><00:10:32.770><c> in</c><00:10:33.370><c> the</c><00:10:33.459><c> later</c><00:10:33.640><c> parts</c><00:10:33.940><c> of</c>

00:10:34.020 --> 00:10:34.030 align:start position:0%
to be using in in the later parts of
 

00:10:34.030 --> 00:10:35.910 align:start position:0%
to be using in in the later parts of
that<00:10:34.120><c> video</c><00:10:34.390><c> series</c><00:10:34.810><c> and</c><00:10:35.020><c> in</c><00:10:35.500><c> this</c><00:10:35.620><c> case</c><00:10:35.890><c> I</c>

00:10:35.910 --> 00:10:35.920 align:start position:0%
that video series and in this case I
 

00:10:35.920 --> 00:10:37.230 align:start position:0%
that video series and in this case I
actually<00:10:36.130><c> take</c><00:10:36.370><c> it</c><00:10:36.490><c> a</c><00:10:36.550><c> step</c><00:10:36.700><c> further</c><00:10:36.760><c> and</c><00:10:37.120><c> we</c>

00:10:37.230 --> 00:10:37.240 align:start position:0%
actually take it a step further and we
 

00:10:37.240 --> 00:10:39.660 align:start position:0%
actually take it a step further and we
actually<00:10:37.450><c> use</c><00:10:37.930><c> this</c><00:10:38.170><c> spraying</c><00:10:38.980><c> technique</c><00:10:39.160><c> to</c>

00:10:39.660 --> 00:10:39.670 align:start position:0%
actually use this spraying technique to
 

00:10:39.670 --> 00:10:41.310 align:start position:0%
actually use this spraying technique to
get<00:10:39.940><c> a</c><00:10:39.970><c> mock</c><00:10:40.270><c> message</c><00:10:40.630><c> to</c><00:10:40.810><c> get</c><00:10:40.900><c> some</c><00:10:41.050><c> custom</c>

00:10:41.310 --> 00:10:41.320 align:start position:0%
get a mock message to get some custom
 

00:10:41.320 --> 00:10:45.300 align:start position:0%
get a mock message to get some custom
data<00:10:41.529><c> at</c><00:10:42.130><c> a</c><00:10:42.190><c> known</c><00:10:42.640><c> kernel</c><00:10:43.240><c> address</c><00:10:43.540><c> so</c><00:10:44.310><c> and</c>

00:10:45.300 --> 00:10:45.310 align:start position:0%
data at a known kernel address so and
 

00:10:45.310 --> 00:10:47.250 align:start position:0%
data at a known kernel address so and
then<00:10:45.760><c> we</c><00:10:46.029><c> actually</c><00:10:46.180><c> know</c><00:10:46.510><c> exactly</c><00:10:46.990><c> what</c>

00:10:47.250 --> 00:10:47.260 align:start position:0%
then we actually know exactly what
 

00:10:47.260 --> 00:10:48.660 align:start position:0%
then we actually know exactly what
address<00:10:47.560><c> in</c><00:10:47.680><c> the</c><00:10:47.770><c> kernel</c><00:10:48.070><c> that</c><00:10:48.190><c> memory</c><00:10:48.459><c> lies</c>

00:10:48.660 --> 00:10:48.670 align:start position:0%
address in the kernel that memory lies
 

00:10:48.670 --> 00:10:50.670 align:start position:0%
address in the kernel that memory lies
out<00:10:48.880><c> and</c><00:10:49.089><c> this</c><00:10:49.240><c> is</c><00:10:49.360><c> especially</c><00:10:49.630><c> useful</c><00:10:49.839><c> for</c><00:10:50.170><c> in</c>

00:10:50.670 --> 00:10:50.680 align:start position:0%
out and this is especially useful for in
 

00:10:50.680 --> 00:10:52.500 align:start position:0%
out and this is especially useful for in
the<00:10:51.070><c> case</c><00:10:51.250><c> of</c><00:10:51.370><c> exploit</c><00:10:51.700><c> in</c><00:10:51.760><c> the</c><00:10:51.850><c> Pegasus</c><00:10:52.209><c> bugs</c>

00:10:52.500 --> 00:10:52.510 align:start position:0%
the case of exploit in the Pegasus bugs
 

00:10:52.510 --> 00:10:54.690 align:start position:0%
the case of exploit in the Pegasus bugs
because<00:10:52.750><c> we</c><00:10:53.380><c> need</c><00:10:53.620><c> to</c><00:10:53.830><c> actually</c><00:10:54.160><c> have</c><00:10:54.370><c> a</c><00:10:54.400><c> known</c>

00:10:54.690 --> 00:10:54.700 align:start position:0%
because we need to actually have a known
 

00:10:54.700 --> 00:10:56.610 align:start position:0%
because we need to actually have a known
address<00:10:55.060><c> to</c><00:10:55.300><c> set</c><00:10:55.480><c> up</c><00:10:55.570><c> our</c><00:10:55.690><c> fake</c><00:10:55.930><c> vtable</c>

00:10:56.610 --> 00:10:56.620 align:start position:0%
address to set up our fake vtable
 

00:10:56.620 --> 00:10:58.020 align:start position:0%
address to set up our fake vtable
now<00:10:56.890><c> this</c><00:10:57.459><c> part</c><00:10:57.730><c> this</c><00:10:57.850><c> is</c>

00:10:58.020 --> 00:10:58.030 align:start position:0%
now this part this is
 

00:10:58.030 --> 00:10:59.190 align:start position:0%
now this part this is
I've<00:10:58.090><c> been</c><00:10:58.240><c> explained</c><00:10:58.600><c> yet</c><00:10:58.780><c> in</c><00:10:58.900><c> the</c><00:10:58.990><c> video</c>

00:10:59.190 --> 00:10:59.200 align:start position:0%
I've been explained yet in the video
 

00:10:59.200 --> 00:11:00.960 align:start position:0%
I've been explained yet in the video
series<00:10:59.440><c> I</c><00:10:59.590><c> don't</c><00:10:59.800><c> believe</c><00:11:00.010><c> but</c><00:11:00.220><c> if</c><00:11:00.730><c> you</c><00:11:00.820><c> ever</c>

00:11:00.960 --> 00:11:00.970 align:start position:0%
series I don't believe but if you ever
 

00:11:00.970 --> 00:11:02.880 align:start position:0%
series I don't believe but if you ever
looked<00:11:01.150><c> into</c><00:11:01.300><c> the</c><00:11:01.450><c> Pegasus</c><00:11:01.810><c> box</c><00:11:02.020><c> before</c><00:11:02.440><c> then</c>

00:11:02.880 --> 00:11:02.890 align:start position:0%
looked into the Pegasus box before then
 

00:11:02.890 --> 00:11:05.520 align:start position:0%
looked into the Pegasus box before then
you'll<00:11:03.040><c> know</c><00:11:03.220><c> that</c><00:11:03.540><c> the</c><00:11:04.540><c> use</c><00:11:04.750><c> of</c><00:11:04.900><c> the</c><00:11:05.020><c> free</c><00:11:05.260><c> is</c>

00:11:05.520 --> 00:11:05.530 align:start position:0%
you'll know that the use of the free is
 

00:11:05.530 --> 00:11:08.340 align:start position:0%
you'll know that the use of the free is
with<00:11:06.250><c> a</c><00:11:06.280><c> C++</c><00:11:07.090><c> objects</c><00:11:07.570><c> we</c><00:11:07.720><c> essentially</c><00:11:08.050><c> get</c><00:11:08.230><c> to</c>

00:11:08.340 --> 00:11:08.350 align:start position:0%
with a C++ objects we essentially get to
 

00:11:08.350 --> 00:11:11.370 align:start position:0%
with a C++ objects we essentially get to
reallocate<00:11:08.740><c> a</c><00:11:08.890><c> C++</c><00:11:09.490><c> object</c><00:11:09.910><c> and</c><00:11:10.900><c> the</c><00:11:11.260><c> way</c>

00:11:11.370 --> 00:11:11.380 align:start position:0%
reallocate a C++ object and the way
 

00:11:11.380 --> 00:11:13.200 align:start position:0%
reallocate a C++ object and the way
we're<00:11:11.500><c> gonna</c><00:11:11.560><c> exploit</c><00:11:11.980><c> that</c><00:11:12.040><c> is</c><00:11:12.340><c> by</c><00:11:12.550><c> changing</c>

00:11:13.200 --> 00:11:13.210 align:start position:0%
we're gonna exploit that is by changing
 

00:11:13.210 --> 00:11:15.480 align:start position:0%
we're gonna exploit that is by changing
the<00:11:13.510><c> V</c><00:11:13.600><c> table</c><00:11:13.960><c> pointer</c><00:11:14.290><c> to</c><00:11:14.800><c> point</c><00:11:15.100><c> to</c><00:11:15.190><c> some</c>

00:11:15.480 --> 00:11:15.490 align:start position:0%
the V table pointer to point to some
 

00:11:15.490 --> 00:11:17.280 align:start position:0%
the V table pointer to point to some
fake<00:11:15.730><c> veto</c><00:11:16.120><c> which</c><00:11:16.540><c> we</c><00:11:16.720><c> then</c><00:11:16.870><c> set</c><00:11:17.080><c> up</c><00:11:17.140><c> with</c>

00:11:17.280 --> 00:11:17.290 align:start position:0%
fake veto which we then set up with
 

00:11:17.290 --> 00:11:19.470 align:start position:0%
fake veto which we then set up with
controlled<00:11:17.710><c> values</c><00:11:18.070><c> but</c><00:11:18.760><c> because</c><00:11:19.120><c> it's</c><00:11:19.270><c> kind</c>

00:11:19.470 --> 00:11:19.480 align:start position:0%
controlled values but because it's kind
 

00:11:19.480 --> 00:11:21.600 align:start position:0%
controlled values but because it's kind
of<00:11:19.570><c> this</c><00:11:19.690><c> double</c><00:11:20.230><c> dereference</c><00:11:20.800><c> it's</c><00:11:21.400><c> not</c>

00:11:21.600 --> 00:11:21.610 align:start position:0%
of this double dereference it's not
 

00:11:21.610 --> 00:11:23.220 align:start position:0%
of this double dereference it's not
enough<00:11:21.850><c> for</c><00:11:21.880><c> us</c><00:11:22.150><c> to</c><00:11:22.270><c> just</c><00:11:22.480><c> put</c><00:11:22.720><c> a</c><00:11:22.750><c> custom</c>

00:11:23.220 --> 00:11:23.230 align:start position:0%
enough for us to just put a custom
 

00:11:23.230 --> 00:11:26.670 align:start position:0%
enough for us to just put a custom
pointer<00:11:24.090><c> into</c><00:11:25.090><c> the</c><00:11:25.360><c> V</c><00:11:25.570><c> table</c><00:11:25.900><c> address</c><00:11:26.170><c> because</c>

00:11:26.670 --> 00:11:26.680 align:start position:0%
pointer into the V table address because
 

00:11:26.680 --> 00:11:28.200 align:start position:0%
pointer into the V table address because
we<00:11:26.800><c> need</c><00:11:27.070><c> that</c><00:11:27.250><c> to</c><00:11:27.370><c> point</c><00:11:27.550><c> validly</c><00:11:27.970><c> to</c>

00:11:28.200 --> 00:11:28.210 align:start position:0%
we need that to point validly to
 

00:11:28.210 --> 00:11:29.250 align:start position:0%
we need that to point validly to
somewhere<00:11:28.510><c> else</c><00:11:28.600><c> in</c><00:11:28.780><c> the</c><00:11:28.810><c> kernel</c><00:11:29.170><c> memory</c>

00:11:29.250 --> 00:11:29.260 align:start position:0%
somewhere else in the kernel memory
 

00:11:29.260 --> 00:11:31.260 align:start position:0%
somewhere else in the kernel memory
holding<00:11:30.040><c> the</c><00:11:30.160><c> list</c><00:11:30.340><c> of</c><00:11:30.460><c> controlled</c><00:11:30.880><c> pointers</c>

00:11:31.260 --> 00:11:31.270 align:start position:0%
holding the list of controlled pointers
 

00:11:31.270 --> 00:11:33.600 align:start position:0%
holding the list of controlled pointers
so<00:11:31.510><c> this</c><00:11:32.230><c> is</c><00:11:32.560><c> how</c><00:11:32.800><c> this</c><00:11:33.130><c> is</c><00:11:33.400><c> useful</c>

00:11:33.600 --> 00:11:33.610 align:start position:0%
so this is how this is useful
 

00:11:33.610 --> 00:11:35.070 align:start position:0%
so this is how this is useful
essentially<00:11:34.150><c> we</c><00:11:34.270><c> need</c><00:11:34.420><c> to</c><00:11:34.570><c> get</c><00:11:34.690><c> some</c><00:11:34.900><c> known</c>

00:11:35.070 --> 00:11:35.080 align:start position:0%
essentially we need to get some known
 

00:11:35.080 --> 00:11:37.590 align:start position:0%
essentially we need to get some known
data<00:11:35.410><c> a</c><00:11:35.800><c> known</c><00:11:36.430><c> address</c><00:11:36.760><c> so</c><00:11:36.910><c> we</c><00:11:37.030><c> can</c><00:11:37.180><c> use</c><00:11:37.360><c> this</c>

00:11:37.590 --> 00:11:37.600 align:start position:0%
data a known address so we can use this
 

00:11:37.600 --> 00:11:40.290 align:start position:0%
data a known address so we can use this
this<00:11:38.200><c> controlled</c><00:11:38.770><c> data</c><00:11:39.730><c> here</c><00:11:40.000><c> this</c><00:11:40.120><c> will</c><00:11:40.240><c> be</c>

00:11:40.290 --> 00:11:40.300 align:start position:0%
this controlled data here this will be
 

00:11:40.300 --> 00:11:41.610 align:start position:0%
this controlled data here this will be
the<00:11:40.330><c> first</c><00:11:40.630><c> function</c><00:11:41.050><c> in</c><00:11:41.140><c> the</c><00:11:41.200><c> V</c><00:11:41.290><c> table</c>

00:11:41.610 --> 00:11:41.620 align:start position:0%
the first function in the V table
 

00:11:41.620 --> 00:11:43.650 align:start position:0%
the first function in the V table
essentially<00:11:42.060><c> and</c><00:11:43.060><c> I'm</c><00:11:43.150><c> gonna</c><00:11:43.300><c> quickly</c><00:11:43.480><c> show</c>

00:11:43.650 --> 00:11:43.660 align:start position:0%
essentially and I'm gonna quickly show
 

00:11:43.660 --> 00:11:45.360 align:start position:0%
essentially and I'm gonna quickly show
you<00:11:43.690><c> guys</c><00:11:43.900><c> actually</c><00:11:44.260><c> how</c><00:11:44.560><c> this</c><00:11:44.800><c> works</c><00:11:45.070><c> so</c>

00:11:45.360 --> 00:11:45.370 align:start position:0%
you guys actually how this works so
 

00:11:45.370 --> 00:11:46.650 align:start position:0%
you guys actually how this works so
right<00:11:45.790><c> here</c><00:11:45.910><c> what</c><00:11:45.970><c> we're</c><00:11:46.090><c> going</c><00:11:46.120><c> to</c><00:11:46.240><c> do</c><00:11:46.390><c> is</c><00:11:46.510><c> I'm</c>

00:11:46.650 --> 00:11:46.660 align:start position:0%
right here what we're going to do is I'm
 

00:11:46.660 --> 00:11:49.530 align:start position:0%
right here what we're going to do is I'm
SSH<00:11:47.080><c> into</c><00:11:47.470><c> this</c><00:11:47.920><c> iPhone</c><00:11:48.340><c> and</c><00:11:48.520><c> this</c><00:11:49.390><c> is</c>

00:11:49.530 --> 00:11:49.540 align:start position:0%
SSH into this iPhone and this is
 

00:11:49.540 --> 00:11:51.720 align:start position:0%
SSH into this iPhone and this is
actually<00:11:49.780><c> already</c><00:11:49.900><c> jailbroken</c><00:11:50.590><c> so</c><00:11:50.890><c> we</c><00:11:51.610><c> are</c>

00:11:51.720 --> 00:11:51.730 align:start position:0%
actually already jailbroken so we are
 

00:11:51.730 --> 00:11:53.400 align:start position:0%
actually already jailbroken so we are
developing<00:11:51.910><c> a</c><00:11:52.180><c> jailbreak</c><00:11:52.570><c> for</c><00:11:52.960><c> an</c><00:11:53.230><c> already</c>

00:11:53.400 --> 00:11:53.410 align:start position:0%
developing a jailbreak for an already
 

00:11:53.410 --> 00:11:54.810 align:start position:0%
developing a jailbreak for an already
jailbroken<00:11:53.920><c> phone</c><00:11:54.130><c> so</c><00:11:54.280><c> essentially</c><00:11:54.700><c> we</c><00:11:54.790><c> can</c>

00:11:54.810 --> 00:11:54.820 align:start position:0%
jailbroken phone so essentially we can
 

00:11:54.820 --> 00:11:56.160 align:start position:0%
jailbroken phone so essentially we can
debug<00:11:55.210><c> this</c><00:11:55.420><c> a</c><00:11:55.450><c> little</c><00:11:55.600><c> easier</c><00:11:55.750><c> because</c><00:11:56.020><c> we</c>

00:11:56.160 --> 00:11:56.170 align:start position:0%
debug this a little easier because we
 

00:11:56.170 --> 00:11:57.510 align:start position:0%
debug this a little easier because we
already<00:11:56.290><c> have</c><00:11:56.530><c> access</c><00:11:56.650><c> to</c><00:11:56.920><c> the</c><00:11:57.040><c> kernel</c><00:11:57.340><c> task</c>

00:11:57.510 --> 00:11:57.520 align:start position:0%
already have access to the kernel task
 

00:11:57.520 --> 00:11:59.400 align:start position:0%
already have access to the kernel task
port<00:11:57.730><c> so</c><00:11:58.000><c> in</c><00:11:58.210><c> this</c><00:11:58.570><c> program</c><00:11:58.750><c> about</c><00:11:59.080><c> to</c><00:11:59.230><c> show</c>

00:11:59.400 --> 00:11:59.410 align:start position:0%
port so in this program about to show
 

00:11:59.410 --> 00:12:01.620 align:start position:0%
port so in this program about to show
you<00:11:59.470><c> we're</c><00:12:00.280><c> using</c><00:12:00.460><c> the</c><00:12:00.640><c> kernel</c><00:12:00.790><c> task</c><00:12:01.120><c> port</c><00:12:01.360><c> to</c>

00:12:01.620 --> 00:12:01.630 align:start position:0%
you we're using the kernel task port to
 

00:12:01.630 --> 00:12:03.330 align:start position:0%
you we're using the kernel task port to
actually<00:12:01.900><c> inspect</c><00:12:02.110><c> the</c><00:12:02.350><c> kernel</c><00:12:02.650><c> memory</c><00:12:02.800><c> to</c>

00:12:03.330 --> 00:12:03.340 align:start position:0%
actually inspect the kernel memory to
 

00:12:03.340 --> 00:12:04.410 align:start position:0%
actually inspect the kernel memory to
make<00:12:03.490><c> sure</c><00:12:03.700><c> we've</c><00:12:03.850><c> carried</c><00:12:04.120><c> this</c><00:12:04.270><c> out</c>

00:12:04.410 --> 00:12:04.420 align:start position:0%
make sure we've carried this out
 

00:12:04.420 --> 00:12:06.240 align:start position:0%
make sure we've carried this out
correctly<00:12:04.780><c> but</c><00:12:05.560><c> essentially</c><00:12:05.950><c> you'll</c><00:12:06.070><c> see</c>

00:12:06.240 --> 00:12:06.250 align:start position:0%
correctly but essentially you'll see
 

00:12:06.250 --> 00:12:07.500 align:start position:0%
correctly but essentially you'll see
you'll<00:12:06.490><c> see</c><00:12:06.520><c> what</c><00:12:06.790><c> happens</c><00:12:07.060><c> based</c><00:12:07.300><c> on</c><00:12:07.420><c> what</c>

00:12:07.500 --> 00:12:07.510 align:start position:0%
you'll see what happens based on what
 

00:12:07.510 --> 00:12:09.840 align:start position:0%
you'll see what happens based on what
I've<00:12:07.570><c> just</c><00:12:07.750><c> explained</c><00:12:08.200><c> so</c><00:12:08.320><c> the</c><00:12:08.980><c> program</c><00:12:09.370><c> we're</c>

00:12:09.840 --> 00:12:09.850 align:start position:0%
I've just explained so the program we're
 

00:12:09.850 --> 00:12:13.230 align:start position:0%
I've just explained so the program we're
gonna<00:12:09.940><c> run</c><00:12:10.180><c> is</c><00:12:10.510><c> called</c><00:12:10.870><c> Pegasus</c><00:12:11.560><c> and</c><00:12:12.120><c> this</c><00:12:13.120><c> is</c>

00:12:13.230 --> 00:12:13.240 align:start position:0%
gonna run is called Pegasus and this is
 

00:12:13.240 --> 00:12:15.210 align:start position:0%
gonna run is called Pegasus and this is
just<00:12:13.390><c> essentially</c><00:12:13.810><c> the</c><00:12:13.990><c> Pegasus</c><00:12:14.380><c> bug</c><00:12:14.650><c> up</c>

00:12:15.210 --> 00:12:15.220 align:start position:0%
just essentially the Pegasus bug up
 

00:12:15.220 --> 00:12:16.860 align:start position:0%
just essentially the Pegasus bug up
until<00:12:15.610><c> the</c><00:12:15.700><c> point</c><00:12:15.880><c> of</c><00:12:16.000><c> the</c><00:12:16.090><c> last</c><00:12:16.300><c> video</c><00:12:16.720><c> we</c>

00:12:16.860 --> 00:12:16.870 align:start position:0%
until the point of the last video we
 

00:12:16.870 --> 00:12:18.620 align:start position:0%
until the point of the last video we
covered<00:12:17.140><c> so</c><00:12:17.290><c> leak</c><00:12:17.470><c> in</c><00:12:17.650><c> the</c><00:12:17.740><c> ice</c><00:12:17.830><c> last</c><00:12:18.070><c> slide</c>

00:12:18.620 --> 00:12:18.630 align:start position:0%
covered so leak in the ice last slide
 

00:12:18.630 --> 00:12:20.520 align:start position:0%
covered so leak in the ice last slide
we're<00:12:19.630><c> still</c><00:12:19.810><c> not</c><00:12:19.930><c> exploiting</c><00:12:20.260><c> the</c><00:12:20.320><c> use</c><00:12:20.410><c> of</c>

00:12:20.520 --> 00:12:20.530 align:start position:0%
we're still not exploiting the use of
 

00:12:20.530 --> 00:12:22.140 align:start position:0%
we're still not exploiting the use of
the<00:12:20.620><c> free</c><00:12:20.830><c> in</c><00:12:21.070><c> this</c><00:12:21.220><c> but</c><00:12:21.520><c> we're</c><00:12:21.730><c> setting</c><00:12:21.940><c> up</c>

00:12:22.140 --> 00:12:22.150 align:start position:0%
the free in this but we're setting up
 

00:12:22.150 --> 00:12:23.820 align:start position:0%
the free in this but we're setting up
the<00:12:22.330><c> kernel</c><00:12:22.690><c> memory</c><00:12:22.810><c> so</c><00:12:22.990><c> we</c><00:12:23.080><c> have</c><00:12:23.320><c> controlled</c>

00:12:23.820 --> 00:12:23.830 align:start position:0%
the kernel memory so we have controlled
 

00:12:23.830 --> 00:12:25.770 align:start position:0%
the kernel memory so we have controlled
data<00:12:24.010><c> in</c><00:12:24.640><c> known</c><00:12:24.880><c> kernel</c><00:12:25.270><c> address</c><00:12:25.510><c> so</c><00:12:25.660><c> we're</c>

00:12:25.770 --> 00:12:25.780 align:start position:0%
data in known kernel address so we're
 

00:12:25.780 --> 00:12:28.080 align:start position:0%
data in known kernel address so we're
going<00:12:25.870><c> to</c><00:12:25.960><c> run</c><00:12:26.080><c> this</c><00:12:26.230><c> and</c><00:12:26.610><c> you</c><00:12:27.610><c> can</c><00:12:27.730><c> see</c><00:12:27.910><c> now</c>

00:12:28.080 --> 00:12:28.090 align:start position:0%
going to run this and you can see now
 

00:12:28.090 --> 00:12:29.100 align:start position:0%
going to run this and you can see now
this<00:12:28.210><c> is</c><00:12:28.300><c> actually</c><00:12:28.510><c> not</c><00:12:28.600><c> gonna</c><00:12:28.780><c> be</c><00:12:28.870><c> a</c><00:12:28.900><c> hundred</c>

00:12:29.100 --> 00:12:29.110 align:start position:0%
this is actually not gonna be a hundred
 

00:12:29.110 --> 00:12:30.510 align:start position:0%
this is actually not gonna be a hundred
percent<00:12:29.290><c> all</c><00:12:29.530><c> the</c><00:12:29.560><c> time</c><00:12:29.920><c> you</c><00:12:30.160><c> can</c><00:12:30.280><c> see</c><00:12:30.370><c> this</c>

00:12:30.510 --> 00:12:30.520 align:start position:0%
percent all the time you can see this
 

00:12:30.520 --> 00:12:32.070 align:start position:0%
percent all the time you can see this
time<00:12:30.670><c> it</c><00:12:30.760><c> did</c><00:12:30.880><c> work</c><00:12:31.030><c> we</c><00:12:31.300><c> can</c><00:12:31.420><c> see</c><00:12:31.570><c> how</c><00:12:31.660><c> for</c><00:12:31.930><c> one</c>

00:12:32.070 --> 00:12:32.080 align:start position:0%
time it did work we can see how for one
 

00:12:32.080 --> 00:12:34.830 align:start position:0%
time it did work we can see how for one
for<00:12:32.350><c> sorry</c><00:12:32.890><c> for</c><00:12:33.070><c> five</c><00:12:33.250><c> for</c><00:12:33.430><c> five</c><00:12:33.550><c> bytes</c><00:12:33.880><c> it's</c>

00:12:34.830 --> 00:12:34.840 align:start position:0%
for sorry for five for five bytes it's
 

00:12:34.840 --> 00:12:36.570 align:start position:0%
for sorry for five for five bytes it's
not<00:12:34.990><c> always</c><00:12:35.320><c> going</c><00:12:35.410><c> to</c><00:12:35.470><c> work</c><00:12:35.590><c> but</c><00:12:35.890><c> they</c><00:12:36.460><c> will</c>

00:12:36.570 --> 00:12:36.580 align:start position:0%
not always going to work but they will
 

00:12:36.580 --> 00:12:37.770 align:start position:0%
not always going to work but they will
just<00:12:36.670><c> quickly</c><00:12:36.790><c> explain</c><00:12:37.300><c> what</c><00:12:37.330><c> actually</c>

00:12:37.770 --> 00:12:37.780 align:start position:0%
just quickly explain what actually
 

00:12:37.780 --> 00:12:39.090 align:start position:0%
just quickly explain what actually
happened<00:12:38.050><c> here</c><00:12:38.140><c> so</c><00:12:38.290><c> if</c><00:12:38.350><c> we</c><00:12:38.380><c> scroll</c><00:12:38.650><c> up</c><00:12:38.710><c> to</c><00:12:38.830><c> the</c>

00:12:39.090 --> 00:12:39.100 align:start position:0%
happened here so if we scroll up to the
 

00:12:39.100 --> 00:12:42.300 align:start position:0%
happened here so if we scroll up to the
top<00:12:39.330><c> you</c><00:12:40.330><c> can</c><00:12:40.360><c> see</c><00:12:40.480><c> a</c><00:12:40.960><c> log</c><00:12:41.560><c> of</c><00:12:41.680><c> what</c><00:12:41.770><c> happens</c><00:12:42.130><c> so</c>

00:12:42.300 --> 00:12:42.310 align:start position:0%
top you can see a log of what happens so
 

00:12:42.310 --> 00:12:44.490 align:start position:0%
top you can see a log of what happens so
we<00:12:42.940><c> open</c><00:12:43.180><c> a</c><00:12:43.240><c> connection</c><00:12:43.450><c> to</c><00:12:43.870><c> the</c><00:12:44.110><c> apple</c><00:12:44.350><c> key</c>

00:12:44.490 --> 00:12:44.500 align:start position:0%
we open a connection to the apple key
 

00:12:44.500 --> 00:12:46.260 align:start position:0%
we open a connection to the apple key
store<00:12:44.740><c> user</c><00:12:44.890><c> client</c><00:12:45.190><c> with</c><00:12:45.820><c> that</c><00:12:46.000><c> malicious</c>

00:12:46.260 --> 00:12:46.270 align:start position:0%
store user client with that malicious
 

00:12:46.270 --> 00:12:48.270 align:start position:0%
store user client with that malicious
dictionary<00:12:46.990><c> which</c><00:12:47.320><c> we</c><00:12:47.500><c> pass</c><00:12:47.710><c> in</c><00:12:47.920><c> the</c><00:12:47.950><c> info</c>

00:12:48.270 --> 00:12:48.280 align:start position:0%
dictionary which we pass in the info
 

00:12:48.280 --> 00:12:49.590 align:start position:0%
dictionary which we pass in the info
leak<00:12:48.430><c> dictionary</c>

00:12:49.590 --> 00:12:49.600 align:start position:0%
leak dictionary
 

00:12:49.600 --> 00:12:52.410 align:start position:0%
leak dictionary
yeah<00:12:50.170><c> we're</c><00:12:50.350><c> leak</c><00:12:50.500><c> that</c><00:12:50.650><c> data</c><00:12:50.890><c> and</c><00:12:51.220><c> then</c><00:12:51.820><c> one</c>

00:12:52.410 --> 00:12:52.420 align:start position:0%
yeah we're leak that data and then one
 

00:12:52.420 --> 00:12:55.380 align:start position:0%
yeah we're leak that data and then one
of<00:12:52.570><c> the</c><00:12:52.720><c> addresses</c><00:12:53.220><c> in</c><00:12:54.220><c> the</c><00:12:54.580><c> in</c><00:12:54.910><c> the</c><00:12:55.060><c> leak</c><00:12:55.210><c> the</c>

00:12:55.380 --> 00:12:55.390 align:start position:0%
of the addresses in the in the leak the
 

00:12:55.390 --> 00:12:57.210 align:start position:0%
of the addresses in the in the leak the
dresser<00:12:55.600><c> so</c><00:12:55.750><c> we</c><00:12:55.870><c> leak</c><00:12:56.020><c> we</c><00:12:56.230><c> Lake</c><00:12:56.380><c> a</c><00:12:56.470><c> several</c><00:12:56.800><c> we</c>

00:12:57.210 --> 00:12:57.220 align:start position:0%
dresser so we leak we Lake a several we
 

00:12:57.220 --> 00:12:58.500 align:start position:0%
dresser so we leak we Lake a several we
lake<00:12:57.370><c> a</c><00:12:57.430><c> series</c><00:12:57.730><c> of</c><00:12:57.760><c> different</c><00:12:58.090><c> pointers</c><00:12:58.360><c> from</c>

00:12:58.500 --> 00:12:58.510 align:start position:0%
lake a series of different pointers from
 

00:12:58.510 --> 00:13:00.300 align:start position:0%
lake a series of different pointers from
the<00:12:58.690><c> kernel</c><00:12:58.960><c> stack</c><00:12:59.200><c> during</c><00:12:59.770><c> the</c><00:12:59.860><c> info</c><00:13:00.130><c> leak</c>

00:13:00.300 --> 00:13:00.310 align:start position:0%
the kernel stack during the info leak
 

00:13:00.310 --> 00:13:02.370 align:start position:0%
the kernel stack during the info leak
stage<00:13:00.580><c> now</c><00:13:01.060><c> one</c><00:13:01.300><c> of</c><00:13:01.390><c> these</c><00:13:01.540><c> pointers</c><00:13:01.930><c> as</c><00:13:02.170><c> we</c>

00:13:02.370 --> 00:13:02.380 align:start position:0%
stage now one of these pointers as we
 

00:13:02.380 --> 00:13:04.650 align:start position:0%
stage now one of these pointers as we
discussed<00:13:02.740><c> in</c><00:13:02.860><c> a</c><00:13:02.920><c> previous</c><00:13:02.950><c> video</c><00:13:03.310><c> is</c><00:13:03.670><c> how</c><00:13:04.600><c> you</c>

00:13:04.650 --> 00:13:04.660 align:start position:0%
discussed in a previous video is how you
 

00:13:04.660 --> 00:13:06.330 align:start position:0%
discussed in a previous video is how you
actually<00:13:05.110><c> calculate</c><00:13:05.320><c> the</c><00:13:05.650><c> is</c><00:13:05.830><c> a</c><00:13:05.860><c> lot</c><00:13:06.070><c> of</c><00:13:06.130><c> slide</c>

00:13:06.330 --> 00:13:06.340 align:start position:0%
actually calculate the is a lot of slide
 

00:13:06.340 --> 00:13:08.340 align:start position:0%
actually calculate the is a lot of slide
it's<00:13:06.580><c> actually</c><00:13:06.850><c> the</c><00:13:06.940><c> pointer</c><00:13:07.240><c> to</c><00:13:07.450><c> a</c><00:13:07.780><c> return</c>

00:13:08.340 --> 00:13:08.350 align:start position:0%
it's actually the pointer to a return
 

00:13:08.350 --> 00:13:09.630 align:start position:0%
it's actually the pointer to a return
address<00:13:08.500><c> in</c><00:13:08.950><c> the</c><00:13:09.070><c> function</c><00:13:09.370><c> we're</c><00:13:09.490><c> currently</c>

00:13:09.630 --> 00:13:09.640 align:start position:0%
address in the function we're currently
 

00:13:09.640 --> 00:13:10.170 align:start position:0%
address in the function we're currently
in<00:13:09.910><c> so</c>

00:13:10.170 --> 00:13:10.180 align:start position:0%
in so
 

00:13:10.180 --> 00:13:11.970 align:start position:0%
in so
like<00:13:10.330><c> that</c><00:13:10.450><c> so</c><00:13:10.630><c> that's</c><00:13:11.320><c> the</c><00:13:11.410><c> point</c><00:13:11.589><c> we</c><00:13:11.740><c> use</c><00:13:11.860><c> to</c>

00:13:11.970 --> 00:13:11.980 align:start position:0%
like that so that's the point we use to
 

00:13:11.980 --> 00:13:13.769 align:start position:0%
like that so that's the point we use to
calculate<00:13:12.160><c> the</c><00:13:12.430><c> slide</c><00:13:12.670><c> one</c><00:13:13.390><c> of</c><00:13:13.420><c> the</c><00:13:13.570><c> other</c>

00:13:13.769 --> 00:13:13.779 align:start position:0%
calculate the slide one of the other
 

00:13:13.779 --> 00:13:15.329 align:start position:0%
calculate the slide one of the other
pointers<00:13:14.230><c> slightly</c><00:13:14.620><c> further</c><00:13:14.800><c> down</c><00:13:15.100><c> is</c>

00:13:15.329 --> 00:13:15.339 align:start position:0%
pointers slightly further down is
 

00:13:15.339 --> 00:13:17.340 align:start position:0%
pointers slightly further down is
actually<00:13:15.550><c> a</c><00:13:15.790><c> kernel</c><00:13:16.149><c> heat</c><00:13:16.330><c> pointer</c><00:13:16.810><c> and</c><00:13:16.990><c> that</c>

00:13:17.340 --> 00:13:17.350 align:start position:0%
actually a kernel heat pointer and that
 

00:13:17.350 --> 00:13:18.930 align:start position:0%
actually a kernel heat pointer and that
is<00:13:17.470><c> the</c><00:13:17.589><c> one</c><00:13:17.710><c> we're</c><00:13:17.890><c> actually</c><00:13:18.040><c> exploring</c><00:13:18.670><c> here</c>

00:13:18.930 --> 00:13:18.940 align:start position:0%
is the one we're actually exploring here
 

00:13:18.940 --> 00:13:20.280 align:start position:0%
is the one we're actually exploring here
so<00:13:19.149><c> you</c><00:13:19.210><c> can</c><00:13:19.360><c> see</c><00:13:19.480><c> this</c><00:13:19.600><c> pointer</c><00:13:19.899><c> here</c><00:13:20.050><c> it</c><00:13:20.140><c> says</c>

00:13:20.280 --> 00:13:20.290 align:start position:0%
so you can see this pointer here it says
 

00:13:20.290 --> 00:13:24.990 align:start position:0%
so you can see this pointer here it says
exploring<00:13:20.800><c> memory</c><00:13:21.190><c> at</c><00:13:21.510><c> BD</c><00:13:22.680><c> D</c><00:13:23.680><c> 8</c><00:13:23.830><c> for</c><00:13:24.190><c> series</c><00:13:24.760><c> ER</c>

00:13:24.990 --> 00:13:25.000 align:start position:0%
exploring memory at BD D 8 for series ER
 

00:13:25.000 --> 00:13:28.199 align:start position:0%
exploring memory at BD D 8 for series ER
and<00:13:25.240><c> this</c><00:13:25.870><c> is</c><00:13:26.140><c> a</c><00:13:26.170><c> kernel</c><00:13:26.560><c> heat</c><00:13:26.709><c> pointer</c><00:13:27.070><c> now</c><00:13:27.730><c> as</c>

00:13:28.199 --> 00:13:28.209 align:start position:0%
and this is a kernel heat pointer now as
 

00:13:28.209 --> 00:13:29.579 align:start position:0%
and this is a kernel heat pointer now as
I<00:13:28.420><c> said</c><00:13:28.480><c> we're</c><00:13:28.720><c> using</c><00:13:28.750><c> the</c><00:13:29.020><c> task</c><00:13:29.230><c> port</c><00:13:29.440><c> to</c>

00:13:29.579 --> 00:13:29.589 align:start position:0%
I said we're using the task port to
 

00:13:29.589 --> 00:13:31.710 align:start position:0%
I said we're using the task port to
actually<00:13:29.830><c> be</c><00:13:30.550><c> and</c><00:13:30.670><c> read</c><00:13:30.910><c> this</c><00:13:31.089><c> memory</c>

00:13:31.710 --> 00:13:31.720 align:start position:0%
actually be and read this memory
 

00:13:31.720 --> 00:13:32.850 align:start position:0%
actually be and read this memory
essentially<00:13:32.140><c> so</c><00:13:32.290><c> you</c><00:13:32.380><c> won't</c><00:13:32.500><c> be</c><00:13:32.560><c> able</c><00:13:32.649><c> to</c><00:13:32.740><c> do</c>

00:13:32.850 --> 00:13:32.860 align:start position:0%
essentially so you won't be able to do
 

00:13:32.860 --> 00:13:34.740 align:start position:0%
essentially so you won't be able to do
this<00:13:32.980><c> if</c><00:13:33.160><c> you</c><00:13:33.250><c> were</c><00:13:33.399><c> creating</c><00:13:34.060><c> this</c><00:13:34.360><c> on</c><00:13:34.510><c> an</c><00:13:34.600><c> on</c>

00:13:34.740 --> 00:13:34.750 align:start position:0%
this if you were creating this on an on
 

00:13:34.750 --> 00:13:36.300 align:start position:0%
this if you were creating this on an on
jailbroken<00:13:35.080><c> device</c><00:13:35.440><c> but</c><00:13:35.709><c> for</c><00:13:35.920><c> our</c><00:13:36.010><c> debugging</c>

00:13:36.300 --> 00:13:36.310 align:start position:0%
jailbroken device but for our debugging
 

00:13:36.310 --> 00:13:38.790 align:start position:0%
jailbroken device but for our debugging
purposes<00:13:36.580><c> this</c><00:13:37.300><c> is</c><00:13:37.360><c> pretty</c><00:13:37.690><c> useful</c><00:13:37.839><c> and</c><00:13:38.260><c> you</c>

00:13:38.790 --> 00:13:38.800 align:start position:0%
purposes this is pretty useful and you
 

00:13:38.800 --> 00:13:40.590 align:start position:0%
purposes this is pretty useful and you
can<00:13:38.950><c> see</c><00:13:39.100><c> we</c><00:13:39.279><c> are</c><00:13:39.310><c> looking</c><00:13:39.670><c> at</c><00:13:40.000><c> this</c><00:13:40.270><c> memory</c>

00:13:40.590 --> 00:13:40.600 align:start position:0%
can see we are looking at this memory
 

00:13:40.600 --> 00:13:43.620 align:start position:0%
can see we are looking at this memory
here<00:13:40.750><c> now</c><00:13:40.959><c> if</c><00:13:41.410><c> we</c><00:13:41.620><c> go</c><00:13:41.770><c> down</c><00:13:41.980><c> further</c><00:13:42.339><c> past</c><00:13:42.730><c> past</c>

00:13:43.620 --> 00:13:43.630 align:start position:0%
here now if we go down further past past
 

00:13:43.630 --> 00:13:45.510 align:start position:0%
here now if we go down further past past
this<00:13:43.750><c> top</c><00:13:43.990><c> chunk</c><00:13:44.260><c> here</c><00:13:44.410><c> we</c><00:13:44.560><c> can</c><00:13:44.709><c> see</c><00:13:44.980><c> our</c><00:13:45.190><c> four</c>

00:13:45.510 --> 00:13:45.520 align:start position:0%
this top chunk here we can see our four
 

00:13:45.520 --> 00:13:48.300 align:start position:0%
this top chunk here we can see our four
five<00:13:45.760><c> four</c><00:13:45.970><c> five</c><00:13:46.120><c> bytes</c><00:13:46.420><c> start</c><00:13:47.200><c> to</c><00:13:47.320><c> appear</c><00:13:47.589><c> now</c>

00:13:48.300 --> 00:13:48.310 align:start position:0%
five four five bytes start to appear now
 

00:13:48.310 --> 00:13:50.160 align:start position:0%
five four five bytes start to appear now
why<00:13:48.880><c> is</c><00:13:48.940><c> that</c><00:13:49.060><c> well</c><00:13:49.420><c> if</c><00:13:49.600><c> we</c><00:13:49.720><c> actually</c><00:13:49.870><c> take</c><00:13:50.140><c> a</c>

00:13:50.160 --> 00:13:50.170 align:start position:0%
why is that well if we actually take a
 

00:13:50.170 --> 00:13:52.230 align:start position:0%
why is that well if we actually take a
step<00:13:50.410><c> back</c><00:13:50.649><c> what</c><00:13:51.190><c> essentially</c><00:13:51.520><c> happened</c><00:13:52.029><c> was</c>

00:13:52.230 --> 00:13:52.240 align:start position:0%
step back what essentially happened was
 

00:13:52.240 --> 00:13:54.090 align:start position:0%
step back what essentially happened was
the<00:13:52.720><c> reason</c><00:13:53.050><c> this</c><00:13:53.170><c> point</c><00:13:53.470><c> it</c><00:13:53.589><c> was</c><00:13:53.649><c> leak</c><00:13:53.890><c> this</c>

00:13:54.090 --> 00:13:54.100 align:start position:0%
the reason this point it was leak this
 

00:13:54.100 --> 00:13:55.620 align:start position:0%
the reason this point it was leak this
part<00:13:54.339><c> of</c><00:13:54.459><c> the</c><00:13:54.610><c> the</c><00:13:54.790><c> kernel</c><00:13:55.089><c> the</c><00:13:55.420><c> stack</c>

00:13:55.620 --> 00:13:55.630 align:start position:0%
part of the the kernel the stack
 

00:13:55.630 --> 00:13:57.690 align:start position:0%
part of the the kernel the stack
pointers<00:13:56.050><c> is</c><00:13:56.230><c> because</c><00:13:56.890><c> this</c><00:13:57.070><c> pointer</c><00:13:57.550><c> was</c>

00:13:57.690 --> 00:13:57.700 align:start position:0%
pointers is because this pointer was
 

00:13:57.700 --> 00:14:00.180 align:start position:0%
pointers is because this pointer was
actually<00:13:58.060><c> used</c><00:13:58.390><c> earlier</c><00:13:59.200><c> during</c><00:13:59.890><c> our</c>

00:14:00.180 --> 00:14:00.190 align:start position:0%
actually used earlier during our
 

00:14:00.190 --> 00:14:01.920 align:start position:0%
actually used earlier during our
serialization<00:14:00.970><c> of</c><00:14:01.060><c> the</c><00:14:01.149><c> first</c><00:14:01.360><c> dictionary</c><00:14:01.690><c> I</c>

00:14:01.920 --> 00:14:01.930 align:start position:0%
serialization of the first dictionary I
 

00:14:01.930 --> 00:14:03.210 align:start position:0%
serialization of the first dictionary I
believe<00:14:02.200><c> or</c><00:14:02.350><c> in</c><00:14:02.440><c> one</c><00:14:02.589><c> of</c><00:14:02.620><c> the</c><00:14:02.770><c> functions</c><00:14:03.160><c> that</c>

00:14:03.210 --> 00:14:03.220 align:start position:0%
believe or in one of the functions that
 

00:14:03.220 --> 00:14:05.370 align:start position:0%
believe or in one of the functions that
was<00:14:03.399><c> involved</c><00:14:03.820><c> around</c><00:14:03.910><c> that</c><00:14:04.149><c> stage</c><00:14:04.390><c> this</c><00:14:05.050><c> was</c>

00:14:05.370 --> 00:14:05.380 align:start position:0%
was involved around that stage this was
 

00:14:05.380 --> 00:14:08.070 align:start position:0%
was involved around that stage this was
actually<00:14:05.529><c> an</c><00:14:06.370><c> old</c><00:14:06.730><c> address</c><00:14:07.029><c> of</c><00:14:07.510><c> a</c><00:14:07.899><c> mock</c>

00:14:08.070 --> 00:14:08.080 align:start position:0%
actually an old address of a mock
 

00:14:08.080 --> 00:14:09.840 align:start position:0%
actually an old address of a mock
message<00:14:08.440><c> that</c><00:14:08.649><c> was</c><00:14:08.770><c> used</c><00:14:09.130><c> it</c><00:14:09.430><c> was</c><00:14:09.550><c> actually</c>

00:14:09.840 --> 00:14:09.850 align:start position:0%
message that was used it was actually
 

00:14:09.850 --> 00:14:12.570 align:start position:0%
message that was used it was actually
sent<00:14:10.120><c> during</c><00:14:10.390><c> that</c><00:14:10.630><c> time</c><00:14:10.899><c> so</c><00:14:11.620><c> by</c><00:14:12.220><c> the</c><00:14:12.279><c> point</c>

00:14:12.570 --> 00:14:12.580 align:start position:0%
sent during that time so by the point
 

00:14:12.580 --> 00:14:14.010 align:start position:0%
sent during that time so by the point
we're<00:14:12.760><c> seeing</c><00:14:12.970><c> this</c><00:14:13.120><c> that</c><00:14:13.330><c> muck</c><00:14:13.570><c> message</c><00:14:13.899><c> has</c>

00:14:14.010 --> 00:14:14.020 align:start position:0%
we're seeing this that muck message has
 

00:14:14.020 --> 00:14:15.690 align:start position:0%
we're seeing this that muck message has
been<00:14:14.050><c> freed</c><00:14:14.470><c> we</c><00:14:14.920><c> still</c><00:14:15.100><c> have</c><00:14:15.220><c> the</c><00:14:15.279><c> pointer</c><00:14:15.580><c> to</c>

00:14:15.690 --> 00:14:15.700 align:start position:0%
been freed we still have the pointer to
 

00:14:15.700 --> 00:14:17.040 align:start position:0%
been freed we still have the pointer to
it<00:14:15.820><c> leaked</c><00:14:16.029><c> in</c><00:14:16.209><c> the</c><00:14:16.300><c> kernel</c><00:14:16.600><c> stack</c><00:14:16.750><c> but</c><00:14:16.990><c> the</c>

00:14:17.040 --> 00:14:17.050 align:start position:0%
it leaked in the kernel stack but the
 

00:14:17.050 --> 00:14:18.300 align:start position:0%
it leaked in the kernel stack but the
memories<00:14:17.320><c> actually</c><00:14:17.380><c> been</c><00:14:17.620><c> freed</c><00:14:17.830><c> again</c><00:14:17.950><c> and</c>

00:14:18.300 --> 00:14:18.310 align:start position:0%
memories actually been freed again and
 

00:14:18.310 --> 00:14:20.370 align:start position:0%
memories actually been freed again and
essentially<00:14:19.029><c> all</c><00:14:19.060><c> we</c><00:14:19.240><c> do</c><00:14:19.420><c> in</c><00:14:19.600><c> in</c><00:14:19.750><c> the</c><00:14:19.870><c> code</c><00:14:20.110><c> is</c>

00:14:20.370 --> 00:14:20.380 align:start position:0%
essentially all we do in in the code is
 

00:14:20.380 --> 00:14:22.500 align:start position:0%
essentially all we do in in the code is
after<00:14:20.980><c> we're</c><00:14:21.100><c> running</c><00:14:21.339><c> in</c><00:14:21.459><c> for</c><00:14:21.700><c> a</c><00:14:21.730><c> leak</c><00:14:21.880><c> we</c><00:14:22.420><c> are</c>

00:14:22.500 --> 00:14:22.510 align:start position:0%
after we're running in for a leak we are
 

00:14:22.510 --> 00:14:24.360 align:start position:0%
after we're running in for a leak we are
actually<00:14:22.660><c> sending</c><00:14:23.080><c> a</c><00:14:23.320><c> mock</c><00:14:23.500><c> message</c><00:14:23.890><c> straight</c>

00:14:24.360 --> 00:14:24.370 align:start position:0%
actually sending a mock message straight
 

00:14:24.370 --> 00:14:26.640 align:start position:0%
actually sending a mock message straight
away<00:14:24.580><c> hoping</c><00:14:25.420><c> that</c><00:14:25.570><c> it</c><00:14:25.660><c> will</c><00:14:25.750><c> repopulate</c><00:14:26.350><c> that</c>

00:14:26.640 --> 00:14:26.650 align:start position:0%
away hoping that it will repopulate that
 

00:14:26.650 --> 00:14:27.930 align:start position:0%
away hoping that it will repopulate that
memory<00:14:27.010><c> area</c><00:14:27.279><c> on</c><00:14:27.370><c> the</c><00:14:27.459><c> heap</c><00:14:27.640><c> where</c><00:14:27.820><c> the</c>

00:14:27.930 --> 00:14:27.940 align:start position:0%
memory area on the heap where the
 

00:14:27.940 --> 00:14:29.760 align:start position:0%
memory area on the heap where the
previous<00:14:28.300><c> mock</c><00:14:28.480><c> message</c><00:14:28.810><c> was</c><00:14:29.020><c> and</c><00:14:29.260><c> you</c><00:14:29.620><c> can</c>

00:14:29.760 --> 00:14:29.770 align:start position:0%
previous mock message was and you can
 

00:14:29.770 --> 00:14:31.949 align:start position:0%
previous mock message was and you can
see<00:14:29.890><c> it</c><00:14:30.010><c> did</c><00:14:30.160><c> work</c><00:14:30.339><c> because</c><00:14:30.820><c> yeah</c><00:14:31.420><c> so</c><00:14:31.600><c> it's</c><00:14:31.870><c> not</c>

00:14:31.949 --> 00:14:31.959 align:start position:0%
see it did work because yeah so it's not
 

00:14:31.959 --> 00:14:34.829 align:start position:0%
see it did work because yeah so it's not
it's<00:14:32.230><c> not</c><00:14:32.320><c> exactly</c><00:14:33.040><c> where</c><00:14:33.940><c> this</c><00:14:34.089><c> is</c><00:14:34.450><c> it's</c><00:14:34.660><c> kind</c>

00:14:34.829 --> 00:14:34.839 align:start position:0%
it's not exactly where this is it's kind
 

00:14:34.839 --> 00:14:36.449 align:start position:0%
it's not exactly where this is it's kind
of<00:14:34.930><c> relative</c><00:14:35.290><c> to</c><00:14:35.440><c> the</c><00:14:35.560><c> address</c><00:14:35.830><c> so</c><00:14:36.010><c> a</c><00:14:36.040><c> certain</c>

00:14:36.449 --> 00:14:36.459 align:start position:0%
of relative to the address so a certain
 

00:14:36.459 --> 00:14:38.490 align:start position:0%
of relative to the address so a certain
offset<00:14:36.850><c> you</c><00:14:37.300><c> can</c><00:14:37.420><c> start</c><00:14:37.660><c> to</c><00:14:37.750><c> see</c><00:14:37.930><c> these</c><00:14:38.140><c> the</c>

00:14:38.490 --> 00:14:38.500 align:start position:0%
offset you can start to see these the
 

00:14:38.500 --> 00:14:41.640 align:start position:0%
offset you can start to see these the
mock<00:14:38.680><c> message</c><00:14:38.980><c> appear</c><00:14:39.310><c> with</c><00:14:39.970><c> the</c><00:14:40.060><c> bytes</c><00:14:40.650><c> but</c>

00:14:41.640 --> 00:14:41.650 align:start position:0%
mock message appear with the bytes but
 

00:14:41.650 --> 00:14:42.900 align:start position:0%
mock message appear with the bytes but
yeah<00:14:41.770><c> we</c><00:14:41.920><c> managed</c><00:14:42.430><c> to</c><00:14:42.490><c> essentially</c>

00:14:42.900 --> 00:14:42.910 align:start position:0%
yeah we managed to essentially
 

00:14:42.910 --> 00:14:45.750 align:start position:0%
yeah we managed to essentially
reallocate<00:14:43.570><c> that</c><00:14:43.839><c> old</c><00:14:44.440><c> heap</c><00:14:44.890><c> memory</c><00:14:45.100><c> with</c><00:14:45.610><c> our</c>

00:14:45.750 --> 00:14:45.760 align:start position:0%
reallocate that old heap memory with our
 

00:14:45.760 --> 00:14:48.300 align:start position:0%
reallocate that old heap memory with our
own<00:14:45.910><c> mock</c><00:14:46.300><c> message</c><00:14:46.709><c> containing</c><00:14:47.709><c> in</c><00:14:47.980><c> this</c><00:14:48.130><c> case</c>

00:14:48.300 --> 00:14:48.310 align:start position:0%
own mock message containing in this case
 

00:14:48.310 --> 00:14:50.280 align:start position:0%
own mock message containing in this case
the<00:14:48.490><c> four</c><00:14:48.670><c> five</c><00:14:48.880><c> four</c><00:14:49.029><c> five</c><00:14:49.180><c> bytes</c><00:14:49.510><c> now</c><00:14:49.750><c> there</c>

00:14:50.280 --> 00:14:50.290 align:start position:0%
the four five four five bytes now there
 

00:14:50.290 --> 00:14:51.660 align:start position:0%
the four five four five bytes now there
are<00:14:50.470><c> other</c><00:14:50.620><c> bytes</c><00:14:50.830><c> also</c><00:14:51.220><c> and</c><00:14:51.370><c> you</c><00:14:51.430><c> can</c><00:14:51.550><c> see</c>

00:14:51.660 --> 00:14:51.670 align:start position:0%
are other bytes also and you can see
 

00:14:51.670 --> 00:14:53.400 align:start position:0%
are other bytes also and you can see
this<00:14:51.760><c> is</c><00:14:51.880><c> actually</c><00:14:52.150><c> duplicated</c><00:14:52.779><c> now</c><00:14:53.230><c> one</c>

00:14:53.400 --> 00:14:53.410 align:start position:0%
this is actually duplicated now one
 

00:14:53.410 --> 00:14:55.470 align:start position:0%
this is actually duplicated now one
thing<00:14:53.560><c> I'm</c><00:14:53.680><c> not</c><00:14:53.829><c> too</c><00:14:53.950><c> sure</c><00:14:54.100><c> about</c><00:14:54.180><c> maybe</c><00:14:55.180><c> let</c>

00:14:55.470 --> 00:14:55.480 align:start position:0%
thing I'm not too sure about maybe let
 

00:14:55.480 --> 00:14:56.640 align:start position:0%
thing I'm not too sure about maybe let
me<00:14:55.540><c> know</c><00:14:55.660><c> if</c><00:14:55.750><c> you</c><00:14:55.839><c> guys</c><00:14:55.930><c> know</c><00:14:56.170><c> any</c><00:14:56.350><c> if</c><00:14:56.560><c> you've</c>

00:14:56.640 --> 00:14:56.650 align:start position:0%
me know if you guys know any if you've
 

00:14:56.650 --> 00:14:58.110 align:start position:0%
me know if you guys know any if you've
got<00:14:56.740><c> any</c><00:14:56.829><c> experience</c><00:14:56.890><c> with</c><00:14:57.279><c> this</c><00:14:57.400><c> I'm</c><00:14:57.640><c> not</c>

00:14:58.110 --> 00:14:58.120 align:start position:0%
got any experience with this I'm not
 

00:14:58.120 --> 00:14:59.760 align:start position:0%
got any experience with this I'm not
sure<00:14:58.240><c> why</c><00:14:58.480><c> this</c><00:14:58.540><c> is</c><00:14:58.779><c> duplicated</c><00:14:59.350><c> you</c><00:14:59.560><c> may</c><00:14:59.680><c> have</c>

00:14:59.760 --> 00:14:59.770 align:start position:0%
sure why this is duplicated you may have
 

00:14:59.770 --> 00:15:01.530 align:start position:0%
sure why this is duplicated you may have
fault<00:15:00.010><c> I've</c><00:15:00.100><c> sent</c><00:15:00.370><c> several</c><00:15:01.150><c> different</c><00:15:01.390><c> mock</c>

00:15:01.530 --> 00:15:01.540 align:start position:0%
fault I've sent several different mock
 

00:15:01.540 --> 00:15:03.150 align:start position:0%
fault I've sent several different mock
messages<00:15:01.959><c> I've</c><00:15:02.470><c> actually</c><00:15:02.650><c> only</c><00:15:02.920><c> sent</c><00:15:03.100><c> one</c>

00:15:03.150 --> 00:15:03.160 align:start position:0%
messages I've actually only sent one
 

00:15:03.160 --> 00:15:05.670 align:start position:0%
messages I've actually only sent one
mock<00:15:03.579><c> message</c><00:15:04.000><c> to</c><00:15:04.779><c> reallocate</c><00:15:05.140><c> this</c><00:15:05.410><c> memory</c>

00:15:05.670 --> 00:15:05.680 align:start position:0%
mock message to reallocate this memory
 

00:15:05.680 --> 00:15:07.319 align:start position:0%
mock message to reallocate this memory
so<00:15:05.800><c> I'm</c><00:15:05.860><c> not</c><00:15:05.980><c> sure</c><00:15:06.040><c> why</c><00:15:06.459><c> it's</c><00:15:06.670><c> shown</c><00:15:06.910><c> so</c><00:15:07.209><c> many</c>

00:15:07.319 --> 00:15:07.329 align:start position:0%
so I'm not sure why it's shown so many
 

00:15:07.329 --> 00:15:08.819 align:start position:0%
so I'm not sure why it's shown so many
times<00:15:07.630><c> it</c><00:15:07.839><c> I'm</c><00:15:07.930><c> not</c><00:15:07.990><c> sure</c><00:15:08.170><c> why</c><00:15:08.350><c> it's</c><00:15:08.529><c> been</c><00:15:08.680><c> like</c>

00:15:08.819 --> 00:15:08.829 align:start position:0%
times it I'm not sure why it's been like
 

00:15:08.829 --> 00:15:11.280 align:start position:0%
times it I'm not sure why it's been like
copied<00:15:09.730><c> several</c><00:15:10.600><c> different</c><00:15:10.810><c> times</c><00:15:10.930><c> down</c><00:15:11.260><c> here</c>

00:15:11.280 --> 00:15:11.290 align:start position:0%
copied several different times down here
 

00:15:11.290 --> 00:15:13.980 align:start position:0%
copied several different times down here
but<00:15:12.190><c> yeah</c><00:15:12.610><c> that</c><00:15:12.790><c> seems</c><00:15:13.000><c> to</c><00:15:13.060><c> be</c><00:15:13.120><c> the</c><00:15:13.240><c> case</c><00:15:13.420><c> but</c>

00:15:13.980 --> 00:15:13.990 align:start position:0%
but yeah that seems to be the case but
 

00:15:13.990 --> 00:15:16.110 align:start position:0%
but yeah that seems to be the case but
the<00:15:14.110><c> point</c><00:15:14.290><c> is</c><00:15:14.440><c> we</c><00:15:14.529><c> have</c><00:15:14.709><c> control</c><00:15:15.190><c> data</c><00:15:15.459><c> that</c>

00:15:16.110 --> 00:15:16.120 align:start position:0%
the point is we have control data that
 

00:15:16.120 --> 00:15:17.760 align:start position:0%
the point is we have control data that
we<00:15:16.240><c> wrote</c><00:15:16.510><c> from</c><00:15:16.690><c> our</c><00:15:16.839><c> user</c><00:15:17.020><c> line</c><00:15:17.200><c> program</c><00:15:17.589><c> and</c>

00:15:17.760 --> 00:15:17.770 align:start position:0%
we wrote from our user line program and
 

00:15:17.770 --> 00:15:19.710 align:start position:0%
we wrote from our user line program and
is<00:15:18.040><c> now</c><00:15:18.190><c> land</c><00:15:18.490><c> into</c><00:15:18.820><c> a</c><00:15:18.850><c> controlled</c><00:15:19.329><c> memory</c>

00:15:19.710 --> 00:15:19.720 align:start position:0%
is now land into a controlled memory
 

00:15:19.720 --> 00:15:21.300 align:start position:0%
is now land into a controlled memory
address<00:15:20.020><c> that</c><00:15:20.170><c> we</c><00:15:20.290><c> know</c><00:15:20.500><c> in</c><00:15:20.709><c> the</c><00:15:20.980><c> kernels</c>

00:15:21.300 --> 00:15:21.310 align:start position:0%
address that we know in the kernels
 

00:15:21.310 --> 00:15:23.470 align:start position:0%
address that we know in the kernels
virtual<00:15:21.610><c> memory</c><00:15:21.760><c> so</c><00:15:22.600><c> this</c><00:15:23.079><c> would</c><00:15:23.290><c> be</c>

00:15:23.470 --> 00:15:23.480 align:start position:0%
virtual memory so this would be
 

00:15:23.480 --> 00:15:25.269 align:start position:0%
virtual memory so this would be
enough<00:15:23.630><c> to</c><00:15:23.899><c> actually</c><00:15:24.260><c> exploit</c><00:15:24.620><c> the</c><00:15:24.829><c> Pegasus</c>

00:15:25.269 --> 00:15:25.279 align:start position:0%
enough to actually exploit the Pegasus
 

00:15:25.279 --> 00:15:27.519 align:start position:0%
enough to actually exploit the Pegasus
bug<00:15:25.519><c> and</c><00:15:25.730><c> I</c><00:15:26.060><c> have</c><00:15:26.240><c> actually</c><00:15:26.480><c> done</c><00:15:26.600><c> that</c><00:15:26.839><c> with</c><00:15:27.500><c> a</c>

00:15:27.519 --> 00:15:27.529 align:start position:0%
bug and I have actually done that with a
 

00:15:27.529 --> 00:15:28.840 align:start position:0%
bug and I have actually done that with a
separate<00:15:28.010><c> program</c><00:15:28.220><c> which</c><00:15:28.459><c> I'll</c><00:15:28.579><c> show</c><00:15:28.699><c> you</c><00:15:28.760><c> in</c>

00:15:28.840 --> 00:15:28.850 align:start position:0%
separate program which I'll show you in
 

00:15:28.850 --> 00:15:30.250 align:start position:0%
separate program which I'll show you in
a<00:15:28.880><c> minute</c><00:15:29.000><c> or</c><00:15:29.209><c> a</c><00:15:29.269><c> version</c><00:15:29.570><c> of</c><00:15:29.750><c> this</c><00:15:29.870><c> program</c>

00:15:30.250 --> 00:15:30.260 align:start position:0%
a minute or a version of this program
 

00:15:30.260 --> 00:15:32.019 align:start position:0%
a minute or a version of this program
where<00:15:30.800><c> we</c><00:15:30.920><c> then</c><00:15:31.040><c> actually</c><00:15:31.459><c> use</c><00:15:31.670><c> this</c><00:15:31.850><c> as</c><00:15:32.000><c> a</c>

00:15:32.019 --> 00:15:32.029 align:start position:0%
where we then actually use this as a
 

00:15:32.029 --> 00:15:32.590 align:start position:0%
where we then actually use this as a
vtable

00:15:32.590 --> 00:15:32.600 align:start position:0%
vtable
 

00:15:32.600 --> 00:15:35.199 align:start position:0%
vtable
jump<00:15:33.170><c> to</c><00:15:33.350><c> that</c><00:15:33.470><c> pointer</c><00:15:34.220><c> jump</c><00:15:34.820><c> to</c><00:15:34.880><c> the</c><00:15:34.970><c> BtoB</c>

00:15:35.199 --> 00:15:35.209 align:start position:0%
jump to that pointer jump to the BtoB
 

00:15:35.209 --> 00:15:36.939 align:start position:0%
jump to that pointer jump to the BtoB
pointer<00:15:35.570><c> and</c><00:15:35.810><c> then</c><00:15:35.870><c> jump</c><00:15:36.320><c> to</c><00:15:36.380><c> the</c><00:15:36.680><c> first</c>

00:15:36.939 --> 00:15:36.949 align:start position:0%
pointer and then jump to the first
 

00:15:36.949 --> 00:15:38.319 align:start position:0%
pointer and then jump to the first
function<00:15:37.190><c> in</c><00:15:37.430><c> this</c><00:15:37.519><c> case</c><00:15:37.579><c> is</c><00:15:37.790><c> pointing</c><00:15:38.240><c> to</c>

00:15:38.319 --> 00:15:38.329 align:start position:0%
function in this case is pointing to
 

00:15:38.329 --> 00:15:40.360 align:start position:0%
function in this case is pointing to
four<00:15:38.510><c> five</c><00:15:38.750><c> four</c><00:15:38.899><c> five</c><00:15:39.079><c> four</c><00:15:39.139><c> five</c><00:15:39.320><c> and</c><00:15:39.829><c> the</c>

00:15:40.360 --> 00:15:40.370 align:start position:0%
four five four five four five and the
 

00:15:40.370 --> 00:15:42.400 align:start position:0%
four five four five four five and the
kernel<00:15:40.670><c> panics</c><00:15:40.970><c> with</c><00:15:41.389><c> the</c><00:15:41.540><c> PC</c><00:15:41.870><c> set</c><00:15:42.170><c> to</c><00:15:42.290><c> that</c>

00:15:42.400 --> 00:15:42.410 align:start position:0%
kernel panics with the PC set to that
 

00:15:42.410 --> 00:15:43.900 align:start position:0%
kernel panics with the PC set to that
value<00:15:42.769><c> all</c><00:15:43.010><c> right</c><00:15:43.190><c> so</c><00:15:43.310><c> this</c><00:15:43.399><c> is</c><00:15:43.550><c> a</c><00:15:43.579><c> different</c>

00:15:43.900 --> 00:15:43.910 align:start position:0%
value all right so this is a different
 

00:15:43.910 --> 00:15:45.430 align:start position:0%
value all right so this is a different
version<00:15:44.060><c> of</c><00:15:44.209><c> the</c><00:15:44.300><c> Pegasus</c><00:15:44.630><c> program</c><00:15:44.990><c> this</c><00:15:45.199><c> does</c>

00:15:45.430 --> 00:15:45.440 align:start position:0%
version of the Pegasus program this does
 

00:15:45.440 --> 00:15:46.389 align:start position:0%
version of the Pegasus program this does
include<00:15:45.740><c> the</c><00:15:45.829><c> user</c><00:15:46.010><c> of</c><00:15:46.130><c> the</c><00:15:46.250><c> free</c>

00:15:46.389 --> 00:15:46.399 align:start position:0%
include the user of the free
 

00:15:46.399 --> 00:15:48.160 align:start position:0%
include the user of the free
exploitation<00:15:46.940><c> as</c><00:15:47.000><c> you</c><00:15:47.089><c> just</c><00:15:47.269><c> said</c><00:15:47.420><c> so</c><00:15:47.959><c> we're</c>

00:15:48.160 --> 00:15:48.170 align:start position:0%
exploitation as you just said so we're
 

00:15:48.170 --> 00:15:49.449 align:start position:0%
exploitation as you just said so we're
going<00:15:48.260><c> to</c><00:15:48.350><c> run</c><00:15:48.470><c> that</c><00:15:48.620><c> and</c><00:15:48.860><c> I'm</c><00:15:49.190><c> going</c><00:15:49.279><c> to</c><00:15:49.370><c> show</c>

00:15:49.449 --> 00:15:49.459 align:start position:0%
going to run that and I'm going to show
 

00:15:49.459 --> 00:15:52.870 align:start position:0%
going to run that and I'm going to show
you<00:15:49.519><c> on</c><00:15:49.639><c> the</c><00:15:49.730><c> screen</c><00:15:50.000><c> we</c><00:15:50.899><c> run</c><00:15:51.139><c> it</c><00:15:51.290><c> and</c><00:15:51.880><c> the</c>

00:15:52.870 --> 00:15:52.880 align:start position:0%
you on the screen we run it and the
 

00:15:52.880 --> 00:15:55.090 align:start position:0%
you on the screen we run it and the
phone<00:15:53.180><c> is</c><00:15:53.630><c> panicked</c><00:15:53.990><c> so</c><00:15:54.620><c> we're</c><00:15:54.889><c> just</c><00:15:54.920><c> gonna</c>

00:15:55.090 --> 00:15:55.100 align:start position:0%
phone is panicked so we're just gonna
 

00:15:55.100 --> 00:15:56.079 align:start position:0%
phone is panicked so we're just gonna
wait<00:15:55.190><c> for</c><00:15:55.310><c> this</c><00:15:55.370><c> to</c><00:15:55.459><c> reboot</c><00:15:55.699><c> and</c><00:15:55.850><c> I'll</c><00:15:55.940><c> show</c>

00:15:56.079 --> 00:15:56.089 align:start position:0%
wait for this to reboot and I'll show
 

00:15:56.089 --> 00:15:57.460 align:start position:0%
wait for this to reboot and I'll show
you<00:15:56.149><c> guys</c><00:15:56.240><c> the</c><00:15:56.540><c> panic</c><00:15:56.810><c> log</c><00:15:57.019><c> and</c><00:15:57.139><c> you</c><00:15:57.199><c> can</c><00:15:57.350><c> see</c>

00:15:57.460 --> 00:15:57.470 align:start position:0%
you guys the panic log and you can see
 

00:15:57.470 --> 00:15:59.560 align:start position:0%
you guys the panic log and you can see
again<00:15:57.680><c> we</c><00:15:57.889><c> did</c><00:15:58.040><c> actually</c><00:15:58.220><c> hit</c><00:15:58.610><c> we</c><00:15:59.360><c> got</c><00:15:59.389><c> the</c>

00:15:59.560 --> 00:15:59.570 align:start position:0%
again we did actually hit we got the
 

00:15:59.570 --> 00:16:01.060 align:start position:0%
again we did actually hit we got the
right<00:15:59.720><c> allocation</c><00:16:00.199><c> there</c><00:16:00.380><c> we're</c><00:16:00.829><c> quick</c>

00:16:01.060 --> 00:16:01.070 align:start position:0%
right allocation there we're quick
 

00:16:01.070 --> 00:16:01.990 align:start position:0%
right allocation there we're quick
enough

00:16:01.990 --> 00:16:02.000 align:start position:0%
enough
 

00:16:02.000 --> 00:16:03.550 align:start position:0%
enough
sometimes<00:16:02.690><c> you</c><00:16:02.839><c> will</c><00:16:02.959><c> not</c><00:16:03.079><c> be</c><00:16:03.170><c> quick</c><00:16:03.320><c> enough</c>

00:16:03.550 --> 00:16:03.560 align:start position:0%
sometimes you will not be quick enough
 

00:16:03.560 --> 00:16:05.530 align:start position:0%
sometimes you will not be quick enough
if<00:16:03.769><c> you</c><00:16:04.190><c> have</c><00:16:04.339><c> too</c><00:16:04.550><c> much</c><00:16:04.670><c> code</c><00:16:04.940><c> between</c><00:16:05.180><c> the</c>

00:16:05.530 --> 00:16:05.540 align:start position:0%
if you have too much code between the
 

00:16:05.540 --> 00:16:07.090 align:start position:0%
if you have too much code between the
info<00:16:05.779><c> leak</c><00:16:05.959><c> and</c><00:16:06.199><c> between</c><00:16:06.440><c> your</c><00:16:06.680><c> sender</c><00:16:06.949><c> of</c><00:16:07.040><c> the</c>

00:16:07.090 --> 00:16:07.100 align:start position:0%
info leak and between your sender of the
 

00:16:07.100 --> 00:16:08.710 align:start position:0%
info leak and between your sender of the
muck<00:16:07.250><c> message</c><00:16:07.610><c> then</c><00:16:07.850><c> you're</c><00:16:08.329><c> going</c><00:16:08.420><c> to</c><00:16:08.480><c> likely</c>

00:16:08.710 --> 00:16:08.720 align:start position:0%
muck message then you're going to likely
 

00:16:08.720 --> 00:16:10.449 align:start position:0%
muck message then you're going to likely
miss<00:16:09.260><c> the</c><00:16:09.470><c> opportunity</c><00:16:09.860><c> to</c><00:16:09.949><c> reallocate</c><00:16:10.310><c> that</c>

00:16:10.449 --> 00:16:10.459 align:start position:0%
miss the opportunity to reallocate that
 

00:16:10.459 --> 00:16:12.100 align:start position:0%
miss the opportunity to reallocate that
memory<00:16:10.940><c> and</c><00:16:11.149><c> it's</c><00:16:11.540><c> going</c><00:16:11.630><c> to</c><00:16:11.690><c> be</c><00:16:11.779><c> reallocated</c>

00:16:12.100 --> 00:16:12.110 align:start position:0%
memory and it's going to be reallocated
 

00:16:12.110 --> 00:16:13.960 align:start position:0%
memory and it's going to be reallocated
by<00:16:12.380><c> something</c><00:16:12.680><c> else</c><00:16:12.920><c> naturally</c><00:16:13.820><c> in</c><00:16:13.910><c> the</c>

00:16:13.960 --> 00:16:13.970 align:start position:0%
by something else naturally in the
 

00:16:13.970 --> 00:16:15.490 align:start position:0%
by something else naturally in the
kernel<00:16:14.300><c> so</c><00:16:14.329><c> you</c><00:16:14.930><c> want</c><00:16:15.050><c> to</c><00:16:15.110><c> make</c><00:16:15.199><c> sure</c><00:16:15.230><c> you're</c>

00:16:15.490 --> 00:16:15.500 align:start position:0%
kernel so you want to make sure you're
 

00:16:15.500 --> 00:16:17.139 align:start position:0%
kernel so you want to make sure you're
as<00:16:15.649><c> quick</c><00:16:15.829><c> as</c><00:16:15.920><c> you</c><00:16:15.980><c> can</c><00:16:16.010><c> in</c><00:16:16.370><c> there</c><00:16:16.519><c> all</c><00:16:17.089><c> right</c>

00:16:17.139 --> 00:16:17.149 align:start position:0%
as quick as you can in there all right
 

00:16:17.149 --> 00:16:19.780 align:start position:0%
as quick as you can in there all right
so<00:16:17.360><c> here's</c><00:16:17.570><c> the</c><00:16:17.660><c> panic</c><00:16:18.019><c> log</c><00:16:18.260><c> and</c><00:16:18.579><c> what</c><00:16:19.579><c> you</c><00:16:19.639><c> can</c>

00:16:19.780 --> 00:16:19.790 align:start position:0%
so here's the panic log and what you can
 

00:16:19.790 --> 00:16:21.040 align:start position:0%
so here's the panic log and what you can
see<00:16:19.940><c> right</c><00:16:20.120><c> there</c><00:16:20.149><c> hopefully</c><00:16:20.630><c> this</c><00:16:20.930><c> is</c>

00:16:21.040 --> 00:16:21.050 align:start position:0%
see right there hopefully this is
 

00:16:21.050 --> 00:16:24.100 align:start position:0%
see right there hopefully this is
focused<00:16:21.500><c> is</c><00:16:21.740><c> that</c><00:16:22.490><c> we</c><00:16:22.790><c> have</c><00:16:23.029><c> PC</c><00:16:23.750><c> control</c>

00:16:24.100 --> 00:16:24.110 align:start position:0%
focused is that we have PC control
 

00:16:24.110 --> 00:16:25.750 align:start position:0%
focused is that we have PC control
therefore<00:16:24.320><c> five</c><00:16:24.740><c> four</c><00:16:24.889><c> five</c><00:16:25.070><c> four</c><00:16:25.130><c> five</c><00:16:25.279><c> so</c>

00:16:25.750 --> 00:16:25.760 align:start position:0%
therefore five four five four five so
 

00:16:25.760 --> 00:16:28.389 align:start position:0%
therefore five four five four five so
yeah<00:16:26.540><c> but</c><00:16:26.779><c> as</c><00:16:27.110><c> I</c><00:16:27.230><c> said</c><00:16:27.380><c> exploitation</c><00:16:28.010><c> this</c><00:16:28.190><c> bug</c>

00:16:28.389 --> 00:16:28.399 align:start position:0%
yeah but as I said exploitation this bug
 

00:16:28.399 --> 00:16:29.769 align:start position:0%
yeah but as I said exploitation this bug
will<00:16:28.550><c> be</c><00:16:28.639><c> covered</c><00:16:28.940><c> in</c><00:16:29.029><c> the</c><00:16:29.149><c> future</c><00:16:29.300><c> parts</c><00:16:29.690><c> that</c>

00:16:29.769 --> 00:16:29.779 align:start position:0%
will be covered in the future parts that
 

00:16:29.779 --> 00:16:31.569 align:start position:0%
will be covered in the future parts that
how<00:16:29.959><c> to</c><00:16:30.019><c> make</c><00:16:30.170><c> your</c><00:16:30.350><c> own</c><00:16:30.470><c> jailbreak</c><00:16:30.769><c> video</c><00:16:31.010><c> let</c>

00:16:31.569 --> 00:16:31.579 align:start position:0%
how to make your own jailbreak video let
 

00:16:31.579 --> 00:16:32.650 align:start position:0%
how to make your own jailbreak video let
me<00:16:31.610><c> know</c><00:16:31.730><c> if</c><00:16:31.819><c> you</c><00:16:31.880><c> guys</c><00:16:31.970><c> are</c><00:16:32.120><c> still</c><00:16:32.240><c> interested</c>

00:16:32.650 --> 00:16:32.660 align:start position:0%
me know if you guys are still interested
 

00:16:32.660 --> 00:16:34.480 align:start position:0%
me know if you guys are still interested
in<00:16:32.750><c> that</c><00:16:32.870><c> video</c><00:16:33.019><c> because</c><00:16:33.410><c> I</c><00:16:33.649><c> do</c><00:16:33.889><c> apologize</c><00:16:34.399><c> as</c>

00:16:34.480 --> 00:16:34.490 align:start position:0%
in that video because I do apologize as
 

00:16:34.490 --> 00:16:36.250 align:start position:0%
in that video because I do apologize as
I<00:16:34.550><c> said</c><00:16:34.699><c> it's</c><00:16:34.819><c> been</c><00:16:34.910><c> over</c><00:16:35.149><c> a</c><00:16:35.180><c> year</c><00:16:35.269><c> since</c><00:16:35.720><c> I</c>

00:16:36.250 --> 00:16:36.260 align:start position:0%
I said it's been over a year since I
 

00:16:36.260 --> 00:16:38.110 align:start position:0%
I said it's been over a year since I
continued<00:16:36.709><c> the</c><00:16:36.800><c> series</c><00:16:37.160><c> mostly</c><00:16:37.790><c> because</c><00:16:37.970><c> of</c>

00:16:38.110 --> 00:16:38.120 align:start position:0%
continued the series mostly because of
 

00:16:38.120 --> 00:16:39.910 align:start position:0%
continued the series mostly because of
how<00:16:38.360><c> much</c><00:16:38.569><c> time</c><00:16:39.199><c> it</c><00:16:39.350><c> actually</c><00:16:39.410><c> takes</c><00:16:39.800><c> to</c>

00:16:39.910 --> 00:16:39.920 align:start position:0%
how much time it actually takes to
 

00:16:39.920 --> 00:16:42.370 align:start position:0%
how much time it actually takes to
explain<00:16:40.519><c> the</c><00:16:41.120><c> bug</c><00:16:41.329><c> the</c><00:16:41.630><c> second</c><00:16:41.930><c> bug</c><00:16:42.050><c> it's</c><00:16:42.230><c> very</c>

00:16:42.370 --> 00:16:42.380 align:start position:0%
explain the bug the second bug it's very
 

00:16:42.380 --> 00:16:44.259 align:start position:0%
explain the bug the second bug it's very
complicated<00:16:42.889><c> and</c><00:16:43.069><c> the</c><00:16:43.160><c> way</c><00:16:43.250><c> it</c><00:16:43.339><c> occurs</c><00:16:43.639><c> and</c><00:16:43.880><c> it</c>

00:16:44.259 --> 00:16:44.269 align:start position:0%
complicated and the way it occurs and it
 

00:16:44.269 --> 00:16:45.280 align:start position:0%
complicated and the way it occurs and it
just<00:16:44.420><c> takes</c><00:16:44.569><c> a</c><00:16:44.630><c> lot</c><00:16:44.779><c> of</c><00:16:44.810><c> time</c><00:16:44.959><c> to</c><00:16:45.050><c> put</c><00:16:45.170><c> that</c>

00:16:45.280 --> 00:16:45.290 align:start position:0%
just takes a lot of time to put that
 

00:16:45.290 --> 00:16:45.790 align:start position:0%
just takes a lot of time to put that
into<00:16:45.410><c> a</c><00:16:45.500><c> video</c>

00:16:45.790 --> 00:16:45.800 align:start position:0%
into a video
 

00:16:45.800 --> 00:16:47.829 align:start position:0%
into a video
lots<00:16:46.310><c> of</c><00:16:46.399><c> editing</c><00:16:46.699><c> time</c><00:16:46.880><c> stuff</c><00:16:47.300><c> like</c><00:16:47.449><c> that</c><00:16:47.600><c> but</c>

00:16:47.829 --> 00:16:47.839 align:start position:0%
lots of editing time stuff like that but
 

00:16:47.839 --> 00:16:49.569 align:start position:0%
lots of editing time stuff like that but
anyway<00:16:48.410><c> so</c><00:16:48.680><c> I</c><00:16:48.800><c> hope</c><00:16:48.889><c> you</c><00:16:48.949><c> guys</c><00:16:49.100><c> found</c><00:16:49.459><c> this</c>

00:16:49.569 --> 00:16:49.579 align:start position:0%
anyway so I hope you guys found this
 

00:16:49.579 --> 00:16:51.280 align:start position:0%
anyway so I hope you guys found this
video<00:16:49.730><c> useful</c><00:16:49.910><c> if</c><00:16:50.449><c> you</c><00:16:50.779><c> have</c><00:16:50.810><c> any</c><00:16:50.990><c> questions</c>

00:16:51.280 --> 00:16:51.290 align:start position:0%
video useful if you have any questions
 

00:16:51.290 --> 00:16:53.379 align:start position:0%
video useful if you have any questions
about<00:16:51.380><c> this</c><00:16:51.649><c> then</c><00:16:51.980><c> let</c><00:16:52.190><c> me</c><00:16:52.279><c> know</c><00:16:52.310><c> so</c><00:16:52.940><c> hope</c><00:16:53.329><c> you</c>

00:16:53.379 --> 00:16:53.389 align:start position:0%
about this then let me know so hope you
 

00:16:53.389 --> 00:16:54.550 align:start position:0%
about this then let me know so hope you
guys<00:16:53.480><c> enjoyed</c><00:16:53.810><c> this</c><00:16:53.870><c> video</c><00:16:54.050><c> thanks</c><00:16:54.529><c> for</c>

00:16:54.550 --> 00:16:54.560 align:start position:0%
guys enjoyed this video thanks for
 

00:16:54.560 --> 00:16:55.840 align:start position:0%
guys enjoyed this video thanks for
watching<00:16:54.889><c> don't</c><00:16:55.040><c> forget</c><00:16:55.130><c> subscribe</c><00:16:55.370><c> for</c><00:16:55.730><c> more</c>

00:16:55.840 --> 00:16:55.850 align:start position:0%
watching don't forget subscribe for more
 

00:16:55.850 --> 00:16:59.050 align:start position:0%
watching don't forget subscribe for more
and<00:16:55.910><c> I</c><00:16:56.180><c> will</c><00:16:56.300><c> see</c><00:16:56.480><c> you</c><00:16:56.660><c> next</c><00:16:56.870><c> time</c>

