So now that we have an emulator setup, we are
able to start to work on building our test environment
on the actual phone itself. And for this
I'm going to discuss. Who would have been about how to use ADB to give
you a little bit of fundamentals, on. And we'll also take
a look at installing a purposefully van Ripple application applications
that
I'm going to be using. In this one of them, is going to beat
this one here. It's called Diva and I'll
include these links inside of like a resources section
at the end of the course. And that
way you'll be able to access all of these links as discussed.
And I'll discuss with your videos. The links are actually
utilized in that sort of thing. Just that what you're able to access
them without having to type this out word for word. So once
we download this will be able to get
in a pique and I APK will be able to be installed
on the device. I have another APK which is
insecure Bank V2, and this is another APK that
will install it another insecure application.
I'll post the link for this inside of a resource is
section. In this course that you're able to get access to that.
And download the APK says, well, it's the very
first thing them discusses. If you're following Along on your own
Android device. If you aren't using an emulator, you're going to first, have
to enable USB debugging and to
do this, you're going to go into your settings and you're
not to get access to the developer tools to
do this. It's a little bit tricky, you have to go into
your system, and they have to go to about
I need to scroll down to build number and you're
just going to tough on this until it
says, you are now a developer. Once this is
done. You should know how have a developer tools auction
in your settings. And on
this one here. I restart
my settings to make sure that it shows.
If you can't find it, you
can try like typing it in here. You'll see developer options
Thunder system and then developer options in
this case. So yeah under system and then
there should be a Developer Options under Advanced. It
will be in different locations, depending on your device.
These this way, just to search it in your settings, to find a
developer settings, access to
a lot of different things that are commonly used by application developers
and Ally. B. Settings may be useful for you
while debugging applications or trying to test them for the
moment. They were interested in right now is USB debugging. You
want to make sure that USB debugging is enabled and it
when this will allow you to access your device through the
command line of your computer using the ADB tool.
This is wanting to know if you're on like an
emulator, you won't talk s*** to do this stuff cuz it comes enabled by default.
So from here, we can launch
up our command line and we can take a look at how we can access
our device through the command line. So there
is a tool called a dbe which is installed typically with
Android studio. And as a whole bunch of different tools that
allow us to manipulate our device and
be able to install different apks. For
instance of creating content providers is another common
thing. There's a lot of things that this is very useful for when
the main things is getting a shell, into your device,
to be able to navigate through it,
and to download pieces and all that good
stuff, right? So if you type in a TB devices,
In this case, it just had to
kill off the client and then started again, but you'll see
he'll give us a list of devices that are currently attached
to a computer so that we have one device which is
the emulator. So if I were to type it out
ADB shell with, this will do, is it
will create a shell into the device itself. So you can
see. Now we have a shell on the device by typing something like LS printable
list of directories sis is like a classic sort
of computer. She'll just on a mobile device instead. So
this is one thing that's very nice to be able to do with ADB
it to be able to Shell on to the device, to gather information.
For instance, to be able to like find out
where an optimist installed navigate to a specific directory
that were trying to access. Or, you know,
just cdata that's all the device. I wanted that you might not
have permissions to give her a rooted device will be able to escalate yourself
to route and get permissions to these aspects. But um, yeah,
typically, you won't have permissions to everything if we're
trying to do this as a legitimate user, we typically
Because you want to be able to do things, any sort of user would
be able to do.
So that's one thing they were able to do with ADB and
if I take an exit, it will take me out of this. She'll know. What
I really want to do is I want to instill these two apks that
we have a download it so that we could do this
is all CD to the directory. And then what
I can do is I can type in a DB install and
I type in the name of the APK is here
will say performing streamed install and then six and all
you see on my device. I should
have the I have the diva app available now so
you can see that install the application for us.
And then I can do the same with the insecure Bank.
And you can see that that will install the app as well. So that's the
main thing that we're looking to do with ADB, just get beat you up applications installed
another. You have these two applications installed,
you'll be able to know follow along,
with all the different situations that we do with those two apps. So
these two jobs, again, have purposefully insecure setups,
which will allow us to sort of manipulate through
them and attempt to attack them, as you would, maybe a taco. But
you to meet up with kishin soap, using this will be able to discuss
if it up like the ideology of attacks and be able
to actually practice it on legitimate applications, right?
So this will get you set up without the
things that you need to be able to follow along on the emulator. So
from here, we'll be discussing the actual concepts related to
Android. Vulnerability analysis in Android, pentetate
penetration testing.