At this point, we take a look at the IOS. We've examined it security model, and we dove into applications a bit.
At this point, based on the way I've explained it, you must think that IOS is, ah, highly guarded fortress Ah, device with complete security with no way to penetrate its defences. Right?
Well, maybe, but based on the IOS being a close system and with the number of protections we've seen so far, we can tell. Apple certainly does a good job defending against attempts to access its ecosystem. However,
there were some Met felt that the IOS and the APP store restrictions were way to strangers and it's configurations were severely lacking.
To mitigate this issue, Jailbreaking was born. This was meant to break out of the APP store jail. So what is jailbreaking Well tell? Breaking is the process of removing restrictions imposed by apple. There's different types of jail breaks as we'll see next. But despite the method used,
we're typically taking advantage of a vulnerability in the hardware or software. The device,
once the device is exploited, allows us to run unsigned code, which usually come in the form of applications, and this opens us up to some risk. We could install an app that has been tampered with in some way or opens our device up to performing malicious activities.
Jailbreaks come in several forms, and the each work in their own separate way. But we can kind of group these together, by the way, the abuse of vulnerabilities in the ecosystem, for instance, tethered and semi untether jailbreaks. They work by abusing vulnerabilities in the boot rahm low level boot loader or I boot process.
Abusing the hardware of the device is attractive because once an exploit for the rahm is known,
the device could be exploited until another Rahm has burned onto it. This is how earlier jailbreaks work, but today there are hard to come by. This is also attractive because each level process has its own a verification process. So as the device boots from the boot Rahm the boot Rahm loads and verifies the love a boot loader.
As the low level boot loader loads,
it loads and verifies the IBEW process. As the I brew process loads it lows and verifies the IOS Colonel. So the earlier we can run unsigned code on the device, the better more recent jailbreaks, like the semi tethered and untethered jailbreaks
he's trying to take advantage of vulnerabilities in the IOS. Colonel
Jailbreaking has become a bit of a cat and mouse game, however, because as people continually find vulnerabilities, Apple continues to close them. For instance, take the KPP less jailbreaks. Thes types of jailbreaks take advantage of Colonel Patch Protection vulnerabilities Colonel Patch protectionism mitigation technique introduced by Apple.
Also, Apple recently has removed signing for old IOS versions.
This prevents people from downgrading their device to exploit old IOS versions.
Okay, then, if this is getting harder and harder, you may be asking yourself, Well, why do we bother? Why do we even jailbreak? Is it just so that a bunch of packers can put their own applications on their phone? Well, it's not really that simple. As you'll see later, there's only a limited number of things we can do with our device if we don't perform a jailbreak.
Yeah, we can download an application and weekend on packet, but that's pretty much all weaken D'oh!
Which is a lot, though, but with a jailbreak, not only can we access the device, but we'll be able to control it and see how the apse work while they're running on our phone. Not only that, we can even inject our own scripts into running applications to get David back. In fact, this is how portions of city works, but more on that later.
All right, I'm gonna take you through a jail breaking demonstration. So I have an iPhone five s running IOS version 11 dot to 11.0.1, and we're going to run an untethered jailbreak and untether jailbreak is one where you don't have to plug in your computer to your phone.
All you do is interact with some software and it's going to attempt to exploit the IOS. Colonel.
Now, with this jailbreak, it's a little finicky, so I'm gonna try to get it. Toe work, however, has been jail broken before Now, because Apple stop signing their IOS versions, I was unable to restore the device completely,
but I was able to to erase all the settings and that pretty much puts it into a state where we can re attempt the jailbreak and I can show it to you properly.
So let's go ahead and start.
Okay, so here we are. We're at the welcome screen.
We just pick our language and region doesn't matter So far you choose Set up manually.
Okay. Now, with these jailbreaks touch I d. Is doesn't work so well, set this up later, even if we want it. And of course, we're sure don't use
OK, pass code. We'll just use all zeros
Okay, so we don't want to do anything like this. We just want to set up a new phone. We don't want iTunes, Nothing like that
later. And settings.
And we just want to wait until it sets up the device.
Agreed to the terms.
Disable location service is
Okay, great. Get started. Okay. So as you can see our devices booted up now, I'm gonna move around a little bit, See? So I jailbreak in this device before. So we've got city of there already, so
if we try to use it, though, it won't work right, because the jailbreak is not broken anymore. We need to redo that. So this is how we'll do that. We'll use thes
Thea untether jailbreak, as I said, So we'll go to safari,
and there's an app called Tweak box
case. We browse there
eventually when it works.
Okay, so what we'll do is we'll install now,
and it says we're trying Thio load a website that's gonna allow us to install app. So, yes, we want to do that.
for these APS toe work, we need to trust the developer. So we're gonna install the developer certificate
or install the developer profile so
and asked us for passcode, and now it's going to install it. So now this developer should be trusted,
which it is. So we should see an icon that's installing tweet box now, which it has. Okay, great. So now we're in tweak box
and we'll look for the jailbreak and install it from here. Once it loads, It takes a long time. I'll posit video and okay, here, You know, we accept in Europe, so we have to accept that.
in the tweet Box AB section,
and we're gonna install the uncover jailbreak on
Okay, we're done here. It is the uncovered jailbreak,
so it's going to install it,
but we'll have to do the same thing that we did for the other application, which is trust the profile. So
well, trust the profile. We might be able to do it. Now let's check.
It's going to the settings.
So we just have to wait for that. So load.
Okay, so now we see that the uncover jailbreak has installed on the device. But again, we have to go and trust that the developer. So what we'll do is to do that.
We have to go to profiles
in device management. And here now we've got a new developer. We need Thio.
We need to trust, So we trust that.
what we need to do is we need to basically put this an airplane moment to shut everything off. You need to shut Syria. If you need to shut the WiFi off, you need to shut everything off. So that's what we're gonna do.
Shut that off. Okay, so
nothing's on their serie have to shut that off.
Okay, That looks like it's off. So we're good there. You also have to remove the pass code. Everything needs to be turned off.
Yes. Everything needs to be turned off for this to work.
Okay, so now we can attempt to jailbreak. The device may just make sure the wife eyes on. I'm sorry. Wife eyes off
Just make sure this is an airplane mode. You have no sim cards and stuff. We know.
Okay, so everything's off now,
uncover. First Rome would make it. There we go make a little liar so you can see it. And I've learned that I need to reinstall sicheia
for this to work properly. For some reason, it doesn't work, right. If you try to jail, break it a second time after you restored it. I don't know why, but that's the funny thing with ease. Jailbreaks, right? Sometimes they work. Sometimes they don't. Sometimes you'll get on the third try sometime. You'll you won't. It's funky, so
he's going through these options reinstalled. Let me try reinstalling us us each to
all right. So let's see if this jail breaks
says it's ready. So let's try and running it,
all right? It's trying.
It says that Okay, so just turned itself off. So let's see if it actually worked or not. We might need to run this a couple of times.
Okay, so our devices booting back up.
Let's see if this jailbreak took or not. I don't think it did. Didn't look like it. So we'll try it again.
No Sim card installed. We know that.
All right, let's see if this works. Let me just shut everything off again, just in case,
you know, just in case we
Yeah, it didn't work. Okay, let's try it again. Let's make sure everything's turned off. Says wife eyes turned off airplane mood.
Everything needs to be turned off.
Make sure the settings of the same
green is still sitting in a city. Can't reset that. Okay,
Ooh, this looks better this time. It's good. Yeah. Okay, so
I think it's working this time.
Hopefully, it's jail breaking. It does successfully. Jailbreak will be able to launch City A,
and that's what we want to do. That's the
Jailbroken app store.
Looks like this is gonna work this time.
All right, So now we got a message saying that the jailbreak completed properly, so let's sit. Okay.
It's going to restart. Its restarted. Now you can't see it, but it's going to research and see if my video re enables.
Okay, cause mine device restarted. It didn't properly.
There we go. All right, So now I think the jail broke work. Let's want Sylvia.
And hopefully this doesn't crash. No, it's not crashing. That's good. And of course, we can't love the city of store because we're not connected to a WiFi. So let's make it. Although it's showing me that I'm connected to a WiFi, which is why jailbreaks are interesting creatures.
we'll turn the WiFi on
okay, connected to my hot spot, and we'll launch the city app store.
Okay, so it looks like the jailbreak was successful because we could launch City A, which is the app store.
But let's be sure for 100%. So typically, when you install Scindia, it also installs open SS age. So if we look at the i p address of our phone, we should be able to log in to be a s s age. So let's do that.
Okay. 192.168 That 43.229 All right, let's close the iPhone and open up a terminal. So We'll hide that and we'll show that. All right, so now let's try to ss age into it.
This is a TSH route.
Uh, 168.43. That 2 to 9. We should get a command prompt here.
Okay, It's asking us for a password. So the first time you do this, the password is Alpine.
Okay. Success. We definitely know that the jailbreak worked. We can sshh into our phone and we can browse around the file system.