WEBVTT - This file was automatically generated by VIMEO

1
00:00:10.800 --> 00:00:13.100
 In this video, we're going to discuss how to set up

2
00:00:13.100 --> 00:00:17.100
 an insult. Cruiser Cruiser is an application that

3
00:00:16.100 --> 00:00:19.200
 is used for Android pen testing to

4
00:00:19.200 --> 00:00:22.400
 be able to help to automated detective on her abilities

5
00:00:22.400 --> 00:00:26.000
 that are common for Android applications. It works

6
00:00:25.200 --> 00:00:28.100
 by detecting a tux surfaces of the

7
00:00:28.100 --> 00:00:31.900
 applications. Typically, three things, like concept providers, exported

8
00:00:31.900 --> 00:00:34.500
 activities, a services and broadcast receiver

9
00:00:34.500 --> 00:00:37.500
 and then it allows you to find those

10
00:00:37.500 --> 00:00:40.300
 and potentially run some automated test to

11
00:00:40.300 --> 00:00:43.600
 be able to detect if they're vulnerable to some comment on her abilities for

12
00:00:43.600 --> 00:00:46.800
 instant content providers could be vulnerable to SQL injection.

13
00:00:46.800 --> 00:00:49.500
 So we can read some SQL injection code through

14
00:00:49.500 --> 00:00:52.300
 Crozier, to test them. Whole bunch of the content providers,

15
00:00:52.300 --> 00:00:55.900
 that wants to see if any of them are Broad. Ripple. So, this

16
00:00:55.900 --> 00:00:58.200
 is a very powerful and useful application. There's a

17
00:00:58.200 --> 00:01:02.000
 lot of different ways to use it, which will go over in future videos. However,

18
00:01:01.300 --> 00:01:04.500
 for now. I'm just going to demonstrate how to actually

19
00:01:04.500 --> 00:01:05.700
 installed Roeser.

20
00:01:05.800 --> 00:01:08.300
 I'll just tell you to get set up with it before we

21
00:01:08.300 --> 00:01:11.300
 dive into anything more. So, very first

22
00:01:11.300 --> 00:01:14.600
 thing that you need is python to installed on your computer. I can

23
00:01:14.600 --> 00:01:17.200
 use version 2.7 Point 18 just cuz

24
00:01:17.200 --> 00:01:20.600
 it's the newest version at the point of making this video. I'm you

25
00:01:20.600 --> 00:01:24.400
 can use whatever version to you really want for this that

26
00:01:23.400 --> 00:01:26.300
 being a newer version of Virgin to

27
00:01:26.300 --> 00:01:29.200
 that comes with Pip packaged in it. I think it started as

28
00:01:29.200 --> 00:01:32.100
 of two point seven point nine, but really just pick the newest version

29
00:01:32.100 --> 00:01:35.400
 and you should have Pip installed with it. So we're

30
00:01:35.400 --> 00:01:38.500
 going to run this and I'll install it for all users. I'll put

31
00:01:38.500 --> 00:01:42.800
 in the typical python 2/7. Rectory is installed.

32
00:01:42.800 --> 00:01:45.300
 You should see it here with the little hard drive icon next to

33
00:01:45.300 --> 00:01:48.500
 it. So you want to make sure that the app is actually present

34
00:01:48.500 --> 00:01:48.800
 there.

35
00:01:49.800 --> 00:01:52.500
 Imma, go ahead and next and let it install python

36
00:01:52.500 --> 00:01:55.300
 to for us. The reason we want hip install

37
00:01:55.300 --> 00:01:58.700
 this because there are few dependencies that drugs are actually relies

38
00:01:58.700 --> 00:02:02.100
 on so we want to make sure that those dependencies are present just

39
00:02:01.100 --> 00:02:04.600
 to ensure that nothing is broken

40
00:02:04.600 --> 00:02:07.600
 when we try to actually run Frozen. So the

