WEBVTT
Kind: captions
Language: en

00:00:00.000 --> 00:00:01.790 align:start position:0%
 
Today<00:00:00.560><c> we're</c><00:00:00.680><c> going</c><00:00:00.800><c> to</c><00:00:00.880><c> dive</c><00:00:01.160><c> into</c><00:00:01.400><c> the</c><00:00:01.520><c> world</c>

00:00:01.790 --> 00:00:01.800 align:start position:0%
Today we're going to dive into the world
 

00:00:01.800 --> 00:00:03.550 align:start position:0%
Today we're going to dive into the world
of<00:00:01.880><c> reverse</c><00:00:02.240><c> engineering</c><00:00:02.760><c> with</c><00:00:02.960><c> a</c><00:00:03.040><c> practical</c>

00:00:03.550 --> 00:00:03.560 align:start position:0%
of reverse engineering with a practical
 

00:00:03.560 --> 00:00:05.590 align:start position:0%
of reverse engineering with a practical
example<00:00:04.040><c> on</c><00:00:04.200><c> iOS</c><00:00:04.640><c> that</c><00:00:04.840><c> you</c><00:00:04.960><c> can</c><00:00:05.120><c> follow</c><00:00:05.360><c> along</c>

00:00:05.590 --> 00:00:05.600 align:start position:0%
example on iOS that you can follow along
 

00:00:05.600 --> 00:00:06.990 align:start position:0%
example on iOS that you can follow along
with.<00:00:06.080><c> We're</c><00:00:06.160><c> going</c><00:00:06.280><c> to</c><00:00:06.320><c> be</c><00:00:06.400><c> looking</c><00:00:06.680><c> at</c><00:00:06.800><c> how</c>

00:00:06.990 --> 00:00:07.000 align:start position:0%
with. We're going to be looking at how
 

00:00:07.000 --> 00:00:08.750 align:start position:0%
with. We're going to be looking at how
we<00:00:07.120><c> can</c><00:00:07.240><c> reverse</c><00:00:07.640><c> engineer</c><00:00:08.000><c> the</c><00:00:08.240><c> iPhone's</c>

00:00:08.750 --> 00:00:08.760 align:start position:0%
we can reverse engineer the iPhone's
 

00:00:08.760 --> 00:00:10.790 align:start position:0%
we can reverse engineer the iPhone's
home<00:00:09.080><c> button</c><00:00:09.440><c> press</c><00:00:09.720><c> mechanism</c><00:00:10.480><c> and</c><00:00:10.640><c> then</c>

00:00:10.790 --> 00:00:10.800 align:start position:0%
home button press mechanism and then
 

00:00:10.800 --> 00:00:12.830 align:start position:0%
home button press mechanism and then
implement<00:00:11.240><c> a</c><00:00:11.320><c> custom</c><00:00:11.760><c> tool</c><00:00:12.200><c> that</c><00:00:12.360><c> allows</c><00:00:12.720><c> us</c>

00:00:12.830 --> 00:00:12.840 align:start position:0%
implement a custom tool that allows us
 

00:00:12.840 --> 00:00:14.270 align:start position:0%
implement a custom tool that allows us
to<00:00:13.040><c> simulate</c><00:00:13.560><c> button</c><00:00:13.840><c> presses</c>

00:00:14.270 --> 00:00:14.280 align:start position:0%
to simulate button presses
 

00:00:14.280 --> 00:00:15.990 align:start position:0%
to simulate button presses
programmatically<00:00:15.200><c> without</c><00:00:15.600><c> physically</c>

00:00:15.990 --> 00:00:16.000 align:start position:0%
programmatically without physically
 

00:00:16.000 --> 00:00:17.710 align:start position:0%
programmatically without physically
touching<00:00:16.360><c> the</c><00:00:16.440><c> real</c><00:00:16.640><c> button.</c><00:00:17.360><c> And</c><00:00:17.520><c> yeah,</c>

00:00:17.710 --> 00:00:17.720 align:start position:0%
touching the real button. And yeah,
 

00:00:17.720 --> 00:00:19.350 align:start position:0%
touching the real button. And yeah,
obviously<00:00:18.040><c> these</c><00:00:18.320><c> days</c><00:00:18.640><c> iPhones</c><00:00:19.120><c> don't</c>

00:00:19.350 --> 00:00:19.360 align:start position:0%
obviously these days iPhones don't
 

00:00:19.360 --> 00:00:20.790 align:start position:0%
obviously these days iPhones don't
actually<00:00:19.640><c> have</c><00:00:19.840><c> a</c><00:00:19.920><c> physical</c><00:00:20.280><c> home</c><00:00:20.440><c> button,</c>

00:00:20.790 --> 00:00:20.800 align:start position:0%
actually have a physical home button,
 

00:00:20.800 --> 00:00:22.230 align:start position:0%
actually have a physical home button,
but<00:00:21.080><c> we're</c><00:00:21.200><c> using</c><00:00:21.480><c> a</c><00:00:21.520><c> slightly</c><00:00:21.920><c> older</c>

00:00:22.230 --> 00:00:22.240 align:start position:0%
but we're using a slightly older
 

00:00:22.240 --> 00:00:23.790 align:start position:0%
but we're using a slightly older
jailbroken<00:00:22.720><c> device</c><00:00:23.120><c> for</c><00:00:23.280><c> the</c><00:00:23.360><c> purposes</c><00:00:23.720><c> of</c>

00:00:23.790 --> 00:00:23.800 align:start position:0%
jailbroken device for the purposes of
 

00:00:23.800 --> 00:00:25.750 align:start position:0%
jailbroken device for the purposes of
this<00:00:23.960><c> video.</c><00:00:24.640><c> The</c><00:00:24.760><c> same</c><00:00:25.000><c> concepts</c><00:00:25.440><c> however</c>

00:00:25.750 --> 00:00:25.760 align:start position:0%
this video. The same concepts however
 

00:00:25.760 --> 00:00:27.630 align:start position:0%
this video. The same concepts however
will<00:00:25.920><c> apply</c><00:00:26.280><c> to</c><00:00:26.560><c> modern</c><00:00:27.000><c> iOS</c><00:00:27.320><c> reverse</c>

00:00:27.630 --> 00:00:27.640 align:start position:0%
will apply to modern iOS reverse
 

00:00:27.640 --> 00:00:29.230 align:start position:0%
will apply to modern iOS reverse
engineering.<00:00:28.320><c> You</c><00:00:28.440><c> could</c><00:00:28.520><c> potentially</c><00:00:29.040><c> use</c>

00:00:29.230 --> 00:00:29.240 align:start position:0%
engineering. You could potentially use
 

00:00:29.240 --> 00:00:31.230 align:start position:0%
engineering. You could potentially use
this<00:00:29.480><c> for</c><00:00:29.640><c> some</c><00:00:29.960><c> kind</c><00:00:30.080><c> of</c><00:00:30.200><c> custom</c><00:00:30.680><c> automation</c>

00:00:31.230 --> 00:00:31.240 align:start position:0%
this for some kind of custom automation
 

00:00:31.240 --> 00:00:33.190 align:start position:0%
this for some kind of custom automation
tooling<00:00:31.680><c> for</c><00:00:31.960><c> a</c><00:00:32.040><c> device</c><00:00:32.400><c> farm,</c><00:00:32.880><c> but</c><00:00:33.080><c> at</c><00:00:33.160><c> the</c>

00:00:33.190 --> 00:00:33.200 align:start position:0%
tooling for a device farm, but at the
 

00:00:33.200 --> 00:00:35.070 align:start position:0%
tooling for a device farm, but at the
very<00:00:33.440><c> least</c><00:00:33.800><c> it</c><00:00:33.960><c> serves</c><00:00:34.280><c> as</c><00:00:34.400><c> a</c><00:00:34.440><c> nice</c><00:00:34.720><c> visual</c>

00:00:35.070 --> 00:00:35.080 align:start position:0%
very least it serves as a nice visual
 

00:00:35.080 --> 00:00:36.950 align:start position:0%
very least it serves as a nice visual
demo<00:00:35.520><c> that</c><00:00:35.640><c> we</c><00:00:35.760><c> can</c><00:00:35.920><c> build</c><00:00:36.280><c> as</c><00:00:36.400><c> a</c><00:00:36.440><c> result</c><00:00:36.840><c> of</c>

00:00:36.950 --> 00:00:36.960 align:start position:0%
demo that we can build as a result of
 

00:00:36.960 --> 00:00:38.830 align:start position:0%
demo that we can build as a result of
our<00:00:37.080><c> reverse</c><00:00:37.440><c> engineering</c><00:00:37.920><c> efforts.</c><00:00:38.680><c> So</c>

00:00:38.830 --> 00:00:38.840 align:start position:0%
our reverse engineering efforts. So
 

00:00:38.840 --> 00:00:40.750 align:start position:0%
our reverse engineering efforts. So
let's<00:00:39.040><c> begin.</c><00:00:39.800><c> When</c><00:00:40.000><c> you</c><00:00:40.120><c> click</c><00:00:40.320><c> a</c><00:00:40.360><c> physical</c>

00:00:40.750 --> 00:00:40.760 align:start position:0%
let's begin. When you click a physical
 

00:00:40.760 --> 00:00:42.590 align:start position:0%
let's begin. When you click a physical
button<00:00:41.200><c> on</c><00:00:41.360><c> an</c><00:00:41.480><c> iPhone,</c><00:00:42.040><c> a</c><00:00:42.120><c> hardware</c>

00:00:42.590 --> 00:00:42.600 align:start position:0%
button on an iPhone, a hardware
 

00:00:42.600 --> 00:00:44.510 align:start position:0%
button on an iPhone, a hardware
interrupt<00:00:43.080><c> gets</c><00:00:43.320><c> triggered</c><00:00:43.840><c> and</c><00:00:44.080><c> forwarded</c>

00:00:44.510 --> 00:00:44.520 align:start position:0%
interrupt gets triggered and forwarded
 

00:00:44.520 --> 00:00:46.830 align:start position:0%
interrupt gets triggered and forwarded
to<00:00:44.680><c> the</c><00:00:44.800><c> relevant</c><00:00:45.280><c> kernel</c><00:00:45.640><c> handler</c><00:00:46.000><c> function.</c>

00:00:46.830 --> 00:00:46.840 align:start position:0%
to the relevant kernel handler function.
 

00:00:46.840 --> 00:00:49.150 align:start position:0%
to the relevant kernel handler function.
Here<00:00:47.200><c> the</c><00:00:47.320><c> kernel</c><00:00:47.760><c> identifies</c><00:00:48.480><c> which</c><00:00:48.760><c> button</c>

00:00:49.150 --> 00:00:49.160 align:start position:0%
Here the kernel identifies which button
 

00:00:49.160 --> 00:00:51.270 align:start position:0%
Here the kernel identifies which button
has<00:00:49.320><c> been</c><00:00:49.520><c> clicked</c><00:00:50.280><c> and</c><00:00:50.520><c> it</c><00:00:50.600><c> goes</c><00:00:50.840><c> on</c><00:00:51.040><c> to</c>

00:00:51.270 --> 00:00:51.280 align:start position:0%
has been clicked and it goes on to
 

00:00:51.280 --> 00:00:53.390 align:start position:0%
has been clicked and it goes on to
create<00:00:51.640><c> the</c><00:00:51.760><c> relevant</c><00:00:52.160><c> event</c><00:00:52.560><c> object</c>

00:00:53.390 --> 00:00:53.400 align:start position:0%
create the relevant event object
 

00:00:53.400 --> 00:00:55.790 align:start position:0%
create the relevant event object
representing<00:00:54.000><c> that</c><00:00:54.240><c> click</c><00:00:54.560><c> action.</c><00:00:55.520><c> This</c>

00:00:55.790 --> 00:00:55.800 align:start position:0%
representing that click action. This
 

00:00:55.800 --> 00:00:57.870 align:start position:0%
representing that click action. This
event<00:00:56.200><c> gets</c><00:00:56.480><c> dispatched</c><00:00:57.080><c> through</c><00:00:57.240><c> the</c><00:00:57.360><c> system</c>

00:00:57.870 --> 00:00:57.880 align:start position:0%
event gets dispatched through the system
 

00:00:57.880 --> 00:00:59.870 align:start position:0%
event gets dispatched through the system
and<00:00:58.200><c> eventually</c><00:00:58.720><c> makes</c><00:00:59.040><c> its</c><00:00:59.200><c> way</c><00:00:59.520><c> to</c><00:00:59.760><c> the</c>

00:00:59.870 --> 00:00:59.880 align:start position:0%
and eventually makes its way to the
 

00:00:59.880 --> 00:01:02.070 align:start position:0%
and eventually makes its way to the
springboard<00:01:00.520><c> process</c><00:01:01.040><c> in</c><00:01:01.240><c> New</c><00:01:01.400><c> Zealand,</c>

00:01:02.070 --> 00:01:02.080 align:start position:0%
springboard process in New Zealand,
 

00:01:02.080 --> 00:01:04.869 align:start position:0%
springboard process in New Zealand,
which<00:01:02.360><c> is</c><00:01:02.480><c> the</c><00:01:02.560><c> main</c><00:01:02.920><c> UI</c><00:01:03.280><c> process</c><00:01:03.720><c> for</c><00:01:03.920><c> iOS.</c>

00:01:04.869 --> 00:01:04.879 align:start position:0%
which is the main UI process for iOS.
 

00:01:04.879 --> 00:01:06.590 align:start position:0%
which is the main UI process for iOS.
Springboard<00:01:05.400><c> then</c><00:01:05.560><c> goes</c><00:01:05.800><c> on</c><00:01:05.960><c> to</c><00:01:06.120><c> actually</c><00:01:06.400><c> do</c>

00:01:06.590 --> 00:01:06.600 align:start position:0%
Springboard then goes on to actually do
 

00:01:06.600 --> 00:01:09.150 align:start position:0%
Springboard then goes on to actually do
the<00:01:06.760><c> UI</c><00:01:07.120><c> animations</c><00:01:07.800><c> for</c><00:01:08.160><c> closing</c><00:01:08.560><c> an</c><00:01:08.720><c> app</c><00:01:09.000><c> or</c>

00:01:09.150 --> 00:01:09.160 align:start position:0%
the UI animations for closing an app or
 

00:01:09.160 --> 00:01:11.070 align:start position:0%
the UI animations for closing an app or
entering<00:01:09.520><c> the</c><00:01:09.560><c> multitasking</c><00:01:10.160><c> switcher.</c><00:01:10.920><c> This</c>

00:01:11.070 --> 00:01:11.080 align:start position:0%
entering the multitasking switcher. This
 

00:01:11.080 --> 00:01:13.110 align:start position:0%
entering the multitasking switcher. This
is<00:01:11.200><c> a</c><00:01:11.280><c> very</c><00:01:11.640><c> general</c><00:01:12.080><c> overview</c><00:01:12.560><c> of</c><00:01:12.760><c> how</c><00:01:13.000><c> the</c>

00:01:13.110 --> 00:01:13.120 align:start position:0%
is a very general overview of how the
 

00:01:13.120 --> 00:01:15.550 align:start position:0%
is a very general overview of how the
button<00:01:13.520><c> click</c><00:01:13.840><c> flow</c><00:01:14.160><c> works.</c><00:01:15.000><c> So</c><00:01:15.160><c> how</c><00:01:15.320><c> can</c><00:01:15.440><c> we</c>

00:01:15.550 --> 00:01:15.560 align:start position:0%
button click flow works. So how can we
 

00:01:15.560 --> 00:01:17.230 align:start position:0%
button click flow works. So how can we
actually<00:01:15.880><c> reverse</c><00:01:16.200><c> engineer</c><00:01:16.600><c> it?</c><00:01:16.960><c> And</c><00:01:17.080><c> more</c>

00:01:17.230 --> 00:01:17.240 align:start position:0%
actually reverse engineer it? And more
 

00:01:17.240 --> 00:01:19.110 align:start position:0%
actually reverse engineer it? And more
importantly,<00:01:18.040><c> how</c><00:01:18.280><c> will</c><00:01:18.400><c> we</c><00:01:18.560><c> be</c><00:01:18.720><c> able</c><00:01:18.920><c> to</c>

00:01:19.110 --> 00:01:19.120 align:start position:0%
importantly, how will we be able to
 

