WEBVTT
Kind: captions
Language: en

00:00:00.399 --> 00:00:02.389 align:start position:0%
 
hey<00:00:00.640><c> guys</c><00:00:00.880><c> welcome</c><00:00:01.240><c> back</c><00:00:01.560><c> so</c><00:00:01.839><c> it's</c><00:00:02.040><c> been</c><00:00:02.200><c> over</c>

00:00:02.389 --> 00:00:02.399 align:start position:0%
hey guys welcome back so it's been over
 

00:00:02.399 --> 00:00:03.869 align:start position:0%
hey guys welcome back so it's been over
a<00:00:02.520><c> month</c><00:00:02.720><c> since</c><00:00:02.879><c> I</c><00:00:02.960><c> made</c><00:00:03.120><c> my</c><00:00:03.280><c> last</c><00:00:03.439><c> video</c><00:00:03.719><c> but</c>

00:00:03.869 --> 00:00:03.879 align:start position:0%
a month since I made my last video but
 

00:00:03.879 --> 00:00:04.990 align:start position:0%
a month since I made my last video but
today<00:00:04.120><c> I'm</c><00:00:04.279><c> back</c><00:00:04.480><c> and</c><00:00:04.600><c> today</c><00:00:04.759><c> I'm</c><00:00:04.839><c> going</c><00:00:04.960><c> be</c>

00:00:04.990 --> 00:00:05.000 align:start position:0%
today I'm back and today I'm going be
 

00:00:05.000 --> 00:00:06.869 align:start position:0%
today I'm back and today I'm going be
showing<00:00:05.200><c> you</c><00:00:05.359><c> guys</c><00:00:05.839><c> how</c><00:00:06.040><c> you</c><00:00:06.120><c> can</c><00:00:06.319><c> get</c><00:00:06.480><c> started</c>

00:00:06.869 --> 00:00:06.879 align:start position:0%
showing you guys how you can get started
 

00:00:06.879 --> 00:00:08.790 align:start position:0%
showing you guys how you can get started
with<00:00:07.000><c> some</c><00:00:07.240><c> iOS</c><00:00:07.640><c> kernel</c><00:00:08.040><c> research</c><00:00:08.400><c> if</c><00:00:08.519><c> you</c><00:00:08.599><c> are</c>

00:00:08.790 --> 00:00:08.800 align:start position:0%
with some iOS kernel research if you are
 

00:00:08.800 --> 00:00:10.270 align:start position:0%
with some iOS kernel research if you are
interested<00:00:09.200><c> in</c><00:00:09.360><c> becoming</c><00:00:09.760><c> an</c><00:00:09.920><c> expert</c>

00:00:10.270 --> 00:00:10.280 align:start position:0%
interested in becoming an expert
 

00:00:10.280 --> 00:00:12.709 align:start position:0%
interested in becoming an expert
developer<00:00:10.639><c> of</c><00:00:10.840><c> security</c><00:00:11.240><c> researcher</c><00:00:11.920><c> so</c><00:00:12.559><c> on</c>

00:00:12.709 --> 00:00:12.719 align:start position:0%
developer of security researcher so on
 

00:00:12.719 --> 00:00:14.190 align:start position:0%
developer of security researcher so on
this<00:00:12.840><c> channel</c><00:00:13.120><c> so</c><00:00:13.360><c> far</c><00:00:13.559><c> in</c><00:00:13.679><c> the</c><00:00:13.839><c> past</c><00:00:14.000><c> we've</c>

00:00:14.190 --> 00:00:14.200 align:start position:0%
this channel so far in the past we've
 

00:00:14.200 --> 00:00:16.230 align:start position:0%
this channel so far in the past we've
covered<00:00:14.480><c> various</c><00:00:14.759><c> different</c><00:00:15.040><c> things</c><00:00:15.719><c> rela</c><00:00:16.039><c> to</c>

00:00:16.230 --> 00:00:16.240 align:start position:0%
covered various different things rela to
 

00:00:16.240 --> 00:00:17.630 align:start position:0%
covered various different things rela to
exploitation<00:00:16.800><c> and</c><00:00:16.880><c> we've</c><00:00:17.039><c> even</c><00:00:17.240><c> covered</c><00:00:17.520><c> the</c>

00:00:17.630 --> 00:00:17.640 align:start position:0%
exploitation and we've even covered the
 

00:00:17.640 --> 00:00:19.349 align:start position:0%
exploitation and we've even covered the
exploitation<00:00:18.119><c> of</c><00:00:18.199><c> a</c><00:00:18.320><c> real</c><00:00:18.520><c> life</c><00:00:18.680><c> colel</c><00:00:19.080><c> bug</c>

00:00:19.349 --> 00:00:19.359 align:start position:0%
exploitation of a real life colel bug
 

00:00:19.359 --> 00:00:21.990 align:start position:0%
exploitation of a real life colel bug
here<00:00:19.480><c> if</c><00:00:19.560><c> you've</c><00:00:19.680><c> seen</c><00:00:19.880><c> this</c><00:00:20.039><c> video</c><00:00:20.760><c> uh</c><00:00:20.920><c> the</c><00:00:21.519><c> CV</c>

00:00:21.990 --> 00:00:22.000 align:start position:0%
here if you've seen this video uh the CV
 

00:00:22.000 --> 00:00:25.390 align:start position:0%
here if you've seen this video uh the CV
2016<00:00:23.119><c> 4655</c><00:00:24.119><c> info</c><00:00:24.480><c> leak</c><00:00:24.720><c> in</c><00:00:24.840><c> the</c><00:00:24.960><c> OS</c>

00:00:25.390 --> 00:00:25.400 align:start position:0%
2016 4655 info leak in the OS
 

00:00:25.400 --> 00:00:27.910 align:start position:0%
2016 4655 info leak in the OS
unserialized<00:00:26.160><c> binary</c><00:00:26.519><c> function</c><00:00:27.439><c> uh</c><00:00:27.560><c> so</c><00:00:27.720><c> watch</c>

00:00:27.910 --> 00:00:27.920 align:start position:0%
unserialized binary function uh so watch
 

00:00:27.920 --> 00:00:29.189 align:start position:0%
unserialized binary function uh so watch
this<00:00:28.039><c> video</c><00:00:28.240><c> if</c><00:00:28.279><c> you</c><00:00:28.359><c> haven't</c><00:00:28.599><c> already</c><00:00:29.080><c> but</c>

00:00:29.189 --> 00:00:29.199 align:start position:0%
this video if you haven't already but
 

00:00:29.199 --> 00:00:30.390 align:start position:0%
this video if you haven't already but
today<00:00:29.359><c> we're</c><00:00:29.480><c> going</c><00:00:29.560><c> to</c><00:00:29.599><c> be</c><00:00:29.679><c> taking</c><00:00:29.800><c> a</c><00:00:30.039><c> look</c><00:00:30.240><c> at</c>

00:00:30.390 --> 00:00:30.400 align:start position:0%
today we're going to be taking a look at
 

00:00:30.400 --> 00:00:33.229 align:start position:0%
today we're going to be taking a look at
more<00:00:30.759><c> of</c><00:00:31.000><c> a</c><00:00:31.320><c> generic</c><00:00:31.840><c> kind</c><00:00:32.000><c> of</c><00:00:32.640><c> uh</c><00:00:32.800><c> video</c><00:00:33.079><c> so</c>

00:00:33.229 --> 00:00:33.239 align:start position:0%
more of a generic kind of uh video so
 

00:00:33.239 --> 00:00:35.069 align:start position:0%
more of a generic kind of uh video so
instead<00:00:33.480><c> of</c><00:00:33.640><c> focusing</c><00:00:34.000><c> on</c><00:00:34.120><c> a</c><00:00:34.280><c> specific</c><00:00:34.640><c> bug</c>

00:00:35.069 --> 00:00:35.079 align:start position:0%
instead of focusing on a specific bug
 

00:00:35.079 --> 00:00:36.310 align:start position:0%
instead of focusing on a specific bug
today<00:00:35.320><c> I'm</c><00:00:35.520><c> showing</c><00:00:35.719><c> you</c><00:00:35.840><c> guys</c><00:00:35.960><c> how</c><00:00:36.079><c> you</c><00:00:36.160><c> can</c>

00:00:36.310 --> 00:00:36.320 align:start position:0%
today I'm showing you guys how you can
 

00:00:36.320 --> 00:00:37.950 align:start position:0%
today I'm showing you guys how you can
write<00:00:36.480><c> a</c><00:00:36.600><c> simple</c><00:00:36.920><c> program</c><00:00:37.200><c> or</c><00:00:37.399><c> simple</c><00:00:37.640><c> tool</c>

00:00:37.950 --> 00:00:37.960 align:start position:0%
write a simple program or simple tool
 

00:00:37.960 --> 00:00:39.910 align:start position:0%
write a simple program or simple tool
that's<00:00:38.120><c> going</c><00:00:38.200><c> to</c><00:00:38.320><c> give</c><00:00:38.440><c> you</c><00:00:38.600><c> the</c><00:00:38.760><c> ability</c><00:00:39.480><c> to</c>

00:00:39.910 --> 00:00:39.920 align:start position:0%
that's going to give you the ability to
 

00:00:39.920 --> 00:00:41.750 align:start position:0%
that's going to give you the ability to
mess<00:00:40.160><c> around</c><00:00:40.360><c> with</c><00:00:40.520><c> the</c><00:00:40.640><c> kernel</c><00:00:41.280><c> and</c><00:00:41.440><c> actually</c>

00:00:41.750 --> 00:00:41.760 align:start position:0%
mess around with the kernel and actually
 

00:00:41.760 --> 00:00:43.630 align:start position:0%
mess around with the kernel and actually
experiment<00:00:42.200><c> and</c><00:00:42.360><c> find</c><00:00:42.559><c> out</c><00:00:42.760><c> new</c><00:00:43.000><c> things</c><00:00:43.440><c> by</c>

00:00:43.630 --> 00:00:43.640 align:start position:0%
experiment and find out new things by
 

00:00:43.640 --> 00:00:45.229 align:start position:0%
experiment and find out new things by
yourself<00:00:44.320><c> so</c><00:00:44.559><c> essentially</c><00:00:44.920><c> what</c><00:00:45.000><c> it's</c><00:00:45.160><c> going</c>

00:00:45.229 --> 00:00:45.239 align:start position:0%
yourself so essentially what it's going
 

00:00:45.239 --> 00:00:47.790 align:start position:0%
yourself so essentially what it's going
to<00:00:45.399><c> be</c><00:00:45.879><c> is</c><00:00:46.160><c> a</c><00:00:46.320><c> simple</c><00:00:46.719><c> program</c><00:00:47.360><c> that</c><00:00:47.520><c> allows</c>

00:00:47.790 --> 00:00:47.800 align:start position:0%
to be is a simple program that allows
 

00:00:47.800 --> 00:00:50.029 align:start position:0%
to be is a simple program that allows
you<00:00:47.920><c> to</c><00:00:48.160><c> read</c><00:00:48.399><c> and</c><00:00:48.600><c> write</c><00:00:48.920><c> kernel</c><00:00:49.280><c> memory</c><00:00:49.760><c> so</c>

00:00:50.029 --> 00:00:50.039 align:start position:0%
you to read and write kernel memory so
 

00:00:50.039 --> 00:00:51.470 align:start position:0%
you to read and write kernel memory so
you<00:00:50.160><c> can</c><00:00:50.440><c> basically</c><00:00:50.760><c> manipulate</c><00:00:51.160><c> the</c><00:00:51.239><c> memory</c>

00:00:51.470 --> 00:00:51.480 align:start position:0%
you can basically manipulate the memory
 

00:00:51.480 --> 00:00:52.670 align:start position:0%
you can basically manipulate the memory
in<00:00:51.559><c> any</c><00:00:51.680><c> way</c><00:00:51.800><c> you</c><00:00:51.920><c> want</c><00:00:52.120><c> meaning</c><00:00:52.399><c> you</c><00:00:52.520><c> can</c>

00:00:52.670 --> 00:00:52.680 align:start position:0%
in any way you want meaning you can
 

00:00:52.680 --> 00:00:55.630 align:start position:0%
in any way you want meaning you can
apply<00:00:53.320><c> your</c><00:00:53.480><c> own</c><00:00:53.840><c> patches</c><00:00:54.239><c> to</c><00:00:54.359><c> the</c><00:00:54.480><c> kernel</c><00:00:55.359><c> um</c>

00:00:55.630 --> 00:00:55.640 align:start position:0%
apply your own patches to the kernel um
 

00:00:55.640 --> 00:00:58.150 align:start position:0%
apply your own patches to the kernel um
during<00:00:55.920><c> its</c><00:00:56.120><c> run</c><00:00:56.440><c> time</c><00:00:57.160><c> uh</c><00:00:57.280><c> you</c><00:00:57.399><c> can</c><00:00:57.600><c> read</c>

00:00:58.150 --> 00:00:58.160 align:start position:0%
during its run time uh you can read
 

00:00:58.160 --> 00:01:00.549 align:start position:0%
during its run time uh you can read
memory<00:00:58.519><c> from</c><00:00:58.879><c> arbitrary</c><00:00:59.600><c> address</c><00:01:00.199><c> and</c><00:01:00.359><c> find</c>

00:01:00.549 --> 00:01:00.559 align:start position:0%
memory from arbitrary address and find
 

00:01:00.559 --> 00:01:02.110 align:start position:0%
memory from arbitrary address and find
out<00:01:00.800><c> where</c><00:01:01.000><c> things</c><00:01:01.160><c> are</c><00:01:01.359><c> located</c><00:01:01.800><c> and</c><00:01:01.960><c> find</c>

00:01:02.110 --> 00:01:02.120 align:start position:0%
out where things are located and find
 

00:01:02.120 --> 00:01:04.149 align:start position:0%
out where things are located and find
out<00:01:02.320><c> various</c><00:01:02.600><c> different</c><00:01:02.920><c> things</c><00:01:03.559><c> and</c><00:01:03.800><c> overall</c>

00:01:04.149 --> 00:01:04.159 align:start position:0%
out various different things and overall
 

00:01:04.159 --> 00:01:05.710 align:start position:0%
out various different things and overall
just<00:01:04.360><c> experiment</c><00:01:04.799><c> with</c><00:01:04.920><c> it</c><00:01:05.080><c> so</c><00:01:05.320><c> I</c><00:01:05.439><c> found</c><00:01:05.600><c> this</c>

00:01:05.710 --> 00:01:05.720 align:start position:0%
just experiment with it so I found this
 

00:01:05.720 --> 00:01:07.789 align:start position:0%
just experiment with it so I found this
to<00:01:05.799><c> be</c><00:01:05.920><c> a</c><00:01:06.040><c> great</c><00:01:06.200><c> learning</c><00:01:06.560><c> tool</c><00:01:06.880><c> for</c><00:01:07.520><c> just</c>

00:01:07.789 --> 00:01:07.799 align:start position:0%
to be a great learning tool for just
 

00:01:07.799 --> 00:01:09.390 align:start position:0%
to be a great learning tool for just
finding<00:01:08.119><c> out</c><00:01:08.280><c> more</c><00:01:08.439><c> things</c><00:01:08.640><c> about</c><00:01:08.840><c> the</c><00:01:08.960><c> kernel</c>

00:01:09.390 --> 00:01:09.400 align:start position:0%
finding out more things about the kernel
 

00:01:09.400 --> 00:01:11.310 align:start position:0%
finding out more things about the kernel
itself<00:01:09.759><c> and</c><00:01:09.880><c> I've</c><00:01:10.000><c> been</c><00:01:10.479><c> uh</c><00:01:10.600><c> using</c><00:01:10.880><c> one</c><00:01:11.040><c> that</c><00:01:11.200><c> I</c>

00:01:11.310 --> 00:01:11.320 align:start position:0%
itself and I've been uh using one that I
 

00:01:11.320 --> 00:01:13.550 align:start position:0%
itself and I've been uh using one that I
made<00:01:12.040><c> the</c><00:01:12.159><c> past</c><00:01:12.320><c> couple</c><00:01:12.520><c> of</c><00:01:12.600><c> days</c><00:01:12.840><c> now</c><00:01:13.360><c> so</c><00:01:13.479><c> I</c>

00:01:13.550 --> 00:01:13.560 align:start position:0%
made the past couple of days now so I
 

00:01:13.560 --> 00:01:14.590 align:start position:0%
made the past couple of days now so I
thought<00:01:13.720><c> it'd</c><00:01:13.840><c> be</c><00:01:13.920><c> a</c><00:01:14.000><c> good</c><00:01:14.080><c> idea</c><00:01:14.280><c> to</c><00:01:14.360><c> make</c><00:01:14.479><c> a</c>

00:01:14.590 --> 00:01:14.600 align:start position:0%
thought it'd be a good idea to make a
 

00:01:14.600 --> 00:01:16.030 align:start position:0%
thought it'd be a good idea to make a
video<00:01:14.920><c> to</c><00:01:15.040><c> show</c><00:01:15.240><c> you</c><00:01:15.439><c> guys</c><00:01:15.640><c> who</c><00:01:15.799><c> are</c>

00:01:16.030 --> 00:01:16.040 align:start position:0%
video to show you guys who are
 

00:01:16.040 --> 00:01:17.469 align:start position:0%
video to show you guys who are
interested<00:01:16.400><c> in</c><00:01:16.560><c> this</c><00:01:16.920><c> how</c><00:01:17.080><c> you</c><00:01:17.159><c> can</c><00:01:17.280><c> write</c>

00:01:17.469 --> 00:01:17.479 align:start position:0%
interested in this how you can write
 

00:01:17.479 --> 00:01:19.910 align:start position:0%
interested in this how you can write
your<00:01:17.600><c> own</c><00:01:17.880><c> very</c><00:01:18.080><c> simple</c><00:01:18.439><c> tool</c><00:01:19.280><c> so</c><00:01:19.439><c> how</c><00:01:19.600><c> exactly</c>

00:01:19.910 --> 00:01:19.920 align:start position:0%
your own very simple tool so how exactly
 

00:01:19.920 --> 00:01:20.910 align:start position:0%
your own very simple tool so how exactly
is<00:01:20.040><c> this</c><00:01:20.200><c> going</c><00:01:20.280><c> to</c><00:01:20.400><c> work</c><00:01:20.640><c> well</c><00:01:20.799><c> we're</c>

00:01:20.910 --> 00:01:20.920 align:start position:0%
is this going to work well we're
 

00:01:20.920 --> 00:01:22.469 align:start position:0%
is this going to work well we're
basically<00:01:21.200><c> going</c><00:01:21.280><c> to</c><00:01:21.439><c> use</c><00:01:21.880><c> uh</c><00:01:21.960><c> the</c><00:01:22.119><c> kernel</c>

00:01:22.469 --> 00:01:22.479 align:start position:0%
basically going to use uh the kernel
 

00:01:22.479 --> 00:01:24.749 align:start position:0%
basically going to use uh the kernel
task<00:01:22.759><c> port</c><00:01:23.040><c> to</c><00:01:23.640><c> access</c><00:01:23.960><c> its</c><00:01:24.119><c> virtual</c><00:01:24.439><c> memory</c>

00:01:24.749 --> 00:01:24.759 align:start position:0%
task port to access its virtual memory
 

00:01:24.759 --> 00:01:27.469 align:start position:0%
task port to access its virtual memory
and<00:01:24.880><c> then</c><00:01:25.119><c> use</c><00:01:25.479><c> VM</c><00:01:25.880><c> WR</c><00:01:26.119><c> and</c><00:01:26.240><c> VM</c><00:01:26.560><c> read</c><00:01:27.079><c> to</c><00:01:27.280><c> read</c>

00:01:27.469 --> 00:01:27.479 align:start position:0%
and then use VM WR and VM read to read
 

00:01:27.479 --> 00:01:29.390 align:start position:0%
and then use VM WR and VM read to read
and<00:01:27.640><c> write</c><00:01:27.840><c> from</c><00:01:28.000><c> the</c><00:01:28.119><c> memory</c><00:01:28.600><c> now</c><00:01:29.000><c> to</c><00:01:29.200><c> access</c>

00:01:29.390 --> 00:01:29.400 align:start position:0%
and write from the memory now to access
 

00:01:29.400 --> 00:01:30.910 align:start position:0%
and write from the memory now to access
the<00:01:29.520><c> colel</c><00:01:29.920><c> task</c><00:01:30.159><c> Port</c><00:01:30.360><c> you</c><00:01:30.439><c> do</c><00:01:30.600><c> obviously</c>

00:01:30.910 --> 00:01:30.920 align:start position:0%
the colel task Port you do obviously
 

00:01:30.920 --> 00:01:33.149 align:start position:0%
the colel task Port you do obviously
need<00:01:31.159><c> the</c><00:01:31.360><c> task</c><00:01:31.640><c> for</c><00:01:31.880><c> pit</c><00:01:32.119><c> zero</c><00:01:32.520><c> patch</c><00:01:32.840><c> applied</c>