41
00:02:07.600 --> 00:02:10.500
 general concept of drawers or is that it's going to be able to create a

42
00:02:10.500 --> 00:02:13.900
 link between our device in our computer, to

43
00:02:13.900 --> 00:02:16.300
 be somewhere to the EDB. Like that will allow us to run

44
00:02:16.300 --> 00:02:19.600
 some like automated testing and come in through that link and

45
00:02:19.600 --> 00:02:22.400
 all the scripture written in Python. They're all open source

46
00:02:22.400 --> 00:02:25.200
 and get Hub. So you can see all the scripts, you can contribute to

47
00:02:25.200 --> 00:02:29.100
 them and you can utilize them as you please. So you

48
00:02:28.100 --> 00:02:32.100
 can see here. We finish the install for python. So

49
00:02:31.100 --> 00:02:34.500
 what did I do now? It's going to going to come in line

50
00:02:34.500 --> 00:02:35.900
 and I got to type in hip.

51
00:02:36.800 --> 00:02:39.500
 You should see something like this if paper was installed

52
00:02:39.500 --> 00:02:42.100
 properly and where to go to install some of

53
00:02:42.100 --> 00:02:46.100
 the so the prerequisites for drugs or so will say I'm pimp installed

54
00:02:45.100 --> 00:02:47.300
 were installed protobuf.

55
00:02:48.900 --> 00:02:52.100
 To let this run through. We're also

56
00:02:51.100 --> 00:02:55.100
 going to go ahead and install pipe open

57
00:02:54.100 --> 00:02:56.200
 SSL.

58
00:02:58.100 --> 00:03:01.200
 Is another important one that allows us to make the connection between

59
00:03:01.200 --> 00:03:05.300
 the devices and we'll see pip install twisted.

60
00:03:07.400 --> 00:03:10.100
 And I think just one other dependency will be able to see that when we

61
00:03:10.100 --> 00:03:13.300
 actually are installing one run drozer for the first time.

62
00:03:13.300 --> 00:03:17.000
 But these are the three that are mostly

63
00:03:16.300 --> 00:03:20.000
 required for a fresh install python. There

64
00:03:19.100 --> 00:03:22.900
 may be one or two more depending on your python installation.

65
00:03:22.900 --> 00:03:25.600
 So will check those out. Once these finish El,

66
00:03:25.600 --> 00:03:28.100
 Sol in general drozer, can be

67
00:03:28.100 --> 00:03:31.800
 installed from like the, the labs f-secure page. This is

68
00:03:31.800 --> 00:03:35.000
 the general web page for a droser. If you're

69
00:03:34.300 --> 00:03:37.300
 looking for this webpage, I guess I'll put more blanks into

70
00:03:37.300 --> 00:03:40.200
 a resources section for this course, that you're able to

71
00:03:40.200 --> 00:03:43.300
 access these links and be able to get to the content that you eat

72
00:03:43.300 --> 00:03:46.200
 up. But yeah, it's a general location of where this is located.

73
00:03:46.200 --> 00:03:49.300
 If you Google search, Ford Rosary will be probably the first

74
00:03:49.300 --> 00:03:52.300
 or second result. Sometimes forget how page comes up first. You

75
00:03:52.300 --> 00:03:55.200
 can also go there to get the installer star that

76
00:03:55.200 --> 00:03:58.400
 I use, is the MSI, the easiest one for Windows.

77
00:03:58.400 --> 00:04:01.300
 There's of course, Linux and Mac in Star Wars as well,

78
00:04:01.300 --> 00:04:02.800
 just in case you're using one of those

79
00:04:03.500 --> 00:04:07.200
 Well, I was to install it for all users and you

80
00:04:06.200 --> 00:04:09.100
 have to be a bit careful with this. If you

81
00:04:09.100 --> 00:04:13.200
 have multiple versions of python, it might default to python3 which

82
00:04:12.200 --> 00:04:15.500
 you don't want to install too. As far as I understand.