00:01:19.120 --> 00:01:21.750 align:start position:0%
importantly, how will we be able to
inject<00:01:19.600><c> our</c><00:01:19.840><c> own</c><00:01:20.120><c> fake</c><00:01:20.560><c> button</c><00:01:20.920><c> click</c><00:01:21.200><c> events</c>

00:01:21.750 --> 00:01:21.760 align:start position:0%
inject our own fake button click events
 

00:01:21.760 --> 00:01:24.310 align:start position:0%
inject our own fake button click events
to<00:01:21.920><c> the</c><00:01:22.040><c> device</c><00:01:22.600><c> to</c><00:01:22.760><c> simulate</c><00:01:23.280><c> button</c><00:01:23.560><c> clicks?</c>

00:01:24.310 --> 00:01:24.320 align:start position:0%
to the device to simulate button clicks?
 

00:01:24.320 --> 00:01:25.990 align:start position:0%
to the device to simulate button clicks?
As<00:01:24.480><c> you</c><00:01:24.560><c> might</c><00:01:24.680><c> be</c><00:01:24.760><c> aware,</c><00:01:25.200><c> the</c><00:01:25.400><c> assistive</c>

00:01:25.990 --> 00:01:26.000 align:start position:0%
As you might be aware, the assistive
 

00:01:26.000 --> 00:01:28.350 align:start position:0%
As you might be aware, the assistive
touch<00:01:26.320><c> feature</c><00:01:26.800><c> on</c><00:01:27.000><c> iPhones</c><00:01:27.600><c> allows</c><00:01:28.040><c> you</c><00:01:28.200><c> to</c>

00:01:28.350 --> 00:01:28.360 align:start position:0%
touch feature on iPhones allows you to
 

00:01:28.360 --> 00:01:30.670 align:start position:0%
touch feature on iPhones allows you to
trigger<00:01:28.760><c> virtual</c><00:01:29.240><c> home</c><00:01:29.440><c> button</c><00:01:29.720><c> presses</c><00:01:30.440><c> by</c>

00:01:30.670 --> 00:01:30.680 align:start position:0%
trigger virtual home button presses by
 

00:01:30.680 --> 00:01:33.310 align:start position:0%
trigger virtual home button presses by
tapping<00:01:31.160><c> on</c><00:01:31.280><c> an</c><00:01:31.440><c> on-screen</c><00:01:32.200><c> UI</c><00:01:32.560><c> version</c><00:01:33.200><c> of</c>

00:01:33.310 --> 00:01:33.320 align:start position:0%
tapping on an on-screen UI version of
 

00:01:33.320 --> 00:01:35.270 align:start position:0%
tapping on an on-screen UI version of
the<00:01:33.440><c> home</c><00:01:33.600><c> button.</c><00:01:34.320><c> This</c><00:01:34.560><c> is</c><00:01:34.640><c> normally</c><00:01:35.000><c> used</c>

00:01:35.270 --> 00:01:35.280 align:start position:0%
the home button. This is normally used
 

00:01:35.280 --> 00:01:37.110 align:start position:0%
the home button. This is normally used
on<00:01:35.360><c> devices</c><00:01:35.920><c> where</c><00:01:36.120><c> the</c><00:01:36.240><c> physical</c><00:01:36.640><c> button</c><00:01:36.960><c> is</c>

00:01:37.110 --> 00:01:37.120 align:start position:0%
on devices where the physical button is
 

00:01:37.120 --> 00:01:39.070 align:start position:0%
on devices where the physical button is
broken,<00:01:37.840><c> but</c><00:01:37.960><c> this</c><00:01:38.120><c> means</c><00:01:38.360><c> for</c><00:01:38.560><c> us</c><00:01:38.720><c> that</c><00:01:38.880><c> there</c>

00:01:39.070 --> 00:01:39.080 align:start position:0%
broken, but this means for us that there
 

00:01:39.080 --> 00:01:41.310 align:start position:0%
broken, but this means for us that there
is<00:01:39.360><c> in</c><00:01:39.560><c> fact</c><00:01:39.920><c> a</c><00:01:39.960><c> way</c><00:01:40.280><c> to</c><00:01:40.520><c> simulate</c><00:01:41.000><c> button</c>

00:01:41.310 --> 00:01:41.320 align:start position:0%
is in fact a way to simulate button
 

00:01:41.320 --> 00:01:43.350 align:start position:0%
is in fact a way to simulate button
presses<00:01:42.080><c> without</c><00:01:42.480><c> ever</c><00:01:42.720><c> touching</c><00:01:43.080><c> the</c><00:01:43.200><c> real</c>

00:01:43.350 --> 00:01:43.360 align:start position:0%
presses without ever touching the real
 

00:01:43.360 --> 00:01:45.470 align:start position:0%
presses without ever touching the real
thing.<00:01:44.040><c> In</c><00:01:44.200><c> the</c><00:01:44.280><c> kernel</c><00:01:44.720><c> logs</c><00:01:45.080><c> for</c><00:01:45.240><c> this</c>

00:01:45.470 --> 00:01:45.480 align:start position:0%
thing. In the kernel logs for this
 

00:01:45.480 --> 00:01:47.310 align:start position:0%
thing. In the kernel logs for this
iPhone,<00:01:46.040><c> you</c><00:01:46.160><c> can</c><00:01:46.320><c> see</c><00:01:46.520><c> that</c><00:01:46.680><c> both</c><00:01:46.960><c> the</c><00:01:47.080><c> real</c>

00:01:47.310 --> 00:01:47.320 align:start position:0%
iPhone, you can see that both the real
 

00:01:47.320 --> 00:01:49.230 align:start position:0%
iPhone, you can see that both the real
home<00:01:47.520><c> button</c><00:01:48.160><c> and</c><00:01:48.360><c> the</c><00:01:48.480><c> assistive</c><00:01:48.960><c> touch</c>

00:01:49.230 --> 00:01:49.240 align:start position:0%
home button and the assistive touch
 

00:01:49.240 --> 00:01:51.470 align:start position:0%
home button and the assistive touch
virtual<00:01:49.640><c> home</c><00:01:49.800><c> button</c><00:01:50.560><c> both</c><00:01:51.000><c> trigger</c><00:01:51.400><c> a</c>

00:01:51.470 --> 00:01:51.480 align:start position:0%
virtual home button both trigger a
 

00:01:51.480 --> 00:01:53.430 align:start position:0%
virtual home button both trigger a
function<00:01:51.920><c> call</c><00:01:52.280><c> to</c><00:01:52.400><c> the</c><00:01:52.520><c> kernel</c><00:01:52.840><c> function</c>

00:01:53.430 --> 00:01:53.440 align:start position:0%
function call to the kernel function
 

00:01:53.440 --> 00:01:55.310 align:start position:0%
function call to the kernel function
dispatch<00:01:54.040><c> keyboard</c><00:01:54.400><c> event</c><00:01:54.960><c> when</c><00:01:55.120><c> they</c><00:01:55.240><c> are</c>

00:01:55.310 --> 00:01:55.320 align:start position:0%
dispatch keyboard event when they are
 

00:01:55.320 --> 00:01:56.590 align:start position:0%
dispatch keyboard event when they are
pressed.

00:01:56.590 --> 00:01:56.600 align:start position:0%
pressed.
 

00:01:56.600 --> 00:01:58.870 align:start position:0%
pressed.
This<00:01:56.840><c> is</c><00:01:56.960><c> a</c><00:01:57.080><c> kernel</c><00:01:57.400><c> function</c><00:01:57.920><c> within</c><00:01:58.200><c> the</c><00:01:58.560><c> IO</c>

00:01:58.870 --> 00:01:58.880 align:start position:0%
This is a kernel function within the IO
 

00:01:58.880 --> 00:02:01.270 align:start position:0%
This is a kernel function within the IO
human<00:01:59.280><c> interface</c><00:01:59.720><c> device</c><00:02:00.400><c> kernel</c><00:02:00.720><c> extension</c>

00:02:01.270 --> 00:02:01.280 align:start position:0%
human interface device kernel extension
 

00:02:01.280 --> 00:02:03.430 align:start position:0%
human interface device kernel extension
on<00:02:01.480><c> iOS</c><00:02:01.960><c> that</c><00:02:02.080><c> is</c><00:02:02.200><c> responsible</c><00:02:02.760><c> for</c><00:02:02.920><c> managing</c>

00:02:03.430 --> 00:02:03.440 align:start position:0%
on iOS that is responsible for managing
 

00:02:03.440 --> 00:02:05.910 align:start position:0%
on iOS that is responsible for managing
these<00:02:03.720><c> inputs.</c><00:02:04.720><c> We</c><00:02:04.880><c> also</c><00:02:05.120><c> know</c><00:02:05.320><c> that</c><00:02:05.520><c> because</c>

00:02:05.910 --> 00:02:05.920 align:start position:0%
these inputs. We also know that because
 

00:02:05.920 --> 00:02:07.630 align:start position:0%
these inputs. We also know that because
assistive<00:02:06.400><c> touch</c><00:02:06.800><c> has</c><00:02:07.040><c> a</c><00:02:07.160><c> graphical</c>

00:02:07.630 --> 00:02:07.640 align:start position:0%
assistive touch has a graphical
 

00:02:07.640 --> 00:02:09.389 align:start position:0%
assistive touch has a graphical
interface,<00:02:08.479><c> there</c><00:02:08.640><c> is</c><00:02:08.759><c> at</c><00:02:08.840><c> least</c><00:02:09.119><c> some</c>

00:02:09.389 --> 00:02:09.399 align:start position:0%
interface, there is at least some
 

00:02:09.399 --> 00:02:11.270 align:start position:0%
interface, there is at least some
component<00:02:09.960><c> of</c><00:02:10.080><c> it</c><00:02:10.280><c> probably</c><00:02:10.679><c> running</c><00:02:11.040><c> in</c><00:02:11.240><c> a</c>

00:02:11.270 --> 00:02:11.280 align:start position:0%
component of it probably running in a
 

00:02:11.280 --> 00:02:13.310 align:start position:0%
component of it probably running in a
user<00:02:11.560><c> space</c><00:02:11.840><c> process,</c><00:02:12.680><c> which</c><00:02:12.920><c> must</c><00:02:13.160><c> be</c>

00:02:13.310 --> 00:02:13.320 align:start position:0%
user space process, which must be
 

00:02:13.320 --> 00:02:15.630 align:start position:0%
user space process, which must be
invoking<00:02:13.920><c> these</c><00:02:14.200><c> IO</c><00:02:14.440><c> HID</c><00:02:14.880><c> events</c><00:02:15.400><c> in</c><00:02:15.560><c> the</c>

00:02:15.630 --> 00:02:15.640 align:start position:0%
invoking these IO HID events in the
 

00:02:15.640 --> 00:02:17.670 align:start position:0%
invoking these IO HID events in the
kernel.<00:02:16.320><c> And</c><00:02:16.400><c> if</c><00:02:16.520><c> we</c><00:02:16.600><c> can</c><00:02:16.720><c> find</c><00:02:17.000><c> out</c><00:02:17.160><c> exactly</c>

00:02:17.670 --> 00:02:17.680 align:start position:0%
kernel. And if we can find out exactly
 

00:02:17.680 --> 00:02:19.430 align:start position:0%
kernel. And if we can find out exactly
how<00:02:17.920><c> it's</c><00:02:18.080><c> doing</c><00:02:18.320><c> this,</c><00:02:18.880><c> we</c><00:02:19.000><c> can</c><00:02:19.160><c> surely</c>

00:02:19.430 --> 00:02:19.440 align:start position:0%
how it's doing this, we can surely
 

00:02:19.440 --> 00:02:20.910 align:start position:0%
how it's doing this, we can surely
replicate<00:02:19.880><c> this</c><00:02:20.000><c> behavior</c><00:02:20.440><c> in</c><00:02:20.600><c> our</c><00:02:20.760><c> own</c>

00:02:20.910 --> 00:02:20.920 align:start position:0%
replicate this behavior in our own
 

00:02:20.920 --> 00:02:23.030 align:start position:0%
replicate this behavior in our own
program.<00:02:21.680><c> When</c><00:02:21.800><c> you</c><00:02:21.920><c> first</c><00:02:22.160><c> enable</c><00:02:22.600><c> assistive</c>

00:02:23.030 --> 00:02:23.040 align:start position:0%
program. When you first enable assistive
 

00:02:23.040 --> 00:02:24.870 align:start position:0%
program. When you first enable assistive
touch<00:02:23.320><c> on</c><00:02:23.440><c> an</c><00:02:23.600><c> iPhone,</c><00:02:24.320><c> you'll</c><00:02:24.480><c> see</c><00:02:24.640><c> that</c><00:02:24.800><c> a</c>

00:02:24.870 --> 00:02:24.880 align:start position:0%
touch on an iPhone, you'll see that a
 

00:02:24.880 --> 00:02:26.630 align:start position:0%
touch on an iPhone, you'll see that a
new<00:02:25.160><c> system</c><00:02:25.560><c> process</c><00:02:26.000><c> is</c><00:02:26.160><c> spawned</c><00:02:26.480><c> in</c><00:02:26.560><c> the</c>

00:02:26.630 --> 00:02:26.640 align:start position:0%
new system process is spawned in the
 

00:02:26.640 --> 00:02:29.390 align:start position:0%
new system process is spawned in the
background<00:02:27.360><c> named</c><00:02:27.800><c> assistive</c><00:02:28.320><c> touch</c><00:02:28.680><c> D.</c><00:02:29.240><c> This</c>

00:02:29.390 --> 00:02:29.400 align:start position:0%
background named assistive touch D. This
 

00:02:29.400 --> 00:02:30.910 align:start position:0%
background named assistive touch D. This
is<00:02:29.520><c> the</c><00:02:29.600><c> process</c><00:02:30.040><c> that</c><00:02:30.200><c> manages</c><00:02:30.680><c> the</c>

00:02:30.910 --> 00:02:30.920 align:start position:0%
is the process that manages the
 

00:02:30.920 --> 00:02:33.510 align:start position:0%
is the process that manages the
on-screen<00:02:31.560><c> assistive</c><00:02:32.000><c> touch</c><00:02:32.280><c> UI</c><00:02:32.959><c> and</c><00:02:33.200><c> also</c>

00:02:33.510 --> 00:02:33.520 align:start position:0%
on-screen assistive touch UI and also
 

00:02:33.520 --> 00:02:35.350 align:start position:0%
on-screen assistive touch UI and also
handles<00:02:33.959><c> the</c><00:02:34.080><c> dispatching</c><00:02:34.800><c> of</c><00:02:35.000><c> virtual</c>

00:02:35.350 --> 00:02:35.360 align:start position:0%
handles the dispatching of virtual
 

00:02:35.360 --> 00:02:37.230 align:start position:0%
handles the dispatching of virtual
button<00:02:35.600><c> events.</c><00:02:36.440><c> So,</c><00:02:36.520><c> it</c><00:02:36.640><c> seems</c><00:02:36.880><c> like</c><00:02:37.000><c> this</c><00:02:37.120><c> is</c>

00:02:37.230 --> 00:02:37.240 align:start position:0%
button events. So, it seems like this is
 

00:02:37.240 --> 00:02:39.110 align:start position:0%
button events. So, it seems like this is
a<00:02:37.280><c> good</c><00:02:37.480><c> place</c><00:02:37.720><c> to</c><00:02:37.800><c> start</c><00:02:38.080><c> investigating.</c><00:02:39.040><c> A</c>

00:02:39.110 --> 00:02:39.120 align:start position:0%
a good place to start investigating. A
 

00:02:39.120 --> 00:02:40.870 align:start position:0%
a good place to start investigating. A
nice<00:02:39.360><c> approach</c><00:02:39.760><c> when</c><00:02:39.959><c> starting</c><00:02:40.400><c> out</c><00:02:40.560><c> a</c><00:02:40.640><c> new</c>

00:02:40.870 --> 00:02:40.880 align:start position:0%
nice approach when starting out a new
 

00:02:40.880 --> 00:02:42.510 align:start position:0%
nice approach when starting out a new
reverse<00:02:41.200><c> engineering</c><00:02:41.600><c> project</c><00:02:42.080><c> is</c><00:02:42.200><c> to</c><00:02:42.280><c> get</c><00:02:42.440><c> a</c>

00:02:42.510 --> 00:02:42.520 align:start position:0%
reverse engineering project is to get a
 