00:01:33.149 --> 00:01:33.159 align:start position:0%
need the task for pit zero patch applied
 

00:01:33.159 --> 00:01:34.590 align:start position:0%
need the task for pit zero patch applied
on<00:01:33.280><c> your</c><00:01:33.439><c> ja</c><00:01:33.680><c> broken</c><00:01:34.000><c> device</c><00:01:34.280><c> so</c><00:01:34.399><c> you</c><00:01:34.479><c> will</c>

00:01:34.590 --> 00:01:34.600 align:start position:0%
on your ja broken device so you will
 

00:01:34.600 --> 00:01:36.190 align:start position:0%
on your ja broken device so you will
need<00:01:34.720><c> a</c><00:01:34.799><c> j</c><00:01:35.000><c> broken</c><00:01:35.280><c> device</c><00:01:35.520><c> of</c><00:01:35.640><c> course</c><00:01:36.079><c> and</c><00:01:36.159><c> you</c>

00:01:36.190 --> 00:01:36.200 align:start position:0%
need a j broken device of course and you
 

00:01:36.200 --> 00:01:37.550 align:start position:0%
need a j broken device of course and you
need<00:01:36.320><c> to</c><00:01:36.439><c> make</c><00:01:36.560><c> sure</c><00:01:36.759><c> that</c><00:01:36.880><c> it</c><00:01:37.000><c> does</c><00:01:37.240><c> have</c><00:01:37.399><c> that</c>

00:01:37.550 --> 00:01:37.560 align:start position:0%
need to make sure that it does have that
 

00:01:37.560 --> 00:01:38.950 align:start position:0%
need to make sure that it does have that
specific<00:01:38.000><c> patch</c><00:01:38.240><c> applied</c><00:01:38.600><c> because</c><00:01:38.799><c> some</c>

00:01:38.950 --> 00:01:38.960 align:start position:0%
specific patch applied because some
 

00:01:38.960 --> 00:01:41.310 align:start position:0%
specific patch applied because some
jailbreaks<00:01:39.880><c> I</c><00:01:40.000><c> believe</c><00:01:40.360><c> pangu</c><00:01:40.880><c> the</c><00:01:40.960><c> original</c>

00:01:41.310 --> 00:01:41.320 align:start position:0%
jailbreaks I believe pangu the original
 

00:01:41.320 --> 00:01:43.230 align:start position:0%
jailbreaks I believe pangu the original
pangu<00:01:41.720><c> 9</c><00:01:41.920><c> and</c><00:01:42.360><c> jbre</c><00:01:42.680><c> that</c><00:01:42.759><c> doesn't</c><00:01:43.000><c> have</c><00:01:43.119><c> the</c>

00:01:43.230 --> 00:01:43.240 align:start position:0%
pangu 9 and jbre that doesn't have the
 

00:01:43.240 --> 00:01:44.789 align:start position:0%
pangu 9 and jbre that doesn't have the
patch<00:01:43.479><c> applied</c><00:01:44.079><c> and</c><00:01:44.200><c> there</c><00:01:44.280><c> are</c><00:01:44.439><c> a</c><00:01:44.520><c> couple</c>

00:01:44.789 --> 00:01:44.799 align:start position:0%
patch applied and there are a couple
 

00:01:44.799 --> 00:01:45.870 align:start position:0%
patch applied and there are a couple
others<00:01:44.960><c> that</c><00:01:45.079><c> don't</c><00:01:45.320><c> have</c><00:01:45.479><c> that</c><00:01:45.640><c> patch</c>

00:01:45.870 --> 00:01:45.880 align:start position:0%
others that don't have that patch
 

00:01:45.880 --> 00:01:47.670 align:start position:0%
others that don't have that patch
applied<00:01:46.200><c> so</c><00:01:46.320><c> make</c><00:01:46.439><c> sure</c><00:01:46.640><c> your</c><00:01:46.799><c> device</c><00:01:47.399><c> does</c>

00:01:47.670 --> 00:01:47.680 align:start position:0%
applied so make sure your device does
 

00:01:47.680 --> 00:01:49.350 align:start position:0%
applied so make sure your device does
have<00:01:47.840><c> the</c><00:01:48.000><c> task</c><00:01:48.280><c> or</c><00:01:48.439><c> pit</c><00:01:48.600><c> zero</c><00:01:48.840><c> patch</c><00:01:49.040><c> applied</c>

00:01:49.350 --> 00:01:49.360 align:start position:0%
have the task or pit zero patch applied
 

00:01:49.360 --> 00:01:50.789 align:start position:0%
have the task or pit zero patch applied
otherwise<00:01:49.560><c> you</c><00:01:49.600><c> won't</c><00:01:49.759><c> be</c><00:01:49.799><c> able</c><00:01:49.920><c> to</c><00:01:50.000><c> do</c><00:01:50.200><c> this</c>

00:01:50.789 --> 00:01:50.799 align:start position:0%
otherwise you won't be able to do this
 

00:01:50.799 --> 00:01:51.950 align:start position:0%
otherwise you won't be able to do this
um<00:01:50.920><c> but</c><00:01:51.040><c> once</c><00:01:51.159><c> you've</c><00:01:51.320><c> got</c><00:01:51.439><c> that</c><00:01:51.560><c> ready</c><00:01:51.759><c> we</c><00:01:51.840><c> can</c>

00:01:51.950 --> 00:01:51.960 align:start position:0%
um but once you've got that ready we can
 

00:01:51.960 --> 00:01:53.069 align:start position:0%
um but once you've got that ready we can
go<00:01:52.079><c> ahead</c><00:01:52.240><c> and</c><00:01:52.320><c> get</c><00:01:52.439><c> started</c><00:01:52.759><c> so</c><00:01:52.880><c> we're</c><00:01:53.000><c> just</c>

00:01:53.069 --> 00:01:53.079 align:start position:0%
go ahead and get started so we're just
 

00:01:53.079 --> 00:01:55.069 align:start position:0%
go ahead and get started so we're just
going<00:01:53.200><c> to</c><00:01:53.520><c> uh</c><00:01:53.640><c> stick</c><00:01:53.960><c> to</c><00:01:54.159><c> a</c><00:01:54.320><c> simple</c><00:01:54.719><c> command</c>

00:01:55.069 --> 00:01:55.079 align:start position:0%
going to uh stick to a simple command
 

00:01:55.079 --> 00:01:56.950 align:start position:0%
going to uh stick to a simple command
line<00:01:55.320><c> tool</c><00:01:55.920><c> although</c><00:01:56.200><c> you</c><00:01:56.320><c> can</c><00:01:56.560><c> pack</c><00:01:56.799><c> this</c>

00:01:56.950 --> 00:01:56.960 align:start position:0%
line tool although you can pack this
 

00:01:56.960 --> 00:01:59.469 align:start position:0%
line tool although you can pack this
into<00:01:57.439><c> sort</c><00:01:57.600><c> of</c><00:01:57.680><c> a</c><00:01:57.799><c> GUI</c><00:01:58.280><c> application</c><00:01:58.759><c> later</c><00:01:59.000><c> on</c>

00:01:59.469 --> 00:01:59.479 align:start position:0%
into sort of a GUI application later on
 

00:01:59.479 --> 00:02:00.709 align:start position:0%
into sort of a GUI application later on
which<00:01:59.600><c> I</c><00:01:59.680><c> will</c><00:01:59.920><c> show</c><00:02:00.079><c> you</c><00:02:00.159><c> guys</c><00:02:00.320><c> at</c><00:02:00.399><c> the</c><00:02:00.479><c> end</c><00:02:00.600><c> of</c>

00:02:00.709 --> 00:02:00.719 align:start position:0%
which I will show you guys at the end of
 

00:02:00.719 --> 00:02:02.149 align:start position:0%
which I will show you guys at the end of
this<00:02:00.880><c> video</c><00:02:01.439><c> so</c><00:02:01.560><c> we're</c><00:02:01.680><c> going</c><00:02:01.759><c> to</c><00:02:01.880><c> start</c><00:02:02.039><c> by</c>

00:02:02.149 --> 00:02:02.159 align:start position:0%
this video so we're going to start by
 

00:02:02.159 --> 00:02:04.550 align:start position:0%
this video so we're going to start by
creating<00:02:02.439><c> a</c><00:02:02.560><c> simple</c><00:02:03.159><c> uh</c><00:02:03.560><c> C</c><00:02:04.039><c> program</c><00:02:04.320><c> so</c><00:02:04.439><c> we're</c>

00:02:04.550 --> 00:02:04.560 align:start position:0%
creating a simple uh C program so we're
 

00:02:04.560 --> 00:02:05.870 align:start position:0%
creating a simple uh C program so we're
just<00:02:04.640><c> going</c><00:02:04.719><c> to</c><00:02:04.840><c> create</c><00:02:05.280><c> let's</c><00:02:05.479><c> just</c><00:02:05.640><c> call</c>

00:02:05.870 --> 00:02:05.880 align:start position:0%
just going to create let's just call
 

00:02:05.880 --> 00:02:08.830 align:start position:0%
just going to create let's just call
this<00:02:06.360><c> uh</c><00:02:07.039><c> tool.</c><00:02:07.600><c> C</c><00:02:08.239><c> so</c><00:02:08.360><c> we're</c><00:02:08.479><c> going</c><00:02:08.560><c> to</c><00:02:08.679><c> open</c>

00:02:08.830 --> 00:02:08.840 align:start position:0%
this uh tool. C so we're going to open
 

00:02:08.840 --> 00:02:10.550 align:start position:0%
this uh tool. C so we're going to open
up<00:02:09.000><c> this</c><00:02:09.080><c> C</c><00:02:09.360><c> file</c><00:02:09.599><c> inside</c><00:02:09.879><c> of</c><00:02:10.000><c> xcode</c><00:02:10.399><c> and</c><00:02:10.440><c> we're</c>

00:02:10.550 --> 00:02:10.560 align:start position:0%
up this C file inside of xcode and we're
 

00:02:10.560 --> 00:02:12.350 align:start position:0%
up this C file inside of xcode and we're
going<00:02:10.640><c> to</c><00:02:10.720><c> start</c><00:02:10.920><c> by</c><00:02:11.039><c> including</c><00:02:11.959><c> the</c><00:02:12.040><c> standard</c>

00:02:12.350 --> 00:02:12.360 align:start position:0%
going to start by including the standard
 

00:02:12.360 --> 00:02:14.869 align:start position:0%
going to start by including the standard
stf<00:02:12.680><c> headers</c><00:02:13.040><c> as</c><00:02:13.160><c> well</c><00:02:13.280><c> as</c><00:02:13.480><c> the</c><00:02:13.760><c> m.h</c><00:02:14.680><c> which</c><00:02:14.760><c> is</c>

00:02:14.869 --> 00:02:14.879 align:start position:0%
stf headers as well as the m.h which is
 

00:02:14.879 --> 00:02:17.470 align:start position:0%
stf headers as well as the m.h which is
going<00:02:14.959><c> to</c><00:02:15.080><c> allow</c><00:02:15.319><c> us</c><00:02:15.480><c> to</c><00:02:16.200><c> use</c><00:02:16.519><c> the</c><00:02:16.720><c> VM</c><00:02:17.040><c> read</c><00:02:17.280><c> and</c>

00:02:17.470 --> 00:02:17.480 align:start position:0%
going to allow us to use the VM read and
 

00:02:17.480 --> 00:02:19.830 align:start position:0%
going to allow us to use the VM read and
VM<00:02:17.840><c> right</c><00:02:18.440><c> Mark</c><00:02:18.760><c> API</c><00:02:19.160><c> calls</c><00:02:19.400><c> to</c><00:02:19.519><c> allow</c><00:02:19.680><c> us</c><00:02:19.760><c> to</c>

00:02:19.830 --> 00:02:19.840 align:start position:0%
VM right Mark API calls to allow us to
 

00:02:19.840 --> 00:02:21.430 align:start position:0%
VM right Mark API calls to allow us to
actually<00:02:20.040><c> manipulate</c><00:02:20.440><c> the</c><00:02:20.519><c> virtual</c><00:02:20.800><c> memory</c>

00:02:21.430 --> 00:02:21.440 align:start position:0%
actually manipulate the virtual memory
 

00:02:21.440 --> 00:02:23.430 align:start position:0%
actually manipulate the virtual memory
of<00:02:21.560><c> the</c><00:02:21.720><c> kernel</c><00:02:22.239><c> so</c><00:02:22.959><c> uh</c><00:02:23.040><c> once</c><00:02:23.239><c> those</c><00:02:23.360><c> are</c>

00:02:23.430 --> 00:02:23.440 align:start position:0%
of the kernel so uh once those are
 

00:02:23.440 --> 00:02:24.630 align:start position:0%
of the kernel so uh once those are
included<00:02:23.760><c> we're</c><00:02:23.879><c> going</c><00:02:23.959><c> to</c><00:02:24.080><c> start</c><00:02:24.280><c> with</c><00:02:24.440><c> the</c>

00:02:24.630 --> 00:02:24.640 align:start position:0%
included we're going to start with the
 

00:02:24.640 --> 00:02:26.070 align:start position:0%
included we're going to start with the
first<00:02:25.040><c> function</c><00:02:25.560><c> that</c><00:02:25.640><c> we're</c><00:02:25.760><c> going</c><00:02:25.840><c> to</c><00:02:25.920><c> use</c>

00:02:26.070 --> 00:02:26.080 align:start position:0%
first function that we're going to use
 

00:02:26.080 --> 00:02:27.430 align:start position:0%
first function that we're going to use
in<00:02:26.200><c> this</c><00:02:26.319><c> tool</c><00:02:26.640><c> which</c><00:02:26.720><c> is</c><00:02:26.840><c> going</c><00:02:26.920><c> to</c><00:02:27.080><c> be</c><00:02:27.319><c> the</c>

00:02:27.430 --> 00:02:27.440 align:start position:0%
in this tool which is going to be the
 

00:02:27.440 --> 00:02:28.790 align:start position:0%
in this tool which is going to be the
actual<00:02:27.680><c> function</c><00:02:27.959><c> that</c><00:02:28.080><c> grabs</c><00:02:28.360><c> the</c><00:02:28.440><c> kernel</c>

00:02:28.790 --> 00:02:28.800 align:start position:0%
actual function that grabs the kernel
 

00:02:28.800 --> 00:02:31.470 align:start position:0%
actual function that grabs the kernel
task<00:02:29.120><c> Port</c><00:02:29.360><c> so</c><00:02:29.440><c> this</c><00:02:29.959><c> return</c><00:02:30.800><c> an</c><00:02:30.959><c> INT</c><00:02:31.360><c> and</c>

00:02:31.470 --> 00:02:31.480 align:start position:0%
task Port so this return an INT and
 

00:02:31.480 --> 00:02:35.190 align:start position:0%
task Port so this return an INT and
we'll<00:02:31.640><c> just</c><00:02:31.760><c> call</c><00:02:32.000><c> this</c><00:02:32.840><c> get</c><00:02:33.120><c> kernel</c><00:02:33.920><c> task</c><00:02:34.920><c> and</c>

00:02:35.190 --> 00:02:35.200 align:start position:0%
we'll just call this get kernel task and
 

00:02:35.200 --> 00:02:36.949 align:start position:0%
we'll just call this get kernel task and
all<00:02:35.319><c> this</c><00:02:35.440><c> needs</c><00:02:35.599><c> to</c><00:02:35.760><c> do</c><00:02:35.920><c> is</c><00:02:36.080><c> call</c><00:02:36.400><c> task</c><00:02:36.680><c> for</c>

00:02:36.949 --> 00:02:36.959 align:start position:0%
all this needs to do is call task for
 

00:02:36.959 --> 00:02:39.750 align:start position:0%
all this needs to do is call task for
PID<00:02:37.400><c> and</c><00:02:37.599><c> pass</c><00:02:38.000><c> zero</c><00:02:38.319><c> as</c><00:02:38.480><c> the</c><00:02:38.599><c> process</c><00:02:38.959><c> ID</c><00:02:39.560><c> to</c>

00:02:39.750 --> 00:02:39.760 align:start position:0%
PID and pass zero as the process ID to
 

00:02:39.760 --> 00:02:41.589 align:start position:0%
PID and pass zero as the process ID to
grab<00:02:40.000><c> the</c><00:02:40.120><c> task</c><00:02:40.360><c> Port</c><00:02:40.560><c> 4</c><00:02:41.000><c> and</c><00:02:41.159><c> as</c><00:02:41.280><c> long</c><00:02:41.400><c> as</c><00:02:41.480><c> you</c>

00:02:41.589 --> 00:02:41.599 align:start position:0%
grab the task Port 4 and as long as you
 

00:02:41.599 --> 00:02:43.309 align:start position:0%
grab the task Port 4 and as long as you
do<00:02:41.720><c> have</c><00:02:41.879><c> that</c><00:02:42.000><c> patch</c><00:02:42.280><c> applied</c><00:02:42.680><c> successfully</c>

00:02:43.309 --> 00:02:43.319 align:start position:0%
do have that patch applied successfully
 

00:02:43.319 --> 00:02:45.270 align:start position:0%
do have that patch applied successfully
in<00:02:43.440><c> your</c><00:02:43.599><c> jab</c><00:02:43.840><c> broken</c><00:02:44.200><c> device</c><00:02:44.800><c> it</c><00:02:44.920><c> should</c>

00:02:45.270 --> 00:02:45.280 align:start position:0%
in your jab broken device it should
 

00:02:45.280 --> 00:02:47.070 align:start position:0%
in your jab broken device it should
return<00:02:45.480><c> the</c><00:02:45.959><c> kind</c><00:02:46.120><c> of</c><00:02:46.239><c> task</c><00:02:46.519><c> Port</c><00:02:46.720><c> without</c><00:02:46.920><c> any</c>

00:02:47.070 --> 00:02:47.080 align:start position:0%
return the kind of task Port without any
 

00:02:47.080 --> 00:02:49.030 align:start position:0%
return the kind of task Port without any
kind<00:02:47.200><c> of</c><00:02:47.360><c> issue</c><00:02:47.840><c> so</c><00:02:48.480><c> to</c><00:02:48.599><c> do</c><00:02:48.760><c> this</c><00:02:48.840><c> we're</c><00:02:48.959><c> going</c>

00:02:49.030 --> 00:02:49.040 align:start position:0%
kind of issue so to do this we're going
 

00:02:49.040 --> 00:02:51.070 align:start position:0%
kind of issue so to do this we're going
to<00:02:49.280><c> we're</c><00:02:49.400><c> going</c><00:02:49.480><c> to</c><00:02:49.560><c> first</c><00:02:50.000><c> create</c><00:02:50.280><c> a</c><00:02:50.519><c> k</c>

00:02:51.070 --> 00:02:51.080 align:start position:0%
to we're going to first create a k
 

00:02:51.080 --> 00:02:53.750 align:start position:0%
to we're going to first create a k
return<00:02:51.440><c> type</c><00:02:51.720><c> variable</c><00:02:52.720><c> called</c><00:02:52.879><c> this</c><00:02:53.080><c> KR</c><00:02:53.640><c> and</c>

00:02:53.750 --> 00:02:53.760 align:start position:0%
return type variable called this KR and
 

00:02:53.760 --> 00:02:56.190 align:start position:0%
return type variable called this KR and
also<00:02:54.159><c> a</c><00:02:54.280><c> Muk</c><00:02:54.680><c> Port</c><00:02:55.319><c> type</c><00:02:55.599><c> variable</c><00:02:56.000><c> to</c>

00:02:56.190 --> 00:02:56.200 align:start position:0%
also a Muk Port type variable to
 

00:02:56.200 --> 00:02:58.550 align:start position:0%
also a Muk Port type variable to
actually<00:02:56.440><c> store</c><00:02:57.360><c> the</c><00:02:57.560><c> uh</c><00:02:57.680><c> the</c><00:02:57.800><c> task</c><00:02:58.159><c> Port</c><00:02:58.400><c> once</c>

00:02:58.550 --> 00:02:58.560 align:start position:0%
actually store the uh the task Port once
 

00:02:58.560 --> 00:03:00.190 align:start position:0%
actually store the uh the task Port once
it's<00:02:58.720><c> been</c><00:02:59.000><c> returned</c><00:02:59.560><c> and</c><00:02:59.640><c> then</c><00:02:59.840><c> I'm</c><00:03:00.080><c> just</c>

00:03:00.190 --> 00:03:00.200 align:start position:0%
it's been returned and then I'm just
 

00:03:00.200 --> 00:03:02.190 align:start position:0%
it's been returned and then I'm just
going<00:03:00.319><c> to</c><00:03:00.440><c> call</c><00:03:00.840><c> task</c><00:03:01.120><c> for</c><00:03:01.360><c> PID</c><00:03:01.560><c> so</c><00:03:01.640><c> we'll</c><00:03:01.800><c> set</c>

00:03:02.190 --> 00:03:02.200 align:start position:0%
going to call task for PID so we'll set
 

