-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile_forensics_activity3.html
193 lines (185 loc) · 9.97 KB
/
mobile_forensics_activity3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Activity 3 - Mobile Forensics</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="http://html5-templates.com/">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="style.css">
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
<style type="text/css">
.auto-style1 {
color: #0645AD;
}
</style>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]-->
<div class="wrapAll clearfix">
<div class="sidebar" style="left: -21px; top: 32px; width: 10.6em; height: 618px">
<div class="logo"> <a href="index.html"><img src="img/ttu/TTUCS-logo.PNG" alt="logo"></a>
</div>
<div class="navigation">
<ul>
<li><a href="index.html">Main page</a></li>
<!--<li><a href="#">Contents</a></li>
<li><a href="#">Featured content</a></li>-->
</ul>
<br>
<h3>Topics</h3>
<ul>
<li style="width: 155px"><a href="mobile_forensics.html"> Mobile Forensics</a></li>
<li class="auto-style1" style="text-align: center;"><a href="mobile_forensics_activity1.html" style="color: #a72614;">Activity 1</a></li>
<li class="auto-style1" style="text-align: center;"><a href="mobile_forensics_activity2.html" style="color: #a72614;">Activity 2</a></li>
<li class="auto-style1" style="text-align: center;"><a href="mobile_forensics_activity3.html" style="color: #a72614;">Activity 3</a></li>
<li class="auto-style1" style="text-align: center;"><a href="mobile_forensics_activity4.html" style="color: #a72614;">Activity 4</a></li>
<li class="auto-style1" style="text-align: center;"><a href="mobile_forensics_activity5.html" style="color: #a72614;">Activity 5</a></li>
<li style="width: 155px"><a href="#">Malware Analysis</a></li>
<li class="auto-style1"><a href="#">Software Security</a></li>
<li class="auto-style1"><a href="#">Network Forensics</a></li>
<li class="auto-style1"><a href="#">Social Engineering</a></li>
<li class="auto-style1"><a href="#">Reverse Engineering</a></li>
<li class="auto-style1"><a href="#">Content/Threat Analysis</a></li>
</ul>
<!--
<h3>References</h3>
<ul>
<li class="auto-style1"><a href="mobile_forensics_references.html">Mobile Forensics</a></li>
<li class="auto-style1"><a href="#">Malware Analysis</a></li>
</ul>
-->
<br>
<h3>Interaction </h3>
<ul>
<li><a href="contact_us.html">Contact Us</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
</div>
<div class="mainsection">
<div class="headerLinks"> <a href="#">Contributions</a>
</div>
<div class="tabs clearfix">
<div class="tabsLeft">
<ul>
<li><a href="#" class="active">Article</a></li>
</ul>
</div>
<div id="simpleSearch"> <input name="searchInput" id="searchInput" placeholder="Search Wikipedia"
size="12"
type="text">
<div id="submitSearch"></div>
</div>
<div class="tabsRight">
<ul>
<li><a href="#" class="active">Read</a></li>
<li><a href="#">View source</a></li>
<li><a href="#">View history</a></li>
</ul>
</div>
</div>
<div class="article">
<h1>Activity 3 - Mobile Forensics</h1>
<p class="siteSub"> </p>
<h3>Signing the modified APK file</h3>
<p class="roleNote">Estimated Time : 15 Minutes</p>
<h2>Objective</h2>
<p>With malicious code injected into one of the files
of APK in Activity 2, we will re-build the APK file
now and sign it with same java key store file generated during Activity1.</p>
<h2>Description</h2>
<p>With malicious code injected into one of the files of APK in Activity 2,
we will re-build the APK file now and sign it with same java key store file
generated during Activity1.</p>
<h2>Prerequisites</h2>
<p>
For this Activity you need to download, install jdk
and set environment variables 'Path' & 'JAVA_HOME'
in windows. This is required for running 'jarsigner'
command to build the modified APK file. You can watch
below YouTube video for reference.<br>
   <a href="https://www.youtube.com/watch?v=cRgLuNWCq6c">How to Install Java JDK 18 on Windows 10</a>