00:02:42.520 --> 00:02:44.310 align:start position:0%
reverse engineering project is to get a
high-level<00:02:43.000><c> overview</c><00:02:43.480><c> of</c><00:02:43.600><c> what</c><00:02:43.760><c> the</c><00:02:43.840><c> process</c>

00:02:44.310 --> 00:02:44.320 align:start position:0%
high-level overview of what the process
 

00:02:44.320 --> 00:02:46.110 align:start position:0%
high-level overview of what the process
is<00:02:44.480><c> doing.</c><00:02:45.120><c> So,</c><00:02:45.280><c> instead</c><00:02:45.520><c> of</c><00:02:45.600><c> going</c><00:02:45.840><c> straight</c>

00:02:46.110 --> 00:02:46.120 align:start position:0%
is doing. So, instead of going straight
 

00:02:46.120 --> 00:02:47.870 align:start position:0%
is doing. So, instead of going straight
into<00:02:46.400><c> IDA</c><00:02:46.680><c> and</c><00:02:46.800><c> trying</c><00:02:47.040><c> to</c><00:02:47.160><c> read</c><00:02:47.360><c> thousands</c><00:02:47.760><c> of</c>

00:02:47.870 --> 00:02:47.880 align:start position:0%
into IDA and trying to read thousands of
 

00:02:47.880 --> 00:02:50.030 align:start position:0%
into IDA and trying to read thousands of
lines<00:02:48.160><c> of</c><00:02:48.280><c> decompiled</c><00:02:48.920><c> code,</c><00:02:49.560><c> let's</c><00:02:49.760><c> start</c>

00:02:50.030 --> 00:02:50.040 align:start position:0%
lines of decompiled code, let's start
 

00:02:50.040 --> 00:02:52.470 align:start position:0%
lines of decompiled code, let's start
with<00:02:50.280><c> some</c><00:02:50.440><c> basic</c><00:02:50.920><c> dynamic</c><00:02:51.400><c> analysis</c><00:02:51.880><c> first.</c>

00:02:52.470 --> 00:02:52.480 align:start position:0%
with some basic dynamic analysis first.
 

00:02:52.480 --> 00:02:53.990 align:start position:0%
with some basic dynamic analysis first.
My<00:02:52.640><c> first</c><00:02:52.959><c> aim</c><00:02:53.120><c> here</c><00:02:53.400><c> is</c><00:02:53.520><c> to</c><00:02:53.640><c> try</c><00:02:53.840><c> and</c>

00:02:53.990 --> 00:02:54.000 align:start position:0%
My first aim here is to try and
 

00:02:54.000 --> 00:02:55.949 align:start position:0%
My first aim here is to try and
intercept<00:02:54.640><c> the</c><00:02:54.760><c> calls</c><00:02:55.240><c> that</c><00:02:55.360><c> the</c><00:02:55.480><c> assistive</c>

00:02:55.949 --> 00:02:55.959 align:start position:0%
intercept the calls that the assistive
 

00:02:55.959 --> 00:02:58.150 align:start position:0%
intercept the calls that the assistive
touch<00:02:56.240><c> process</c><00:02:56.640><c> is</c><00:02:56.800><c> making</c><00:02:57.520><c> and</c><00:02:57.680><c> find</c><00:02:57.959><c> out</c>

00:02:58.150 --> 00:02:58.160 align:start position:0%
touch process is making and find out
 

00:02:58.160 --> 00:03:00.190 align:start position:0%
touch process is making and find out
which<00:02:58.400><c> ones</c><00:02:58.800><c> seem</c><00:02:59.120><c> to</c><00:02:59.239><c> be</c><00:02:59.400><c> involved</c><00:03:00.000><c> in</c><00:03:00.120><c> the</c>

00:03:00.190 --> 00:03:00.200 align:start position:0%
which ones seem to be involved in the
 

00:03:00.200 --> 00:03:02.550 align:start position:0%
which ones seem to be involved in the
home<00:03:00.440><c> button</c><00:03:00.760><c> click</c><00:03:01.000><c> events.</c><00:03:01.959><c> Frida</c><00:03:02.400><c> is</c><00:03:02.519><c> a</c>

00:03:02.550 --> 00:03:02.560 align:start position:0%
home button click events. Frida is a
 

00:03:02.560 --> 00:03:04.030 align:start position:0%
home button click events. Frida is a
great<00:03:02.840><c> tool</c><00:03:03.000><c> to</c><00:03:03.120><c> use</c><00:03:03.320><c> for</c><00:03:03.400><c> this</c><00:03:03.760><c> as</c><00:03:03.920><c> it</c>

00:03:04.030 --> 00:03:04.040 align:start position:0%
great tool to use for this as it
 

00:03:04.040 --> 00:03:06.110 align:start position:0%
great tool to use for this as it
provides<00:03:04.400><c> a</c><00:03:04.480><c> really</c><00:03:04.720><c> nice</c><00:03:05.000><c> way</c><00:03:05.239><c> to</c><00:03:05.480><c> inject</c>

00:03:06.110 --> 00:03:06.120 align:start position:0%
provides a really nice way to inject
 

00:03:06.120 --> 00:03:08.190 align:start position:0%
provides a really nice way to inject
short<00:03:06.440><c> JavaScript</c><00:03:07.000><c> hooks</c><00:03:07.400><c> into</c><00:03:07.760><c> arbitrary</c>

00:03:08.190 --> 00:03:08.200 align:start position:0%
short JavaScript hooks into arbitrary
 

00:03:08.200 --> 00:03:10.670 align:start position:0%
short JavaScript hooks into arbitrary
processes<00:03:08.760><c> on</c><00:03:08.959><c> iOS</c><00:03:09.280><c> devices.</c><00:03:10.280><c> We</c><00:03:10.360><c> can</c><00:03:10.519><c> use</c>

00:03:10.670 --> 00:03:10.680 align:start position:0%
processes on iOS devices. We can use
 

00:03:10.680 --> 00:03:12.990 align:start position:0%
processes on iOS devices. We can use
this<00:03:10.840><c> to</c><00:03:10.959><c> trace</c><00:03:11.360><c> calls</c><00:03:11.720><c> to</c><00:03:11.840><c> functions,</c><00:03:12.760><c> dump</c>

00:03:12.990 --> 00:03:13.000 align:start position:0%
this to trace calls to functions, dump
 

00:03:13.000 --> 00:03:15.229 align:start position:0%
this to trace calls to functions, dump
out<00:03:13.120><c> the</c><00:03:13.280><c> arguments,</c><00:03:13.920><c> print</c><00:03:14.239><c> backtraces,</c><00:03:15.040><c> and</c>

00:03:15.229 --> 00:03:15.239 align:start position:0%
out the arguments, print backtraces, and
 

00:03:15.239 --> 00:03:17.630 align:start position:0%
out the arguments, print backtraces, and
much<00:03:15.480><c> more.</c><00:03:16.200><c> This</c><00:03:16.360><c> is</c><00:03:16.519><c> generally</c><00:03:17.120><c> a</c><00:03:17.280><c> preferred</c>

00:03:17.630 --> 00:03:17.640 align:start position:0%
much more. This is generally a preferred
 

00:03:17.640 --> 00:03:19.630 align:start position:0%
much more. This is generally a preferred
approach<00:03:18.000><c> by</c><00:03:18.160><c> many</c><00:03:18.400><c> researchers</c><00:03:19.120><c> over</c><00:03:19.360><c> using</c>

00:03:19.630 --> 00:03:19.640 align:start position:0%
approach by many researchers over using
 

00:03:19.640 --> 00:03:21.830 align:start position:0%
approach by many researchers over using
something<00:03:20.000><c> like</c><00:03:20.360><c> LLDB,</c><00:03:21.160><c> which</c><00:03:21.400><c> provides</c><00:03:21.760><c> a</c>

00:03:21.830 --> 00:03:21.840 align:start position:0%
something like LLDB, which provides a
 

00:03:21.840 --> 00:03:23.470 align:start position:0%
something like LLDB, which provides a
much<00:03:22.120><c> more</c><00:03:22.320><c> fine-grained</c><00:03:23.080><c> debugger</c>

00:03:23.470 --> 00:03:23.480 align:start position:0%
much more fine-grained debugger
 

00:03:23.480 --> 00:03:25.910 align:start position:0%
much more fine-grained debugger
functionality.<00:03:24.600><c> We</c><00:03:24.760><c> could</c><00:03:24.920><c> use</c><00:03:25.160><c> LLDB</c><00:03:25.600><c> later</c>

00:03:25.910 --> 00:03:25.920 align:start position:0%
functionality. We could use LLDB later
 

00:03:25.920 --> 00:03:27.470 align:start position:0%
functionality. We could use LLDB later
if<00:03:26.080><c> we</c><00:03:26.200><c> need,</c><00:03:26.519><c> but</c><00:03:26.840><c> for</c><00:03:27.000><c> a</c><00:03:27.040><c> high-level</c>

00:03:27.470 --> 00:03:27.480 align:start position:0%
if we need, but for a high-level
 

00:03:27.480 --> 00:03:29.470 align:start position:0%
if we need, but for a high-level
function<00:03:27.800><c> tracing,</c><00:03:28.640><c> Frida</c><00:03:28.959><c> works</c><00:03:29.239><c> much</c>

00:03:29.470 --> 00:03:29.480 align:start position:0%
function tracing, Frida works much
 

00:03:29.480 --> 00:03:31.350 align:start position:0%
function tracing, Frida works much
better<00:03:29.760><c> in</c><00:03:29.840><c> my</c><00:03:29.959><c> opinion.</c><00:03:30.760><c> So,</c><00:03:30.880><c> with</c><00:03:31.040><c> Frida</c>

00:03:31.350 --> 00:03:31.360 align:start position:0%
better in my opinion. So, with Frida
 

00:03:31.360 --> 00:03:33.190 align:start position:0%
better in my opinion. So, with Frida
installed<00:03:31.880><c> on</c><00:03:32.000><c> both</c><00:03:32.239><c> the</c><00:03:32.360><c> research</c><00:03:32.760><c> phone</c><00:03:33.040><c> and</c>

00:03:33.190 --> 00:03:33.200 align:start position:0%
installed on both the research phone and
 

00:03:33.200 --> 00:03:35.190 align:start position:0%
installed on both the research phone and
the<00:03:33.280><c> computer,</c><00:03:33.800><c> we</c><00:03:33.959><c> can</c><00:03:34.160><c> run</c><00:03:34.440><c> Frida</c><00:03:34.720><c> trace</c>

00:03:35.190 --> 00:03:35.200 align:start position:0%
the computer, we can run Frida trace
 

00:03:35.200 --> 00:03:37.150 align:start position:0%
the computer, we can run Frida trace
with<00:03:35.360><c> the</c><00:03:35.440><c> process</c><00:03:35.920><c> ID</c><00:03:36.320><c> of</c><00:03:36.519><c> the</c><00:03:36.640><c> assistive</c>

00:03:37.150 --> 00:03:37.160 align:start position:0%
with the process ID of the assistive
 

00:03:37.160 --> 00:03:39.229 align:start position:0%
with the process ID of the assistive
touch<00:03:37.480><c> D</c><00:03:37.720><c> process.</c><00:03:38.680><c> Then</c><00:03:38.800><c> we</c><00:03:38.880><c> can</c><00:03:39.000><c> use</c><00:03:39.160><c> the</c>

00:03:39.229 --> 00:03:39.239 align:start position:0%
touch D process. Then we can use the
 

00:03:39.239 --> 00:03:41.870 align:start position:0%
touch D process. Then we can use the
{dash}m<00:03:39.920><c> or</c><00:03:40.040><c> {dash}i</c><00:03:40.560><c> flag</c><00:03:41.000><c> to</c><00:03:41.160><c> specify</c><00:03:41.800><c> a</c>

00:03:41.870 --> 00:03:41.880 align:start position:0%
{dash}m or {dash}i flag to specify a
 

00:03:41.880 --> 00:03:43.710 align:start position:0%
{dash}m or {dash}i flag to specify a
method<00:03:42.400><c> or</c><00:03:42.600><c> function</c><00:03:43.040><c> name</c><00:03:43.239><c> that</c><00:03:43.320><c> we</c><00:03:43.440><c> want</c><00:03:43.640><c> to</c>

00:03:43.710 --> 00:03:43.720 align:start position:0%
method or function name that we want to
 

00:03:43.720 --> 00:03:45.830 align:start position:0%
method or function name that we want to
trace.<00:03:44.600><c> You</c><00:03:44.720><c> can</c><00:03:44.880><c> really</c><00:03:45.080><c> trial</c><00:03:45.440><c> and</c><00:03:45.560><c> error</c>

00:03:45.830 --> 00:03:45.840 align:start position:0%
trace. You can really trial and error
 

00:03:45.840 --> 00:03:47.949 align:start position:0%
trace. You can really trial and error
anything<00:03:46.239><c> here</c><00:03:46.560><c> using</c><00:03:46.880><c> the</c><00:03:47.080><c> asterisk</c><00:03:47.640><c> as</c><00:03:47.880><c> a</c>

00:03:47.949 --> 00:03:47.959 align:start position:0%
anything here using the asterisk as a
 

00:03:47.959 --> 00:03:49.670 align:start position:0%
anything here using the asterisk as a
wild<00:03:48.320><c> card</c><00:03:48.680><c> to</c><00:03:48.800><c> catch</c><00:03:49.120><c> a</c><00:03:49.160><c> whole</c><00:03:49.360><c> bunch</c><00:03:49.600><c> of</c>

00:03:49.670 --> 00:03:49.680 align:start position:0%
wild card to catch a whole bunch of
 

00:03:49.680 --> 00:03:51.750 align:start position:0%
wild card to catch a whole bunch of
function<00:03:50.000><c> names</c><00:03:50.200><c> at</c><00:03:50.320><c> once.</c><00:03:51.120><c> For</c><00:03:51.200><c> example,</c><00:03:51.640><c> we</c>

00:03:51.750 --> 00:03:51.760 align:start position:0%
function names at once. For example, we
 

00:03:51.760 --> 00:03:53.470 align:start position:0%
function names at once. For example, we
could<00:03:51.880><c> trace</c><00:03:52.240><c> any</c><00:03:52.480><c> function</c><00:03:52.920><c> that</c><00:03:53.040><c> includes</c>

00:03:53.470 --> 00:03:53.480 align:start position:0%
could trace any function that includes
 

00:03:53.480 --> 00:03:55.910 align:start position:0%
could trace any function that includes
the<00:03:53.560><c> word</c><00:03:53.920><c> button</c><00:03:54.440><c> in</c><00:03:54.560><c> its</c><00:03:54.680><c> name.</c><00:03:55.480><c> Frida</c><00:03:55.800><c> will</c>

00:03:55.910 --> 00:03:55.920 align:start position:0%
the word button in its name. Frida will
 

00:03:55.920 --> 00:03:57.670 align:start position:0%
the word button in its name. Frida will
go<00:03:56.120><c> on</c><00:03:56.240><c> to</c><00:03:56.360><c> attach</c><00:03:56.760><c> hooks</c><00:03:57.120><c> to</c><00:03:57.320><c> all</c><00:03:57.520><c> of</c><00:03:57.600><c> the</c>

00:03:57.670 --> 00:03:57.680 align:start position:0%
go on to attach hooks to all of the
 

00:03:57.680 --> 00:03:59.350 align:start position:0%
go on to attach hooks to all of the
matched<00:03:58.040><c> functions,</c><00:03:58.840><c> and</c><00:03:58.960><c> then</c><00:03:59.080><c> when</c><00:03:59.240><c> you</c>

00:03:59.350 --> 00:03:59.360 align:start position:0%
matched functions, and then when you
 

00:03:59.360 --> 00:04:00.990 align:start position:0%
matched functions, and then when you
trigger<00:03:59.680><c> the</c><00:03:59.800><c> relevant</c><00:04:00.200><c> actions</c><00:04:00.760><c> in</c><00:04:00.880><c> the</c>

00:04:00.990 --> 00:04:01.000 align:start position:0%
trigger the relevant actions in the
 

00:04:01.000 --> 00:04:02.910 align:start position:0%
trigger the relevant actions in the
Assistive<00:04:01.440><c> Touch</c><00:04:01.680><c> menu,</c><00:04:02.440><c> you'll</c><00:04:02.600><c> see</c><00:04:02.760><c> that</c>