00:03:02.200 --> 00:03:06.270 align:start position:0%
going to call task for PID so we'll set
KR<00:03:02.680><c> equal</c><00:03:03.000><c> to</c><00:03:03.720><c> the</c><00:03:04.040><c> return</c><00:03:04.280><c> of</c><00:03:04.560><c> task</c><00:03:04.920><c> for</c><00:03:05.280><c> PID</c>

00:03:06.270 --> 00:03:06.280 align:start position:0%
KR equal to the return of task for PID
 

00:03:06.280 --> 00:03:07.910 align:start position:0%
KR equal to the return of task for PID
and<00:03:06.560><c> we'll</c><00:03:06.879><c> pass</c><00:03:07.120><c> in</c><00:03:07.280><c> the</c><00:03:07.360><c> first</c><00:03:07.560><c> argument</c>

00:03:07.910 --> 00:03:07.920 align:start position:0%
and we'll pass in the first argument
 

00:03:07.920 --> 00:03:12.390 align:start position:0%
and we'll pass in the first argument
will<00:03:08.040><c> be</c><00:03:08.159><c> Mark</c><00:03:08.519><c> host</c><00:03:08.920><c> self</c><00:03:09.920><c> to</c><00:03:10.200><c> get</c><00:03:11.080><c> um</c><00:03:12.080><c> our</c>

00:03:12.390 --> 00:03:12.400 align:start position:0%
will be Mark host self to get um our
 

00:03:12.400 --> 00:03:14.390 align:start position:0%
will be Mark host self to get um our
current<00:03:12.760><c> processes</c><00:03:13.319><c> host</c><00:03:13.640><c> support</c><00:03:14.319><c> then</c>

00:03:14.390 --> 00:03:14.400 align:start position:0%
current processes host support then
 

00:03:14.400 --> 00:03:16.070 align:start position:0%
current processes host support then
we're<00:03:14.519><c> going</c><00:03:14.599><c> to</c><00:03:14.760><c> pass</c><00:03:14.920><c> in</c><00:03:15.239><c> zero</c><00:03:15.680><c> which</c><00:03:15.799><c> is</c><00:03:15.959><c> the</c>

00:03:16.070 --> 00:03:16.080 align:start position:0%
we're going to pass in zero which is the
 

00:03:16.080 --> 00:03:18.229 align:start position:0%
we're going to pass in zero which is the
process<00:03:16.440><c> ID</c><00:03:16.920><c> of</c><00:03:17.080><c> the</c><00:03:17.239><c> kernel</c><00:03:17.840><c> now</c><00:03:17.959><c> you</c><00:03:18.080><c> can</c>

00:03:18.229 --> 00:03:18.239 align:start position:0%
process ID of the kernel now you can
 

00:03:18.239 --> 00:03:19.589 align:start position:0%
process ID of the kernel now you can
actually<00:03:18.400><c> do</c><00:03:18.519><c> this</c><00:03:18.640><c> for</c><00:03:18.760><c> any</c><00:03:18.959><c> process</c><00:03:19.280><c> running</c>

00:03:19.589 --> 00:03:19.599 align:start position:0%
actually do this for any process running
 

00:03:19.599 --> 00:03:20.750 align:start position:0%
actually do this for any process running
on<00:03:19.720><c> the</c><00:03:19.840><c> device</c><00:03:20.120><c> so</c><00:03:20.200><c> you</c><00:03:20.280><c> could</c><00:03:20.400><c> do</c><00:03:20.519><c> this</c><00:03:20.599><c> for</c>

00:03:20.750 --> 00:03:20.760 align:start position:0%
on the device so you could do this for
 

00:03:20.760 --> 00:03:23.190 align:start position:0%
on the device so you could do this for
springboard<00:03:21.440><c> or</c><00:03:21.920><c> launch</c><00:03:22.280><c> D</c><00:03:22.560><c> or</c><00:03:22.680><c> any</c><00:03:22.799><c> other</c><00:03:23.000><c> app</c>

00:03:23.190 --> 00:03:23.200 align:start position:0%
springboard or launch D or any other app
 

00:03:23.200 --> 00:03:24.390 align:start position:0%
springboard or launch D or any other app
that's<00:03:23.360><c> running</c><00:03:23.599><c> so</c><00:03:23.799><c> just</c><00:03:24.040><c> as</c><00:03:24.159><c> long</c><00:03:24.239><c> as</c><00:03:24.319><c> you</c>

00:03:24.390 --> 00:03:24.400 align:start position:0%
that's running so just as long as you
 

00:03:24.400 --> 00:03:25.990 align:start position:0%
that's running so just as long as you
know<00:03:24.519><c> the</c><00:03:24.640><c> process</c><00:03:25.000><c> ID</c><00:03:25.319><c> but</c><00:03:25.440><c> for</c><00:03:25.560><c> the</c><00:03:25.680><c> kernel</c>

00:03:25.990 --> 00:03:26.000 align:start position:0%
know the process ID but for the kernel
 

00:03:26.000 --> 00:03:27.789 align:start position:0%
know the process ID but for the kernel
it's<00:03:26.200><c> zero</c><00:03:26.920><c> and</c><00:03:27.040><c> then</c><00:03:27.120><c> we</c><00:03:27.239><c> want</c><00:03:27.360><c> to</c><00:03:27.560><c> actually</c>

00:03:27.789 --> 00:03:27.799 align:start position:0%
it's zero and then we want to actually
 

00:03:27.799 --> 00:03:30.149 align:start position:0%
it's zero and then we want to actually
pass<00:03:28.000><c> in</c><00:03:28.239><c> the</c><00:03:28.599><c> task</c><00:03:28.959><c> the</c><00:03:29.040><c> Markle</c><00:03:29.640><c> um</c><00:03:29.879><c> type</c><00:03:30.080><c> we</c>

00:03:30.149 --> 00:03:30.159 align:start position:0%
pass in the task the Markle um type we
 

00:03:30.159 --> 00:03:31.869 align:start position:0%
pass in the task the Markle um type we
just<00:03:30.319><c> created</c><00:03:30.959><c> by</c><00:03:31.159><c> reference</c><00:03:31.560><c> make</c><00:03:31.680><c> sure</c><00:03:31.799><c> you</c>

00:03:31.869 --> 00:03:31.879 align:start position:0%
just created by reference make sure you
 

00:03:31.879 --> 00:03:34.470 align:start position:0%
just created by reference make sure you
put<00:03:32.000><c> an</c><00:03:32.080><c> ampersand</c><00:03:32.799><c> in</c><00:03:32.920><c> front</c><00:03:33.080><c> of</c><00:03:33.280><c> that</c><00:03:34.120><c> and</c>

00:03:34.470 --> 00:03:34.480 align:start position:0%
put an ampersand in front of that and
 

00:03:34.480 --> 00:03:35.990 align:start position:0%
put an ampersand in front of that and
that<00:03:34.560><c> will</c><00:03:34.720><c> call</c><00:03:35.040><c> task</c><00:03:35.319><c> for</c><00:03:35.519><c> PID</c><00:03:35.760><c> now</c><00:03:35.879><c> we're</c>

00:03:35.990 --> 00:03:36.000 align:start position:0%
that will call task for PID now we're
 

00:03:36.000 --> 00:03:37.070 align:start position:0%
that will call task for PID now we're
going<00:03:36.080><c> to</c><00:03:36.200><c> actually</c><00:03:36.360><c> quickly</c><00:03:36.599><c> do</c><00:03:36.680><c> a</c><00:03:36.840><c> quick</c>

00:03:37.070 --> 00:03:37.080 align:start position:0%
going to actually quickly do a quick
 

00:03:37.080 --> 00:03:39.429 align:start position:0%
going to actually quickly do a quick
check<00:03:37.360><c> to</c><00:03:37.519><c> see</c><00:03:38.360><c> um</c><00:03:38.439><c> to</c><00:03:38.560><c> make</c><00:03:38.680><c> sure</c><00:03:38.879><c> this</c><00:03:39.040><c> does</c>

00:03:39.429 --> 00:03:39.439 align:start position:0%
check to see um to make sure this does
 

00:03:39.439 --> 00:03:41.589 align:start position:0%
check to see um to make sure this does
return<00:03:39.879><c> successfully</c><00:03:40.480><c> so</c><00:03:40.680><c> we</c><00:03:40.799><c> can</c><00:03:41.360><c> just</c><00:03:41.480><c> put</c>

00:03:41.589 --> 00:03:41.599 align:start position:0%
return successfully so we can just put
 

00:03:41.599 --> 00:03:43.270 align:start position:0%
return successfully so we can just put
an<00:03:41.720><c> if</c><00:03:41.879><c> statement</c><00:03:42.200><c> around</c><00:03:42.480><c> this</c><00:03:42.720><c> and</c><00:03:43.040><c> if</c><00:03:43.159><c> it</c>

00:03:43.270 --> 00:03:43.280 align:start position:0%
an if statement around this and if it
 

00:03:43.280 --> 00:03:46.990 align:start position:0%
an if statement around this and if it
does<00:03:43.519><c> not</c><00:03:43.920><c> return</c><00:03:44.760><c> C</c><00:03:45.680><c> success</c><00:03:46.680><c> then</c><00:03:46.879><c> that</c>

00:03:46.990 --> 00:03:47.000 align:start position:0%
does not return C success then that
 

00:03:47.000 --> 00:03:48.229 align:start position:0%
does not return C success then that
basically<00:03:47.280><c> means</c><00:03:47.519><c> there's</c><00:03:47.680><c> been</c><00:03:47.799><c> an</c><00:03:47.920><c> issue</c><00:03:48.159><c> so</c>

00:03:48.229 --> 00:03:48.239 align:start position:0%
basically means there's been an issue so
 

00:03:48.239 --> 00:03:49.390 align:start position:0%
basically means there's been an issue so
it<00:03:48.360><c> probably</c><00:03:48.560><c> means</c><00:03:48.840><c> you're</c><00:03:49.080><c> either</c><00:03:49.280><c> not</c>

00:03:49.390 --> 00:03:49.400 align:start position:0%
it probably means you're either not
 

00:03:49.400 --> 00:03:51.830 align:start position:0%
it probably means you're either not
running<00:03:49.720><c> as</c><00:03:49.920><c> rout</c><00:03:50.840><c> um</c><00:03:51.120><c> the</c><00:03:51.319><c> correct</c>

00:03:51.830 --> 00:03:51.840 align:start position:0%
running as rout um the correct
 

00:03:51.840 --> 00:03:54.990 align:start position:0%
running as rout um the correct
entitlements<00:03:52.439><c> were</c><00:03:52.599><c> not</c><00:03:52.799><c> set</c><00:03:53.400><c> or</c><00:03:53.840><c> simply</c><00:03:54.519><c> the</c>

00:03:54.990 --> 00:03:55.000 align:start position:0%
entitlements were not set or simply the
 

00:03:55.000 --> 00:03:56.869 align:start position:0%
entitlements were not set or simply the
task<00:03:55.319><c> for</c><00:03:55.519><c> pit</c><00:03:55.680><c> zero</c><00:03:55.959><c> patch</c><00:03:56.239><c> does</c><00:03:56.400><c> not</c><00:03:56.599><c> exist</c>

00:03:56.869 --> 00:03:56.879 align:start position:0%
task for pit zero patch does not exist
 

00:03:56.879 --> 00:03:59.270 align:start position:0%
task for pit zero patch does not exist
on<00:03:57.000><c> the</c><00:03:57.200><c> device</c><00:03:57.560><c> so</c><00:03:57.720><c> we'll</c><00:03:57.920><c> just</c><00:03:58.480><c> in</c><00:03:58.640><c> that</c><00:03:58.840><c> case</c>

00:03:59.270 --> 00:03:59.280 align:start position:0%
on the device so we'll just in that case
 

00:03:59.280 --> 00:04:00.550 align:start position:0%
on the device so we'll just in that case
return

00:04:00.550 --> 00:04:00.560 align:start position:0%
return
 

00:04:00.560 --> 00:04:03.949 align:start position:0%
return
error<00:04:01.640><c> um</c><00:04:02.640><c> and</c><00:04:02.799><c> that's</c><00:04:02.959><c> basically</c><00:04:03.280><c> done</c><00:04:03.519><c> so</c><00:04:03.879><c> if</c>

00:04:03.949 --> 00:04:03.959 align:start position:0%
error um and that's basically done so if
 

00:04:03.959 --> 00:04:05.030 align:start position:0%
error um and that's basically done so if
it<00:04:04.079><c> does</c><00:04:04.360><c> return</c><00:04:04.560><c> though</c><00:04:04.760><c> we're</c><00:04:04.879><c> just</c><00:04:04.959><c> going</c>

00:04:05.030 --> 00:04:05.040 align:start position:0%
it does return though we're just going
 

00:04:05.040 --> 00:04:07.509 align:start position:0%
it does return though we're just going
to<00:04:05.319><c> return</c><00:04:05.799><c> the</c><00:04:05.959><c> actual</c><00:04:06.239><c> value</c><00:04:06.640><c> of</c><00:04:07.079><c> the</c><00:04:07.239><c> task</c>

00:04:07.509 --> 00:04:07.519 align:start position:0%
to return the actual value of the task
 

00:04:07.519 --> 00:04:09.589 align:start position:0%
to return the actual value of the task
Bo<00:04:08.239><c> so</c><00:04:08.439><c> that</c><00:04:08.519><c> is</c><00:04:08.640><c> the</c><00:04:08.840><c> first</c><00:04:09.120><c> function</c><00:04:09.480><c> this</c>

00:04:09.589 --> 00:04:09.599 align:start position:0%
Bo so that is the first function this
 

00:04:09.599 --> 00:04:11.550 align:start position:0%
Bo so that is the first function this
should<00:04:09.799><c> grab</c><00:04:10.040><c> the</c><00:04:10.120><c> kernel</c><00:04:10.480><c> task</c><00:04:10.760><c> Port</c><00:04:11.319><c> as</c><00:04:11.439><c> I</c>

00:04:11.550 --> 00:04:11.560 align:start position:0%
should grab the kernel task Port as I
 

00:04:11.560 --> 00:04:12.630 align:start position:0%
should grab the kernel task Port as I
said<00:04:11.720><c> as</c><00:04:11.799><c> long</c><00:04:11.959><c> as</c><00:04:12.040><c> you</c><00:04:12.159><c> have</c><00:04:12.280><c> the</c><00:04:12.400><c> patch</c>

00:04:12.630 --> 00:04:12.640 align:start position:0%
said as long as you have the patch
 

00:04:12.640 --> 00:04:14.509 align:start position:0%
said as long as you have the patch
correctly<00:04:13.079><c> applied</c><00:04:13.760><c> so</c><00:04:13.959><c> we'll</c><00:04:14.120><c> just</c><00:04:14.280><c> quickly</c>

00:04:14.509 --> 00:04:14.519 align:start position:0%
correctly applied so we'll just quickly
 

00:04:14.519 --> 00:04:17.749 align:start position:0%
correctly applied so we'll just quickly
create<00:04:14.760><c> our</c><00:04:14.959><c> main</c><00:04:15.440><c> function</c><00:04:16.440><c> and</c><00:04:16.880><c> uh</c><00:04:17.440><c> we'll</c>

00:04:17.749 --> 00:04:17.759 align:start position:0%
create our main function and uh we'll
 

00:04:17.759 --> 00:04:21.870 align:start position:0%
create our main function and uh we'll
call<00:04:18.720><c> this</c><00:04:19.120><c> so</c><00:04:19.320><c> we'll</c><00:04:19.479><c> create</c><00:04:20.160><c> in</c>

00:04:21.870 --> 00:04:21.880 align:start position:0%
call this so we'll create in
 

00:04:21.880 --> 00:04:26.870 align:start position:0%
call this so we'll create in
kernel<00:04:23.080><c> task</c><00:04:24.080><c> equals</c><00:04:24.840><c> get</c><00:04:25.080><c> kernel</c><00:04:25.479><c> task</c><00:04:26.479><c> so</c>

00:04:26.870 --> 00:04:26.880 align:start position:0%
kernel task equals get kernel task so
 

00:04:26.880 --> 00:04:28.350 align:start position:0%
kernel task equals get kernel task so
that's<00:04:27.040><c> the</c><00:04:27.240><c> first</c><00:04:27.479><c> step</c><00:04:27.720><c> done</c><00:04:27.960><c> this</c><00:04:28.080><c> will</c>

00:04:28.350 --> 00:04:28.360 align:start position:0%
that's the first step done this will
 

00:04:28.360 --> 00:04:30.790 align:start position:0%
that's the first step done this will
call<00:04:28.600><c> the</c><00:04:28.720><c> kernel</c><00:04:29.280><c> call</c><00:04:29.440><c> task</c><00:04:30.000><c> zero</c><00:04:30.440><c> grab</c><00:04:30.680><c> us</c>

00:04:30.790 --> 00:04:30.800 align:start position:0%
call the kernel call task zero grab us
 

00:04:30.800 --> 00:04:32.749 align:start position:0%
call the kernel call task zero grab us
the<00:04:30.919><c> kernel</c><00:04:31.240><c> task</c><00:04:31.520><c> Port</c><00:04:32.080><c> now</c><00:04:32.280><c> giv</c><00:04:32.479><c> us</c><00:04:32.639><c> the</c>

00:04:32.749 --> 00:04:32.759 align:start position:0%
the kernel task Port now giv us the
 

00:04:32.759 --> 00:04:34.749 align:start position:0%
the kernel task Port now giv us the
ability<00:04:33.160><c> to</c><00:04:33.560><c> manipulate</c><00:04:34.039><c> the</c><00:04:34.120><c> kernel</c><00:04:34.440><c> memory</c>

00:04:34.749 --> 00:04:34.759 align:start position:0%
ability to manipulate the kernel memory
 

00:04:34.759 --> 00:04:36.070 align:start position:0%
ability to manipulate the kernel memory
now<00:04:34.919><c> how</c><00:04:35.000><c> do</c><00:04:35.120><c> we</c><00:04:35.240><c> actually</c><00:04:35.440><c> do</c><00:04:35.600><c> that</c><00:04:35.759><c> well</c><00:04:35.880><c> we</c>

00:04:36.070 --> 00:04:36.080 align:start position:0%
now how do we actually do that well we
 

00:04:36.080 --> 00:04:39.469 align:start position:0%
now how do we actually do that well we
use<00:04:36.600><c> VM</c><00:04:37.000><c> read</c><00:04:37.400><c> and</c><00:04:37.759><c> VM</c><00:04:38.199><c> right</c><00:04:38.520><c> now</c><00:04:39.160><c> the</c><00:04:39.280><c> one</c>

00:04:39.469 --> 00:04:39.479 align:start position:0%
use VM read and VM right now the one
 

00:04:39.479 --> 00:04:40.749 align:start position:0%
use VM read and VM right now the one
most<00:04:39.720><c> you</c><00:04:39.800><c> guys</c><00:04:39.919><c> are</c><00:04:40.039><c> probably</c><00:04:40.280><c> more</c><00:04:40.440><c> excited</c>

00:04:40.749 --> 00:04:40.759 align:start position:0%
most you guys are probably more excited
 

00:04:40.759 --> 00:04:42.590 align:start position:0%
most you guys are probably more excited
about<00:04:41.039><c> is</c><00:04:41.440><c> going</c><00:04:41.560><c> to</c><00:04:41.639><c> be</c><00:04:41.800><c> VM</c><00:04:42.160><c> right</c><00:04:42.440><c> because</c>

00:04:42.590 --> 00:04:42.600 align:start position:0%
about is going to be VM right because
 

00:04:42.600 --> 00:04:44.029 align:start position:0%
about is going to be VM right because
it's<00:04:42.759><c> going</c><00:04:42.840><c> to</c><00:04:42.919><c> allow</c><00:04:43.080><c> you</c><00:04:43.199><c> to</c><00:04:43.360><c> apply</c><00:04:43.680><c> patches</c>

00:04:44.029 --> 00:04:44.039 align:start position:0%
it's going to allow you to apply patches
 

00:04:44.039 --> 00:04:45.550 align:start position:0%
it's going to allow you to apply patches
to<00:04:44.160><c> the</c><00:04:44.320><c> kernel</c><00:04:44.639><c> and</c><00:04:44.759><c> basically</c><00:04:45.080><c> manipulate</c>

00:04:45.550 --> 00:04:45.560 align:start position:0%
to the kernel and basically manipulate
 

00:04:45.560 --> 00:04:46.909 align:start position:0%
to the kernel and basically manipulate
the<00:04:45.680><c> memory</c><00:04:45.919><c> in</c><00:04:46.039><c> any</c><00:04:46.160><c> way</c><00:04:46.320><c> you</c><00:04:46.440><c> want</c><00:04:46.639><c> you</c><00:04:46.720><c> can</c>

00:04:46.909 --> 00:04:46.919 align:start position:0%
the memory in any way you want you can
 

