Project

General

Profile

Mobile Network Assessment Tools » History » Version 11

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