00:04:02.910 --> 00:04:02.920 align:start position:0%
Assistive Touch menu, you'll see that
 

00:04:02.920 --> 00:04:04.550 align:start position:0%
Assistive Touch menu, you'll see that
the<00:04:03.000><c> hooks</c><00:04:03.400><c> actually</c><00:04:03.760><c> print</c><00:04:04.040><c> out</c><00:04:04.160><c> the</c><00:04:04.240><c> method</c>

00:04:04.550 --> 00:04:04.560 align:start position:0%
the hooks actually print out the method
 

00:04:04.560 --> 00:04:06.630 align:start position:0%
the hooks actually print out the method
names<00:04:05.000><c> as</c><00:04:05.200><c> they</c><00:04:05.320><c> get</c><00:04:05.520><c> called.</c><00:04:06.280><c> So,</c><00:04:06.440><c> after</c>

00:04:06.630 --> 00:04:06.640 align:start position:0%
names as they get called. So, after
 

00:04:06.640 --> 00:04:07.910 align:start position:0%
names as they get called. So, after
pressing<00:04:06.959><c> the</c><00:04:07.040><c> Assistive</c><00:04:07.520><c> Touch</c><00:04:07.760><c> Home</c>

00:04:07.910 --> 00:04:07.920 align:start position:0%
pressing the Assistive Touch Home
 

00:04:07.920 --> 00:04:09.790 align:start position:0%
pressing the Assistive Touch Home
button,<00:04:08.400><c> you'll</c><00:04:08.560><c> see</c><00:04:08.720><c> some</c><00:04:08.959><c> logs</c><00:04:09.320><c> from</c><00:04:09.600><c> Home</c>

00:04:09.790 --> 00:04:09.800 align:start position:0%
button, you'll see some logs from Home
 

00:04:09.800 --> 00:04:12.110 align:start position:0%
button, you'll see some logs from Home
button-related<00:04:10.520><c> methods.</c><00:04:11.280><c> There</c><00:04:11.400><c> is</c><00:04:11.520><c> both</c><00:04:11.920><c> a</c>

00:04:12.110 --> 00:04:12.120 align:start position:0%
button-related methods. There is both a
 

00:04:12.120 --> 00:04:14.230 align:start position:0%
button-related methods. There is both a
press<00:04:12.480><c> Home</c><00:04:12.680><c> button</c><00:04:13.000><c> down</c><00:04:13.480><c> and</c><00:04:13.640><c> a</c><00:04:13.760><c> lift</c><00:04:14.080><c> Home</c>

00:04:14.230 --> 00:04:14.240 align:start position:0%
press Home button down and a lift Home
 

00:04:14.240 --> 00:04:16.270 align:start position:0%
press Home button down and a lift Home
button<00:04:14.560><c> up</c><00:04:14.720><c> method</c><00:04:15.040><c> here,</c><00:04:15.600><c> both</c><00:04:15.880><c> of</c><00:04:16.000><c> which</c>

00:04:16.270 --> 00:04:16.280 align:start position:0%
button up method here, both of which
 

00:04:16.280 --> 00:04:18.270 align:start position:0%
button up method here, both of which
call<00:04:16.519><c> into</c><00:04:16.720><c> the</c><00:04:16.799><c> method</c><00:04:17.320><c> handle</c><00:04:17.720><c> Home</c><00:04:17.959><c> button</c>

00:04:18.270 --> 00:04:18.280 align:start position:0%
call into the method handle Home button
 

00:04:18.280 --> 00:04:20.030 align:start position:0%
call into the method handle Home button
dispatch.<00:04:19.120><c> This</c><00:04:19.280><c> seems</c><00:04:19.480><c> to</c><00:04:19.560><c> be</c><00:04:19.680><c> just</c><00:04:20.040><c> what</c>

00:04:20.030 --> 00:04:20.040 align:start position:0%
dispatch. This seems to be just what
 

00:04:20.040 --> 00:04:21.229 align:start position:0%
dispatch. This seems to be just what
we're<00:04:20.160><c> looking</c><00:04:20.440><c> for.</c>

00:04:21.229 --> 00:04:21.239 align:start position:0%
we're looking for.
 

00:04:21.239 --> 00:04:22.630 align:start position:0%
we're looking for.
To<00:04:21.359><c> understand</c><00:04:21.799><c> these</c><00:04:22.000><c> methods</c><00:04:22.280><c> a</c><00:04:22.320><c> little</c><00:04:22.480><c> bit</c>

00:04:22.630 --> 00:04:22.640 align:start position:0%
To understand these methods a little bit
 

00:04:22.640 --> 00:04:24.470 align:start position:0%
To understand these methods a little bit
deeper,<00:04:23.120><c> it's</c><00:04:23.280><c> now</c><00:04:23.480><c> probably</c><00:04:23.840><c> a</c><00:04:23.880><c> good</c><00:04:24.080><c> idea</c><00:04:24.360><c> to</c>

00:04:24.470 --> 00:04:24.480 align:start position:0%
deeper, it's now probably a good idea to
 

00:04:24.480 --> 00:04:26.830 align:start position:0%
deeper, it's now probably a good idea to
do<00:04:24.600><c> a</c><00:04:24.640><c> little</c><00:04:24.840><c> bit</c><00:04:25.040><c> of</c><00:04:25.280><c> static</c><00:04:25.760><c> analysis.</c><00:04:26.760><c> I</c>

00:04:26.830 --> 00:04:26.840 align:start position:0%
do a little bit of static analysis. I
 

00:04:26.840 --> 00:04:28.950 align:start position:0%
do a little bit of static analysis. I
downloaded<00:04:27.320><c> the</c><00:04:27.480><c> DYOD</c><00:04:28.200><c> shared</c><00:04:28.560><c> cache</c><00:04:28.840><c> for</c>

00:04:28.950 --> 00:04:28.960 align:start position:0%
downloaded the DYOD shared cache for
 

00:04:28.960 --> 00:04:30.950 align:start position:0%
downloaded the DYOD shared cache for
this<00:04:29.160><c> iPhone,</c><00:04:29.760><c> which</c><00:04:29.960><c> is</c><00:04:30.080><c> the</c><00:04:30.240><c> cache</c><00:04:30.600><c> of</c><00:04:30.800><c> all</c>

00:04:30.950 --> 00:04:30.960 align:start position:0%
this iPhone, which is the cache of all
 

00:04:30.960 --> 00:04:32.750 align:start position:0%
this iPhone, which is the cache of all
of<00:04:31.080><c> the</c><00:04:31.160><c> shared</c><00:04:31.440><c> system</c><00:04:31.760><c> libraries,</c><00:04:32.480><c> and</c><00:04:32.600><c> the</c>

00:04:32.750 --> 00:04:32.760 align:start position:0%
of the shared system libraries, and the
 

00:04:32.760 --> 00:04:34.750 align:start position:0%
of the shared system libraries, and the
handle<00:04:33.120><c> Home</c><00:04:33.320><c> button</c><00:04:33.600><c> dispatch</c><00:04:34.040><c> method</c><00:04:34.640><c> is</c>

00:04:34.750 --> 00:04:34.760 align:start position:0%
handle Home button dispatch method is
 

00:04:34.760 --> 00:04:36.030 align:start position:0%
handle Home button dispatch method is
actually<00:04:35.120><c> inside</c><00:04:35.600><c> the</c><00:04:35.680><c> library</c>

00:04:36.030 --> 00:04:36.040 align:start position:0%
actually inside the library
 

00:04:36.040 --> 00:04:38.630 align:start position:0%
actually inside the library
Accessibility<00:04:37.040><c> Physical</c><00:04:37.480><c> Interaction.</c><00:04:38.520><c> You</c>

00:04:38.630 --> 00:04:38.640 align:start position:0%
Accessibility Physical Interaction. You
 

00:04:38.640 --> 00:04:40.350 align:start position:0%
Accessibility Physical Interaction. You
can<00:04:38.800><c> open</c><00:04:39.040><c> this</c><00:04:39.240><c> in</c><00:04:39.400><c> your</c><00:04:39.600><c> disassembler</c><00:04:40.200><c> of</c>

00:04:40.350 --> 00:04:40.360 align:start position:0%
can open this in your disassembler of
 

00:04:40.360 --> 00:04:42.630 align:start position:0%
can open this in your disassembler of
choice<00:04:40.720><c> and</c><00:04:40.919><c> navigate</c><00:04:41.400><c> to</c><00:04:41.480><c> the</c><00:04:41.560><c> method.</c><00:04:42.480><c> I'm</c>

00:04:42.630 --> 00:04:42.640 align:start position:0%
choice and navigate to the method. I'm
 

00:04:42.640 --> 00:04:44.230 align:start position:0%
choice and navigate to the method. I'm
using<00:04:42.919><c> IDA</c><00:04:43.080><c> Pro</c><00:04:43.240><c> for</c><00:04:43.360><c> this.</c>

00:04:44.230 --> 00:04:44.240 align:start position:0%
using IDA Pro for this.
 

00:04:44.240 --> 00:04:45.310 align:start position:0%
using IDA Pro for this.
If<00:04:44.320><c> we</c><00:04:44.440><c> follow</c><00:04:44.720><c> through</c><00:04:44.960><c> some</c><00:04:45.160><c> of</c><00:04:45.240><c> the</c>

00:04:45.310 --> 00:04:45.320 align:start position:0%
If we follow through some of the
 

00:04:45.320 --> 00:04:46.990 align:start position:0%
If we follow through some of the
function<00:04:45.680><c> calls</c><00:04:45.919><c> here,</c><00:04:46.480><c> we</c><00:04:46.640><c> reach</c><00:04:46.919><c> the</c>

00:04:46.990 --> 00:04:47.000 align:start position:0%
function calls here, we reach the
 

00:04:47.000 --> 00:04:49.670 align:start position:0%
function calls here, we reach the
function<00:04:47.560><c> IOHID</c><00:04:48.400><c> user</c><00:04:48.720><c> device</c><00:04:49.200><c> handle</c>

00:04:49.670 --> 00:04:49.680 align:start position:0%
function IOHID user device handle
 

00:04:49.680 --> 00:04:52.830 align:start position:0%
function IOHID user device handle
report,<00:04:50.440><c> and</c><00:04:50.560><c> eventually</c><00:04:51.160><c> IOHID</c><00:04:51.960><c> user</c><00:04:52.200><c> device</c>

00:04:52.830 --> 00:04:52.840 align:start position:0%
report, and eventually IOHID user device
 

00:04:52.840 --> 00:04:54.990 align:start position:0%
report, and eventually IOHID user device
handle<00:04:53.200><c> report</c><00:04:53.600><c> with</c><00:04:53.760><c> timestamp,</c><00:04:54.760><c> which</c>

00:04:54.990 --> 00:04:55.000 align:start position:0%
handle report with timestamp, which
 

00:04:55.000 --> 00:04:57.190 align:start position:0%
handle report with timestamp, which
directly<00:04:55.480><c> calls</c><00:04:55.919><c> into</c><00:04:56.160><c> a</c><00:04:56.240><c> kernel</c><00:04:56.680><c> external</c>

00:04:57.190 --> 00:04:57.200 align:start position:0%
directly calls into a kernel external
 

00:04:57.200 --> 00:04:59.550 align:start position:0%
directly calls into a kernel external
method<00:04:57.800><c> using</c><00:04:58.160><c> the</c><00:04:58.400><c> IOKit</c><00:04:58.919><c> function</c>

00:04:59.550 --> 00:04:59.560 align:start position:0%
method using the IOKit function
 

00:04:59.560 --> 00:05:01.350 align:start position:0%
method using the IOKit function
IOConnectCallMethod.

00:05:01.350 --> 00:05:01.360 align:start position:0%
IOConnectCallMethod.
 

00:05:01.360 --> 00:05:03.150 align:start position:0%
IOConnectCallMethod.
I<00:05:01.480><c> suspected</c><00:05:02.000><c> that</c><00:05:02.120><c> an</c><00:05:02.240><c> IOKit</c><00:05:02.680><c> call</c><00:05:02.880><c> would</c><00:05:03.040><c> be</c>

00:05:03.150 --> 00:05:03.160 align:start position:0%
I suspected that an IOKit call would be
 

00:05:03.160 --> 00:05:04.950 align:start position:0%
I suspected that an IOKit call would be
involved<00:05:03.600><c> here</c><00:05:03.760><c> at</c><00:05:03.919><c> some</c><00:05:04.120><c> point,</c><00:05:04.480><c> since</c><00:05:04.800><c> this</c>

00:05:04.950 --> 00:05:04.960 align:start position:0%
involved here at some point, since this
 

00:05:04.960 --> 00:05:06.470 align:start position:0%
involved here at some point, since this
is<00:05:05.080><c> the</c><00:05:05.200><c> common</c><00:05:05.560><c> method</c><00:05:06.000><c> user</c><00:05:06.240><c> space</c>

00:05:06.470 --> 00:05:06.480 align:start position:0%
is the common method user space
 

00:05:06.480 --> 00:05:08.310 align:start position:0%
is the common method user space
processes<00:05:07.000><c> use</c><00:05:07.520><c> to</c><00:05:07.680><c> interact</c><00:05:08.160><c> with</c><00:05:08.240><c> the</c>

00:05:08.310 --> 00:05:08.320 align:start position:0%
processes use to interact with the
 

00:05:08.320 --> 00:05:10.390 align:start position:0%
processes use to interact with the
kernel.<00:05:09.240><c> And</c><00:05:09.440><c> based</c><00:05:09.680><c> on</c><00:05:09.760><c> the</c><00:05:09.840><c> name</c><00:05:10.200><c> of</c><00:05:10.320><c> the</c>

00:05:10.390 --> 00:05:10.400 align:start position:0%
kernel. And based on the name of the
 

00:05:10.400 --> 00:05:12.230 align:start position:0%
kernel. And based on the name of the
calling<00:05:10.760><c> function,</c><00:05:11.240><c> it</c><00:05:11.360><c> seems</c><00:05:11.640><c> very</c><00:05:11.840><c> likely</c>

00:05:12.230 --> 00:05:12.240 align:start position:0%
calling function, it seems very likely
 

00:05:12.240 --> 00:05:13.750 align:start position:0%
calling function, it seems very likely
that<00:05:12.360><c> the</c><00:05:12.480><c> actual</c><00:05:12.919><c> IO</c><00:05:13.120><c> service</c><00:05:13.520><c> that</c><00:05:13.640><c> we're</c>

00:05:13.750 --> 00:05:13.760 align:start position:0%
that the actual IO service that we're
 

00:05:13.760 --> 00:05:15.630 align:start position:0%
that the actual IO service that we're
interacting<00:05:14.360><c> with</c><00:05:14.520><c> here</c><00:05:15.080><c> is</c><00:05:15.240><c> something</c>

00:05:15.630 --> 00:05:15.640 align:start position:0%
interacting with here is something
 

00:05:15.640 --> 00:05:17.550 align:start position:0%
interacting with here is something
within<00:05:15.880><c> the</c><00:05:16.080><c> IOHID</c><00:05:16.800><c> family</c><00:05:17.240><c> kernel</c>

00:05:17.550 --> 00:05:17.560 align:start position:0%
within the IOHID family kernel
 

00:05:17.560 --> 00:05:20.070 align:start position:0%
within the IOHID family kernel
extension,<00:05:18.400><c> which</c><00:05:18.600><c> makes</c><00:05:18.800><c> perfect</c><00:05:19.160><c> sense.</c>

00:05:20.070 --> 00:05:20.080 align:start position:0%
extension, which makes perfect sense.
 

00:05:20.080 --> 00:05:21.270 align:start position:0%
extension, which makes perfect sense.
For<00:05:20.120><c> those</c><00:05:20.360><c> that</c><00:05:20.480><c> don't</c><00:05:20.640><c> already</c><00:05:20.880><c> know,</c>

00:05:21.270 --> 00:05:21.280 align:start position:0%
For those that don't already know,
 

00:05:21.280 --> 00:05:23.430 align:start position:0%
For those that don't already know,
IOConnectCallMethod<00:05:22.520><c> essentially</c><00:05:23.040><c> acts</c><00:05:23.320><c> as</c>

00:05:23.430 --> 00:05:23.440 align:start position:0%
IOConnectCallMethod essentially acts as
 