00:04:46.919 --> 00:04:48.550 align:start position:0%
the memory in any way you want you can
overwrite<00:04:47.759><c> parts</c><00:04:48.000><c> of</c><00:04:48.120><c> memory</c><00:04:48.360><c> you</c><00:04:48.440><c> can</c>

00:04:48.550 --> 00:04:48.560 align:start position:0%
overwrite parts of memory you can
 

00:04:48.560 --> 00:04:50.830 align:start position:0%
overwrite parts of memory you can
overwrite<00:04:49.000><c> variables</c><00:04:49.520><c> overwrite</c><00:04:49.960><c> strings</c>

00:04:50.830 --> 00:04:50.840 align:start position:0%
overwrite variables overwrite strings
 

00:04:50.840 --> 00:04:52.350 align:start position:0%
overwrite variables overwrite strings
anything<00:04:51.080><c> in</c><00:04:51.199><c> the</c><00:04:51.320><c> kernel</c><00:04:51.639><c> you</c><00:04:51.720><c> can</c><00:04:51.840><c> overwrite</c>

00:04:52.350 --> 00:04:52.360 align:start position:0%
anything in the kernel you can overwrite
 

00:04:52.360 --> 00:04:54.310 align:start position:0%
anything in the kernel you can overwrite
with<00:04:52.560><c> arbitary</c><00:04:53.080><c> bytes</c><00:04:53.520><c> so</c><00:04:53.800><c> to</c><00:04:53.960><c> do</c><00:04:54.080><c> this</c><00:04:54.199><c> we're</c>

00:04:54.310 --> 00:04:54.320 align:start position:0%
with arbitary bytes so to do this we're
 

00:04:54.320 --> 00:04:56.870 align:start position:0%
with arbitary bytes so to do this we're
going<00:04:54.400><c> to</c><00:04:54.479><c> create</c><00:04:54.759><c> another</c><00:04:55.520><c> function</c><00:04:56.520><c> so</c><00:04:56.759><c> this</c>

00:04:56.870 --> 00:04:56.880 align:start position:0%
going to create another function so this
 

00:04:56.880 --> 00:05:00.629 align:start position:0%
going to create another function so this
function<00:04:57.280><c> name</c><00:04:57.479><c> will</c><00:04:57.680><c> just</c><00:04:57.880><c> be</c><00:04:58.440><c> uh</c><00:04:58.680><c> write</c><00:04:59.320><c> test</c>

00:05:00.629 --> 00:05:00.639 align:start position:0%
function name will just be uh write test
 

00:05:00.639 --> 00:05:02.029 align:start position:0%
function name will just be uh write test
um<00:05:00.919><c> and</c><00:05:01.039><c> this</c><00:05:01.160><c> can</c><00:05:01.280><c> just</c><00:05:01.360><c> be</c><00:05:01.560><c> avoid</c><00:05:01.840><c> we</c><00:05:01.960><c> don't</c>

00:05:02.029 --> 00:05:02.039 align:start position:0%
um and this can just be avoid we don't
 

00:05:02.039 --> 00:05:03.870 align:start position:0%
um and this can just be avoid we don't
need<00:05:02.160><c> to</c><00:05:02.360><c> return</c><00:05:02.560><c> anything</c><00:05:02.880><c> from</c><00:05:03.080><c> this</c><00:05:03.759><c> but</c>

00:05:03.870 --> 00:05:03.880 align:start position:0%
need to return anything from this but
 

00:05:03.880 --> 00:05:05.710 align:start position:0%
need to return anything from this but
what<00:05:04.000><c> this</c><00:05:04.080><c> will</c><00:05:04.240><c> do</c><00:05:04.400><c> is</c><00:05:04.520><c> essentially</c><00:05:04.919><c> call</c><00:05:05.320><c> VM</c>

00:05:05.710 --> 00:05:05.720 align:start position:0%
what this will do is essentially call VM
 

00:05:05.720 --> 00:05:09.430 align:start position:0%
what this will do is essentially call VM
right<00:05:06.120><c> from</c><00:05:06.560><c> the</c><00:05:06.880><c> Mac</c><00:05:07.160><c> API</c><00:05:08.039><c> and</c><00:05:08.840><c> uh</c><00:05:09.000><c> write</c><00:05:09.280><c> an</c>

00:05:09.430 --> 00:05:09.440 align:start position:0%
right from the Mac API and uh write an
 

00:05:09.440 --> 00:05:12.590 align:start position:0%
right from the Mac API and uh write an
arbitary<00:05:10.320><c> uh</c><00:05:10.600><c> bites</c><00:05:11.199><c> whatever</c><00:05:11.479><c> we</c><00:05:11.800><c> choose</c><00:05:12.440><c> um</c>

00:05:12.590 --> 00:05:12.600 align:start position:0%
arbitary uh bites whatever we choose um
 

00:05:12.600 --> 00:05:14.230 align:start position:0%
arbitary uh bites whatever we choose um
to<00:05:12.800><c> an</c><00:05:12.919><c> arbitary</c><00:05:13.240><c> memory</c><00:05:13.520><c> address</c><00:05:13.880><c> within</c><00:05:14.120><c> the</c>

00:05:14.230 --> 00:05:14.240 align:start position:0%
to an arbitary memory address within the
 

00:05:14.240 --> 00:05:16.270 align:start position:0%
to an arbitary memory address within the
kernel<00:05:14.720><c> so</c><00:05:15.520><c> uh</c><00:05:15.680><c> the</c><00:05:15.759><c> way</c><00:05:15.880><c> it</c><00:05:15.919><c> works</c><00:05:16.160><c> we're</c>

00:05:16.270 --> 00:05:16.280 align:start position:0%
kernel so uh the way it works we're
 

00:05:16.280 --> 00:05:18.150 align:start position:0%
kernel so uh the way it works we're
going<00:05:16.360><c> to</c><00:05:16.520><c> first</c><00:05:17.000><c> uh</c><00:05:17.160><c> create</c><00:05:17.360><c> an</c><00:05:17.479><c> unsigned</c><00:05:17.919><c> int</c>

00:05:18.150 --> 00:05:18.160 align:start position:0%
going to first uh create an unsigned int
 

00:05:18.160 --> 00:05:19.710 align:start position:0%
going to first uh create an unsigned int
variable<00:05:18.520><c> to</c><00:05:18.680><c> store</c><00:05:19.000><c> the</c><00:05:19.120><c> data</c><00:05:19.360><c> we</c><00:05:19.479><c> want</c><00:05:19.600><c> to</c>

00:05:19.710 --> 00:05:19.720 align:start position:0%
variable to store the data we want to
 

00:05:19.720 --> 00:05:21.550 align:start position:0%
variable to store the data we want to
actually<00:05:20.000><c> write</c><00:05:20.319><c> so</c><00:05:20.520><c> to</c><00:05:20.680><c> keep</c><00:05:20.840><c> it</c><00:05:21.039><c> generic</c><00:05:21.400><c> and</c>

00:05:21.550 --> 00:05:21.560 align:start position:0%
actually write so to keep it generic and
 

00:05:21.560 --> 00:05:23.830 align:start position:0%
actually write so to keep it generic and
simple<00:05:21.840><c> we'll</c><00:05:22.039><c> just</c><00:05:22.199><c> go</c><00:05:22.400><c> with</c><00:05:22.560><c> 41</c><00:05:22.919><c> 41</c><00:05:23.280><c> 41</c><00:05:23.680><c> for</c>

00:05:23.830 --> 00:05:23.840 align:start position:0%
simple we'll just go with 41 41 41 for
 

00:05:23.840 --> 00:05:25.909 align:start position:0%
simple we'll just go with 41 41 41 for
one<00:05:24.720><c> um</c><00:05:24.960><c> and</c><00:05:25.080><c> you</c><00:05:25.160><c> obviously</c><00:05:25.440><c> you</c><00:05:25.479><c> can</c><00:05:25.600><c> replace</c>

00:05:25.909 --> 00:05:25.919 align:start position:0%
one um and you obviously you can replace
 

00:05:25.919 --> 00:05:27.629 align:start position:0%
one um and you obviously you can replace
this<00:05:26.160><c> whatever</c><00:05:26.440><c> value</c><00:05:26.759><c> you</c><00:05:26.919><c> want</c><00:05:27.440><c> um</c><00:05:27.560><c> if</c>

00:05:27.629 --> 00:05:27.639 align:start position:0%
this whatever value you want um if
 

00:05:27.639 --> 00:05:28.790 align:start position:0%
this whatever value you want um if
you're<00:05:27.759><c> actually</c><00:05:28.000><c> attempting</c><00:05:28.360><c> to</c><00:05:28.479><c> do</c><00:05:28.639><c> some</c>

00:05:28.790 --> 00:05:28.800 align:start position:0%
you're actually attempting to do some
 

00:05:28.800 --> 00:05:29.990 align:start position:0%
you're actually attempting to do some
kind<00:05:28.919><c> of</c><00:05:29.000><c> real</c><00:05:29.240><c> patch</c><00:05:29.400><c> or</c><00:05:29.479><c> something</c><00:05:29.840><c> like</c>

00:05:29.990 --> 00:05:30.000 align:start position:0%
kind of real patch or something like
 

00:05:30.000 --> 00:05:32.110 align:start position:0%
kind of real patch or something like
that<00:05:30.520><c> but</c><00:05:30.680><c> this</c><00:05:30.800><c> will</c><00:05:30.919><c> be</c><00:05:31.080><c> fine</c><00:05:31.319><c> for</c><00:05:31.520><c> the</c>

00:05:32.110 --> 00:05:32.120 align:start position:0%
that but this will be fine for the
 

00:05:32.120 --> 00:05:34.230 align:start position:0%
that but this will be fine for the
purposes<00:05:32.560><c> of</c><00:05:32.720><c> this</c><00:05:33.039><c> demonstration</c><00:05:34.039><c> then</c><00:05:34.160><c> we</c>

00:05:34.230 --> 00:05:34.240 align:start position:0%
purposes of this demonstration then we
 

00:05:34.240 --> 00:05:37.870 align:start position:0%
purposes of this demonstration then we
want<00:05:34.360><c> to</c><00:05:34.520><c> call</c><00:05:35.479><c> BM</c><00:05:36.120><c> right</c><00:05:37.120><c> and</c><00:05:37.240><c> this</c><00:05:37.400><c> takes</c>

00:05:37.870 --> 00:05:37.880 align:start position:0%
want to call BM right and this takes
 

00:05:37.880 --> 00:05:39.469 align:start position:0%
want to call BM right and this takes
four<00:05:38.160><c> arguments</c><00:05:38.639><c> now</c><00:05:38.720><c> it</c><00:05:38.840><c> actually</c><00:05:39.080><c> takes</c><00:05:39.319><c> the</c>

00:05:39.469 --> 00:05:39.479 align:start position:0%
four arguments now it actually takes the
 

00:05:39.479 --> 00:05:41.749 align:start position:0%
four arguments now it actually takes the
kernel<00:05:39.919><c> task</c><00:05:40.280><c> Port</c><00:05:41.000><c> which</c><00:05:41.199><c> we</c><00:05:41.319><c> would</c><00:05:41.440><c> have</c>

00:05:41.749 --> 00:05:41.759 align:start position:0%
kernel task Port which we would have
 

00:05:41.759 --> 00:05:43.830 align:start position:0%
kernel task Port which we would have
returned<00:05:42.080><c> so</c><00:05:42.199><c> we</c><00:05:42.319><c> do</c><00:05:42.479><c> need</c><00:05:42.680><c> to</c><00:05:42.880><c> take</c><00:05:43.080><c> in</c><00:05:43.639><c> a</c>

00:05:43.830 --> 00:05:43.840 align:start position:0%
returned so we do need to take in a
 

00:05:43.840 --> 00:05:48.350 align:start position:0%
returned so we do need to take in a
parameter<00:05:44.319><c> here</c><00:05:44.520><c> so</c><00:05:44.720><c> this</c><00:05:44.800><c> will</c><00:05:45.039><c> just</c><00:05:45.240><c> be</c><00:05:46.560><c> uh</c>

00:05:48.350 --> 00:05:48.360 align:start position:0%
parameter here so this will just be uh
 

00:05:48.360 --> 00:05:53.070 align:start position:0%
parameter here so this will just be uh
int<00:05:49.440><c> task</c><00:05:50.440><c> and</c><00:05:50.560><c> then</c><00:05:50.759><c> when</c><00:05:50.919><c> we</c><00:05:51.120><c> call</c><00:05:52.080><c> right</c>

00:05:53.070 --> 00:05:53.080 align:start position:0%
int task and then when we call right
 

00:05:53.080 --> 00:05:56.309 align:start position:0%
int task and then when we call right
right<00:05:53.240><c> test</c><00:05:53.479><c> down</c><00:05:53.720><c> here</c><00:05:54.280><c> we</c><00:05:54.400><c> need</c><00:05:54.520><c> to</c><00:05:54.759><c> pass</c><00:05:55.319><c> in</c>

00:05:56.309 --> 00:05:56.319 align:start position:0%
right test down here we need to pass in
 

00:05:56.319 --> 00:05:59.270 align:start position:0%
right test down here we need to pass in
the<00:05:56.520><c> kernel</c><00:05:57.360><c> task</c><00:05:58.360><c> just</c><00:05:58.479><c> so</c><00:05:58.639><c> it's</c><00:05:58.800><c> got</c><00:05:59.039><c> access</c>

00:05:59.270 --> 00:05:59.280 align:start position:0%
the kernel task just so it's got access
 

00:05:59.280 --> 00:06:01.070 align:start position:0%
the kernel task just so it's got access
to<00:05:59.440><c> it</c>

00:06:01.070 --> 00:06:01.080 align:start position:0%
to it
 

00:06:01.080 --> 00:06:02.749 align:start position:0%
to it
and<00:06:01.280><c> there</c><00:06:01.400><c> we</c><00:06:01.520><c> go</c><00:06:01.759><c> so</c><00:06:02.120><c> we</c><00:06:02.240><c> want</c><00:06:02.400><c> our</c><00:06:02.560><c> first</c>

00:06:02.749 --> 00:06:02.759 align:start position:0%
and there we go so we want our first
 

00:06:02.759 --> 00:06:04.629 align:start position:0%
and there we go so we want our first
argument<00:06:03.120><c> to</c><00:06:03.240><c> be</c><00:06:03.479><c> this</c><00:06:03.639><c> actual</c><00:06:03.919><c> task</c><00:06:04.240><c> for</c><00:06:04.520><c> to</c>

00:06:04.629 --> 00:06:04.639 align:start position:0%
argument to be this actual task for to
 

00:06:04.639 --> 00:06:07.110 align:start position:0%
argument to be this actual task for to
the<00:06:04.880><c> konel</c><00:06:05.880><c> so</c><00:06:06.039><c> that</c><00:06:06.160><c> it</c><00:06:06.240><c> knows</c><00:06:06.560><c> where</c><00:06:06.720><c> to</c><00:06:06.960><c> get</c>

00:06:07.110 --> 00:06:07.120 align:start position:0%
the konel so that it knows where to get
 

00:06:07.120 --> 00:06:09.270 align:start position:0%
the konel so that it knows where to get
the<00:06:07.360><c> virtual</c><00:06:07.720><c> memory</c><00:06:07.919><c> mappings</c><00:06:08.319><c> from</c><00:06:09.000><c> then</c><00:06:09.160><c> we</c>

00:06:09.270 --> 00:06:09.280 align:start position:0%
the virtual memory mappings from then we
 

00:06:09.280 --> 00:06:11.670 align:start position:0%
the virtual memory mappings from then we
want<00:06:09.599><c> the</c><00:06:09.919><c> address</c><00:06:10.520><c> inside</c><00:06:10.880><c> the</c><00:06:11.039><c> kernel</c><00:06:11.440><c> so</c>

00:06:11.670 --> 00:06:11.680 align:start position:0%
want the address inside the kernel so
 

00:06:11.680 --> 00:06:13.510 align:start position:0%
want the address inside the kernel so
inside<00:06:11.919><c> the</c><00:06:12.039><c> virtual</c><00:06:12.360><c> memory</c><00:06:13.000><c> space</c><00:06:13.280><c> of</c><00:06:13.400><c> the</c>

00:06:13.510 --> 00:06:13.520 align:start position:0%
inside the virtual memory space of the
 

00:06:13.520 --> 00:06:17.150 align:start position:0%
inside the virtual memory space of the
kernel<00:06:14.240><c> so</c><00:06:14.520><c> we</c><00:06:14.639><c> will</c><00:06:14.800><c> do</c><00:06:15.000><c> a</c><00:06:15.520><c> uh</c><00:06:15.759><c> type</c><00:06:16.120><c> cast</c><00:06:16.599><c> to</c>

00:06:17.150 --> 00:06:17.160 align:start position:0%
kernel so we will do a uh type cast to
 

00:06:17.160 --> 00:06:20.629 align:start position:0%
kernel so we will do a uh type cast to
VM<00:06:18.160><c> address</c><00:06:18.720><c> T</c><00:06:19.680><c> and</c><00:06:19.840><c> then</c><00:06:19.960><c> we'll</c><00:06:20.160><c> just</c><00:06:20.319><c> put</c><00:06:20.479><c> the</c>

00:06:20.629 --> 00:06:20.639 align:start position:0%
VM address T and then we'll just put the
 

00:06:20.639 --> 00:06:22.830 align:start position:0%
VM address T and then we'll just put the
address<00:06:21.120><c> of</c><00:06:21.639><c> uh</c><00:06:21.840><c> a</c><00:06:22.000><c> place</c><00:06:22.199><c> in</c><00:06:22.319><c> the</c><00:06:22.479><c> kernel</c><00:06:22.759><c> we</c>

00:06:22.830 --> 00:06:22.840 align:start position:0%
address of uh a place in the kernel we
 

00:06:22.840 --> 00:06:24.629 align:start position:0%
address of uh a place in the kernel we
want<00:06:22.919><c> to</c><00:06:23.000><c> overwrite</c><00:06:23.479><c> now</c><00:06:23.960><c> to</c><00:06:24.160><c> locate</c><00:06:24.479><c> your</c>

00:06:24.629 --> 00:06:24.639 align:start position:0%
want to overwrite now to locate your
 

00:06:24.639 --> 00:06:25.790 align:start position:0%
want to overwrite now to locate your
addresses<00:06:25.000><c> in</c><00:06:25.080><c> the</c><00:06:25.199><c> kernel</c><00:06:25.479><c> you're</c><00:06:25.560><c> obviously</c>

00:06:25.790 --> 00:06:25.800 align:start position:0%
addresses in the kernel you're obviously
 

00:06:25.800 --> 00:06:28.070 align:start position:0%
addresses in the kernel you're obviously
going<00:06:25.880><c> to</c><00:06:26.000><c> need</c><00:06:26.199><c> a</c><00:06:26.360><c> kernel</c><00:06:26.680><c> dump</c><00:06:27.319><c> or</c><00:06:27.639><c> a</c><00:06:27.800><c> kernel</c>

00:06:28.070 --> 00:06:28.080 align:start position:0%
going to need a kernel dump or a kernel
 

00:06:28.080 --> 00:06:29.990 align:start position:0%
going to need a kernel dump or a kernel
cach<00:06:28.319><c> file</c><00:06:28.520><c> that's</c><00:06:28.680><c> decrypted</c><00:06:29.240><c> so</c><00:06:29.759><c> I'm</c><00:06:29.880><c> going</c>

00:06:29.990 --> 00:06:30.000 align:start position:0%
cach file that's decrypted so I'm going
 

00:06:30.000 --> 00:06:31.950 align:start position:0%
cach file that's decrypted so I'm going
to<00:06:30.080><c> use</c><00:06:30.319><c> Hopper</c><00:06:31.039><c> and</c><00:06:31.319><c> if</c><00:06:31.400><c> we</c><00:06:31.520><c> just</c><00:06:31.639><c> open</c><00:06:31.840><c> up</c>

00:06:31.950 --> 00:06:31.960 align:start position:0%
to use Hopper and if we just open up
 

00:06:31.960 --> 00:06:33.749 align:start position:0%
to use Hopper and if we just open up
hopper<00:06:32.360><c> here</c><00:06:32.919><c> so</c><00:06:33.080><c> I've</c><00:06:33.199><c> got</c><00:06:33.319><c> a</c><00:06:33.440><c> couple</c><00:06:33.639><c> of</c>

00:06:33.749 --> 00:06:33.759 align:start position:0%
hopper here so I've got a couple of
 

00:06:33.759 --> 00:06:35.270 align:start position:0%
hopper here so I've got a couple of
decrypted<00:06:34.199><c> Kel</c><00:06:34.520><c> cach</c><00:06:34.720><c> files</c><00:06:35.000><c> here</c><00:06:35.080><c> so</c><00:06:35.199><c> I'm</c>

00:06:35.270 --> 00:06:35.280 align:start position:0%
decrypted Kel cach files here so I'm
 

