-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobile
372 lines (282 loc) · 5.33 KB
/
mobile
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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
ethical hacking mobile platform::
9x mobile banking trojen 2013
terms should know::
ROM ::modifiy version of andorid system
AOSP:andoird open source project
Firmware::s/w os that h/w work perfect
open source::
Bloatware::s/w app install in os pre install
APK::
Stock rom::
cyanogen mode::
Odex::files speed up boot up time
OTA::over the year
recovery and download mode::
Bricking:::
half eaten fruit::apple
jailbreak::process of removing s/w restriction(root access)
unlock::phone to work in differrent carrier
kernel::comp prog to mge ip and op
not the same as rooting::
A pleathor of vector::
malware
os mods:
app mods:
virus,rootkit,worms
Data storage::
email
cpying
encrypting
Social engineering:::
non technical
Phishing::
connectons::
sandboxing::provide access to apps
open =fragmentation
opensignal.com(website)
closed=restrictive
side loading::install apps without going to legitmate side
hacking android:::
understanding architecture
rooting
attacks
malwares
Architecture::
linux kernel->libererirs(surface mgr,opengl,SGL,media FW,SSL,FRee type,webkit,runtime layer(core lib,dalvik vm))-->framework(activity mgr,window mgr,pkg mgr,telephoney mgr,resoure mgr,content mgr)-->Apps(home ,content,browser etc)
Understanding the device::
security model::
permission level(app. level,kernel level)
normal permission
dangerous permission
signature permission
signature or system permission
ASLR(address space layout randomization) tech
Application modules::
activity
content provider
Services
broadcast receiver
Data storage::
NAND flash
SD card
NFC(near field communcation)
payment services
android beam
Android Debug bridge::
remote shell
push /pull
rooting::
overclock system
run specialize apps
side loading
bootloader
fires of first
kernel
apps to harware communication
under clock for battery performance
sound gover
Baseband(s/w) comm b/w radio and os
radio
recovery
stock recovery
custom recovery
dalvik cache & art
download mode
demo routing 05
odin(tools)
xda-developers(website)
highonandroid.com(website)
kingroot.net(website)
odin(tools)
attacks::
decompile
disassembly
repackaging
network attacks::
private certificate+proxy serve=pwned
proxy drone(tools)
burpswip(tools)
TLS
NFC attacks::
relay attack
proxy chennel bluetooth
data leakage
uri schema
internal storage
sql lite
ext storage
insecure components
wifi
malware::
protection::
no side loading
hacing ios
architecture of apple::
core os(c based)(GSS(genric system servic),bluetooth,security framwork,key chains etc)->core services(p2p,cloud ,data protection etc)->media(camera,audio, etc)->cocoa touch(responsible for interface, like button,gesture etc)
understanding the device:::
NEXT(1980)
open step(os)
iphone os
ARM based cpu
bootup::
execute code from ROM
contains apple root ca public key
check the low level bootloader
cell service::
baseband also verifies
A7
secure co processor
DFU
Application security::
runtime secuirty
app code signing
extension
app groups
jailbreaking::
over come the restriction
custom kernel is used with root access
customize/unlocking
AT&T n/w allows
jailbreak types::
untethered::no computer needs
tethered::need sombody(computer)
semi thered
types of jailbreak depends on device::
pwnage
redsnow
jailbreakme
evasion
pangu8
demo::
en.pangu.io(website)
locking it down::
secure all hatches:
find my iphone
hacking other platform::
loking at windows phone:
architecture
h/w->kernel->application platform
supporting nfc
support c and c++ porting
wallet
128 bit locker
UEFI
larger screens
multi core processor 64 core
app sandboxing
jailbreaking the glass
safeboot
UEFI(unified extension firmware)
poweron=>compare boot mgr=>signed binarires by ms & oem
locking it down::
lockdown.xml in windows
blackberry::
complete rebuild powerb by QNX
MDM mobile device mgt guidline tools::
MDM:
monitor all device
spice works
mobile iron
system center microsoft
remote access
MEM(mobile expence mgt)
device provisioning
patching and modification attacks::
andorid:slef singed cert
ios injection
logo and capt hook
Decompiling:
dex2jar,apk tools(tools)
objective c
class dump x ,x (tools)
obfuscation ::
like progrard
detection
guidelines and tools::
lockout and wipe
rooting /jail breaking
updates
hardware enryption
filter email forwarding
harden browser
erase data=
spicework(website)
mobile malware::
IOS malware::
2008 iphone firmware 1.1.3 prep
jailbreak default password::alpine
2009 T-mobile scan
2009 ikee/duh
2012:malware in the appstore
call/find
2013:nobitazz
2014:
unfold
adthief
appbuyer
wirelurker & masque
xsser mRAT
2015
more ios malware::
lock saver free
xcodeghost
keyRaider
YiSpecter
Muda
youmi ad sdk
FinSpy(tools)
XAgent(tools)
dropoutJeep(tools used via NSA)
Hacking team tools
inception
copy9 and copy10(tools)
1mole
FlexiSPY
ikeyguard/ikeyMonitor
mobilespy
innovaspy
mspy
mobistealth
spyapp
spykey
stealthGenie
Research::
isam
instastock
mactans
XARA
jekyll
neoneggshell
ANdroid malware::
Accutrack
ackposts
bankbot
binv
boxer
counterclank
dogowar
fakeangry(C & C server)
fakeAV
fakebank
fakenetflix
fakeplay
gingerbreak
MMarketplay
Obad
NikiSpy
SMSZombie
SlemBunk
Certifi-Gate
Stagefright
Mobile Payments::
Secure element
host card emulation::
Android pay:
fingerprint scanning
dead zones
tokenization
rewards
Apple Pay::
fingerprint scanning
apple watch
mobile card interfaces::