00:05:23.440 --> 00:05:25.350 align:start position:0%
IOConnectCallMethod essentially acts as
a<00:05:23.480><c> kind</c><00:05:23.760><c> of</c><00:05:23.880><c> system</c><00:05:24.320><c> call</c><00:05:24.680><c> that</c><00:05:24.880><c> allows</c>

00:05:25.350 --> 00:05:25.360 align:start position:0%
a kind of system call that allows
 

00:05:25.360 --> 00:05:27.790 align:start position:0%
a kind of system call that allows
userland<00:05:25.800><c> processes</c><00:05:26.640><c> to</c><00:05:26.880><c> invoke</c><00:05:27.520><c> kernel</c>

00:05:27.790 --> 00:05:27.800 align:start position:0%
userland processes to invoke kernel
 

00:05:27.800 --> 00:05:30.310 align:start position:0%
userland processes to invoke kernel
functions<00:05:28.320><c> on</c><00:05:28.480><c> specific</c><00:05:28.960><c> driver</c><00:05:29.280><c> interfaces.</c>

00:05:30.310 --> 00:05:30.320 align:start position:0%
functions on specific driver interfaces.
 

00:05:30.320 --> 00:05:32.350 align:start position:0%
functions on specific driver interfaces.
You<00:05:30.560><c> need</c><00:05:30.720><c> to</c><00:05:30.800><c> specify</c><00:05:31.320><c> a</c><00:05:31.400><c> connection</c><00:05:31.919><c> port</c><00:05:32.240><c> to</c>

00:05:32.350 --> 00:05:32.360 align:start position:0%
You need to specify a connection port to
 

00:05:32.360 --> 00:05:34.350 align:start position:0%
You need to specify a connection port to
the<00:05:32.480><c> driver</c><00:05:32.800><c> you're</c><00:05:32.960><c> talking</c><00:05:33.280><c> to,</c><00:05:33.960><c> and</c><00:05:34.120><c> then</c><00:05:34.240><c> a</c>

00:05:34.350 --> 00:05:34.360 align:start position:0%
the driver you're talking to, and then a
 

00:05:34.360 --> 00:05:36.830 align:start position:0%
the driver you're talking to, and then a
method<00:05:34.800><c> index</c><00:05:35.440><c> to</c><00:05:35.560><c> invoke.</c><00:05:36.360><c> In</c><00:05:36.480><c> this</c><00:05:36.600><c> case,</c>

00:05:36.830 --> 00:05:36.840 align:start position:0%
method index to invoke. In this case,
 

00:05:36.840 --> 00:05:38.590 align:start position:0%
method index to invoke. In this case,
the<00:05:36.960><c> code</c><00:05:37.320><c> is</c><00:05:37.440><c> calling</c><00:05:37.840><c> into</c><00:05:38.040><c> method</c><00:05:38.360><c> number</c>

00:05:38.590 --> 00:05:38.600 align:start position:0%
the code is calling into method number
 

00:05:38.600 --> 00:05:40.430 align:start position:0%
the code is calling into method number
two.<00:05:39.360><c> And</c><00:05:39.480><c> on</c><00:05:39.560><c> the</c><00:05:39.640><c> kernel</c><00:05:39.919><c> side,</c><00:05:40.240><c> this</c>

00:05:40.430 --> 00:05:40.440 align:start position:0%
two. And on the kernel side, this
 

00:05:40.440 --> 00:05:42.710 align:start position:0%
two. And on the kernel side, this
corresponds<00:05:41.160><c> to</c><00:05:41.240><c> the</c><00:05:41.360><c> external</c><00:05:41.840><c> function</c>

00:05:42.710 --> 00:05:42.720 align:start position:0%
corresponds to the external function
 

00:05:42.720 --> 00:05:45.430 align:start position:0%
corresponds to the external function
IOHID<00:05:43.480><c> resource</c><00:05:43.880><c> device</c><00:05:44.320><c> user</c><00:05:44.560><c> client</c><00:05:45.160><c> handle</c>

00:05:45.430 --> 00:05:45.440 align:start position:0%
IOHID resource device user client handle
 

00:05:45.440 --> 00:05:47.910 align:start position:0%
IOHID resource device user client handle
report,<00:05:46.360><c> a</c><00:05:46.440><c> function</c><00:05:46.800><c> that</c><00:05:46.960><c> directly</c><00:05:47.480><c> creates</c>

00:05:47.910 --> 00:05:47.920 align:start position:0%
report, a function that directly creates
 

00:05:47.920 --> 00:05:50.790 align:start position:0%
report, a function that directly creates
a<00:05:48.000><c> new</c><00:05:48.280><c> HID</c><00:05:48.760><c> event</c><00:05:49.160><c> and</c><00:05:49.280><c> dispatches</c><00:05:49.840><c> it.</c><00:05:50.520><c> Just</c>

00:05:50.790 --> 00:05:50.800 align:start position:0%
a new HID event and dispatches it. Just
 

00:05:50.800 --> 00:05:52.830 align:start position:0%
a new HID event and dispatches it. Just
the<00:05:50.880><c> same</c><00:05:51.280><c> as</c><00:05:51.440><c> in</c><00:05:51.560><c> the</c><00:05:51.680><c> pipeline</c><00:05:52.200><c> invoked</c><00:05:52.720><c> when</c>

00:05:52.830 --> 00:05:52.840 align:start position:0%
the same as in the pipeline invoked when
 

00:05:52.840 --> 00:05:55.270 align:start position:0%
the same as in the pipeline invoked when
we<00:05:52.960><c> press</c><00:05:53.320><c> a</c><00:05:53.440><c> physical</c><00:05:53.840><c> button.</c><00:05:54.640><c> So</c><00:05:54.760><c> now</c><00:05:55.120><c> we</c>

00:05:55.270 --> 00:05:55.280 align:start position:0%
we press a physical button. So now we
 

00:05:55.280 --> 00:05:57.230 align:start position:0%
we press a physical button. So now we
understand<00:05:55.840><c> that</c><00:05:55.960><c> assistive</c><00:05:56.440><c> touch</c><00:05:56.840><c> somehow</c>

00:05:57.230 --> 00:05:57.240 align:start position:0%
understand that assistive touch somehow
 

00:05:57.240 --> 00:05:59.390 align:start position:0%
understand that assistive touch somehow
triggers<00:05:57.680><c> a</c><00:05:57.760><c> home</c><00:05:58.000><c> button</c><00:05:58.280><c> press</c><00:05:58.800><c> by</c><00:05:58.960><c> calling</c>

00:05:59.390 --> 00:05:59.400 align:start position:0%
triggers a home button press by calling
 

00:05:59.400 --> 00:06:01.670 align:start position:0%
triggers a home button press by calling
method<00:05:59.760><c> two</c><00:06:00.200><c> on</c><00:06:00.400><c> that</c><00:06:00.560><c> kernel</c><00:06:00.840><c> driver.</c><00:06:01.520><c> But</c>

00:06:01.670 --> 00:06:01.680 align:start position:0%
method two on that kernel driver. But
 

00:06:01.680 --> 00:06:03.550 align:start position:0%
method two on that kernel driver. But
what<00:06:01.920><c> arguments</c><00:06:02.360><c> does</c><00:06:02.520><c> it</c><00:06:02.600><c> actually</c><00:06:02.920><c> pass</c><00:06:03.400><c> in</c>

00:06:03.550 --> 00:06:03.560 align:start position:0%
what arguments does it actually pass in
 

00:06:03.560 --> 00:06:05.470 align:start position:0%
what arguments does it actually pass in
order<00:06:03.760><c> to</c><00:06:03.880><c> trigger</c><00:06:04.160><c> that</c><00:06:04.360><c> event?</c><00:06:05.080><c> By</c><00:06:05.200><c> the</c><00:06:05.320><c> way,</c>

00:06:05.470 --> 00:06:05.480 align:start position:0%
order to trigger that event? By the way,
 

00:06:05.480 --> 00:06:07.110 align:start position:0%
order to trigger that event? By the way,
if<00:06:05.680><c> you</c><00:06:05.760><c> appreciate</c><00:06:06.200><c> this</c><00:06:06.320><c> type</c><00:06:06.600><c> of</c><00:06:06.760><c> technical</c>

00:06:07.110 --> 00:06:07.120 align:start position:0%
if you appreciate this type of technical
 

00:06:07.120 --> 00:06:08.830 align:start position:0%
if you appreciate this type of technical
content,<00:06:07.600><c> then</c><00:06:07.800><c> consider</c><00:06:08.120><c> subscribing</c><00:06:08.680><c> and</c>

00:06:08.830 --> 00:06:08.840 align:start position:0%
content, then consider subscribing and
 

00:06:08.840 --> 00:06:10.390 align:start position:0%
content, then consider subscribing and
liking<00:06:09.160><c> this</c><00:06:09.320><c> video</c><00:06:09.640><c> to</c><00:06:09.840><c> help</c><00:06:10.040><c> support</c><00:06:10.320><c> the</c>

00:06:10.390 --> 00:06:10.400 align:start position:0%
liking this video to help support the
 

00:06:10.400 --> 00:06:12.070 align:start position:0%
liking this video to help support the
growth<00:06:10.680><c> of</c><00:06:10.760><c> this</c><00:06:10.920><c> channel.</c><00:06:11.560><c> Let's</c><00:06:11.760><c> do</c><00:06:11.840><c> another</c>

00:06:12.070 --> 00:06:12.080 align:start position:0%
growth of this channel. Let's do another
 

00:06:12.080 --> 00:06:14.070 align:start position:0%
growth of this channel. Let's do another
Frida<00:06:12.360><c> trace,</c><00:06:12.720><c> but</c><00:06:12.960><c> this</c><00:06:13.160><c> time</c><00:06:13.480><c> on</c><00:06:13.600><c> the</c><00:06:13.840><c> IO</c>

00:06:14.070 --> 00:06:14.080 align:start position:0%
Frida trace, but this time on the IO
 

00:06:14.080 --> 00:06:16.710 align:start position:0%
Frida trace, but this time on the IO
connect<00:06:14.480><c> call</c><00:06:14.680><c> method</c><00:06:15.080><c> call</c><00:06:15.400><c> directly.</c><00:06:16.440><c> I've</c>

00:06:16.710 --> 00:06:16.720 align:start position:0%
connect call method call directly. I've
 

00:06:16.720 --> 00:06:18.070 align:start position:0%
connect call method call directly. I've
added<00:06:16.920><c> some</c><00:06:17.040><c> extra</c><00:06:17.320><c> code</c><00:06:17.600><c> here</c><00:06:17.800><c> to</c><00:06:17.919><c> the</c>

00:06:18.070 --> 00:06:18.080 align:start position:0%
added some extra code here to the
 

00:06:18.080 --> 00:06:19.990 align:start position:0%
added some extra code here to the
JavaScript<00:06:18.680><c> hook</c><00:06:18.919><c> for</c><00:06:19.000><c> this</c><00:06:19.200><c> function</c><00:06:19.880><c> that</c>

00:06:19.990 --> 00:06:20.000 align:start position:0%
JavaScript hook for this function that
 

00:06:20.000 --> 00:06:21.990 align:start position:0%
JavaScript hook for this function that
will<00:06:20.160><c> actually</c><00:06:20.440><c> print</c><00:06:20.760><c> a</c><00:06:20.840><c> function</c><00:06:21.320><c> backtrace</c>

00:06:21.990 --> 00:06:22.000 align:start position:0%
will actually print a function backtrace
 

00:06:22.000 --> 00:06:23.710 align:start position:0%
will actually print a function backtrace
as<00:06:22.160><c> well</c><00:06:22.320><c> as</c><00:06:22.400><c> the</c><00:06:22.600><c> arguments</c><00:06:23.160><c> and</c><00:06:23.360><c> dump</c><00:06:23.600><c> the</c>

00:06:23.710 --> 00:06:23.720 align:start position:0%
as well as the arguments and dump the
 

00:06:23.720 --> 00:06:26.190 align:start position:0%
as well as the arguments and dump the
memory<00:06:24.120><c> for</c><00:06:24.320><c> any</c><00:06:24.520><c> pointer</c><00:06:24.880><c> arguments.</c><00:06:25.880><c> Again,</c>

00:06:26.190 --> 00:06:26.200 align:start position:0%
memory for any pointer arguments. Again,
 

00:06:26.200 --> 00:06:28.270 align:start position:0%
memory for any pointer arguments. Again,
you<00:06:26.280><c> could</c><00:06:26.400><c> also</c><00:06:26.600><c> do</c><00:06:26.760><c> this</c><00:06:26.960><c> stage</c><00:06:27.320><c> in</c><00:06:27.520><c> LLDB</c><00:06:28.120><c> if</c>

00:06:28.270 --> 00:06:28.280 align:start position:0%
you could also do this stage in LLDB if
 

00:06:28.280 --> 00:06:30.390 align:start position:0%
you could also do this stage in LLDB if
you<00:06:28.360><c> wanted</c><00:06:28.640><c> to</c><00:06:28.840><c> by</c><00:06:29.080><c> setting</c><00:06:29.400><c> a</c><00:06:29.480><c> breakpoint</c><00:06:30.160><c> on</c>

00:06:30.390 --> 00:06:30.400 align:start position:0%
you wanted to by setting a breakpoint on
 

00:06:30.400 --> 00:06:32.350 align:start position:0%
you wanted to by setting a breakpoint on
IO<00:06:30.640><c> connect</c><00:06:30.960><c> call</c><00:06:31.080><c> method</c><00:06:31.919><c> if</c><00:06:32.040><c> you</c><00:06:32.120><c> want</c><00:06:32.240><c> to</c><00:06:32.320><c> be</c>

00:06:32.350 --> 00:06:32.360 align:start position:0%
IO connect call method if you want to be
 

00:06:32.360 --> 00:06:34.270 align:start position:0%
IO connect call method if you want to be
able<00:06:32.480><c> to</c><00:06:32.560><c> actually</c><00:06:32.840><c> inspect</c><00:06:33.320><c> registers</c><00:06:33.919><c> and</c>

00:06:34.270 --> 00:06:34.280 align:start position:0%
able to actually inspect registers and
 

00:06:34.280 --> 00:06:36.670 align:start position:0%
able to actually inspect registers and
dump<00:06:34.520><c> memory</c><00:06:35.000><c> interactively.</c><00:06:36.200><c> But</c><00:06:36.440><c> in</c><00:06:36.520><c> this</c>

00:06:36.670 --> 00:06:36.680 align:start position:0%
dump memory interactively. But in this
 

00:06:36.680 --> 00:06:38.630 align:start position:0%
dump memory interactively. But in this
case,<00:06:37.000><c> I</c><00:06:37.080><c> think</c><00:06:37.320><c> Frida</c><00:06:37.720><c> is</c><00:06:37.880><c> good</c><00:06:38.040><c> enough.</c>

00:06:38.630 --> 00:06:38.640 align:start position:0%
case, I think Frida is good enough.
 

00:06:38.640 --> 00:06:40.030 align:start position:0%
case, I think Frida is good enough.
Pressing<00:06:38.919><c> the</c><00:06:39.040><c> assistive</c><00:06:39.440><c> touch</c><00:06:39.680><c> button</c>

00:06:40.030 --> 00:06:40.040 align:start position:0%
Pressing the assistive touch button
 

00:06:40.040 --> 00:06:42.230 align:start position:0%
Pressing the assistive touch button
again<00:06:40.480><c> produces</c><00:06:41.000><c> the</c><00:06:41.080><c> following</c><00:06:41.400><c> output.</c><00:06:42.080><c> We</c>

00:06:42.230 --> 00:06:42.240 align:start position:0%
again produces the following output. We
 

00:06:42.240 --> 00:06:44.070 align:start position:0%
again produces the following output. We
first<00:06:42.520><c> see</c><00:06:42.720><c> the</c><00:06:42.840><c> function</c><00:06:43.240><c> backtrace</c><00:06:43.960><c> and</c>

00:06:44.070 --> 00:06:44.080 align:start position:0%
first see the function backtrace and
 

00:06:44.080 --> 00:06:46.110 align:start position:0%
first see the function backtrace and
among<00:06:44.400><c> the</c><00:06:44.520><c> list</c><00:06:45.040><c> is</c><00:06:45.200><c> the</c><00:06:45.360><c> handle</c><00:06:45.720><c> home</c><00:06:45.880><c> button</c>