00:06:35.280 --> 00:06:36.710 align:start position:0%
decrypted Kel cach files here so I'm
going<00:06:35.360><c> to</c><00:06:35.440><c> use</c><00:06:35.639><c> this</c><00:06:35.759><c> one</c><00:06:35.919><c> for</c><00:06:36.080><c> the</c><00:06:36.199><c> iPhone</c><00:06:36.479><c> 4</c>

00:06:36.710 --> 00:06:36.720 align:start position:0%
going to use this one for the iPhone 4
 

00:06:36.720 --> 00:06:39.070 align:start position:0%
going to use this one for the iPhone 4
running<00:06:37.080><c> iOS</c><00:06:37.360><c> 7.1.2</c><00:06:38.360><c> now</c><00:06:38.479><c> this</c><00:06:38.599><c> will</c><00:06:38.720><c> be</c><00:06:38.880><c> very</c>

00:06:39.070 --> 00:06:39.080 align:start position:0%
running iOS 7.1.2 now this will be very
 

00:06:39.080 --> 00:06:40.589 align:start position:0%
running iOS 7.1.2 now this will be very
specific<00:06:39.400><c> to</c><00:06:39.560><c> the</c><00:06:39.759><c> device</c><00:06:40.080><c> and</c><00:06:40.280><c> version</c>

00:06:40.589 --> 00:06:40.599 align:start position:0%
specific to the device and version
 

00:06:40.599 --> 00:06:42.350 align:start position:0%
specific to the device and version
you're<00:06:40.800><c> using</c><00:06:41.120><c> so</c><00:06:41.319><c> make</c><00:06:41.479><c> sure</c><00:06:42.000><c> you</c><00:06:42.160><c> do</c>

00:06:42.350 --> 00:06:42.360 align:start position:0%
you're using so make sure you do
 

00:06:42.360 --> 00:06:43.870 align:start position:0%
you're using so make sure you do
download<00:06:42.680><c> one</c><00:06:42.919><c> specific</c><00:06:43.280><c> to</c><00:06:43.400><c> the</c><00:06:43.520><c> device</c><00:06:43.759><c> you</c>

00:06:43.870 --> 00:06:43.880 align:start position:0%
download one specific to the device you
 

00:06:43.880 --> 00:06:45.589 align:start position:0%
download one specific to the device you
are<00:06:44.000><c> targe</c><00:06:44.319><c> in</c><00:06:44.960><c> we're</c><00:06:45.080><c> just</c><00:06:45.160><c> going</c><00:06:45.240><c> to</c><00:06:45.319><c> open</c>

00:06:45.589 --> 00:06:45.599 align:start position:0%
are targe in we're just going to open
 

00:06:45.599 --> 00:06:46.790 align:start position:0%
are targe in we're just going to open
this<00:06:45.720><c> and</c><00:06:45.840><c> allow</c><00:06:46.039><c> it</c><00:06:46.120><c> to</c><00:06:46.199><c> disassemble</c><00:06:46.639><c> for</c><00:06:46.720><c> a</c>

00:06:46.790 --> 00:06:46.800 align:start position:0%
this and allow it to disassemble for a
 

00:06:46.800 --> 00:06:48.430 align:start position:0%
this and allow it to disassemble for a
couple<00:06:47.080><c> seconds</c><00:06:47.680><c> now</c><00:06:47.840><c> in</c><00:06:48.039><c> here</c><00:06:48.199><c> is</c><00:06:48.319><c> where</c>

00:06:48.430 --> 00:06:48.440 align:start position:0%
couple seconds now in here is where
 

00:06:48.440 --> 00:06:50.070 align:start position:0%
couple seconds now in here is where
you'll<00:06:48.680><c> find</c><00:06:48.960><c> the</c><00:06:49.080><c> addresses</c><00:06:49.560><c> to</c><00:06:49.800><c> whatever</c>

00:06:50.070 --> 00:06:50.080 align:start position:0%
you'll find the addresses to whatever
 

00:06:50.080 --> 00:06:51.350 align:start position:0%
you'll find the addresses to whatever
you<00:06:50.160><c> want</c><00:06:50.280><c> to</c><00:06:50.440><c> Target</c><00:06:50.840><c> so</c><00:06:50.960><c> if</c><00:06:51.000><c> you</c><00:06:51.080><c> want</c><00:06:51.199><c> to</c>

00:06:51.350 --> 00:06:51.360 align:start position:0%
you want to Target so if you want to
 

00:06:51.360 --> 00:06:52.749 align:start position:0%
you want to Target so if you want to
apply<00:06:51.599><c> a</c><00:06:51.720><c> patch</c><00:06:51.919><c> to</c><00:06:52.039><c> an</c><00:06:52.160><c> actual</c><00:06:52.440><c> function</c><00:06:52.680><c> in</c>

00:06:52.749 --> 00:06:52.759 align:start position:0%
apply a patch to an actual function in
 

00:06:52.759 --> 00:06:54.270 align:start position:0%
apply a patch to an actual function in
the<00:06:52.840><c> kernel</c><00:06:53.160><c> then</c><00:06:53.280><c> obviously</c><00:06:53.919><c> it's</c><00:06:54.080><c> going</c><00:06:54.160><c> to</c>

00:06:54.270 --> 00:06:54.280 align:start position:0%
the kernel then obviously it's going to
 

00:06:54.280 --> 00:06:55.749 align:start position:0%
the kernel then obviously it's going to
move<00:06:54.479><c> in</c><00:06:54.639><c> the</c><00:06:54.759><c> text</c><00:06:55.039><c> segment</c><00:06:55.280><c> or</c><00:06:55.400><c> the</c><00:06:55.520><c> code</c>

00:06:55.749 --> 00:06:55.759 align:start position:0%
move in the text segment or the code
 

00:06:55.759 --> 00:06:57.589 align:start position:0%
move in the text segment or the code
segment<00:06:56.560><c> uh</c><00:06:56.680><c> you</c><00:06:56.800><c> can</c><00:06:57.000><c> also</c><00:06:57.240><c> just</c><00:06:57.360><c> do</c>

00:06:57.589 --> 00:06:57.599 align:start position:0%
segment uh you can also just do
 

00:06:57.599 --> 00:06:59.350 align:start position:0%
segment uh you can also just do
variables<00:06:58.000><c> or</c><00:06:58.240><c> strings</c><00:06:58.919><c> if</c><00:06:59.000><c> you</c><00:06:59.080><c> just</c><00:06:59.160><c> want</c><00:06:59.280><c> to</c>

00:06:59.350 --> 00:06:59.360 align:start position:0%
variables or strings if you just want to
 

00:06:59.360 --> 00:07:01.189 align:start position:0%
variables or strings if you just want to
make<00:06:59.720><c> around</c><00:06:59.879><c> and</c><00:07:00.080><c> test</c><00:07:00.400><c> things</c><00:07:00.639><c> and</c><00:07:01.080><c> I</c>

00:07:01.189 --> 00:07:01.199 align:start position:0%
make around and test things and I
 

00:07:01.199 --> 00:07:03.110 align:start position:0%
make around and test things and I
recommend<00:07:01.560><c> starting</c><00:07:01.879><c> off</c><00:07:02.080><c> with</c><00:07:02.560><c> a</c><00:07:02.759><c> basic</c>

00:07:03.110 --> 00:07:03.120 align:start position:0%
recommend starting off with a basic
 

00:07:03.120 --> 00:07:04.510 align:start position:0%
recommend starting off with a basic
string<00:07:03.479><c> or</c><00:07:03.639><c> something</c><00:07:03.879><c> that</c><00:07:03.960><c> you</c><00:07:04.039><c> can</c><00:07:04.160><c> easily</c>

00:07:04.510 --> 00:07:04.520 align:start position:0%
string or something that you can easily
 

00:07:04.520 --> 00:07:06.150 align:start position:0%
string or something that you can easily
check<00:07:04.879><c> now</c><00:07:05.000><c> one</c><00:07:05.120><c> of</c><00:07:05.199><c> the</c><00:07:05.360><c> good</c><00:07:05.520><c> examples</c><00:07:05.960><c> I</c>

00:07:06.150 --> 00:07:06.160 align:start position:0%
check now one of the good examples I
 

00:07:06.160 --> 00:07:07.830 align:start position:0%
check now one of the good examples I
found<00:07:06.440><c> is</c><00:07:06.599><c> the</c><00:07:06.720><c> actual</c><00:07:07.120><c> kernel</c><00:07:07.560><c> version</c>

00:07:07.830 --> 00:07:07.840 align:start position:0%
found is the actual kernel version
 

00:07:07.840 --> 00:07:09.150 align:start position:0%
found is the actual kernel version
string<00:07:08.240><c> so</c><00:07:08.360><c> this</c><00:07:08.479><c> is</c><00:07:08.599><c> the</c><00:07:08.720><c> first</c><00:07:08.879><c> thing</c><00:07:09.000><c> that</c>

00:07:09.150 --> 00:07:09.160 align:start position:0%
string so this is the first thing that
 

00:07:09.160 --> 00:07:11.070 align:start position:0%
string so this is the first thing that
comes<00:07:09.319><c> up</c><00:07:09.479><c> in</c><00:07:09.599><c> the</c><00:07:09.680><c> string</c><00:07:10.080><c> section</c><00:07:10.800><c> but</c><00:07:11.000><c> this</c>

00:07:11.070 --> 00:07:11.080 align:start position:0%
comes up in the string section but this
 

00:07:11.080 --> 00:07:12.390 align:start position:0%
comes up in the string section but this
is<00:07:11.240><c> actually</c><00:07:11.479><c> what</c><00:07:11.599><c> you</c><00:07:11.680><c> will</c><00:07:11.840><c> see</c><00:07:12.120><c> when</c><00:07:12.240><c> you</c>

00:07:12.390 --> 00:07:12.400 align:start position:0%
is actually what you will see when you
 

00:07:12.400 --> 00:07:15.029 align:start position:0%
is actually what you will see when you
run<00:07:12.639><c> the</c><00:07:12.759><c> UN</c><00:07:13.039><c> name-</c><00:07:13.639><c> a</c><00:07:13.879><c> command</c><00:07:14.720><c> uh</c><00:07:14.800><c> through</c>

00:07:15.029 --> 00:07:15.039 align:start position:0%
run the UN name- a command uh through
 

00:07:15.039 --> 00:07:17.110 align:start position:0%
run the UN name- a command uh through
mobile<00:07:15.319><c> terminal</c><00:07:15.840><c> or</c><00:07:16.000><c> through</c><00:07:16.280><c> SSH</c><00:07:16.759><c> on</c><00:07:16.919><c> your</c>

00:07:17.110 --> 00:07:17.120 align:start position:0%
mobile terminal or through SSH on your
 

00:07:17.120 --> 00:07:18.749 align:start position:0%
mobile terminal or through SSH on your
device<00:07:17.599><c> it</c><00:07:17.680><c> will</c><00:07:17.879><c> actually</c><00:07:18.240><c> display</c><00:07:18.639><c> the</c>

00:07:18.749 --> 00:07:18.759 align:start position:0%
device it will actually display the
 

00:07:18.759 --> 00:07:20.830 align:start position:0%
device it will actually display the
kernel<00:07:19.160><c> information</c><00:07:19.960><c> using</c><00:07:20.319><c> the</c><00:07:20.440><c> string</c><00:07:20.759><c> that</c>

00:07:20.830 --> 00:07:20.840 align:start position:0%
kernel information using the string that
 

00:07:20.840 --> 00:07:22.990 align:start position:0%
kernel information using the string that
is<00:07:20.960><c> at</c><00:07:21.160><c> this</c><00:07:21.319><c> address</c><00:07:21.639><c> in</c><00:07:21.759><c> the</c><00:07:21.919><c> kernel</c><00:07:22.360><c> so</c><00:07:22.879><c> if</c>

00:07:22.990 --> 00:07:23.000 align:start position:0%
is at this address in the kernel so if
 

00:07:23.000 --> 00:07:24.990 align:start position:0%
is at this address in the kernel so if
you<00:07:23.360><c> uh</c><00:07:23.560><c> write</c><00:07:23.800><c> some</c><00:07:24.000><c> arbitary</c><00:07:24.440><c> bytes</c><00:07:24.759><c> over</c>

00:07:24.990 --> 00:07:25.000 align:start position:0%
you uh write some arbitary bytes over
 

00:07:25.000 --> 00:07:27.029 align:start position:0%
you uh write some arbitary bytes over
this<00:07:25.160><c> string</c><00:07:25.759><c> then</c><00:07:25.919><c> when</c><00:07:26.039><c> you</c><00:07:26.120><c> run</c><00:07:26.360><c> new</c><00:07:26.560><c> name-</c>

00:07:27.029 --> 00:07:27.039 align:start position:0%
this string then when you run new name-
 

00:07:27.039 --> 00:07:29.990 align:start position:0%
this string then when you run new name-
a<00:07:27.680><c> the</c><00:07:27.840><c> kernel</c><00:07:28.199><c> version</c><00:07:28.919><c> uh</c><00:07:29.080><c> string</c><00:07:29.520><c> will</c><00:07:29.680><c> be</c>

00:07:29.990 --> 00:07:30.000 align:start position:0%
a the kernel version uh string will be
 

00:07:30.000 --> 00:07:31.510 align:start position:0%
a the kernel version uh string will be
different<00:07:30.319><c> or</c><00:07:30.479><c> altered</c><00:07:30.960><c> so</c><00:07:31.120><c> this</c><00:07:31.240><c> is</c><00:07:31.360><c> how</c>

00:07:31.510 --> 00:07:31.520 align:start position:0%
different or altered so this is how
 

00:07:31.520 --> 00:07:33.150 align:start position:0%
different or altered so this is how
people<00:07:31.919><c> have</c><00:07:32.080><c> actually</c><00:07:32.319><c> faked</c><00:07:32.720><c> the</c><00:07:32.800><c> kernel</c>

00:07:33.150 --> 00:07:33.160 align:start position:0%
people have actually faked the kernel
 

00:07:33.160 --> 00:07:34.909 align:start position:0%
people have actually faked the kernel
version<00:07:33.440><c> in</c><00:07:33.560><c> the</c><00:07:33.720><c> past</c><00:07:34.400><c> um</c><00:07:34.479><c> but</c><00:07:34.599><c> you</c><00:07:34.680><c> can</c><00:07:34.759><c> use</c>

00:07:34.909 --> 00:07:34.919 align:start position:0%
version in the past um but you can use
 

00:07:34.919 --> 00:07:36.469 align:start position:0%
version in the past um but you can use
this<00:07:35.080><c> as</c><00:07:35.160><c> a</c><00:07:35.280><c> simple</c><00:07:35.639><c> test</c><00:07:36.000><c> so</c><00:07:36.160><c> we're</c><00:07:36.280><c> going</c><00:07:36.360><c> to</c>

00:07:36.469 --> 00:07:36.479 align:start position:0%
this as a simple test so we're going to
 

00:07:36.479 --> 00:07:37.550 align:start position:0%
this as a simple test so we're going to
use<00:07:36.639><c> this</c><00:07:36.800><c> address</c><00:07:37.039><c> we're</c><00:07:37.160><c> going</c><00:07:37.240><c> to</c><00:07:37.319><c> take</c>

00:07:37.550 --> 00:07:37.560 align:start position:0%
use this address we're going to take
 

00:07:37.560 --> 00:07:39.309 align:start position:0%
use this address we're going to take
down<00:07:37.759><c> the</c><00:07:37.879><c> address</c><00:07:38.240><c> right</c><00:07:38.400><c> here</c><00:07:39.080><c> going</c><00:07:39.199><c> to</c>

00:07:39.309 --> 00:07:39.319 align:start position:0%
down the address right here going to
 

00:07:39.319 --> 00:07:41.430 align:start position:0%
down the address right here going to
copy<00:07:39.639><c> that</c><00:07:40.440><c> um</c><00:07:40.639><c> as</c><00:07:40.720><c> I</c><00:07:40.840><c> said</c><00:07:41.080><c> obviously</c><00:07:41.360><c> you</c>

00:07:41.430 --> 00:07:41.440 align:start position:0%
copy that um as I said obviously you
 

00:07:41.440 --> 00:07:42.710 align:start position:0%
copy that um as I said obviously you
could<00:07:41.520><c> do</c><00:07:41.639><c> this</c><00:07:41.759><c> with</c><00:07:41.919><c> anything</c><00:07:42.160><c> else</c><00:07:42.400><c> but</c><00:07:42.560><c> for</c>

00:07:42.710 --> 00:07:42.720 align:start position:0%
could do this with anything else but for
 

00:07:42.720 --> 00:07:44.110 align:start position:0%
could do this with anything else but for
this<00:07:42.919><c> example</c><00:07:43.360><c> we're</c><00:07:43.520><c> just</c><00:07:43.639><c> going</c><00:07:43.720><c> to</c><00:07:43.840><c> use</c>

00:07:44.110 --> 00:07:44.120 align:start position:0%
this example we're just going to use
 

00:07:44.120 --> 00:07:46.710 align:start position:0%
this example we're just going to use
this<00:07:44.680><c> um</c><00:07:44.919><c> kernel</c><00:07:45.280><c> version</c><00:07:45.560><c> string</c><00:07:46.479><c> and</c><00:07:46.599><c> I'm</c>

00:07:46.710 --> 00:07:46.720 align:start position:0%
this um kernel version string and I'm
 

00:07:46.720 --> 00:07:48.790 align:start position:0%
this um kernel version string and I'm
going<00:07:46.840><c> to</c><00:07:47.000><c> just</c><00:07:47.360><c> cancel</c><00:07:47.800><c> this</c>

00:07:48.790 --> 00:07:48.800 align:start position:0%
going to just cancel this
 

00:07:48.800 --> 00:07:50.469 align:start position:0%
going to just cancel this
disassembly<00:07:49.800><c> um</c><00:07:49.919><c> so</c><00:07:50.039><c> we're</c><00:07:50.159><c> going</c><00:07:50.240><c> to</c><00:07:50.319><c> put</c>

00:07:50.469 --> 00:07:50.479 align:start position:0%
disassembly um so we're going to put
 

00:07:50.479 --> 00:07:52.589 align:start position:0%
disassembly um so we're going to put
this<00:07:50.599><c> address</c><00:07:50.919><c> in</c><00:07:51.360><c> right</c><00:07:51.599><c> here</c><00:07:51.919><c> now</c><00:07:52.319><c> I</c><00:07:52.440><c> know</c>

00:07:52.589 --> 00:07:52.599 align:start position:0%
this address in right here now I know
 

00:07:52.599 --> 00:07:55.350 align:start position:0%
this address in right here now I know
you<00:07:52.680><c> may</c><00:07:52.840><c> be</c><00:07:52.960><c> thinking</c><00:07:53.680><c> what</c><00:07:53.840><c> about</c><00:07:54.400><c> kslr</c><00:07:55.159><c> or</c>

00:07:55.350 --> 00:07:55.360 align:start position:0%
you may be thinking what about kslr or
 

00:07:55.360 --> 00:07:58.149 align:start position:0%
you may be thinking what about kslr or
KLR<00:07:56.240><c> in</c><00:07:56.319><c> the</c><00:07:56.479><c> kernel</c><00:07:56.919><c> now</c><00:07:57.319><c> this</c><00:07:57.599><c> obviously</c>

00:07:58.149 --> 00:07:58.159 align:start position:0%
KLR in the kernel now this obviously
 

00:07:58.159 --> 00:08:01.149 align:start position:0%
KLR in the kernel now this obviously
will<00:07:58.319><c> be</c><00:07:58.479><c> a</c><00:07:58.599><c> huge</c><00:07:58.840><c> issue</c><00:07:59.680><c> it</c><00:07:59.800><c> will</c><00:08:00.000><c> affect</c><00:08:00.520><c> the</c>

00:08:01.149 --> 00:08:01.159 align:start position:0%
will be a huge issue it will affect the
 

00:08:01.159 --> 00:08:02.830 align:start position:0%
will be a huge issue it will affect the
randomization<00:08:01.879><c> of</c><00:08:02.039><c> this</c><00:08:02.199><c> address</c><00:08:02.479><c> so</c><00:08:02.680><c> this</c>

00:08:02.830 --> 00:08:02.840 align:start position:0%
randomization of this address so this
 

00:08:02.840 --> 00:08:04.309 align:start position:0%
randomization of this address so this
address<00:08:03.199><c> the</c><00:08:03.360><c> kernel</c><00:08:03.639><c> version</c><00:08:03.879><c> string</c><00:08:04.159><c> will</c>

00:08:04.309 --> 00:08:04.319 align:start position:0%
address the kernel version string will
 

00:08:04.319 --> 00:08:06.749 align:start position:0%
address the kernel version string will
not<00:08:04.479><c> be</c><00:08:04.639><c> located</c><00:08:05.159><c> here</c><00:08:05.400><c> in</c><00:08:05.479><c> the</c><00:08:05.639><c> live</c><00:08:05.919><c> kernel</c>

00:08:06.749 --> 00:08:06.759 align:start position:0%
not be located here in the live kernel
 