</p>
<h2>Artifacts</h2>
<p> Click below link to download files.<br>
<a href="img/ttu/Activity3/login.apk" alt="app-release.apk">login.apk</a></p>
<h2>Instructions</h2>
<p>
<ul>
<li>Step 1: After updating code of "RestClient.smali" file in Activity 2, we will re-build app-release.apk file in this Activity.</li>
<br>
<li>Step 2: Open command prompt and go to path where you have placed files "app-release.apk" & "apktool_2.0.0rc3.jar" initially.</li>
<br>
<li>Step 3: Execute below command to build app-release folder and create new "app-release.apk" file.</li>
   java -jar apktool_2.0.0rc3.jar b app-release
<br>
<br>
<li>Step 4: Observe that a new file "app-release.apk" is created under sub-folder /app-release/dist/</li>
<br>
<li>Step 5: Since the code has changed, old signature is invalid. So, we need to sign it again.</li>
<br>
<li>Step 6: Open command prompt and execute below command.</li>
   jarsigner -verbose p9cert.jks app-release/dist/app-release.apk proj9key
<br>
   (Note: If you are getting "jarsigner not found" error, it means Java configurations is not set correctly in your windows system.
<br>   Please refer section "Activity 3: Pre-Requisites" for setting environment variables correctly.)
<br>
<br>
<li>Step 7: To save time, modified APK file with name as "login.apk" is provided under "Activity 3: Artifacts" section. Kindly use it for subsequent Activities</li>
</ul>
</p>
<h2>Self-Assessment</h2>
<p>Please complete the following self-assessment over Activity 3.<br>
<a href="Challenge3.html" alt="Start Assessment">Start Assessment</a>
</p>
<!--<div class="lavenderBox">
<div class="header">Panel title</div>
<div class="subtitle linklist"><a href="#">Lorem</a> <a href="#">Ipsum</a>
<a href="#">Dolorestitas</a> </div>
<div class="linklist"> <a href="#">Percipit </a> <a href="#">Mnesarchum
</a> <a href="#">Molestie </a> <a href="#">Phaedrum </a> <a
href="#">Luptatum
constituam </a> <a href="#">Habeo adipisci </a> <a href="#">Inani
zril </a> <a href="#">Forensibus sea </a> <a href="#">Habeo
adipisci </a> <a href="#">Minimum corrumpit </a> <a href="#">Regione
suscipit </a> <a href="#">Has et partem </a><a href="#">Percipit
</a> <a href="#">Mnesarchum </a> <a href="#">Molestie </a> <a
href="#">Phaedrum
</a> <a href="#">Luptatum constituam </a> <a href="#">Habeo
adipisci </a> <a href="#">Inani zril </a> <a href="#">Vel
nisl albucius </a> <a href="#">Habeo adipisci </a> <a href="#">Minimum
corrumpit </a> <a href="#">Regione suscipit </a> <a href="#">Percipit
maiestatis </a> <a href="#">Regione suscipit </a> <a href="#">Percipit
maiestatis </a> </div>
<div class="subtitle">Subtitle</div>
</div>
<div class="categories"> <a href="https://info.flagcounter.com/WApn"><img
src="https://s11.flagcounter.com/count2/WApn/bg_FFFFFF/txt_000000/border_CCCCCC/columns_2/maxflags_10/viewers_0/labels_0/pageviews_0/flags_0/percent_0/"
alt="Flag Counter"
border="0"></a>
</div>
-->
</div>
<div class="pagefooter"> This page was last edited on 29.07.2017 |
Template by <a href="http://html5-templates.com/" target="_blank" rel="nofollow">HTML5
Templates</a>
<!-- Please leave this link unchanged -->
<div class="footerlinks"> <a href="#">Privacy policy</a> <a href="#">About</a>
<a href="#">Terms and conditions</a> <a href="#">Cookie statement</a>
<a href="#">Developers</a> </div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.12.0.min.js"><\/script>')</script>
<script src="script.js"></script>
<link rel="stylesheet" href="AIchat.v1.css" type="text/css" media="screen" />
<script type="text/javascript" src="dependencies.v1.js"></script>
<script type="text/javascript" src="AIchat.v1.js"></script>
</body>
</html>