83
00:04:15.500 --> 00:04:18.600
 The dresser isn't really compatible with Python 3. So you

84
00:04:18.600 --> 00:04:22.100
 want to see the python to from another location. So we

85
00:04:21.100 --> 00:04:24.100
 can click here and say will be installed on

86
00:04:24.100 --> 00:04:27.200
 the local hard drive and navigate to

87
00:04:27.200 --> 00:04:30.600
 wear python is so it's typically undersea python to

88
00:04:30.600 --> 00:04:31.100
 7.

89
00:04:32.700 --> 00:04:35.100
 So we'll put in this exact spot here.

90
00:04:37.200 --> 00:04:40.800
 And I once we've done this, we can go ahead and click next and that

91
00:04:40.800 --> 00:04:43.300
 it will install the the components into

92
00:04:43.300 --> 00:04:46.500
 the python to directory. The reason I want the components

93
00:04:46.500 --> 00:04:49.500
 in the python to directory is because our past variable is

94
00:04:49.500 --> 00:04:52.300
 set to run anything from the directory. For this one

95
00:04:52.300 --> 00:04:55.200
 stall to send me that, we can run it through a command line, and

96
00:04:55.200 --> 00:04:58.600
 it has easy access to the proper python installation. So

97
00:04:58.600 --> 00:05:02.600
 once that's done, it will be able to click finish if

98
00:05:01.600 --> 00:05:04.100
 you want to test if it's working or not.

99
00:05:04.100 --> 00:05:08.700
 You can just type in drozer. That console connect.

100
00:05:10.500 --> 00:05:13.100
 I will season will try to connect the device. It'll pop up

101
00:05:13.100 --> 00:05:17.100
 and eat your messages that may exist. So for

102
00:05:16.100 --> 00:05:19.600
 instance, you can see that we get this error. No module named

103
00:05:19.600 --> 00:05:22.100
 service identity. Just tells us that

104
00:05:22.100 --> 00:05:25.500
 we need to install service identity, which you can do by saying

105
00:05:25.500 --> 00:05:29.600
 pip install service underscore identity.

106
00:05:31.700 --> 00:05:34.200
 Yes, it will work for a little bit and then it

107
00:05:34.200 --> 00:05:37.100
 will install that for us and then we'll we should have everything that we

108
00:05:37.100 --> 00:05:38.500
 need installed for drozer.

109
00:05:40.200 --> 00:05:43.100
 So now that everything's installed for drugs or we can try running this

110
00:05:43.100 --> 00:05:46.400
 again. We should just see an issue saying there's no device to connect

111
00:05:46.400 --> 00:05:49.300
 to and that will allow us to move on to our next step, which

112
00:05:49.300 --> 00:05:51.100
 is just to set up our device with drozer.

113
00:05:52.700 --> 00:05:56.000
 This looks perfect. This is exactly what we want to see when this

114
00:05:55.500 --> 00:05:58.800
 happens. We just want to be able to install drozer on

115
00:05:58.800 --> 00:06:01.600
 our device. So I'm going to go into Google Chrome here

116
00:06:01.600 --> 00:06:04.100
 and I'll just accept through these and get a

117
00:06:04.100 --> 00:06:07.300
 straight to the default page and we'll just go ahead and type

118
00:06:07.300 --> 00:06:08.100
 in freezer.

119
00:06:10.200 --> 00:06:13.100
 So once you type that in, you should see this to get her

120
00:06:13.100 --> 00:06:16.200
 page here. And then there's the f-secure labs page will go

121
00:06:16.200 --> 00:06:19.500
 to the f-secure labs, then to scroll all

122
00:06:19.500 --> 00:06:22.600
 the way to the bottom here, and we should see the different

123
00:06:22.600 --> 00:06:25.400
 installer. So you can see, there's a PR p.m. New bun to

124
00:06:25.400 --> 00:06:28.200
 Archive. There's the MSI that I was using to