00:08:06.759 --> 00:08:09.550 align:start position:0%
not be located here in the live kernel
unless<00:08:07.039><c> you</c><00:08:07.280><c> add</c><00:08:07.720><c> the</c><00:08:07.919><c> aslr</c><00:08:08.560><c> slide</c><00:08:09.159><c> to</c><00:08:09.400><c> this</c>

00:08:09.550 --> 00:08:09.560 align:start position:0%
unless you add the aslr slide to this
 

00:08:09.560 --> 00:08:11.230 align:start position:0%
unless you add the aslr slide to this
address<00:08:09.840><c> to</c><00:08:10.000><c> calculate</c><00:08:10.440><c> the</c><00:08:10.599><c> live</c><00:08:10.840><c> address</c>

00:08:11.230 --> 00:08:11.240 align:start position:0%
address to calculate the live address
 

00:08:11.240 --> 00:08:13.749 align:start position:0%
address to calculate the live address
now<00:08:12.039><c> um</c><00:08:12.400><c> if</c><00:08:12.479><c> you</c><00:08:12.680><c> watch</c><00:08:13.039><c> the</c><00:08:13.199><c> previous</c><00:08:13.520><c> video</c>

00:08:13.749 --> 00:08:13.759 align:start position:0%
now um if you watch the previous video
 

00:08:13.759 --> 00:08:15.230 align:start position:0%
now um if you watch the previous video
which<00:08:13.879><c> I</c><00:08:14.000><c> already</c><00:08:14.159><c> did</c><00:08:14.360><c> mention</c><00:08:15.080><c> this</c>

00:08:15.230 --> 00:08:15.240 align:start position:0%
which I already did mention this
 

00:08:15.240 --> 00:08:16.710 align:start position:0%
which I already did mention this
actually<00:08:15.520><c> shows</c><00:08:15.720><c> you</c><00:08:15.879><c> how</c><00:08:15.960><c> to</c><00:08:16.159><c> exploit</c><00:08:16.599><c> a</c>

00:08:16.710 --> 00:08:16.720 align:start position:0%
actually shows you how to exploit a
 

00:08:16.720 --> 00:08:18.589 align:start position:0%
actually shows you how to exploit a
vulnerability<00:08:17.240><c> in</c><00:08:17.360><c> the</c><00:08:17.520><c> kernel</c><00:08:18.240><c> that</c><00:08:18.400><c> gives</c>

00:08:18.589 --> 00:08:18.599 align:start position:0%
vulnerability in the kernel that gives
 

00:08:18.599 --> 00:08:20.230 align:start position:0%
vulnerability in the kernel that gives
you<00:08:18.800><c> the</c><00:08:18.919><c> ability</c><00:08:19.199><c> to</c><00:08:19.400><c> calculate</c><00:08:19.800><c> this</c><00:08:19.960><c> slide</c>

00:08:20.230 --> 00:08:20.240 align:start position:0%
you the ability to calculate this slide
 

00:08:20.240 --> 00:08:22.189 align:start position:0%
you the ability to calculate this slide
and<00:08:20.440><c> add</c><00:08:20.599><c> it</c><00:08:20.680><c> to</c><00:08:20.840><c> any</c><00:08:21.039><c> address</c><00:08:21.440><c> so</c><00:08:21.800><c> I</c><00:08:21.879><c> won't</c><00:08:22.080><c> be</c>

00:08:22.189 --> 00:08:22.199 align:start position:0%
and add it to any address so I won't be
 

00:08:22.199 --> 00:08:23.510 align:start position:0%
and add it to any address so I won't be
covering<00:08:22.479><c> that</c><00:08:22.599><c> in</c><00:08:22.680><c> this</c><00:08:22.840><c> video</c><00:08:23.080><c> since</c><00:08:23.240><c> I</c><00:08:23.319><c> did</c>

00:08:23.510 --> 00:08:23.520 align:start position:0%
covering that in this video since I did
 

00:08:23.520 --> 00:08:25.270 align:start position:0%
covering that in this video since I did
already<00:08:23.680><c> make</c><00:08:23.919><c> this</c><00:08:24.039><c> video</c><00:08:24.319><c> for</c><00:08:24.560><c> that</c><00:08:24.879><c> so</c><00:08:25.120><c> go</c>

00:08:25.270 --> 00:08:25.280 align:start position:0%
already make this video for that so go
 

00:08:25.280 --> 00:08:26.749 align:start position:0%
already make this video for that so go
and<00:08:25.440><c> watch</c><00:08:25.720><c> this</c><00:08:25.919><c> if</c><00:08:26.039><c> you</c><00:08:26.120><c> want</c><00:08:26.240><c> to</c><00:08:26.360><c> know</c><00:08:26.599><c> how</c>

00:08:26.749 --> 00:08:26.759 align:start position:0%
and watch this if you want to know how
 

00:08:26.759 --> 00:08:28.909 align:start position:0%
and watch this if you want to know how
to<00:08:27.039><c> defeat</c><00:08:27.479><c> aslr</c><00:08:28.479><c> and</c><00:08:28.560><c> then</c><00:08:28.720><c> you</c><00:08:28.800><c> can</c>

00:08:28.909 --> 00:08:28.919 align:start position:0%
to defeat aslr and then you can
 

00:08:28.919 --> 00:08:30.430 align:start position:0%
to defeat aslr and then you can
implement<00:08:29.319><c> the</c><00:08:29.599><c> function</c><00:08:29.960><c> I</c><00:08:30.080><c> show</c><00:08:30.240><c> you</c><00:08:30.319><c> guys</c>

00:08:30.430 --> 00:08:30.440 align:start position:0%
implement the function I show you guys
 

00:08:30.440 --> 00:08:33.469 align:start position:0%
implement the function I show you guys
how<00:08:30.520><c> to</c><00:08:30.720><c> write</c><00:08:31.000><c> here</c><00:08:31.599><c> in</c><00:08:31.840><c> this</c><00:08:32.320><c> tool</c><00:08:32.719><c> as</c><00:08:32.880><c> well</c>

00:08:33.469 --> 00:08:33.479 align:start position:0%
how to write here in this tool as well
 

00:08:33.479 --> 00:08:35.670 align:start position:0%
how to write here in this tool as well
and<00:08:33.599><c> then</c><00:08:33.839><c> add</c><00:08:34.039><c> the</c><00:08:34.240><c> slide</c><00:08:34.800><c> to</c><00:08:35.200><c> so</c><00:08:35.360><c> you</c><00:08:35.479><c> just</c>

00:08:35.670 --> 00:08:35.680 align:start position:0%
and then add the slide to so you just
 

00:08:35.680 --> 00:08:38.670 align:start position:0%
and then add the slide to so you just
add<00:08:36.440><c> slide</c><00:08:37.320><c> to</c><00:08:37.800><c> this</c><00:08:38.000><c> address</c><00:08:38.279><c> or</c><00:08:38.440><c> whatever</c>

00:08:38.670 --> 00:08:38.680 align:start position:0%
add slide to this address or whatever
 

00:08:38.680 --> 00:08:40.230 align:start position:0%
add slide to this address or whatever
address<00:08:38.880><c> you're</c><00:08:39.039><c> TG</c><00:08:39.279><c> in</c><00:08:39.680><c> I</c><00:08:39.760><c> won't</c><00:08:39.959><c> be</c><00:08:40.039><c> doing</c>

00:08:40.230 --> 00:08:40.240 align:start position:0%
address you're TG in I won't be doing
 

00:08:40.240 --> 00:08:41.269 align:start position:0%
address you're TG in I won't be doing
that<00:08:40.320><c> in</c><00:08:40.440><c> this</c><00:08:40.519><c> video</c><00:08:40.719><c> obviously</c><00:08:41.080><c> because</c>

00:08:41.269 --> 00:08:41.279 align:start position:0%
that in this video obviously because
 

00:08:41.279 --> 00:08:43.269 align:start position:0%
that in this video obviously because
that<00:08:41.399><c> will</c><00:08:41.640><c> make</c><00:08:41.760><c> it</c><00:08:41.880><c> a</c><00:08:41.959><c> bit</c><00:08:42.080><c> too</c><00:08:42.240><c> lengthy</c><00:08:42.719><c> but</c>

00:08:43.269 --> 00:08:43.279 align:start position:0%
that will make it a bit too lengthy but
 

00:08:43.279 --> 00:08:44.550 align:start position:0%
that will make it a bit too lengthy but
that<00:08:43.399><c> is</c><00:08:43.560><c> what</c><00:08:43.719><c> actually</c><00:08:43.919><c> happens</c><00:08:44.200><c> behind</c><00:08:44.440><c> the</c>

00:08:44.550 --> 00:08:44.560 align:start position:0%
that is what actually happens behind the
 

00:08:44.560 --> 00:08:46.269 align:start position:0%
that is what actually happens behind the
scenes<00:08:44.800><c> if</c><00:08:44.920><c> you</c><00:08:45.000><c> want</c><00:08:45.080><c> to</c><00:08:45.480><c> Target</c><00:08:45.720><c> an</c><00:08:45.880><c> address</c>

00:08:46.269 --> 00:08:46.279 align:start position:0%
scenes if you want to Target an address
 

00:08:46.279 --> 00:08:48.310 align:start position:0%
scenes if you want to Target an address
you<00:08:46.360><c> will</c><00:08:46.560><c> need</c><00:08:46.720><c> to</c><00:08:46.880><c> know</c><00:08:47.399><c> the</c><00:08:47.560><c> a</c><00:08:47.760><c> as</c><00:08:47.880><c> the</c><00:08:48.000><c> last</c>

00:08:48.310 --> 00:08:48.320 align:start position:0%
you will need to know the a as the last
 

00:08:48.320 --> 00:08:52.829 align:start position:0%
you will need to know the a as the last
slide<00:08:49.320><c> um</c><00:08:49.519><c> anyway</c><00:08:49.880><c> so</c><00:08:50.240><c> next</c><00:08:50.560><c> you</c><00:08:50.640><c> will</c><00:08:50.880><c> need</c><00:08:51.839><c> to</c>

00:08:52.829 --> 00:08:52.839 align:start position:0%
slide um anyway so next you will need to
 

00:08:52.839 --> 00:08:54.350 align:start position:0%
slide um anyway so next you will need to
uh<00:08:52.959><c> put</c><00:08:53.160><c> the</c><00:08:53.480><c> btes</c><00:08:53.760><c> that</c><00:08:53.880><c> you</c><00:08:54.000><c> want</c><00:08:54.160><c> to</c>

00:08:54.350 --> 00:08:54.360 align:start position:0%
uh put the btes that you want to
 

00:08:54.360 --> 00:08:56.630 align:start position:0%
uh put the btes that you want to
actually<00:08:54.680><c> write</c><00:08:54.920><c> to</c><00:08:55.120><c> this</c><00:08:55.279><c> address</c><00:08:56.279><c> so</c><00:08:56.519><c> again</c>

00:08:56.630 --> 00:08:56.640 align:start position:0%
actually write to this address so again
 

00:08:56.640 --> 00:08:59.470 align:start position:0%
actually write to this address so again
we're<00:08:56.800><c> going</c><00:08:56.880><c> to</c><00:08:56.959><c> do</c><00:08:57.080><c> a</c><00:08:57.200><c> typ</c><00:08:57.519><c> cast</c><00:08:57.760><c> to</c><00:08:58.440><c> VM</c>

00:08:59.470 --> 00:08:59.480 align:start position:0%
we're going to do a typ cast to VM
 

00:08:59.480 --> 00:09:01.389 align:start position:0%
we're going to do a typ cast to VM
address

00:09:01.389 --> 00:09:01.399 align:start position:0%
address
 

00:09:01.399 --> 00:09:04.470 align:start position:0%
address
T<00:09:02.399><c> and</c><00:09:02.680><c> this</c><00:09:02.800><c> will</c><00:09:02.959><c> be</c><00:09:03.200><c> this</c><00:09:03.360><c> time</c><00:09:03.959><c> the</c><00:09:04.120><c> actual</c>

00:09:04.470 --> 00:09:04.480 align:start position:0%
T and this will be this time the actual
 

00:09:04.480 --> 00:09:06.430 align:start position:0%
T and this will be this time the actual
data<00:09:04.839><c> now</c><00:09:05.000><c> I</c><00:09:05.079><c> didn't</c><00:09:05.279><c> actually</c><00:09:05.519><c> name</c><00:09:05.800><c> this</c><00:09:06.360><c> I'm</c>

00:09:06.430 --> 00:09:06.440 align:start position:0%
data now I didn't actually name this I'm
 

00:09:06.440 --> 00:09:07.470 align:start position:0%
data now I didn't actually name this I'm
not<00:09:06.560><c> sure</c><00:09:06.760><c> what</c><00:09:06.839><c> I</c><00:09:06.920><c> was</c><00:09:07.040><c> thinking</c><00:09:07.240><c> there</c><00:09:07.399><c> but</c>

00:09:07.470 --> 00:09:07.480 align:start position:0%
not sure what I was thinking there but
 

00:09:07.480 --> 00:09:09.190 align:start position:0%
not sure what I was thinking there but
we're<00:09:07.560><c> just</c><00:09:07.640><c> going</c><00:09:07.720><c> to</c><00:09:07.800><c> call</c><00:09:07.959><c> this</c><00:09:08.160><c> data</c><00:09:09.040><c> and</c>

00:09:09.190 --> 00:09:09.200 align:start position:0%
we're just going to call this data and
 

00:09:09.200 --> 00:09:11.829 align:start position:0%
we're just going to call this data and
then<00:09:09.440><c> you</c><00:09:09.560><c> want</c><00:09:09.680><c> to</c><00:09:09.800><c> put</c><00:09:09.959><c> the</c><00:09:10.240><c> data</c><00:09:11.240><c> um</c><00:09:11.600><c> by</c>

00:09:11.829 --> 00:09:11.839 align:start position:0%
then you want to put the data um by
 

00:09:11.839 --> 00:09:16.030 align:start position:0%
then you want to put the data um by
reference<00:09:12.240><c> again</c><00:09:13.000><c> so</c><00:09:14.000><c> data</c><00:09:14.720><c> here</c><00:09:15.720><c> and</c><00:09:15.839><c> then</c>

00:09:16.030 --> 00:09:16.040 align:start position:0%
reference again so data here and then
 

00:09:16.040 --> 00:09:17.790 align:start position:0%
reference again so data here and then
finally<00:09:16.399><c> the</c><00:09:16.600><c> last</c><00:09:16.839><c> argument</c><00:09:17.240><c> will</c><00:09:17.399><c> be</c><00:09:17.640><c> the</c>

00:09:17.790 --> 00:09:17.800 align:start position:0%
finally the last argument will be the
 

00:09:17.800 --> 00:09:19.590 align:start position:0%
finally the last argument will be the
actual<00:09:18.240><c> length</c><00:09:18.720><c> of</c><00:09:18.959><c> data</c><00:09:19.200><c> that</c><00:09:19.279><c> we</c><00:09:19.360><c> want</c><00:09:19.480><c> to</c>

00:09:19.590 --> 00:09:19.600 align:start position:0%
actual length of data that we want to
 

00:09:19.600 --> 00:09:21.190 align:start position:0%
actual length of data that we want to
write<00:09:19.880><c> so</c><00:09:20.040><c> for</c><00:09:20.200><c> this</c><00:09:20.320><c> we</c><00:09:20.399><c> can</c><00:09:20.519><c> just</c><00:09:20.680><c> calculate</c>

00:09:21.190 --> 00:09:21.200 align:start position:0%
write so for this we can just calculate
 

00:09:21.200 --> 00:09:25.389 align:start position:0%
write so for this we can just calculate
with<00:09:21.399><c> size</c><00:09:21.720><c> of</c><00:09:22.399><c> and</c><00:09:22.480><c> then</c><00:09:22.720><c> pass</c><00:09:23.560><c> data</c><00:09:24.560><c> and</c><00:09:25.000><c> that</c>

00:09:25.389 --> 00:09:25.399 align:start position:0%
with size of and then pass data and that
 

00:09:25.399 --> 00:09:27.750 align:start position:0%
with size of and then pass data and that
there<00:09:25.600><c> that</c><00:09:25.760><c> function</c><00:09:26.120><c> call</c><00:09:26.560><c> Will</c><00:09:26.959><c> or</c><00:09:27.240><c> should</c>

00:09:27.750 --> 00:09:27.760 align:start position:0%
there that function call Will or should
 

00:09:27.760 --> 00:09:29.389 align:start position:0%
there that function call Will or should
as<00:09:27.880><c> long</c><00:09:28.000><c> as</c><00:09:28.120><c> you've</c><00:09:28.480><c> obviously</c><00:09:28.920><c> added</c><00:09:29.200><c> the</c>

00:09:29.389 --> 00:09:29.399 align:start position:0%
as long as you've obviously added the
 

00:09:29.399 --> 00:09:31.790 align:start position:0%
as long as you've obviously added the
slide<00:09:29.680><c> correctly</c><00:09:30.519><c> it</c><00:09:30.640><c> should</c><00:09:30.920><c> write</c><00:09:31.360><c> the</c>

00:09:31.790 --> 00:09:31.800 align:start position:0%
slide correctly it should write the
 

00:09:31.800 --> 00:09:34.750 align:start position:0%
slide correctly it should write the
these<00:09:32.000><c> bytes</c><00:09:32.279><c> the</c><00:09:32.399><c> 4141</c><00:09:33.040><c> 4141</c><00:09:33.920><c> to</c><00:09:34.360><c> the</c><00:09:34.480><c> address</c>

00:09:34.750 --> 00:09:34.760 align:start position:0%
these bytes the 4141 4141 to the address
 

00:09:34.760 --> 00:09:36.910 align:start position:0%
these bytes the 4141 4141 to the address
in<00:09:34.880><c> the</c><00:09:35.000><c> kernel</c><00:09:35.320><c> that</c><00:09:35.399><c> you</c><00:09:35.519><c> have</c><00:09:35.680><c> specified</c><00:09:36.680><c> um</c>

00:09:36.910 --> 00:09:36.920 align:start position:0%
in the kernel that you have specified um
 

00:09:36.920 --> 00:09:38.470 align:start position:0%
in the kernel that you have specified um
again<00:09:37.120><c> you</c><00:09:37.200><c> can</c><00:09:37.480><c> actually</c><00:09:37.839><c> put</c><00:09:38.000><c> this</c><00:09:38.120><c> into</c><00:09:38.320><c> an</c>

00:09:38.470 --> 00:09:38.480 align:start position:0%
again you can actually put this into an
 

00:09:38.480 --> 00:09:40.910 align:start position:0%
again you can actually put this into an
if<00:09:38.640><c> statement</c><00:09:39.000><c> to</c><00:09:39.240><c> check</c><00:09:39.600><c> that</c><00:09:39.720><c> it</c><00:09:39.880><c> did</c><00:09:40.120><c> work</c>

00:09:40.910 --> 00:09:40.920 align:start position:0%
if statement to check that it did work
 

00:09:40.920 --> 00:09:46.910 align:start position:0%
if statement to check that it did work
so<00:09:41.279><c> um</c><00:09:41.760><c> we'll</c><00:09:41.959><c> just</c><00:09:42.360><c> do</c><00:09:43.560><c> if</c><00:09:44.560><c> around</c><00:09:45.079><c> that</c><00:09:46.079><c> and</c>

00:09:46.910 --> 00:09:46.920 align:start position:0%
so um we'll just do if around that and
 

00:09:46.920 --> 00:09:48.470 align:start position:0%
so um we'll just do if around that and
if<00:09:47.040><c> it</c><00:09:47.200><c> did</c><00:09:47.560><c> return</c><00:09:47.839><c> something</c><00:09:48.120><c> now</c><00:09:48.240><c> in</c><00:09:48.360><c> this</c>

00:09:48.470 --> 00:09:48.480 align:start position:0%
if it did return something now in this
 

00:09:48.480 --> 00:09:50.350 align:start position:0%
if it did return something now in this
case<00:09:48.640><c> it</c><00:09:48.720><c> should</c><00:09:49.040><c> return</c><00:09:49.320><c> zero</c><00:09:49.640><c> if</c><00:09:49.720><c> it</c><00:09:49.920><c> worked</c>

00:09:50.350 --> 00:09:50.360 align:start position:0%
case it should return zero if it worked
 

00:09:50.360 --> 00:09:53.150 align:start position:0%
case it should return zero if it worked
so<00:09:51.000><c> if</c><00:09:51.120><c> it</c><00:09:51.360><c> returns</c><00:09:51.680><c> anything</c><00:09:51.920><c> else</c><00:09:52.320><c> then</c>

00:09:53.150 --> 00:09:53.160 align:start position:0%
so if it returns anything else then
 

00:09:53.160 --> 00:09:55.470 align:start position:0%
so if it returns anything else then
there<00:09:53.440><c> again</c><00:09:53.640><c> is</c><00:09:53.800><c> an</c><00:09:53.920><c> error</c><00:09:54.200><c> so</c><00:09:54.360><c> we'll</c><00:09:54.560><c> just</c>