00:06:46.110 --> 00:06:46.120 align:start position:0%
among the list is the handle home button
 

00:06:46.120 --> 00:06:48.270 align:start position:0%
among the list is the handle home button
dispatch<00:06:46.600><c> method,</c><00:06:47.480><c> confirming</c><00:06:47.960><c> that</c><00:06:48.120><c> we're</c>

00:06:48.270 --> 00:06:48.280 align:start position:0%
dispatch method, confirming that we're
 

00:06:48.280 --> 00:06:49.550 align:start position:0%
dispatch method, confirming that we're
still<00:06:48.480><c> looking</c><00:06:48.760><c> at</c><00:06:48.840><c> the</c><00:06:48.919><c> correct</c><00:06:49.240><c> function</c>

00:06:49.550 --> 00:06:49.560 align:start position:0%
still looking at the correct function
 

00:06:49.560 --> 00:06:51.870 align:start position:0%
still looking at the correct function
call.<00:06:50.240><c> And</c><00:06:50.360><c> then</c><00:06:50.480><c> in</c><00:06:50.640><c> the</c><00:06:50.800><c> arguments</c><00:06:51.480><c> to</c><00:06:51.680><c> the</c>

00:06:51.870 --> 00:06:51.880 align:start position:0%
call. And then in the arguments to the
 

00:06:51.880 --> 00:06:54.030 align:start position:0%
call. And then in the arguments to the
IO<00:06:52.080><c> connect</c><00:06:52.440><c> call</c><00:06:52.600><c> method</c><00:06:53.000><c> call,</c><00:06:53.560><c> we</c><00:06:53.720><c> first</c>

00:06:54.030 --> 00:06:54.040 align:start position:0%
IO connect call method call, we first
 

00:06:54.040 --> 00:06:56.110 align:start position:0%
IO connect call method call, we first
see<00:06:54.320><c> the</c><00:06:54.440><c> port</c><00:06:54.720><c> name</c><00:06:55.120><c> and</c><00:06:55.240><c> the</c><00:06:55.320><c> method</c><00:06:55.680><c> index</c>

00:06:56.110 --> 00:06:56.120 align:start position:0%
see the port name and the method index
 

00:06:56.120 --> 00:06:58.270 align:start position:0%
see the port name and the method index
two.<00:06:56.680><c> Then</c><00:06:56.880><c> we</c><00:06:57.000><c> see</c><00:06:57.120><c> the</c><00:06:57.280><c> actual</c><00:06:57.560><c> data</c><00:06:58.040><c> being</c>

00:06:58.270 --> 00:06:58.280 align:start position:0%
two. Then we see the actual data being
 

00:06:58.280 --> 00:06:59.830 align:start position:0%
two. Then we see the actual data being
passed<00:06:58.600><c> into</c><00:06:58.800><c> the</c><00:06:58.880><c> kernel.</c>

00:06:59.830 --> 00:06:59.840 align:start position:0%
passed into the kernel.
 

00:06:59.840 --> 00:07:01.710 align:start position:0%
passed into the kernel.
The<00:07:00.000><c> first</c><00:07:00.280><c> data</c><00:07:00.600><c> argument</c><00:07:01.000><c> here</c><00:07:01.280><c> is</c><00:07:01.440><c> actually</c>

00:07:01.710 --> 00:07:01.720 align:start position:0%
The first data argument here is actually
 

00:07:01.720 --> 00:07:04.270 align:start position:0%
The first data argument here is actually
just<00:07:01.960><c> a</c><00:07:02.000><c> pointer</c><00:07:02.520><c> to</c><00:07:02.840><c> a</c><00:07:02.960><c> timestamp</c><00:07:03.560><c> value,</c>

00:07:04.270 --> 00:07:04.280 align:start position:0%
just a pointer to a timestamp value,
 

00:07:04.280 --> 00:07:06.070 align:start position:0%
just a pointer to a timestamp value,
which<00:07:04.520><c> we</c><00:07:04.640><c> really</c><00:07:04.840><c> don't</c><00:07:05.040><c> care</c><00:07:05.200><c> about.</c><00:07:05.960><c> And</c>

00:07:06.070 --> 00:07:06.080 align:start position:0%
which we really don't care about. And
 

00:07:06.080 --> 00:07:08.430 align:start position:0%
which we really don't care about. And
its<00:07:06.200><c> argument</c><00:07:06.560><c> size</c><00:07:06.919><c> is</c><00:07:07.120><c> set</c><00:07:07.440><c> as</c><00:07:07.680><c> one.</c><00:07:08.240><c> The</c>

00:07:08.430 --> 00:07:08.440 align:start position:0%
its argument size is set as one. The
 

00:07:08.440 --> 00:07:10.230 align:start position:0%
its argument size is set as one. The
second<00:07:08.800><c> data</c><00:07:09.080><c> argument,</c><00:07:09.440><c> however,</c><00:07:09.880><c> is</c><00:07:10.080><c> the</c>

00:07:10.230 --> 00:07:10.240 align:start position:0%
second data argument, however, is the
 

00:07:10.240 --> 00:07:12.230 align:start position:0%
second data argument, however, is the
interesting<00:07:10.800><c> one.</c><00:07:11.280><c> This</c><00:07:11.440><c> is</c><00:07:11.600><c> a</c><00:07:11.680><c> pointer</c><00:07:12.120><c> to</c>

00:07:12.230 --> 00:07:12.240 align:start position:0%
interesting one. This is a pointer to
 

00:07:12.240 --> 00:07:14.950 align:start position:0%
interesting one. This is a pointer to
the<00:07:12.400><c> actual</c><00:07:12.840><c> so-called</c><00:07:13.560><c> report</c><00:07:14.000><c> data</c><00:07:14.720><c> which</c>

00:07:14.950 --> 00:07:14.960 align:start position:0%
the actual so-called report data which
 

00:07:14.960 --> 00:07:16.830 align:start position:0%
the actual so-called report data which
we're<00:07:15.080><c> sending</c><00:07:15.400><c> into</c><00:07:15.680><c> that</c><00:07:15.800><c> kernel</c><00:07:16.120><c> driver.</c>

00:07:16.830 --> 00:07:16.840 align:start position:0%
we're sending into that kernel driver.
 

00:07:16.840 --> 00:07:18.710 align:start position:0%
we're sending into that kernel driver.
The<00:07:16.960><c> size</c><00:07:17.240><c> of</c><00:07:17.320><c> this</c><00:07:17.480><c> report</c><00:07:17.760><c> data</c><00:07:18.280><c> is</c><00:07:18.400><c> actually</c>

00:07:18.710 --> 00:07:18.720 align:start position:0%
The size of this report data is actually
 

00:07:18.720 --> 00:07:21.430 align:start position:0%
The size of this report data is actually
specified<00:07:19.280><c> as</c><00:07:19.440><c> being</c><00:07:19.760><c> only</c><00:07:20.120><c> one</c><00:07:20.440><c> byte</c><00:07:20.720><c> long.</c>

00:07:21.430 --> 00:07:21.440 align:start position:0%
specified as being only one byte long.
 

00:07:21.440 --> 00:07:22.830 align:start position:0%
specified as being only one byte long.
And<00:07:21.600><c> when</c><00:07:21.720><c> we</c><00:07:21.840><c> actually</c><00:07:22.120><c> look</c><00:07:22.320><c> at</c><00:07:22.400><c> the</c><00:07:22.480><c> data</c>

00:07:22.830 --> 00:07:22.840 align:start position:0%
And when we actually look at the data
 

00:07:22.840 --> 00:07:25.110 align:start position:0%
And when we actually look at the data
itself<00:07:23.400><c> for</c><00:07:23.600><c> both</c><00:07:23.880><c> calls,</c><00:07:24.360><c> the</c><00:07:24.440><c> press</c><00:07:24.840><c> and</c><00:07:25.040><c> the</c>

00:07:25.110 --> 00:07:25.120 align:start position:0%
itself for both calls, the press and the
 

00:07:25.120 --> 00:07:27.550 align:start position:0%
itself for both calls, the press and the
release,<00:07:26.000><c> we</c><00:07:26.120><c> see</c><00:07:26.280><c> that</c><00:07:26.440><c> this</c><00:07:26.640><c> API</c><00:07:27.080><c> is</c><00:07:27.320><c> very,</c>

00:07:27.550 --> 00:07:27.560 align:start position:0%
release, we see that this API is very,
 

00:07:27.560 --> 00:07:30.270 align:start position:0%
release, we see that this API is very,
very<00:07:27.760><c> simple.</c><00:07:28.600><c> Sending</c><00:07:29.120><c> an</c><00:07:29.320><c> 01</c><00:07:29.760><c> byte</c>

00:07:30.270 --> 00:07:30.280 align:start position:0%
very simple. Sending an 01 byte
 

00:07:30.280 --> 00:07:33.030 align:start position:0%
very simple. Sending an 01 byte
represents<00:07:30.880><c> a</c><00:07:30.960><c> button</c><00:07:31.360><c> press.</c><00:07:32.320><c> And</c><00:07:32.560><c> sending</c><00:07:32.960><c> a</c>

00:07:33.030 --> 00:07:33.040 align:start position:0%
represents a button press. And sending a
 

00:07:33.040 --> 00:07:35.310 align:start position:0%
represents a button press. And sending a
null<00:07:33.280><c> byte</c><00:07:33.760><c> represents</c><00:07:34.240><c> a</c><00:07:34.320><c> button</c><00:07:34.600><c> release.</c>

00:07:35.310 --> 00:07:35.320 align:start position:0%
null byte represents a button release.
 

00:07:35.320 --> 00:07:37.230 align:start position:0%
null byte represents a button release.
That's<00:07:35.560><c> really</c><00:07:35.800><c> all</c><00:07:35.960><c> there</c><00:07:36.160><c> is</c><00:07:36.280><c> to</c><00:07:36.440><c> it.</c><00:07:37.080><c> So</c>

00:07:37.230 --> 00:07:37.240 align:start position:0%
That's really all there is to it. So
 

00:07:37.240 --> 00:07:38.870 align:start position:0%
That's really all there is to it. So
with<00:07:37.400><c> this</c><00:07:37.600><c> knowledge,</c><00:07:38.080><c> we</c><00:07:38.200><c> can</c><00:07:38.360><c> begin</c><00:07:38.680><c> to</c>

00:07:38.870 --> 00:07:38.880 align:start position:0%
with this knowledge, we can begin to
 

00:07:38.880 --> 00:07:40.790 align:start position:0%
with this knowledge, we can begin to
implement<00:07:39.360><c> our</c><00:07:39.560><c> own</c><00:07:39.760><c> tool</c><00:07:40.160><c> to</c><00:07:40.320><c> simulate</c>

00:07:40.790 --> 00:07:40.800 align:start position:0%
implement our own tool to simulate
 

00:07:40.800 --> 00:07:42.990 align:start position:0%
implement our own tool to simulate
button<00:07:41.080><c> presses</c><00:07:41.600><c> programmatically.</c><00:07:42.640><c> I</c><00:07:42.800><c> wrote</c>

00:07:42.990 --> 00:07:43.000 align:start position:0%
button presses programmatically. I wrote
 

00:07:43.000 --> 00:07:45.150 align:start position:0%
button presses programmatically. I wrote
some<00:07:43.120><c> basic</c><00:07:43.440><c> code</c><00:07:43.840><c> to</c><00:07:44.080><c> open</c><00:07:44.360><c> an</c><00:07:44.560><c> IO</c><00:07:44.800><c> service</c>

00:07:45.150 --> 00:07:45.160 align:start position:0%
some basic code to open an IO service
 

00:07:45.160 --> 00:07:47.390 align:start position:0%
some basic code to open an IO service
connection<00:07:45.680><c> to</c><00:07:45.840><c> the</c><00:07:46.080><c> IOHID</c><00:07:46.920><c> resource</c>

00:07:47.390 --> 00:07:47.400 align:start position:0%
connection to the IOHID resource
 

00:07:47.400 --> 00:07:49.470 align:start position:0%
connection to the IOHID resource
service,<00:07:48.280><c> and</c><00:07:48.400><c> then</c><00:07:48.520><c> I</c><00:07:48.600><c> wrote</c><00:07:48.800><c> a</c><00:07:48.880><c> function</c><00:07:49.320><c> to</c>

00:07:49.470 --> 00:07:49.480 align:start position:0%
service, and then I wrote a function to
 

00:07:49.480 --> 00:07:50.990 align:start position:0%
service, and then I wrote a function to
simulate<00:07:49.920><c> the</c><00:07:50.040><c> press</c><00:07:50.440><c> and</c><00:07:50.560><c> the</c><00:07:50.640><c> release</c><00:07:50.920><c> of</c>

00:07:50.990 --> 00:07:51.000 align:start position:0%
simulate the press and the release of
 

00:07:51.000 --> 00:07:52.790 align:start position:0%
simulate the press and the release of
the<00:07:51.080><c> home</c><00:07:51.240><c> button</c><00:07:51.880><c> by</c><00:07:52.080><c> either</c><00:07:52.280><c> passing</c><00:07:52.680><c> the</c>

00:07:52.790 --> 00:07:52.800 align:start position:0%
the home button by either passing the
 

00:07:52.800 --> 00:07:55.190 align:start position:0%
the home button by either passing the
zero<00:07:53.200><c> or</c><00:07:53.320><c> the</c><00:07:53.440><c> one</c><00:07:53.920><c> into</c><00:07:54.200><c> the</c><00:07:54.440><c> IO</c><00:07:54.680><c> connect</c><00:07:55.040><c> call</c>

00:07:55.190 --> 00:07:55.200 align:start position:0%
zero or the one into the IO connect call
 

00:07:55.200 --> 00:07:57.870 align:start position:0%
zero or the one into the IO connect call
method<00:07:55.560><c> argument</c><00:07:56.200><c> for</c><00:07:56.320><c> method</c><00:07:56.680><c> index</c><00:07:57.040><c> two.</c><00:07:57.800><c> I</c>

00:07:57.870 --> 00:07:57.880 align:start position:0%
method argument for method index two. I
 

00:07:57.880 --> 00:07:59.950 align:start position:0%
method argument for method index two. I
compiled<00:07:58.320><c> this</c><00:07:58.600><c> and</c><00:07:58.960><c> gave</c><00:07:59.160><c> my</c><00:07:59.320><c> binary</c><00:07:59.720><c> the</c>

00:07:59.950 --> 00:07:59.960 align:start position:0%
compiled this and gave my binary the
 

00:07:59.960 --> 00:08:01.750 align:start position:0%
compiled this and gave my binary the
appropriate<00:08:00.400><c> entitlements,</c><00:08:01.080><c> which</c><00:08:01.320><c> I</c><00:08:01.400><c> stole</c>

00:08:01.750 --> 00:08:01.760 align:start position:0%
appropriate entitlements, which I stole
 

00:08:01.760 --> 00:08:03.710 align:start position:0%
appropriate entitlements, which I stole
from<00:08:01.920><c> the</c><00:08:02.040><c> assistive</c><00:08:02.440><c> touch</c><00:08:02.680><c> D</c><00:08:02.920><c> binary,</c><00:08:03.600><c> and</c>

00:08:03.710 --> 00:08:03.720 align:start position:0%
from the assistive touch D binary, and
 

00:08:03.720 --> 00:08:05.270 align:start position:0%
from the assistive touch D binary, and
then<00:08:03.840><c> I</c><00:08:03.880><c> tried</c><00:08:04.120><c> to</c><00:08:04.200><c> run</c><00:08:04.360><c> it</c><00:08:04.440><c> on</c><00:08:04.560><c> my</c><00:08:04.640><c> device.</c>

00:08:05.270 --> 00:08:05.280 align:start position:0%
then I tried to run it on my device.
 

00:08:05.280 --> 00:08:06.470 align:start position:0%
then I tried to run it on my device.
However,<00:08:05.600><c> there</c><00:08:05.720><c> was</c><00:08:05.840><c> just</c><00:08:06.040><c> one</c><00:08:06.200><c> issue</c><00:08:06.400><c> at</c>

00:08:06.470 --> 00:08:06.480 align:start position:0%
However, there was just one issue at
 

00:08:06.480 --> 00:08:08.310 align:start position:0%
However, there was just one issue at
this<00:08:06.640><c> point</c><00:08:06.880><c> that</c><00:08:07.000><c> I</c><00:08:07.080><c> was</c><00:08:07.240><c> running</c><00:08:07.480><c> into.</c><00:08:08.000><c> My</c>