125
00:06:28.200 --> 00:06:35.000
 install it. And then there's the APK download install

126
00:06:34.600 --> 00:06:37.500
 files, which will allow, we will

127
00:06:37.500 --> 00:06:40.800
 download it to the downloads folder. So this is okay. And I

128
00:06:40.800 --> 00:06:42.600
 can cook. Okay, here to try to open it.

129
00:06:44.100 --> 00:06:47.500
 Right, and then it's going to ask me. If I want to allow for unknown apps,

130
00:06:47.500 --> 00:06:50.300
 to be installed, will go into the settings. And we'll go ahead and talk of

131
00:06:50.300 --> 00:06:53.400
 this to allow apps from this Source. What is

132
00:06:53.400 --> 00:06:56.400
 it that I can press on the back arrow and I'll be able to install the

133
00:06:56.400 --> 00:06:57.200
 dresser agent.

134
00:06:58.100 --> 00:07:01.100
 Silicon install run to the installer. And then I'll be able to

135
00:07:01.100 --> 00:07:04.600
 open up the application is installed on

136
00:07:04.600 --> 00:07:07.300
 this device. So, with this, we can

137
00:07:07.300 --> 00:07:10.400
 turn on the embedded server in. This is what allows it to be able to connect

138
00:07:10.400 --> 00:07:13.500
 between the computer and trouser. It's running

139
00:07:13.500 --> 00:07:16.100
 on Port 31415. You can see that

140
00:07:16.100 --> 00:07:19.100
 on the bottom here. So we need to do, is give me to forward a

141
00:07:19.100 --> 00:07:22.400
 TCP connection between her computer and the device on court,

142
00:07:22.400 --> 00:07:25.200
 3 1, 4 1 5 2 to do this. We just

143
00:07:25.200 --> 00:07:28.600
 go ATB forward, T, CPT code

144
00:07:28.600 --> 00:07:31.200
 13145 and we do the same thing again.

145
00:07:32.400 --> 00:07:35.500
 Running. This command will create that tunnel between the

146
00:07:35.500 --> 00:07:35.900
 two devices.

147
00:07:37.300 --> 00:07:40.300
 What does it done? You'll get a 3 1415 in response to

148
00:07:40.300 --> 00:07:43.100
 verify that everything worked? And then once we do

149
00:07:43.100 --> 00:07:47.100
 this, we can take bin rozar. Back console connect

150
00:07:46.100 --> 00:07:49.300
 and we will see if they will actually contact

151
00:07:49.300 --> 00:07:52.100
 or device and be working as we

152
00:07:52.100 --> 00:07:52.500
 want it to.

153
00:07:53.800 --> 00:07:56.500
 May take a few minutes depending on how fast your

154
00:07:56.500 --> 00:07:59.300
 internet connection is and you should see something that looks like

155
00:07:59.300 --> 00:07:59.600
 this.

156
00:08:00.700 --> 00:08:03.200
 And if you want to touch that, it's working. You can run

157
00:08:03.200 --> 00:08:04.100
 a few different commands.

158
00:08:04.800 --> 00:08:07.300
 So we can save run after a

159
00:08:07.300 --> 00:08:10.300
 package. List. What this with

160
00:08:10.300 --> 00:08:13.200
 you is it will list all of the applications that are on

161
00:08:13.200 --> 00:08:16.300
 the device. So if this command works for you, then

162
00:08:16.300 --> 00:08:20.100
 you now have drozer set up and installed correctly. And now

163
00:08:19.100 --> 00:08:22.300
 in the next few videos will take a look at some of

164
00:08:22.300 --> 00:08:25.500
 the things that we can do it throws her to be able to, you know,

165
00:08:25.500 --> 00:08:28.200
 analyze applications, and determine if they're

166
00:08:28.200 --> 00:08:31.200
 vulnerable, are not using the tools that are available to us in here.
