Project

General

Profile

Mobile Network Assessment Tools » History » Version 8

Karsten, 12/23/2013 01:48 PM

1 1 Linus
h2. Overview
2
3
This is a collection of tools for the assessment of mobile network security.
4
It includes:
5 3 Linus
6
* *[[SIMtester]]*
7 8 Karsten
Finds configuration bugs in SIM cards
8 1 Linus
9 8 Karsten
* *[[GSMmap-apk]]*
10
Android application that collects 2G and 3G network traces from Samsung Galaxy phones
11
12 3 Linus
* *[[xgoldscanner]]*
13 8 Karsten
Linux application that collects 2G and 3G network traces from Samsung Galaxy phones
14 2 Linus
15 3 Linus
* *[[catcher catcher]]*
16 8 Karsten
Collect evidence of 2G fake base station activity (requires Osmocom phone)
17 1 Linus
18
19 8 Karsten
The tools are included in the *GSMmap-live* system, which auto-submits data for analysis at "GSMmap.org":https://GSMmap.org
20 1 Linus
21
*****
22 2 Linus
23
h2. SIMtester
24
25 8 Karsten
Assess SIM card security in two dimensions:
26 2 Linus
27 8 Karsten
* *Cryptanalytic attack surface.* Collect cryptographic signatures and encryptions of known plaintexts
28 1 Linus
29 8 Karsten
* *Application  attack surface.* Generate a list of all TARs and find "unprotected" (NSL=0) applications
30 2 Linus
* *Spec. compliance*
31
32
h3. Requirements:
33
34 8 Karsten
* Java (TODO: Which Java edition/version?)
35 2 Linus
* PC/SC reader –or–
36
* Osmocom phone
37
38 1 Linus
h3. Download
39
40 3 Linus
Pre-compiled .jar TODO
41
Source Code TODO
42 2 Linus
Live System TODO
43
44
h3. Instructions
45
46
# Download
47 1 Linus
# unpack
48 3 Linus
# run: TODO call
49
* TODO command line parameters
50
51 5 Ben
h3. Mailing list
52 3 Linus
53 8 Karsten
A public mailing list for announcements and discussion can be found "here":https://lists.srlabs.de/cgi-bin/mailman/listinfo/simsec .
54 2 Linus
55
*****
56
57 1 Linus
h2. xgoldscanner
58 2 Linus
59 3 Linus
Actively collect 2G and 3G traces using Samsung Android phones.
60 2 Linus
Log files can be analyzed with Tobias Engel's "xgoldmon":https://github.com/2b-as/xgoldmon tool, which heavily inspired the development of xgoldscanner.
61
62
h3. Requirements:
63
64
* Samsung Galaxy S2 / S3  phone
65
* Micro-USB cable
66
* Linux Computer
67 1 Linus
68 2 Linus
h3. Download:
69 1 Linus
70
* Source Code (bash)
71
* Live System
72 6 Linus
73
h3. Disclaimer
74 7 Karsten
75 6 Linus
The active tests include an active part. First, your phone will place outgoing calls
76
to a dedicated number. This number will always be busy and never answer in order
77
to rule out voice charges as best as we can.
78
79
Secondly, your phone will send SMS short messages via an invalid SMS-C to
80
an invalid number.
81
82
During our tests we have not found a European network that charges for these
83
transactions. However, we can not rule out that you may be charged in specific
84
settings.
85
86
To control for involuntary charges, we strongly advise the use of a dedicated
87
pre-paid SIM card for these tests.
88 1 Linus
89
h3. Instructions
90 2 Linus
91 4 Linus
# Download
92
# unpack
93
# run:  <pre>sudo ./xgoldscanner.sh -n [telephone number, e.g. +491234567]</pre>
94
Optional parameters:
95
*  -g  conduct GPRS test
96
*  -d  display debug messages
97
*  -o  offline mode [skip log upload for manual submission]
98
*  -3  conduct 3G tests only [skip 2G tests]
99 2 Linus
*  -y  assume "yes" to questions and confirmation dialogues [for automated testing]
100
*  -i  <n> repeat each test <n> times (default is 5)
101
102 3 Linus
h3. Advanced usage
103 2 Linus
104 3 Linus
Use Tobias Engel's "xgoldmon":https://github.com/2b-as/xgoldmon tool to analyze log files.
105
106
h3. Mailing list
107
108 5 Ben
A public mailing list for announcements and discussion can be found TODO  "here":http://lists.srlabs.de/cgi-bin/mailman/listinfo/a51 .
109 3 Linus
Please file bugs and support requests through the "issue tracker TODO ":http://opensource.srlabs.de/projects/a51-decrypt/issues/new as they may be of little relevance to the majority of the mailing list subscribers.
110 2 Linus
111
*****
112 1 Linus
113
h2. catcher catcher
114 2 Linus
115
Display mobile network irregularities hinting at fake base station activity.
116
117
h3. Requirements:
118
119
* Osmocom phone
120 1 Linus
* Osmocom serial cable
121
* Linux Computer
122
123
h3. Download:
124
125 2 Linus
* Source Code
126
* Live System
127
128
h3. Instructions
129
130
# Download
131
# unpack
132
# run: TODO call
133
* TODO command line parameters
134 3 Linus
135
h3. Mailing list
136
137 5 Ben
A public mailing list for announcements and discussion can be found TODO  "here":http://lists.srlabs.de/cgi-bin/mailman/listinfo/a51 .
138 3 Linus
Please file bugs and support requests through the "issue tracker TODO ":http://opensource.srlabs.de/projects/a51-decrypt/issues/new as they may be of little relevance to the majority of the mailing list subscribers.
139 1 Linus
140
*****
141 2 Linus
142
h2. GSMmap-apk
143
144
Actively collect 2G and 3G traces using Samsung Android phones.
145 1 Linus
146
h3. Requirements:
147
148
* Samsung Galaxy S2 / S3 phone
149
150 2 Linus
h3. Download:
151
152 1 Linus
* Pre-compiled .apk
153
* Source Code
154 6 Linus
155
h3. Disclaimer
156
157
Our 3G tests include an active part. First, your phone will place outgoing calls
158
to a dedicated number. This number will always be busy and never answer in order
159
to rule out voice charges as best as we can.
160
161
Secondly, your phone will send SMS short messages via an invalid SMS-C to
162
an invalid number.
163
164
During our tests we have not found a European network that charges for these
165
transactions. However, we can not rule out that you may be charged in specific
166
settings.
167
168
To control for involuntary charges, we strongly advise the use of a dedicated
169
pre-paid SIM card for these tests.
170 2 Linus
171
h3. Instructions
172
173
# Install application from App Store
174
# Run
175 3 Linus
176
h3. Mailing list
177
178 5 Ben
A public mailing list for announcements and discussion can be found TODO  "here":http://lists.srlabs.de/cgi-bin/mailman/listinfo/a51 .
179 3 Linus
Please file bugs and support requests through the "issue tracker TODO ":http://opensource.srlabs.de/projects/a51-decrypt/issues/new as they may be of little relevance to the majority of the mailing list subscribers.
180 2 Linus
181
*****
182 1 Linus
183 2 Linus
h2. GSMmap-live
184 3 Linus
185
This live linux system is equipped with all the assessment tools listed above. It furthermore includes
186 2 Linus
It facilitates their use and automatically uploads logs to GSMmap.org.
187 1 Linus
188
h3. Requirements:
189
190
* 64bit-compatible Computer
191
* For each test: Requirements listed above
192 2 Linus
193
h3. Download:
194
195 1 Linus
* Live system image
196 6 Linus
* Source Code
197
198
h3. Disclaimer
199
200
Our 3G tests include an active part. First, your phone will place outgoing calls
201
to a dedicated number. This number will always be busy and never answer in order
202
to rule out voice charges as best as we can.
203
204
Secondly, your phone will send SMS short messages via an invalid SMS-C to
205
an invalid number.
206
207
During our tests we have not found a European network that charges for these
208
transactions. However, we can not rule out that you may be charged in specific
209
settings.
210
211
To control for involuntary charges, we strongly advise the use of a dedicated
212 2 Linus
pre-paid SIM card for these tests.
213
214
h3. Instructions
215
216
# Download
217
# Unpack: <pre>tar xvzf gsmmap-live.img.tar.gz</pre>
218
# Write to stick <pre>dd if=gsmmap-live.img of=/dev/[USB-stick] [bs=1M]</pre>
219 3 Linus
# Boot from stick
220
221
h3. Mailing list
222
223 5 Ben
A public mailing list for announcements and discussion can be found TODO  "here":http://lists.srlabs.de/cgi-bin/mailman/listinfo/a51 .
224 1 Linus
Please file bugs and support requests through the "issue tracker TODO ":http://opensource.srlabs.de/projects/a51-decrypt/issues/new as they may be of little relevance to the majority of the mailing list subscribers.