00:08:08.310 --> 00:08:08.320 align:start position:0%
this point that I was running into. My
 

00:08:08.320 --> 00:08:10.310 align:start position:0%
this point that I was running into. My
IO<00:08:08.600><c> connect</c><00:08:08.920><c> call</c><00:08:09.120><c> method</c><00:08:09.480><c> call</c><00:08:09.840><c> was</c><00:08:10.040><c> actually</c>

00:08:10.310 --> 00:08:10.320 align:start position:0%
IO connect call method call was actually
 

00:08:10.320 --> 00:08:12.950 align:start position:0%
IO connect call method call was actually
failing<00:08:10.800><c> and</c><00:08:11.000><c> returning</c><00:08:11.520><c> an</c><00:08:11.760><c> IO</c><00:08:12.000><c> kit</c><00:08:12.280><c> error,</c>

00:08:12.950 --> 00:08:12.960 align:start position:0%
failing and returning an IO kit error,
 

00:08:12.960 --> 00:08:15.430 align:start position:0%
failing and returning an IO kit error,
device<00:08:13.400><c> not</c><00:08:13.760><c> open.</c><00:08:14.480><c> I</c><00:08:14.600><c> copied</c><00:08:14.880><c> the</c><00:08:15.000><c> arguments</c>

00:08:15.430 --> 00:08:15.440 align:start position:0%
device not open. I copied the arguments
 

00:08:15.440 --> 00:08:17.030 align:start position:0%
device not open. I copied the arguments
exactly<00:08:15.960><c> from</c><00:08:16.160><c> the</c><00:08:16.240><c> Frida</c><00:08:16.480><c> dumps,</c><00:08:16.840><c> but</c>

00:08:17.030 --> 00:08:17.040 align:start position:0%
exactly from the Frida dumps, but
 

00:08:17.040 --> 00:08:18.270 align:start position:0%
exactly from the Frida dumps, but
obviously<00:08:17.360><c> something</c><00:08:17.640><c> else</c><00:08:17.880><c> was</c><00:08:18.000><c> actually</c>

00:08:18.270 --> 00:08:18.280 align:start position:0%
obviously something else was actually
 

00:08:18.280 --> 00:08:20.909 align:start position:0%
obviously something else was actually
wrong.<00:08:18.960><c> The</c><00:08:19.080><c> message</c><00:08:19.440><c> device</c><00:08:19.880><c> not</c><00:08:20.160><c> open</c><00:08:20.600><c> seems</c>

00:08:20.909 --> 00:08:20.919 align:start position:0%
wrong. The message device not open seems
 

00:08:20.919 --> 00:08:22.909 align:start position:0%
wrong. The message device not open seems
to<00:08:21.040><c> suggest</c><00:08:21.480><c> that</c><00:08:21.600><c> we</c><00:08:21.720><c> first</c><00:08:22.000><c> need</c><00:08:22.200><c> to</c><00:08:22.440><c> open</c><00:08:22.880><c> a</c>

00:08:22.909 --> 00:08:22.919 align:start position:0%
to suggest that we first need to open a
 

00:08:22.919 --> 00:08:24.790 align:start position:0%
to suggest that we first need to open a
device<00:08:23.240><c> somehow</c><00:08:23.840><c> prior</c><00:08:24.200><c> to</c><00:08:24.320><c> making</c><00:08:24.680><c> the</c>

00:08:24.790 --> 00:08:24.800 align:start position:0%
device somehow prior to making the
 

00:08:24.800 --> 00:08:27.070 align:start position:0%
device somehow prior to making the
handle<00:08:25.120><c> report</c><00:08:25.480><c> call.</c><00:08:26.320><c> I</c><00:08:26.360><c> had</c><00:08:26.520><c> a</c><00:08:26.560><c> quick</c><00:08:26.800><c> look</c>

00:08:27.070 --> 00:08:27.080 align:start position:0%
handle report call. I had a quick look
 

00:08:27.080 --> 00:08:29.230 align:start position:0%
handle report call. I had a quick look
over<00:08:27.280><c> the</c><00:08:27.440><c> other</c><00:08:27.680><c> external</c><00:08:28.160><c> methods</c><00:08:28.640><c> exposed</c>

00:08:29.230 --> 00:08:29.240 align:start position:0%
over the other external methods exposed
 

00:08:29.240 --> 00:08:31.270 align:start position:0%
over the other external methods exposed
by<00:08:29.360><c> this</c><00:08:29.600><c> user</c><00:08:29.840><c> client</c><00:08:30.120><c> in</c><00:08:30.200><c> the</c><00:08:30.280><c> kernel,</c><00:08:31.040><c> and</c>

00:08:31.270 --> 00:08:31.280 align:start position:0%
by this user client in the kernel, and
 

00:08:31.280 --> 00:08:33.149 align:start position:0%
by this user client in the kernel, and
sure<00:08:31.440><c> enough</c><00:08:31.760><c> method</c><00:08:32.120><c> index</c><00:08:32.520><c> zero</c><00:08:32.960><c> is</c>

00:08:33.149 --> 00:08:33.159 align:start position:0%
sure enough method index zero is
 

00:08:33.159 --> 00:08:35.390 align:start position:0%
sure enough method index zero is
actually<00:08:33.520><c> named</c><00:08:34.000><c> create</c><00:08:34.400><c> device,</c><00:08:35.159><c> which</c>

00:08:35.390 --> 00:08:35.400 align:start position:0%
actually named create device, which
 

00:08:35.400 --> 00:08:37.310 align:start position:0%
actually named create device, which
seems<00:08:35.680><c> like</c><00:08:35.840><c> just</c><00:08:36.080><c> the</c><00:08:36.159><c> thing</c><00:08:36.360><c> we</c><00:08:36.479><c> need.</c><00:08:37.080><c> So,</c><00:08:37.240><c> I</c>

00:08:37.310 --> 00:08:37.320 align:start position:0%
seems like just the thing we need. So, I
 

00:08:37.320 --> 00:08:39.149 align:start position:0%
seems like just the thing we need. So, I
tried<00:08:37.599><c> making</c><00:08:37.960><c> an</c><00:08:38.159><c> IO</c><00:08:38.400><c> connect</c><00:08:38.680><c> call</c><00:08:38.800><c> method</c>

00:08:39.149 --> 00:08:39.159 align:start position:0%
tried making an IO connect call method
 

00:08:39.159 --> 00:08:41.149 align:start position:0%
tried making an IO connect call method
call<00:08:39.479><c> to</c><00:08:39.599><c> this</c><00:08:39.840><c> function</c><00:08:40.240><c> first.</c><00:08:41.000><c> The</c>

00:08:41.149 --> 00:08:41.159 align:start position:0%
call to this function first. The
 

00:08:41.159 --> 00:08:42.750 align:start position:0%
call to this function first. The
arguments<00:08:41.560><c> required</c><00:08:42.000><c> for</c><00:08:42.120><c> this</c><00:08:42.320><c> one</c><00:08:42.520><c> were</c><00:08:42.719><c> a</c>

00:08:42.750 --> 00:08:42.760 align:start position:0%
arguments required for this one were a
 

00:08:42.760 --> 00:08:44.630 align:start position:0%
arguments required for this one were a
little<00:08:42.880><c> bit</c><00:08:43.039><c> more</c><00:08:43.200><c> complex.</c><00:08:44.039><c> It</c><00:08:44.160><c> required</c>

00:08:44.630 --> 00:08:44.640 align:start position:0%
little bit more complex. It required
 

00:08:44.640 --> 00:08:47.230 align:start position:0%
little bit more complex. It required
sending<00:08:45.000><c> in</c><00:08:45.160><c> an</c><00:08:45.360><c> XML</c><00:08:45.800><c> dictionary</c><00:08:46.800><c> with</c><00:08:47.120><c> a</c>

00:08:47.230 --> 00:08:47.240 align:start position:0%
sending in an XML dictionary with a
 

00:08:47.240 --> 00:08:49.470 align:start position:0%
sending in an XML dictionary with a
report<00:08:47.760><c> descriptor</c><00:08:48.240><c> key</c><00:08:48.760><c> followed</c><00:08:49.080><c> by</c><00:08:49.240><c> some</c>

00:08:49.470 --> 00:08:49.480 align:start position:0%
report descriptor key followed by some
 

00:08:49.480 --> 00:08:52.550 align:start position:0%
report descriptor key followed by some
base<00:08:49.720><c> 64</c><00:08:50.320><c> encoded</c><00:08:50.839><c> data</c><00:08:51.600><c> representing</c><00:08:52.440><c> a</c>

00:08:52.550 --> 00:08:52.560 align:start position:0%
base 64 encoded data representing a
 

00:08:52.560 --> 00:08:54.710 align:start position:0%
base 64 encoded data representing a
device<00:08:52.960><c> descriptor.</c><00:08:54.080><c> I</c><00:08:54.120><c> managed</c><00:08:54.360><c> to</c><00:08:54.440><c> get</c><00:08:54.560><c> this</c>

00:08:54.710 --> 00:08:54.720 align:start position:0%
device descriptor. I managed to get this
 

00:08:54.720 --> 00:08:56.870 align:start position:0%
device descriptor. I managed to get this
working<00:08:55.120><c> by</c><00:08:55.280><c> looking</c><00:08:55.720><c> in</c><00:08:55.920><c> the</c><00:08:56.120><c> accessibility</c>

00:08:56.870 --> 00:08:56.880 align:start position:0%
working by looking in the accessibility
 

00:08:56.880 --> 00:08:58.590 align:start position:0%
working by looking in the accessibility
physical<00:08:57.280><c> interaction</c><00:08:57.800><c> library</c><00:08:58.200><c> for</c><00:08:58.400><c> where</c>

00:08:58.590 --> 00:08:58.600 align:start position:0%
physical interaction library for where
 

00:08:58.600 --> 00:09:00.590 align:start position:0%
physical interaction library for where
it<00:08:58.720><c> actually</c><00:08:59.040><c> calls</c><00:08:59.360><c> method</c><00:08:59.640><c> zero</c><00:09:00.440><c> and</c>

00:09:00.590 --> 00:09:00.600 align:start position:0%
it actually calls method zero and
 

00:09:00.600 --> 00:09:02.630 align:start position:0%
it actually calls method zero and
looking<00:09:00.839><c> back</c><00:09:01.040><c> a</c><00:09:01.080><c> few</c><00:09:01.280><c> function</c><00:09:01.640><c> calls.</c><00:09:02.440><c> Here</c>

00:09:02.630 --> 00:09:02.640 align:start position:0%
looking back a few function calls. Here
 

00:09:02.640 --> 00:09:04.470 align:start position:0%
looking back a few function calls. Here
I<00:09:02.720><c> managed</c><00:09:03.000><c> to</c><00:09:03.080><c> find</c><00:09:03.400><c> the</c><00:09:03.560><c> raw</c><00:09:03.800><c> bytes</c><00:09:04.200><c> which</c><00:09:04.400><c> it</c>

00:09:04.470 --> 00:09:04.480 align:start position:0%
I managed to find the raw bytes which it
 

00:09:04.480 --> 00:09:06.510 align:start position:0%
I managed to find the raw bytes which it
encodes,<00:09:05.120><c> and</c><00:09:05.240><c> I</c><00:09:05.280><c> just</c><00:09:05.480><c> copied</c><00:09:05.760><c> those</c><00:09:06.040><c> exactly</c>

00:09:06.510 --> 00:09:06.520 align:start position:0%
encodes, and I just copied those exactly
 

00:09:06.520 --> 00:09:08.190 align:start position:0%
encodes, and I just copied those exactly
into<00:09:06.720><c> my</c><00:09:06.880><c> program.</c><00:09:07.560><c> I</c><00:09:07.680><c> was</c><00:09:07.839><c> completely</c>

00:09:08.190 --> 00:09:08.200 align:start position:0%
into my program. I was completely
 

00:09:08.200 --> 00:09:09.990 align:start position:0%
into my program. I was completely
unfamiliar<00:09:08.720><c> with</c><00:09:08.880><c> the</c><00:09:09.080><c> HID</c><00:09:09.560><c> device</c>

00:09:09.990 --> 00:09:10.000 align:start position:0%
unfamiliar with the HID device
 

00:09:10.000 --> 00:09:11.950 align:start position:0%
unfamiliar with the HID device
descriptor<00:09:10.520><c> terminology</c><00:09:11.240><c> prior</c><00:09:11.520><c> to</c><00:09:11.640><c> working</c>

00:09:11.950 --> 00:09:11.960 align:start position:0%
descriptor terminology prior to working
 

00:09:11.960 --> 00:09:13.950 align:start position:0%
descriptor terminology prior to working
on<00:09:12.040><c> this,</c><00:09:12.560><c> and</c><00:09:12.760><c> so</c><00:09:13.000><c> the</c><00:09:13.160><c> exact</c><00:09:13.560><c> meaning</c><00:09:13.839><c> of</c>

00:09:13.950 --> 00:09:13.960 align:start position:0%
on this, and so the exact meaning of
 

00:09:13.960 --> 00:09:15.710 align:start position:0%
on this, and so the exact meaning of
these<00:09:14.160><c> bytes</c><00:09:14.600><c> is</c><00:09:14.920><c> out</c><00:09:15.080><c> of</c><00:09:15.200><c> scope</c><00:09:15.480><c> for</c><00:09:15.560><c> this</c>

00:09:15.710 --> 00:09:15.720 align:start position:0%
these bytes is out of scope for this
 

00:09:15.720 --> 00:09:17.910 align:start position:0%
these bytes is out of scope for this
video,<00:09:16.280><c> but</c><00:09:16.480><c> essentially</c><00:09:16.960><c> they</c><00:09:17.160><c> are</c><00:09:17.280><c> defining</c>

00:09:17.910 --> 00:09:17.920 align:start position:0%
video, but essentially they are defining
 

00:09:17.920 --> 00:09:20.190 align:start position:0%
video, but essentially they are defining
a<00:09:18.080><c> virtual</c><00:09:18.640><c> human</c><00:09:18.960><c> interface</c><00:09:19.400><c> device</c><00:09:20.000><c> that</c>

00:09:20.190 --> 00:09:20.200 align:start position:0%
a virtual human interface device that
 

00:09:20.200 --> 00:09:22.670 align:start position:0%
a virtual human interface device that
has<00:09:20.520><c> a</c><00:09:20.600><c> single</c><00:09:21.040><c> menu</c><00:09:21.320><c> button.</c><00:09:22.000><c> The</c><00:09:22.080><c> subsequent</c>

00:09:22.670 --> 00:09:22.680 align:start position:0%
has a single menu button. The subsequent
 

00:09:22.680 --> 00:09:24.829 align:start position:0%
has a single menu button. The subsequent
calls<00:09:23.080><c> that</c><00:09:23.200><c> we</c><00:09:23.360><c> make</c><00:09:23.680><c> to</c><00:09:23.800><c> method</c><00:09:24.160><c> two,</c><00:09:24.600><c> which</c>

00:09:24.829 --> 00:09:24.839 align:start position:0%
calls that we make to method two, which
 

00:09:24.839 --> 00:09:26.829 align:start position:0%
calls that we make to method two, which
is<00:09:24.960><c> the</c><00:09:25.080><c> handle</c><00:09:25.440><c> report</c><00:09:25.800><c> function,</c><00:09:26.680><c> are</c>

00:09:26.829 --> 00:09:26.839 align:start position:0%
is the handle report function, are
 

00:09:26.839 --> 00:09:29.590 align:start position:0%
is the handle report function, are
invoking<00:09:27.440><c> events</c><00:09:28.160><c> on</c><00:09:28.360><c> that</c><00:09:28.520><c> virtual</c><00:09:28.880><c> device,</c>

00:09:29.590 --> 00:09:29.600 align:start position:0%
invoking events on that virtual device,
 

00:09:29.600 --> 00:09:31.390 align:start position:0%
invoking events on that virtual device,
and<00:09:29.720><c> the</c><00:09:29.800><c> kernel</c><00:09:30.200><c> in</c><00:09:30.320><c> turn</c><00:09:30.800><c> knows</c><00:09:31.120><c> how</c><00:09:31.280><c> to</c>

00:09:31.390 --> 00:09:31.400 align:start position:0%
and the kernel in turn knows how to
 