00:09:55.470 --> 00:09:55.480 align:start position:0%
there again is an error so we'll just
 

00:09:55.480 --> 00:09:58.310 align:start position:0%
there again is an error so we'll just
print<00:09:55.720><c> out</c><00:09:56.160><c> error</c><00:09:57.160><c> so</c><00:09:57.320><c> for</c><00:09:57.519><c> reading</c><00:09:57.760><c> K</c><00:09:58.040><c> memory</c>

00:09:58.310 --> 00:09:58.320 align:start position:0%
print out error so for reading K memory
 

00:09:58.320 --> 00:09:59.550 align:start position:0%
print out error so for reading K memory
it's<00:09:58.399><c> pretty</c><00:09:58.560><c> much</c><00:09:58.680><c> the</c><00:09:58.800><c> same</c><00:09:59.000><c> process</c><00:09:59.399><c> but</c>

00:09:59.550 --> 00:09:59.560 align:start position:0%
it's pretty much the same process but
 

00:09:59.560 --> 00:10:02.030 align:start position:0%
it's pretty much the same process but
instead<00:09:59.839><c> using</c><00:10:00.320><c> VM</c><00:10:00.760><c> read</c><00:10:01.680><c> um</c><00:10:01.839><c> and</c><00:10:01.920><c> you</c>

00:10:02.030 --> 00:10:02.040 align:start position:0%
instead using VM read um and you
 

00:10:02.040 --> 00:10:03.470 align:start position:0%
instead using VM read um and you
basically<00:10:02.440><c> do</c><00:10:02.600><c> the</c><00:10:02.720><c> same</c><00:10:02.880><c> thing</c><00:10:03.040><c> you</c><00:10:03.160><c> send</c><00:10:03.399><c> the</c>

00:10:03.470 --> 00:10:03.480 align:start position:0%
basically do the same thing you send the
 

00:10:03.480 --> 00:10:05.470 align:start position:0%
basically do the same thing you send the
kernel<00:10:03.800><c> task</c><00:10:04.079><c> Port</c><00:10:04.399><c> you</c><00:10:04.560><c> specify</c><00:10:04.920><c> an</c><00:10:05.040><c> address</c>

00:10:05.470 --> 00:10:05.480 align:start position:0%
kernel task Port you specify an address
 

00:10:05.480 --> 00:10:06.790 align:start position:0%
kernel task Port you specify an address
plus<00:10:05.680><c> the</c><00:10:05.800><c> kernel</c><00:10:06.079><c> slide</c><00:10:06.440><c> that</c><00:10:06.519><c> you</c><00:10:06.600><c> want</c><00:10:06.680><c> to</c>

00:10:06.790 --> 00:10:06.800 align:start position:0%
plus the kernel slide that you want to
 

00:10:06.800 --> 00:10:08.910 align:start position:0%
plus the kernel slide that you want to
read<00:10:07.000><c> data</c><00:10:07.279><c> from</c><00:10:07.920><c> specify</c><00:10:08.320><c> an</c><00:10:08.440><c> amount</c><00:10:08.600><c> of</c><00:10:08.720><c> data</c>

00:10:08.910 --> 00:10:08.920 align:start position:0%
read data from specify an amount of data
 

00:10:08.920 --> 00:10:10.190 align:start position:0%
read data from specify an amount of data
you<00:10:09.000><c> want</c><00:10:09.079><c> to</c><00:10:09.200><c> read</c><00:10:09.440><c> and</c><00:10:09.519><c> then</c><00:10:09.720><c> specify</c><00:10:10.079><c> a</c>

00:10:10.190 --> 00:10:10.200 align:start position:0%
you want to read and then specify a
 

00:10:10.200 --> 00:10:11.949 align:start position:0%
you want to read and then specify a
buffer<00:10:10.560><c> that</c><00:10:10.640><c> the</c><00:10:10.760><c> data</c><00:10:11.000><c> will</c><00:10:11.120><c> be</c><00:10:11.240><c> sent</c><00:10:11.480><c> into</c>

00:10:11.949 --> 00:10:11.959 align:start position:0%
buffer that the data will be sent into
 

00:10:11.959 --> 00:10:13.790 align:start position:0%
buffer that the data will be sent into
so<00:10:12.560><c> that</c><00:10:12.680><c> works</c><00:10:12.959><c> basically</c><00:10:13.279><c> the</c><00:10:13.360><c> same</c><00:10:13.560><c> way</c><00:10:13.720><c> I</c>

00:10:13.790 --> 00:10:13.800 align:start position:0%
so that works basically the same way I
 

00:10:13.800 --> 00:10:15.190 align:start position:0%
so that works basically the same way I
won't<00:10:13.959><c> be</c><00:10:14.040><c> showing</c><00:10:14.320><c> that</c><00:10:14.600><c> uh</c><00:10:14.720><c> for</c><00:10:14.880><c> you</c><00:10:15.000><c> guys</c>

00:10:15.190 --> 00:10:15.200 align:start position:0%
won't be showing that uh for you guys
 

00:10:15.200 --> 00:10:16.710 align:start position:0%
won't be showing that uh for you guys
right<00:10:15.360><c> now</c><00:10:15.640><c> but</c><00:10:15.800><c> I'll</c><00:10:15.920><c> leave</c><00:10:16.160><c> a</c><00:10:16.279><c> link</c><00:10:16.480><c> in</c><00:10:16.600><c> the</c>

00:10:16.710 --> 00:10:16.720 align:start position:0%
right now but I'll leave a link in the
 

00:10:16.720 --> 00:10:17.790 align:start position:0%
right now but I'll leave a link in the
description<00:10:17.079><c> if</c><00:10:17.160><c> you</c><00:10:17.240><c> want</c><00:10:17.320><c> to</c><00:10:17.399><c> find</c><00:10:17.560><c> out</c><00:10:17.680><c> more</c>

00:10:17.790 --> 00:10:17.800 align:start position:0%
description if you want to find out more
 

00:10:17.800 --> 00:10:19.630 align:start position:0%
description if you want to find out more
about<00:10:18.040><c> that</c><00:10:18.720><c> um</c><00:10:18.880><c> anyway</c><00:10:19.279><c> now</c><00:10:19.360><c> I'm</c><00:10:19.440><c> going</c><00:10:19.560><c> to</c>

00:10:19.630 --> 00:10:19.640 align:start position:0%
about that um anyway now I'm going to
 

00:10:19.640 --> 00:10:21.030 align:start position:0%
about that um anyway now I'm going to
show<00:10:19.760><c> you</c><00:10:19.920><c> guys</c><00:10:20.160><c> an</c><00:10:20.360><c> app</c><00:10:20.600><c> that</c><00:10:20.720><c> I</c><00:10:20.839><c> actually</c>

00:10:21.030 --> 00:10:21.040 align:start position:0%
show you guys an app that I actually
 

00:10:21.040 --> 00:10:23.190 align:start position:0%
show you guys an app that I actually
built<00:10:21.320><c> a</c><00:10:21.480><c> GUI</c><00:10:21.959><c> app</c><00:10:22.200><c> that</c><00:10:22.320><c> uses</c><00:10:22.640><c> this</c><00:10:22.880><c> basic</c>

00:10:23.190 --> 00:10:23.200 align:start position:0%
built a GUI app that uses this basic
 

00:10:23.200 --> 00:10:25.150 align:start position:0%
built a GUI app that uses this basic
idea<00:10:23.600><c> of</c><00:10:23.880><c> accessing</c><00:10:24.279><c> the</c><00:10:24.399><c> kernel</c><00:10:24.720><c> task</c><00:10:24.959><c> port</c>

00:10:25.150 --> 00:10:25.160 align:start position:0%
idea of accessing the kernel task port
 

00:10:25.160 --> 00:10:26.310 align:start position:0%
idea of accessing the kernel task port
and<00:10:25.279><c> then</c><00:10:25.360><c> being</c><00:10:25.560><c> able</c><00:10:25.720><c> to</c><00:10:25.839><c> read</c><00:10:26.000><c> and</c><00:10:26.160><c> write</c>

00:10:26.310 --> 00:10:26.320 align:start position:0%
and then being able to read and write
 

00:10:26.320 --> 00:10:28.670 align:start position:0%
and then being able to read and write
memory<00:10:27.160><c> um</c><00:10:27.240><c> and</c><00:10:27.360><c> it</c><00:10:27.519><c> puts</c><00:10:27.800><c> into</c><00:10:28.120><c> kind</c><00:10:28.240><c> of</c><00:10:28.560><c> an</c>

00:10:28.670 --> 00:10:28.680 align:start position:0%
memory um and it puts into kind of an
 

00:10:28.680 --> 00:10:31.389 align:start position:0%
memory um and it puts into kind of an
easy<00:10:28.959><c> to</c><00:10:29.079><c> use</c><00:10:29.480><c> GUI</c><00:10:30.040><c> application</c><00:10:30.680><c> so</c><00:10:31.200><c> you</c><00:10:31.279><c> can</c>

00:10:31.389 --> 00:10:31.399 align:start position:0%
easy to use GUI application so you can
 

00:10:31.399 --> 00:10:33.389 align:start position:0%
easy to use GUI application so you can
see<00:10:31.600><c> the</c><00:10:31.760><c> UI</c><00:10:32.079><c> is</c><00:10:32.200><c> not</c><00:10:32.360><c> very</c><00:10:32.600><c> good</c><00:10:32.880><c> but</c><00:10:33.000><c> it</c><00:10:33.160><c> does</c>

00:10:33.389 --> 00:10:33.399 align:start position:0%
see the UI is not very good but it does
 

00:10:33.399 --> 00:10:35.509 align:start position:0%
see the UI is not very good but it does
allow<00:10:33.640><c> you</c><00:10:33.720><c> to</c><00:10:33.880><c> do</c><00:10:34.440><c> um</c><00:10:34.800><c> it</c><00:10:34.920><c> allows</c><00:10:35.160><c> it</c><00:10:35.279><c> to</c><00:10:35.360><c> be</c>

00:10:35.509 --> 00:10:35.519 align:start position:0%
allow you to do um it allows it to be
 

00:10:35.519 --> 00:10:37.829 align:start position:0%
allow you to do um it allows it to be
basically<00:10:35.800><c> easier</c><00:10:36.079><c> to</c><00:10:36.240><c> use</c><00:10:36.600><c> so</c><00:10:37.120><c> you</c><00:10:37.320><c> can</c><00:10:37.440><c> see</c>

00:10:37.829 --> 00:10:37.839 align:start position:0%
basically easier to use so you can see
 

00:10:37.839 --> 00:10:39.269 align:start position:0%
basically easier to use so you can see
here<00:10:38.000><c> we</c><00:10:38.160><c> have</c><00:10:38.360><c> right</c><00:10:38.480><c> at</c><00:10:38.600><c> the</c><00:10:38.720><c> top</c><00:10:38.880><c> it</c><00:10:39.040><c> tells</c>

00:10:39.269 --> 00:10:39.279 align:start position:0%
here we have right at the top it tells
 

00:10:39.279 --> 00:10:40.949 align:start position:0%
here we have right at the top it tells
you<00:10:39.399><c> what</c><00:10:39.519><c> the</c><00:10:39.639><c> kernel</c><00:10:39.959><c> slide</c><00:10:40.360><c> is</c><00:10:40.639><c> so</c><00:10:40.800><c> that</c>

00:10:40.949 --> 00:10:40.959 align:start position:0%
you what the kernel slide is so that
 

00:10:40.959 --> 00:10:42.710 align:start position:0%
you what the kernel slide is so that
uses<00:10:41.240><c> the</c><00:10:41.440><c> exploit</c><00:10:42.040><c> that</c><00:10:42.120><c> I</c><00:10:42.240><c> mentioned</c><00:10:42.560><c> in</c><00:10:42.639><c> the</c>

00:10:42.710 --> 00:10:42.720 align:start position:0%
uses the exploit that I mentioned in the
 

00:10:42.720 --> 00:10:44.190 align:start position:0%
uses the exploit that I mentioned in the
other<00:10:42.880><c> video</c><00:10:43.120><c> so</c><00:10:43.240><c> if</c><00:10:43.279><c> you</c><00:10:43.360><c> want</c><00:10:43.480><c> to</c><00:10:43.600><c> do</c><00:10:43.760><c> that</c><00:10:44.079><c> go</c>

00:10:44.190 --> 00:10:44.200 align:start position:0%
other video so if you want to do that go
 

00:10:44.200 --> 00:10:46.030 align:start position:0%
other video so if you want to do that go
to<00:10:44.320><c> the</c><00:10:44.399><c> other</c><00:10:44.600><c> video</c><00:10:45.279><c> look</c><00:10:45.399><c> at</c><00:10:45.519><c> the</c><00:10:45.639><c> code</c>

00:10:46.030 --> 00:10:46.040 align:start position:0%
to the other video look at the code
 

00:10:46.040 --> 00:10:48.069 align:start position:0%
to the other video look at the code
there<00:10:46.320><c> and</c><00:10:46.480><c> that's</c><00:10:46.639><c> what</c><00:10:46.760><c> I'm</c><00:10:46.880><c> using</c><00:10:47.120><c> for</c><00:10:47.360><c> this</c>

00:10:48.069 --> 00:10:48.079 align:start position:0%
there and that's what I'm using for this
 

00:10:48.079 --> 00:10:51.670 align:start position:0%
there and that's what I'm using for this
and<00:10:48.360><c> uh</c><00:10:48.519><c> then</c><00:10:48.639><c> it</c><00:10:48.760><c> allows</c><00:10:49.079><c> you</c><00:10:49.240><c> to</c><00:10:49.800><c> uh</c><00:10:49.959><c> enter</c><00:10:50.760><c> a</c>

00:10:51.670 --> 00:10:51.680 align:start position:0%
and uh then it allows you to uh enter a
 

00:10:51.680 --> 00:10:53.750 align:start position:0%
and uh then it allows you to uh enter a
uh<00:10:51.839><c> set</c><00:10:52.040><c> of</c><00:10:52.279><c> data</c><00:10:52.600><c> or</c><00:10:52.800><c> byes</c><00:10:53.040><c> so</c><00:10:53.279><c> allows</c><00:10:53.480><c> you</c>

00:10:53.750 --> 00:10:53.760 align:start position:0%
uh set of data or byes so allows you
 

00:10:53.760 --> 00:10:55.110 align:start position:0%
uh set of data or byes so allows you
takes<00:10:54.000><c> in</c><00:10:54.120><c> four</c><00:10:54.320><c> byes</c><00:10:54.560><c> at</c><00:10:54.639><c> a</c><00:10:54.720><c> time</c><00:10:54.839><c> and</c><00:10:54.959><c> will</c>

00:10:55.110 --> 00:10:55.120 align:start position:0%
takes in four byes at a time and will
 

00:10:55.120 --> 00:10:57.310 align:start position:0%
takes in four byes at a time and will
write<00:10:55.279><c> it</c><00:10:55.360><c> to</c><00:10:55.480><c> an</c><00:10:55.600><c> arbitrary</c><00:10:56.079><c> address</c><00:10:56.880><c> so</c><00:10:57.240><c> I'm</c>

00:10:57.310 --> 00:10:57.320 align:start position:0%
write it to an arbitrary address so I'm
 

00:10:57.320 --> 00:11:00.069 align:start position:0%
write it to an arbitrary address so I'm
going<00:10:57.440><c> to</c><00:10:57.519><c> enter</c><00:10:57.760><c> 41</c><00:10:58.079><c> 41</c><00:10:58.399><c> 4141</c><00:10:59.680><c> and</c><00:10:59.839><c> then</c><00:10:59.959><c> we're</c>

00:11:00.069 --> 00:11:00.079 align:start position:0%
going to enter 41 41 4141 and then we're
 

00:11:00.079 --> 00:11:02.230 align:start position:0%
going to enter 41 41 4141 and then we're
going<00:11:00.200><c> to</c><00:11:00.320><c> use</c><00:11:00.560><c> the</c><00:11:00.720><c> address</c><00:11:01.160><c> of</c><00:11:01.440><c> the</c><00:11:01.880><c> kernel</c>

00:11:02.230 --> 00:11:02.240 align:start position:0%
going to use the address of the kernel
 

00:11:02.240 --> 00:11:04.870 align:start position:0%
going to use the address of the kernel
version<00:11:02.600><c> string</c><00:11:03.079><c> for</c><00:11:03.320><c> the</c><00:11:03.600><c> example</c><00:11:04.600><c> um</c><00:11:04.720><c> so</c>

00:11:04.870 --> 00:11:04.880 align:start position:0%
version string for the example um so
 

00:11:04.880 --> 00:11:08.629 align:start position:0%
version string for the example um so
that<00:11:05.040><c> address</c><00:11:05.360><c> is</c><00:11:05.600><c> 802d</c><00:11:06.720><c> 732</c><00:11:07.720><c> C</c><00:11:08.279><c> now</c><00:11:08.399><c> the</c><00:11:08.519><c> good</c>

00:11:08.629 --> 00:11:08.639 align:start position:0%
that address is 802d 732 C now the good
 

00:11:08.639 --> 00:11:10.150 align:start position:0%
that address is 802d 732 C now the good
thing<00:11:08.800><c> about</c><00:11:09.000><c> this</c><00:11:09.200><c> is</c><00:11:09.320><c> it</c><00:11:09.519><c> actually</c><00:11:09.880><c> allows</c>

00:11:10.150 --> 00:11:10.160 align:start position:0%
thing about this is it actually allows
 

00:11:10.160 --> 00:11:11.949 align:start position:0%
thing about this is it actually allows
you<00:11:10.279><c> to</c><00:11:10.399><c> put</c><00:11:10.560><c> in</c><00:11:10.680><c> the</c><00:11:10.880><c> static</c><00:11:11.240><c> address</c><00:11:11.600><c> so</c><00:11:11.839><c> the</c>

00:11:11.949 --> 00:11:11.959 align:start position:0%
you to put in the static address so the
 

00:11:11.959 --> 00:11:13.310 align:start position:0%
you to put in the static address so the
way<00:11:12.079><c> you</c><00:11:12.160><c> would</c><00:11:12.320><c> copy</c><00:11:12.519><c> and</c><00:11:12.680><c> paste</c><00:11:12.880><c> it</c><00:11:13.040><c> from</c><00:11:13.200><c> the</c>

00:11:13.310 --> 00:11:13.320 align:start position:0%
way you would copy and paste it from the
 

00:11:13.320 --> 00:11:14.990 align:start position:0%
way you would copy and paste it from the
kernel<00:11:13.680><c> cach</c><00:11:13.920><c> file</c><00:11:14.519><c> and</c><00:11:14.639><c> then</c><00:11:14.760><c> when</c><00:11:14.880><c> you</c>

00:11:14.990 --> 00:11:15.000 align:start position:0%
kernel cach file and then when you
 

00:11:15.000 --> 00:11:16.750 align:start position:0%
kernel cach file and then when you
actually<00:11:15.279><c> click</c><00:11:15.519><c> the</c><00:11:15.680><c> right</c><00:11:15.920><c> button</c><00:11:16.440><c> it</c><00:11:16.560><c> will</c>

00:11:16.750 --> 00:11:16.760 align:start position:0%
actually click the right button it will
 

00:11:16.760 --> 00:11:18.509 align:start position:0%
actually click the right button it will
automatically<00:11:17.399><c> add</c><00:11:17.600><c> the</c><00:11:17.720><c> kernel</c><00:11:18.040><c> slide</c><00:11:18.360><c> to</c>

00:11:18.509 --> 00:11:18.519 align:start position:0%
automatically add the kernel slide to
 

00:11:18.519 --> 00:11:20.110 align:start position:0%
automatically add the kernel slide to
that<00:11:18.680><c> address</c><00:11:19.000><c> for</c><00:11:19.240><c> you</c><00:11:19.560><c> so</c><00:11:19.720><c> you</c><00:11:19.839><c> don't</c><00:11:20.000><c> have</c>

00:11:20.110 --> 00:11:20.120 align:start position:0%
that address for you so you don't have
 

00:11:20.120 --> 00:11:22.230 align:start position:0%
that address for you so you don't have
to<00:11:20.200><c> be</c><00:11:20.399><c> responsible</c><00:11:20.800><c> for</c><00:11:20.920><c> the</c><00:11:21.079><c> calculation</c><00:11:21.760><c> so</c>

00:11:22.230 --> 00:11:22.240 align:start position:0%
to be responsible for the calculation so
 

00:11:22.240 --> 00:11:23.870 align:start position:0%
to be responsible for the calculation so
it's<00:11:22.440><c> very</c><00:11:22.680><c> simple</c><00:11:23.399><c> then</c><00:11:23.519><c> you're</c><00:11:23.680><c> just</c><00:11:23.760><c> going</c>

00:11:23.870 --> 00:11:23.880 align:start position:0%
it's very simple then you're just going
 