00:09:31.400 --> 00:09:33.950 align:start position:0%
and the kernel in turn knows how to
interpret<00:09:31.960><c> the</c><00:09:32.080><c> bytes</c><00:09:32.440><c> it</c><00:09:32.560><c> receives</c><00:09:33.480><c> based</c><00:09:33.800><c> on</c>

00:09:33.950 --> 00:09:33.960 align:start position:0%
interpret the bytes it receives based on
 

00:09:33.960 --> 00:09:36.030 align:start position:0%
interpret the bytes it receives based on
that<00:09:34.120><c> report</c><00:09:34.440><c> descriptor</c><00:09:34.839><c> that</c><00:09:34.960><c> we</c><00:09:35.080><c> provided.</c>

00:09:36.030 --> 00:09:36.040 align:start position:0%
that report descriptor that we provided.
 

00:09:36.040 --> 00:09:38.150 align:start position:0%
that report descriptor that we provided.
It<00:09:36.160><c> knows</c><00:09:36.440><c> to</c><00:09:36.600><c> only</c><00:09:36.880><c> look</c><00:09:37.120><c> at</c><00:09:37.240><c> the</c><00:09:37.360><c> first</c><00:09:37.680><c> byte</c>

00:09:38.150 --> 00:09:38.160 align:start position:0%
It knows to only look at the first byte
 

00:09:38.160 --> 00:09:40.670 align:start position:0%
It knows to only look at the first byte
and<00:09:38.400><c> to</c><00:09:38.560><c> treat</c><00:09:38.880><c> it</c><00:09:39.120><c> as</c><00:09:39.360><c> a</c><00:09:39.440><c> menu</c><00:09:39.760><c> button,</c><00:09:40.480><c> which</c>

00:09:40.670 --> 00:09:40.680 align:start position:0%
and to treat it as a menu button, which
 

00:09:40.680 --> 00:09:42.830 align:start position:0%
and to treat it as a menu button, which
on<00:09:40.880><c> iPhones</c><00:09:41.360><c> is</c><00:09:41.560><c> the</c><00:09:41.640><c> home</c><00:09:41.840><c> button,</c><00:09:42.600><c> and</c><00:09:42.720><c> in</c>

00:09:42.830 --> 00:09:42.840 align:start position:0%
on iPhones is the home button, and in
 

00:09:42.840 --> 00:09:44.910 align:start position:0%
on iPhones is the home button, and in
that<00:09:43.000><c> this</c><00:09:43.200><c> byte</c><00:09:43.480><c> will</c><00:09:43.600><c> be</c><00:09:43.840><c> either</c><00:09:44.200><c> a</c><00:09:44.320><c> zero</c><00:09:44.720><c> or</c>

00:09:44.910 --> 00:09:44.920 align:start position:0%
that this byte will be either a zero or
 

00:09:44.920 --> 00:09:46.870 align:start position:0%
that this byte will be either a zero or
a<00:09:44.960><c> one.</c><00:09:45.800><c> The</c><00:09:45.880><c> rest</c><00:09:46.080><c> of</c><00:09:46.160><c> the</c><00:09:46.240><c> kernel</c><00:09:46.600><c> then</c>

00:09:46.870 --> 00:09:46.880 align:start position:0%
a one. The rest of the kernel then
 

00:09:46.880 --> 00:09:48.790 align:start position:0%
a one. The rest of the kernel then
understands<00:09:47.480><c> how</c><00:09:47.640><c> to</c><00:09:47.800><c> forward</c><00:09:48.120><c> this</c><00:09:48.360><c> on</c><00:09:48.680><c> to</c>

00:09:48.790 --> 00:09:48.800 align:start position:0%
understands how to forward this on to
 

00:09:48.800 --> 00:09:50.590 align:start position:0%
understands how to forward this on to
the<00:09:48.920><c> relevant</c><00:09:49.320><c> handling</c><00:09:49.760><c> code</c><00:09:50.440><c> and</c>

00:09:50.590 --> 00:09:50.600 align:start position:0%
the relevant handling code and
 

00:09:50.600 --> 00:09:52.190 align:start position:0%
the relevant handling code and
eventually<00:09:51.080><c> reach</c><00:09:51.440><c> springboard</c><00:09:52.000><c> in</c>

00:09:52.190 --> 00:09:52.200 align:start position:0%
eventually reach springboard in
 

00:09:52.200 --> 00:09:53.470 align:start position:0%
eventually reach springboard in
userland.

00:09:53.470 --> 00:09:53.480 align:start position:0%
userland.
 

00:09:53.480 --> 00:09:55.110 align:start position:0%
userland.
So,<00:09:53.640><c> finally</c><00:09:54.000><c> putting</c><00:09:54.280><c> this</c><00:09:54.440><c> all</c><00:09:54.560><c> together,</c>

00:09:55.110 --> 00:09:55.120 align:start position:0%
So, finally putting this all together,
 

00:09:55.120 --> 00:09:56.990 align:start position:0%
So, finally putting this all together,
now<00:09:55.400><c> when</c><00:09:55.560><c> I</c><00:09:55.640><c> run</c><00:09:55.840><c> the</c><00:09:55.920><c> tool</c><00:09:56.280><c> on</c><00:09:56.400><c> my</c><00:09:56.520><c> device</c>

00:09:56.990 --> 00:09:57.000 align:start position:0%
now when I run the tool on my device
 

00:09:57.000 --> 00:09:59.430 align:start position:0%
now when I run the tool on my device
over<00:09:57.240><c> SSH,</c><00:09:58.320><c> I</c><00:09:58.400><c> successfully</c><00:09:59.000><c> create</c><00:09:59.360><c> a</c>

00:09:59.430 --> 00:09:59.440 align:start position:0%
over SSH, I successfully create a
 

00:09:59.440 --> 00:10:01.590 align:start position:0%
over SSH, I successfully create a
virtual<00:10:00.000><c> human</c><00:10:00.280><c> interface</c><00:10:00.680><c> device</c><00:10:01.280><c> using</c>

00:10:01.590 --> 00:10:01.600 align:start position:0%
virtual human interface device using
 

00:10:01.600 --> 00:10:03.910 align:start position:0%
virtual human interface device using
method<00:10:01.920><c> zero,</c><00:10:02.640><c> and</c><00:10:02.800><c> then</c><00:10:02.920><c> I</c><00:10:03.040><c> can</c><00:10:03.160><c> invoke</c><00:10:03.560><c> press</c>

00:10:03.910 --> 00:10:03.920 align:start position:0%
method zero, and then I can invoke press
 

00:10:03.920 --> 00:10:05.950 align:start position:0%
method zero, and then I can invoke press
and<00:10:04.080><c> release</c><00:10:04.400><c> events</c><00:10:05.040><c> by</c><00:10:05.120><c> calling</c><00:10:05.560><c> method</c>

00:10:05.950 --> 00:10:05.960 align:start position:0%
and release events by calling method
 

00:10:05.960 --> 00:10:08.070 align:start position:0%
and release events by calling method
index<00:10:06.360><c> two.</c><00:10:06.960><c> You</c><00:10:07.080><c> can</c><00:10:07.240><c> see</c><00:10:07.440><c> that</c><00:10:07.640><c> now</c><00:10:07.920><c> with</c>

00:10:08.070 --> 00:10:08.080 align:start position:0%
index two. You can see that now with
 

00:10:08.080 --> 00:10:10.070 align:start position:0%
index two. You can see that now with
assistive<00:10:08.520><c> touch</c><00:10:08.800><c> completely</c><00:10:09.240><c> turned</c><00:10:09.520><c> off,</c>

00:10:10.070 --> 00:10:10.080 align:start position:0%
assistive touch completely turned off,
 

00:10:10.080 --> 00:10:11.630 align:start position:0%
assistive touch completely turned off,
I'm<00:10:10.280><c> able</c><00:10:10.480><c> to</c><00:10:10.560><c> make</c><00:10:10.760><c> the</c><00:10:10.840><c> phone</c><00:10:11.080><c> believe</c><00:10:11.520><c> that</c>

00:10:11.630 --> 00:10:11.640 align:start position:0%
I'm able to make the phone believe that
 

00:10:11.640 --> 00:10:13.270 align:start position:0%
I'm able to make the phone believe that
the<00:10:11.720><c> home</c><00:10:11.920><c> button</c><00:10:12.200><c> was</c><00:10:12.320><c> clicked</c><00:10:12.920><c> just</c><00:10:13.120><c> by</c>

00:10:13.270 --> 00:10:13.280 align:start position:0%
the home button was clicked just by
 

00:10:13.280 --> 00:10:14.430 align:start position:0%
the home button was clicked just by
running<00:10:13.640><c> the</c><00:10:13.720><c> program</c><00:10:14.160><c> through</c><00:10:14.360><c> the</c>

00:10:14.430 --> 00:10:14.440 align:start position:0%
running the program through the
 

00:10:14.440 --> 00:10:16.470 align:start position:0%
running the program through the
terminal.<00:10:15.160><c> All</c><00:10:15.440><c> as</c><00:10:15.560><c> a</c><00:10:15.600><c> result</c><00:10:16.000><c> of</c><00:10:16.080><c> performing</c>

00:10:16.470 --> 00:10:16.480 align:start position:0%
terminal. All as a result of performing
 

00:10:16.480 --> 00:10:18.430 align:start position:0%
terminal. All as a result of performing
some<00:10:16.680><c> basic</c><00:10:17.040><c> dynamic</c><00:10:17.480><c> analysis</c><00:10:17.960><c> and</c><00:10:18.120><c> reverse</c>

00:10:18.430 --> 00:10:18.440 align:start position:0%
some basic dynamic analysis and reverse
 

00:10:18.440 --> 00:10:20.830 align:start position:0%
some basic dynamic analysis and reverse
engineering<00:10:19.040><c> on</c><00:10:19.160><c> a</c><00:10:19.240><c> jailbroken</c><00:10:19.760><c> iPhone.</c><00:10:20.600><c> As</c><00:10:20.760><c> I</c>

00:10:20.830 --> 00:10:20.840 align:start position:0%
engineering on a jailbroken iPhone. As I
 

00:10:20.840 --> 00:10:22.470 align:start position:0%
engineering on a jailbroken iPhone. As I
mentioned<00:10:21.120><c> before,</c><00:10:21.560><c> this</c><00:10:21.720><c> specific</c><00:10:22.160><c> demo</c>

00:10:22.470 --> 00:10:22.480 align:start position:0%
mentioned before, this specific demo
 

00:10:22.480 --> 00:10:24.430 align:start position:0%
mentioned before, this specific demo
likely<00:10:22.880><c> has</c><00:10:23.080><c> no</c><00:10:23.320><c> real</c><00:10:23.560><c> world</c><00:10:23.840><c> use</c><00:10:24.160><c> unless</c>

00:10:24.430 --> 00:10:24.440 align:start position:0%
likely has no real world use unless
 

00:10:24.440 --> 00:10:25.750 align:start position:0%
likely has no real world use unless
you're<00:10:24.560><c> trying</c><00:10:24.840><c> to</c><00:10:24.960><c> build</c><00:10:25.240><c> some</c><00:10:25.440><c> kind</c><00:10:25.640><c> of</c>

00:10:25.750 --> 00:10:25.760 align:start position:0%
you're trying to build some kind of
 

00:10:25.760 --> 00:10:27.430 align:start position:0%
you're trying to build some kind of
automated<00:10:26.360><c> farm</c><00:10:26.640><c> of</c><00:10:26.720><c> phones</c><00:10:27.080><c> or</c><00:10:27.200><c> something</c>

00:10:27.430 --> 00:10:27.440 align:start position:0%
automated farm of phones or something
 

00:10:27.440 --> 00:10:29.470 align:start position:0%
automated farm of phones or something
like<00:10:27.560><c> that.</c><00:10:28.360><c> You</c><00:10:28.440><c> could</c><00:10:28.560><c> even</c><00:10:28.720><c> try</c><00:10:28.920><c> to</c><00:10:29.040><c> extend</c>

00:10:29.470 --> 00:10:29.480 align:start position:0%
like that. You could even try to extend
 

00:10:29.480 --> 00:10:31.750 align:start position:0%
like that. You could even try to extend
this<00:10:29.680><c> further</c><00:10:30.040><c> by</c><00:10:30.320><c> also</c><00:10:30.680><c> simulating</c><00:10:31.480><c> other</c>

00:10:31.750 --> 00:10:31.760 align:start position:0%
this further by also simulating other
 

00:10:31.760 --> 00:10:33.550 align:start position:0%
this further by also simulating other
button<00:10:32.080><c> presses</c><00:10:32.720><c> or</c><00:10:32.920><c> even</c><00:10:33.120><c> touchscreen</c>

00:10:33.550 --> 00:10:33.560 align:start position:0%
button presses or even touchscreen
 

00:10:33.560 --> 00:10:34.550 align:start position:0%
button presses or even touchscreen
events.

00:10:34.550 --> 00:10:34.560 align:start position:0%
events.
 

00:10:34.560 --> 00:10:35.830 align:start position:0%
events.
But,<00:10:34.640><c> I'll</c><00:10:34.760><c> leave</c><00:10:34.920><c> that</c><00:10:35.120><c> as</c><00:10:35.200><c> an</c><00:10:35.320><c> exercise</c><00:10:35.760><c> for</c>

00:10:35.830 --> 00:10:35.840 align:start position:0%
But, I'll leave that as an exercise for
 

00:10:35.840 --> 00:10:37.470 align:start position:0%
But, I'll leave that as an exercise for
the<00:10:35.920><c> viewer.</c><00:10:36.680><c> At</c><00:10:36.800><c> the</c><00:10:36.880><c> very</c><00:10:37.080><c> least,</c><00:10:37.360><c> it</c>

00:10:37.470 --> 00:10:37.480 align:start position:0%
the viewer. At the very least, it
 

00:10:37.480 --> 00:10:38.990 align:start position:0%
the viewer. At the very least, it
demonstrates<00:10:38.000><c> a</c><00:10:38.040><c> very</c><00:10:38.280><c> nice</c><00:10:38.560><c> practical</c>

00:10:38.990 --> 00:10:39.000 align:start position:0%
demonstrates a very nice practical
 

00:10:39.000 --> 00:10:40.670 align:start position:0%
demonstrates a very nice practical
example<00:10:39.440><c> of</c><00:10:39.560><c> a</c><00:10:39.640><c> beginner</c><00:10:40.080><c> level</c><00:10:40.360><c> reverse</c>

00:10:40.670 --> 00:10:40.680 align:start position:0%
example of a beginner level reverse
 

00:10:40.680 --> 00:10:42.510 align:start position:0%
example of a beginner level reverse
engineering<00:10:41.120><c> project</c><00:10:41.520><c> that</c><00:10:41.640><c> you</c><00:10:41.760><c> can</c><00:10:41.920><c> try</c><00:10:42.320><c> on</c>

00:10:42.510 --> 00:10:42.520 align:start position:0%
engineering project that you can try on
 

00:10:42.520 --> 00:10:44.230 align:start position:0%
engineering project that you can try on
iOS.<00:10:43.360><c> Hopefully,</c><00:10:43.680><c> you</c><00:10:43.760><c> learned</c><00:10:43.920><c> something</c>

00:10:44.230 --> 00:10:44.240 align:start position:0%
iOS. Hopefully, you learned something
 

00:10:44.240 --> 00:10:46.110 align:start position:0%
iOS. Hopefully, you learned something
and<00:10:44.400><c> found</c><00:10:44.600><c> this</c><00:10:44.720><c> video</c><00:10:45.040><c> interesting.</c><00:10:45.920><c> Thanks</c>

00:10:46.110 --> 00:10:46.120 align:start position:0%
and found this video interesting. Thanks
 

00:10:46.120 --> 00:10:47.630 align:start position:0%
and found this video interesting. Thanks
for<00:10:46.200><c> watching</c><00:10:46.640><c> and</c><00:10:46.880><c> I</c><00:10:46.920><c> will</c><00:10:47.080><c> see</c><00:10:47.280><c> you</c><00:10:47.440><c> in</c><00:10:47.560><c> the</c>

00:10:47.630 --> 00:10:47.640 align:start position:0%
for watching and I will see you in the
 

00:10:47.640 --> 00:10:50.080 align:start position:0%
for watching and I will see you in the
next<00:10:47.839><c> one.</c>