00:11:23.880 --> 00:11:25.269 align:start position:0%
it's very simple then you're just going
to<00:11:23.959><c> click</c><00:11:24.160><c> the</c><00:11:24.240><c> pink</c><00:11:24.480><c> right</c><00:11:24.720><c> button</c><00:11:25.120><c> and</c><00:11:25.200><c> you</c>

00:11:25.269 --> 00:11:25.279 align:start position:0%
to click the pink right button and you
 

00:11:25.279 --> 00:11:26.710 align:start position:0%
to click the pink right button and you
can<00:11:25.399><c> see</c><00:11:25.560><c> it</c><00:11:25.680><c> gives</c><00:11:25.839><c> you</c><00:11:26.000><c> this</c><00:11:26.120><c> little</c><00:11:26.360><c> success</c>

00:11:26.710 --> 00:11:26.720 align:start position:0%
can see it gives you this little success
 

00:11:26.720 --> 00:11:28.509 align:start position:0%
can see it gives you this little success
message<00:11:27.040><c> alert</c><00:11:27.760><c> telling</c><00:11:28.040><c> you</c><00:11:28.160><c> that</c><00:11:28.279><c> it's</c>

00:11:28.509 --> 00:11:28.519 align:start position:0%
message alert telling you that it's
 

00:11:28.519 --> 00:11:30.470 align:start position:0%
message alert telling you that it's
right<00:11:28.800><c> the</c><00:11:29.320><c> written</c><00:11:29.560><c> the</c><00:11:29.720><c> bytes</c><00:11:30.120><c> to</c><00:11:30.320><c> that</c>

00:11:30.470 --> 00:11:30.480 align:start position:0%
right the written the bytes to that
 

00:11:30.480 --> 00:11:32.509 align:start position:0%
right the written the bytes to that
specified<00:11:30.920><c> address</c><00:11:31.639><c> and</c><00:11:31.959><c> we</c><00:11:32.040><c> can</c><00:11:32.160><c> check</c><00:11:32.399><c> that</c>

00:11:32.509 --> 00:11:32.519 align:start position:0%
specified address and we can check that
 

00:11:32.519 --> 00:11:33.990 align:start position:0%
specified address and we can check that
it<00:11:32.639><c> did</c><00:11:32.800><c> indeed</c><00:11:33.120><c> work</c><00:11:33.360><c> by</c><00:11:33.480><c> going</c><00:11:33.680><c> inside</c><00:11:33.920><c> a</c>

00:11:33.990 --> 00:11:34.000 align:start position:0%
it did indeed work by going inside a
 

00:11:34.000 --> 00:11:36.910 align:start position:0%
it did indeed work by going inside a
mobile<00:11:34.279><c> terminal</c><00:11:35.040><c> typing</c><00:11:35.360><c> in</c><00:11:35.639><c> un</c><00:11:35.920><c> name-</c><00:11:36.560><c> a</c>

00:11:36.910 --> 00:11:36.920 align:start position:0%
mobile terminal typing in un name- a
 

00:11:36.920 --> 00:11:38.509 align:start position:0%
mobile terminal typing in un name- a
running<00:11:37.200><c> that</c><00:11:37.399><c> command</c><00:11:37.680><c> and</c><00:11:37.800><c> you</c><00:11:37.880><c> can</c><00:11:38.000><c> see</c><00:11:38.240><c> now</c>

00:11:38.509 --> 00:11:38.519 align:start position:0%
running that command and you can see now
 

00:11:38.519 --> 00:11:40.350 align:start position:0%
running that command and you can see now
the<00:11:38.639><c> version</c><00:11:39.040><c> string</c><00:11:39.399><c> for</c><00:11:39.560><c> the</c><00:11:39.680><c> kernel</c>

00:11:40.350 --> 00:11:40.360 align:start position:0%
the version string for the kernel
 

00:11:40.360 --> 00:11:42.629 align:start position:0%
the version string for the kernel
instead<00:11:40.639><c> of</c><00:11:40.720><c> it</c><00:11:40.839><c> saying</c><00:11:41.200><c> Darwin</c><00:11:42.200><c> uh</c><00:11:42.320><c> the</c><00:11:42.440><c> first</c>

00:11:42.629 --> 00:11:42.639 align:start position:0%
instead of it saying Darwin uh the first
 

00:11:42.639 --> 00:11:44.310 align:start position:0%
instead of it saying Darwin uh the first
four<00:11:42.839><c> letters</c><00:11:43.079><c> have</c><00:11:43.200><c> been</c><00:11:43.320><c> overwritten</c><00:11:43.920><c> with</c>

00:11:44.310 --> 00:11:44.320 align:start position:0%
four letters have been overwritten with
 

00:11:44.320 --> 00:11:46.509 align:start position:0%
four letters have been overwritten with
capital<00:11:44.680><c> A's</c><00:11:45.480><c> so</c><00:11:45.920><c> there's</c><00:11:46.079><c> a</c><00:11:46.160><c> little</c><00:11:46.320><c> bit</c>

00:11:46.509 --> 00:11:46.519 align:start position:0%
capital A's so there's a little bit
 

00:11:46.519 --> 00:11:48.069 align:start position:0%
capital A's so there's a little bit
quick<00:11:46.720><c> proof</c><00:11:47.000><c> that</c><00:11:47.120><c> it</c><00:11:47.200><c> does</c><00:11:47.440><c> work</c><00:11:47.680><c> so</c><00:11:47.839><c> you</c><00:11:47.920><c> can</c>

00:11:48.069 --> 00:11:48.079 align:start position:0%
quick proof that it does work so you can
 

00:11:48.079 --> 00:11:50.110 align:start position:0%
quick proof that it does work so you can
obviously<00:11:48.440><c> write</c><00:11:48.680><c> more</c><00:11:48.880><c> bites</c><00:11:49.440><c> than</c><00:11:49.760><c> uh</c><00:11:49.920><c> than</c>

00:11:50.110 --> 00:11:50.120 align:start position:0%
obviously write more bites than uh than
 

00:11:50.120 --> 00:11:52.110 align:start position:0%
obviously write more bites than uh than
this<00:11:50.320><c> and</c><00:11:50.560><c> change</c><00:11:50.839><c> the</c><00:11:50.959><c> whole</c><00:11:51.120><c> version</c><00:11:51.360><c> string</c>

00:11:52.110 --> 00:11:52.120 align:start position:0%
this and change the whole version string
 

00:11:52.120 --> 00:11:53.470 align:start position:0%
this and change the whole version string
and<00:11:52.279><c> obviously</c><00:11:52.560><c> do</c><00:11:52.680><c> it</c><00:11:52.760><c> to</c><00:11:52.880><c> many</c><00:11:53.040><c> other</c><00:11:53.279><c> places</c>

00:11:53.470 --> 00:11:53.480 align:start position:0%
and obviously do it to many other places
 

00:11:53.480 --> 00:11:55.829 align:start position:0%
and obviously do it to many other places
in<00:11:53.600><c> the</c><00:11:53.720><c> kernel</c><00:11:54.440><c> not</c><00:11:54.639><c> just</c><00:11:54.800><c> for</c><00:11:55.160><c> data</c><00:11:55.480><c> related</c>

00:11:55.829 --> 00:11:55.839 align:start position:0%
in the kernel not just for data related
 

00:11:55.839 --> 00:11:57.310 align:start position:0%
in the kernel not just for data related
things<00:11:56.120><c> but</c><00:11:56.279><c> for</c><00:11:56.639><c> actually</c><00:11:56.920><c> patching</c>

00:11:57.310 --> 00:11:57.320 align:start position:0%
things but for actually patching
 

00:11:57.320 --> 00:11:59.069 align:start position:0%
things but for actually patching
instructions<00:11:57.959><c> so</c><00:11:58.600><c> that's</c><00:11:58.760><c> basically</c><00:11:59.000><c> what</c>

00:11:59.069 --> 00:11:59.079 align:start position:0%
instructions so that's basically what
 

00:11:59.079 --> 00:12:00.990 align:start position:0%
instructions so that's basically what
this<00:11:59.320><c> app</c><00:11:59.519><c> does</c><00:11:59.839><c> I'll</c><00:12:00.079><c> probably</c><00:12:00.519><c> leave</c><00:12:00.680><c> a</c><00:12:00.800><c> link</c>

00:12:00.990 --> 00:12:01.000 align:start position:0%
this app does I'll probably leave a link
 

00:12:01.000 --> 00:12:03.710 align:start position:0%
this app does I'll probably leave a link
to<00:12:01.160><c> this</c><00:12:01.360><c> somewhere</c><00:12:01.800><c> when</c><00:12:01.959><c> I've</c><00:12:02.399><c> uh</c><00:12:03.279><c> made</c><00:12:03.440><c> it</c><00:12:03.600><c> a</c>

00:12:03.710 --> 00:12:03.720 align:start position:0%
to this somewhere when I've uh made it a
 

00:12:03.720 --> 00:12:05.829 align:start position:0%
to this somewhere when I've uh made it a
bit<00:12:03.880><c> more</c><00:12:04.839><c> gave</c><00:12:05.000><c> it</c><00:12:05.240><c> gave</c><00:12:05.440><c> a</c><00:12:05.519><c> few</c><00:12:05.680><c> more</c>

00:12:05.829 --> 00:12:05.839 align:start position:0%
bit more gave it gave a few more
 

00:12:05.839 --> 00:12:07.750 align:start position:0%
bit more gave it gave a few more
features<00:12:06.800><c> um</c><00:12:06.880><c> but</c><00:12:07.000><c> if</c><00:12:07.079><c> you</c><00:12:07.240><c> do</c><00:12:07.399><c> want</c><00:12:07.480><c> to</c>

00:12:07.750 --> 00:12:07.760 align:start position:0%
features um but if you do want to
 

00:12:07.760 --> 00:12:08.790 align:start position:0%
features um but if you do want to
experiment<00:12:08.120><c> with</c><00:12:08.240><c> this</c><00:12:08.399><c> as</c><00:12:08.480><c> I</c><00:12:08.560><c> said</c><00:12:08.680><c> I'll</c>

00:12:08.790 --> 00:12:08.800 align:start position:0%
experiment with this as I said I'll
 

00:12:08.800 --> 00:12:10.030 align:start position:0%
experiment with this as I said I'll
leave<00:12:08.959><c> a</c><00:12:09.040><c> couple</c><00:12:09.240><c> links</c><00:12:09.480><c> as</c><00:12:09.600><c> well</c><00:12:09.760><c> about</c><00:12:09.920><c> the</c>

00:12:10.030 --> 00:12:10.040 align:start position:0%
leave a couple links as well about the
 

00:12:10.040 --> 00:12:12.269 align:start position:0%
leave a couple links as well about the
VM<00:12:10.360><c> read</c><00:12:11.079><c> if</c><00:12:11.160><c> you</c><00:12:11.279><c> want</c><00:12:11.360><c> to</c><00:12:11.639><c> manipulate</c><00:12:12.120><c> with</c>

00:12:12.269 --> 00:12:12.279 align:start position:0%
VM read if you want to manipulate with
 

00:12:12.279 --> 00:12:14.269 align:start position:0%
VM read if you want to manipulate with
that<00:12:12.959><c> um</c><00:12:13.320><c> and</c><00:12:13.480><c> follow</c><00:12:13.680><c> me</c><00:12:13.800><c> on</c><00:12:13.880><c> Twitter</c><00:12:14.120><c> if</c><00:12:14.199><c> you</c>

00:12:14.269 --> 00:12:14.279 align:start position:0%
that um and follow me on Twitter if you
 

00:12:14.279 --> 00:12:15.670 align:start position:0%
that um and follow me on Twitter if you
want<00:12:14.360><c> to</c><00:12:14.440><c> see</c><00:12:14.600><c> some</c><00:12:14.800><c> updates</c><00:12:15.279><c> because</c><00:12:15.480><c> I'm</c>

00:12:15.670 --> 00:12:15.680 align:start position:0%
want to see some updates because I'm
 

00:12:15.680 --> 00:12:17.389 align:start position:0%
want to see some updates because I'm
actually<00:12:15.920><c> working</c><00:12:16.279><c> on</c><00:12:16.399><c> a</c><00:12:16.519><c> tool</c><00:12:16.839><c> that</c><00:12:16.959><c> uses</c>

00:12:17.389 --> 00:12:17.399 align:start position:0%
actually working on a tool that uses
 

00:12:17.399 --> 00:12:19.389 align:start position:0%
actually working on a tool that uses
this<00:12:17.760><c> idea</c><00:12:18.519><c> but</c><00:12:18.639><c> it</c><00:12:18.760><c> allows</c><00:12:19.040><c> people</c><00:12:19.199><c> to</c>

00:12:19.389 --> 00:12:19.399 align:start position:0%
this idea but it allows people to
 

00:12:19.399 --> 00:12:21.030 align:start position:0%
this idea but it allows people to
actually<00:12:19.680><c> practice</c><00:12:20.320><c> return</c><00:12:20.560><c> oriented</c>

00:12:21.030 --> 00:12:21.040 align:start position:0%
actually practice return oriented
 

00:12:21.040 --> 00:12:23.949 align:start position:0%
actually practice return oriented
programming<00:12:21.560><c> or</c><00:12:21.760><c> r</c><00:12:22.440><c> at</c><00:12:22.600><c> a</c><00:12:22.760><c> kernel</c><00:12:23.120><c> level</c>

00:12:23.949 --> 00:12:23.959 align:start position:0%
programming or r at a kernel level
 

00:12:23.959 --> 00:12:25.750 align:start position:0%
programming or r at a kernel level
without<00:12:24.320><c> having</c><00:12:24.519><c> to</c><00:12:24.760><c> really</c><00:12:25.040><c> exploit</c><00:12:25.480><c> real</c>

00:12:25.750 --> 00:12:25.760 align:start position:0%
without having to really exploit real
 

00:12:25.760 --> 00:12:27.790 align:start position:0%
without having to really exploit real
vulnerabilities<00:12:26.399><c> but</c><00:12:26.560><c> instead</c><00:12:27.040><c> it</c><00:12:27.360><c> basically</c>

00:12:27.790 --> 00:12:27.800 align:start position:0%
vulnerabilities but instead it basically
 

00:12:27.800 --> 00:12:29.829 align:start position:0%
vulnerabilities but instead it basically
puts<00:12:28.040><c> in</c><00:12:28.240><c> some</c><00:12:28.519><c> fake</c><00:12:28.760><c> or</c><00:12:28.920><c> art</c><00:12:29.160><c> AR</c><00:12:29.279><c> official</c><00:12:29.560><c> Kel</c>

00:12:29.829 --> 00:12:29.839 align:start position:0%
puts in some fake or art AR official Kel
 

00:12:29.839 --> 00:12:31.750 align:start position:0%
puts in some fake or art AR official Kel
Runner<00:12:30.120><c> belties</c><00:12:30.760><c> to</c><00:12:30.920><c> allow</c><00:12:31.120><c> you</c><00:12:31.199><c> to</c><00:12:31.320><c> exploit</c><00:12:31.680><c> a</c>

00:12:31.750 --> 00:12:31.760 align:start position:0%
Runner belties to allow you to exploit a
 

00:12:31.760 --> 00:12:33.389 align:start position:0%
Runner belties to allow you to exploit a
little<00:12:31.920><c> bit</c><00:12:32.040><c> easier</c><00:12:32.360><c> so</c><00:12:32.560><c> for</c><00:12:32.839><c> educational</c>

00:12:33.389 --> 00:12:33.399 align:start position:0%
little bit easier so for educational
 

00:12:33.399 --> 00:12:35.030 align:start position:0%
little bit easier so for educational
purposes<00:12:34.120><c> so</c><00:12:34.240><c> if</c><00:12:34.320><c> you're</c><00:12:34.440><c> interested</c><00:12:34.720><c> in</c><00:12:34.839><c> that</c>

00:12:35.030 --> 00:12:35.040 align:start position:0%
purposes so if you're interested in that
 

00:12:35.040 --> 00:12:36.710 align:start position:0%
purposes so if you're interested in that
then<00:12:35.160><c> follow</c><00:12:35.399><c> me</c><00:12:35.560><c> on</c><00:12:35.720><c> Twitter</c><00:12:36.279><c> and</c><00:12:36.399><c> you</c><00:12:36.480><c> should</c>

00:12:36.710 --> 00:12:36.720 align:start position:0%
then follow me on Twitter and you should
 

00:12:36.720 --> 00:12:38.590 align:start position:0%
then follow me on Twitter and you should
see<00:12:36.920><c> some</c><00:12:37.040><c> updates</c><00:12:37.399><c> on</c><00:12:37.560><c> that</c><00:12:38.000><c> I</c><00:12:38.160><c> also</c><00:12:38.360><c> probably</c>

00:12:38.590 --> 00:12:38.600 align:start position:0%
see some updates on that I also probably
 

00:12:38.600 --> 00:12:39.910 align:start position:0%
see some updates on that I also probably
have<00:12:38.720><c> some</c><00:12:38.839><c> more</c><00:12:38.959><c> videos</c><00:12:39.279><c> coming</c><00:12:39.480><c> out</c><00:12:39.680><c> when</c><00:12:39.800><c> I</c>

00:12:39.910 --> 00:12:39.920 align:start position:0%
have some more videos coming out when I
 

00:12:39.920 --> 00:12:42.069 align:start position:0%
have some more videos coming out when I
get<00:12:40.079><c> some</c><00:12:40.240><c> more</c><00:12:40.519><c> stuff</c><00:12:41.040><c> uh</c><00:12:41.240><c> working</c><00:12:41.720><c> with</c><00:12:41.880><c> all</c>

00:12:42.069 --> 00:12:42.079 align:start position:0%
get some more stuff uh working with all
 

00:12:42.079 --> 00:12:43.829 align:start position:0%
get some more stuff uh working with all
that<00:12:42.720><c> but</c><00:12:42.920><c> um</c><00:12:43.079><c> that</c><00:12:43.160><c> is</c><00:12:43.279><c> pretty</c><00:12:43.440><c> much</c><00:12:43.560><c> it</c><00:12:43.680><c> for</c>

00:12:43.829 --> 00:12:43.839 align:start position:0%
that but um that is pretty much it for
 

00:12:43.839 --> 00:12:44.910 align:start position:0%
that but um that is pretty much it for
this<00:12:43.959><c> video</c><00:12:44.160><c> so</c><00:12:44.279><c> if</c><00:12:44.360><c> you</c><00:12:44.440><c> have</c><00:12:44.560><c> any</c><00:12:44.680><c> questions</c>

00:12:44.910 --> 00:12:44.920 align:start position:0%
this video so if you have any questions
 

00:12:44.920 --> 00:12:46.189 align:start position:0%
this video so if you have any questions
about<00:12:45.079><c> this</c><00:12:45.279><c> then</c><00:12:45.440><c> I'll</c><00:12:45.560><c> be</c><00:12:45.680><c> happy</c><00:12:45.839><c> to</c><00:12:45.959><c> help</c>

00:12:46.189 --> 00:12:46.199 align:start position:0%
about this then I'll be happy to help
 

00:12:46.199 --> 00:12:48.590 align:start position:0%
about this then I'll be happy to help
leave<00:12:46.360><c> a</c><00:12:46.480><c> comment</c><00:12:46.920><c> or</c><00:12:47.160><c> tweet</c><00:12:47.440><c> me</c><00:12:47.720><c> at</c>

00:12:48.590 --> 00:12:48.600 align:start position:0%
leave a comment or tweet me at
 

00:12:48.600 --> 00:12:50.790 align:start position:0%
leave a comment or tweet me at
bs1000<00:12:49.600><c> and</c><00:12:49.959><c> yeah</c><00:12:50.199><c> that</c><00:12:50.320><c> is</c><00:12:50.399><c> it</c><00:12:50.519><c> for</c><00:12:50.680><c> this</c>

00:12:50.790 --> 00:12:50.800 align:start position:0%
bs1000 and yeah that is it for this
 

00:12:50.800 --> 00:12:52.509 align:start position:0%
bs1000 and yeah that is it for this
video<00:12:51.040><c> so</c><00:12:51.160><c> I</c><00:12:51.240><c> hope</c><00:12:51.360><c> you</c><00:12:51.480><c> guys</c><00:12:51.720><c> enjoyed</c><00:12:52.360><c> don't</c>

00:12:52.509 --> 00:12:52.519 align:start position:0%
video so I hope you guys enjoyed don't
 

00:12:52.519 --> 00:12:53.990 align:start position:0%
video so I hope you guys enjoyed don't
forget<00:12:52.720><c> to</c><00:12:52.800><c> subscribe</c><00:12:53.120><c> for</c><00:12:53.240><c> more</c><00:12:53.560><c> and</c><00:12:53.760><c> I</c><00:12:53.839><c> will</c>

00:12:53.990 --> 00:12:54.000 align:start position:0%
forget to subscribe for more and I will
 

00:12:54.000 --> 00:12:57.720 align:start position:0%
forget to subscribe for more and I will
see<00:12:54.199><c> you</c><00:12:54.480><c> next</c><00:12:54.720><c> time</c>

