Project

General

Profile

Activity

From 01/28/2020 to 02/26/2020

02/26/2020

03:06 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
Updated the README, that describes the whole process, with all the feedback above:
https://gerrit.osmocom.org/plug...
osmith
02:31 PM Revision 0ee12879 (imsi-pseudo): README.md: use headlines
osmith
02:20 PM Revision 5e62dbac (imsi-pseudo): docs: update to feedback from Neels
Most importantly, there is no ACK SMS anymore, because the next LU is
the implicit ACK. While at it, I've filled in t...
osmith
12:38 PM Bug #4417 (New): Applet: LU counter should only increase on successful location update
With the current code, the LU counter seems to increase on every location update, no matter if successful or not. osmith
11:06 AM Feature #4416 (Resolved): find out whether/how SIM applet can invalidate TMSI
Patches added to invalidate the TMSI, TMSIGPRS, KC and KCGPRS.
I've verified with wireshark, that the SIM now dire...
osmith
09:32 AM Feature #4416 (In Progress): find out whether/how SIM applet can invalidate TMSI
We can update "EFLOCI (Location Information)", which consists of (3GPP TS 31.102, 4.2.17):
> - Temporary Mobile...
osmith
12:56 AM Feature #4416 (Resolved): find out whether/how SIM applet can invalidate TMSI
Even after a SIM REFRESH with SIM Init, the SIM still uses the previous TMSI.
Find out how the SIM applet can forget...
neels
11:02 AM Revision 15c3bfb4 (imsi-pseudo): Invalidate Kc, too
osmith
10:47 AM Revision 134f41f5 (imsi-pseudo): Invalidate TMSI, P-TMSI after changing IMSI
Now the ME doesn't try to send the TMSI anymore in the next Location
Updating Request, it directly sends the IMSI.
osmith
09:11 AM Feature #4412 (Resolved): SIM applet: add debug menu entry to change IMSI
> However, the readBinary call throws a "AC_NOT_FULFILLED" exception.
Resolved by adding an ...
osmith
01:02 AM Revision 4ac43a2f (imsi-pseudo): add SIM REFRESH command after IMSI change
Neels Hofmeyr

02/25/2020

02:43 AM Revision 872140db (imsi-pseudo): add make reflash
Neels Hofmeyr
02:41 AM Revision ff5364a5 (imsi-pseudo): Makefile: add some .PHONY
Neels Hofmeyr
02:39 AM Revision 7c5e973e (imsi-pseudo): add 'make list'
Neels Hofmeyr
02:39 AM Revision b5ca3124 (imsi-pseudo): Test: Bytes.toStr()
Neels Hofmeyr
02:39 AM Revision 483f5a4f (imsi-pseudo): refactor the menu, the mi2str() implementation, and tests
Instead of a sub-menu for changing the IMSI, just offer a dialog with the
current IMSI pre-filled in an edit field.
"...
Neels Hofmeyr
02:36 AM Revision 26256941 (imsi-pseudo): make writeIMSI() safe against invalid length
Neels Hofmeyr
02:36 AM Revision cf04db03 (imsi-pseudo): drop unnecessary 'new byte[]' before {...}
Neels Hofmeyr
02:36 AM Revision 9a3428e4 (imsi-pseudo): prompt(): add prefillVal arg
Neels Hofmeyr
02:36 AM Revision ad4531a4 (imsi-pseudo): add Bytes.java
Neels Hofmeyr
02:36 AM Revision 583bfecc (imsi-pseudo): eliminate itemCount param from showMenu()
Neels Hofmeyr
02:36 AM Revision 41b6f543 (imsi-pseudo): write user entered IMSI to SIM
Neels Hofmeyr
02:34 AM Revision b86190c9 (imsi-pseudo): add .gitignore
Neels Hofmeyr
02:34 AM Revision d20f93a2 (imsi-pseudo): add MobileIdentity as separate class, add test
Use fixed applet-project.mk to put Mobile Identity implementations in a
separate class MobileIdentity.java.
That all...
Neels Hofmeyr

02/24/2020

09:51 PM Revision faeef438 (imsi-pseudo): fix applet-project.mk: allow multiple .java sources, separate jar target
Neels Hofmeyr
09:51 PM Revision c916b977 (imsi-pseudo): copy applet-project.mk here, to be able to apply changes
Neels Hofmeyr
09:48 PM Revision c24fdd1a (imsi-pseudo): readIMSI, writeIMSI
Neels Hofmeyr
08:31 PM Revision 0866f3a0 (imsi-pseudo): add Enter IMSI dialog
Neels Hofmeyr
08:31 PM Revision c0c95621 (imsi-pseudo): add hexdump()
Neels Hofmeyr
08:31 PM Revision 98462704 (imsi-pseudo): Mobile Identity routines
Neels Hofmeyr
08:31 PM Revision ba7a6f22 (imsi-pseudo): return result of user interaction prompts
Neels Hofmeyr
08:31 PM Revision c8e96413 (imsi-pseudo): tweak indent in switch statement
Neels Hofmeyr
08:24 PM Revision 7d7e33f1 (imsi-pseudo): more aggressively set private final on class vars
Neels Hofmeyr
06:00 PM Revision cfb476d2 (imsi-pseudo): add showMsgAndWaitKey() to keep decoded IMSI on display
Neels Hofmeyr
05:58 PM Revision b7a20e3b (imsi-pseudo): properly read IMSI as Mobile Identity (3GPP TS 24.008)
Neels Hofmeyr
02:46 PM Revision 89879a09 (imsi-pseudo): IMSIPseudo.java: fix up length somewhat
Since it is counting nibbles, we need to take the length, which is in
bytes, two times. Also increase the size of the...
osmith
02:25 PM Revision 6634a5d2 (imsi-pseudo): IMSIPseudo.java: remove unneeded return in showMsg()
osmith
02:24 PM Revision 89d18bc6 (imsi-pseudo): IMSIPseudo.java: return if reading IMSI fails
osmith
02:21 PM Revision 799fe1dd (imsi-pseudo): sim-applet: flash: set --access-domain=00
Make the AC_NOT_FULFILLED error go away. osmith
01:18 PM Revision 05b1332d (imsi-pseudo): sim-applet/LICENSE: add Apache-2.0
osmith
11:41 AM Feature #4412 (In Progress): SIM applet: add debug menu entry to change IMSI
I've implemented a menu, and a submenu for "Change IMSI":... osmith
11:29 AM Revision d7f18920 (imsi-pseudo): IMSIPseudo.java: show exception error code
Current code gives E03 (AC_NOT_FULFILLED). The error codes are explained
in TS_101_476/Annex_A_HTML/sim/access/SIMVie...
osmith
11:28 AM Revision 2259cb9f (imsi-pseudo): IMSIPseudo: implement "Show IMSI" (WIP)
This will need some adjustments before it actually works. osmith
10:32 AM Revision 0f7c8bb3 (imsi-pseudo): sim-applet/Makefile: add "delete" alias
osmith
10:28 AM Revision 4eee13d7 (imsi-pseudo): IMSIPseudo.java: import all
It takes time to figure out where exactly a certain class/object/... is
located. Just import all of them. It does not...
osmith
09:02 AM Revision cef081c1 (imsi-pseudo): IMSIPseudo.java: move showMsg down
osmith
08:58 AM Revision ca866fe7 (imsi-pseudo): IMSIPseudo.java: display menu
Add a menu with the following actions:
IMSI Pseudonymization
1 Show LU counter
2 Show IMSI
3 Change IMSI
Selecting ...
osmith
07:26 AM Revision 234ab54b (imsi-pseudo): IMSIPseudo.java: rename showHello to showMsg
Add msg as parameter. osmith

02/21/2020

08:22 PM Feature #4401: Proof of concept for counting Location Updates in SIM applet
On Fri, Feb 21, 2020 at 02:33:54PM +0000, osmith [REDMINE] wrote:
> I thought that I need to access the filesystem an...
laforge
02:33 PM Feature #4401 (Resolved): Proof of concept for counting Location Updates in SIM applet
I thought that I need to access the filesystem and write it there (which had me confusing: where to write it exactly?... osmith
11:56 AM Feature #4401: Proof of concept for counting Location Updates in SIM applet
After testing the hello world example, I've modified it to display a message on every location update. This works! Th... osmith
07:10 AM Feature #4401 (In Progress): Proof of concept for counting Location Updates in SIM applet
osmith
02:48 PM Feature #4404: Research: Make sure that we can silently detach the IMSI
> How does a SIM/baseband behave when its IMSI is changed?
Let's add a menu entry that changes the IMSI to check t...
osmith
02:48 PM Feature #4412 (Resolved): SIM applet: add debug menu entry to change IMSI
Before drafting the spec, we need to check how the baseband/SIM behave if the IMSI changes. Adding it to the menu of ... osmith
02:40 PM Revision 2dcbfabb (imsi-pseudo): IMSIPseudo.java: rename menuItemText to title
osmith
02:39 PM Revision 1e5cc46d (imsi-pseudo): IMSIPseudo.java: rename welcomeMsg to LUCounter
osmith
02:24 PM Revision 041b0e0a (imsi-pseudo): IMSIPesudo.java: simple LU counter
osmith
10:20 AM Revision e28705af (imsi-pseudo): IMSIPseudo.java: show hello world on LU
osmith
08:39 AM Revision c6a2ba99 (imsi-pseudo): sim-applet/README.md: describe flashing
osmith
08:29 AM Revision c18064a7 (imsi-pseudo): sim-applet: add "flash" and "remove" targets
Using wrong arguments for shadysim.py (e.g. wrong --max-menu-entry-text)
results in cryptic errors, so let's version ...
osmith
07:55 AM Revision 8f58642c (imsi-pseudo): IMSIPseudo.java: change menu entry title
To make this work, flash with increased --max-menu-entry-text option for
shadysim.py. I'll add a "make flash" target ...
osmith
07:47 AM Revision 4e5e516a (imsi-pseudo): IMSIPseudo.java: convert line endings to unix
osmith
07:43 AM Revision 7528b38c (imsi-pseudo): sim-applet: rename to org.osmocom.IMSIPseudo
osmith

02/20/2020

04:22 PM Feature #4404: Research: Make sure that we can silently detach the IMSI
With ATT=0, LU (Periodic) still happen as usual. neels
04:10 PM Feature #4404: Research: Make sure that we can silently detach the IMSI
I just tested setting ATT=0 in SI3 Channel Description via
osmo-bsc.cfg...
neels
01:55 PM Feature #4404: Research: Make sure that we can silently detach the IMSI
Ah, I did find that, but interpreted it differently:
ATT, Attach-detach allowed (octet 2)
Bit
7
0 MSs in the...
neels

02/19/2020

06:21 PM Feature #4404: Research: Make sure that we can silently detach the IMSI
On Wed, Feb 19, 2020 at 02:32:02PM +0000, redmine@lists.osmocom.org wrote:
> If there is a switch to tell the MS to d...
laforge
02:32 PM Feature #4404: Research: Make sure that we can silently detach the IMSI
If there is a switch to tell the MS to do silent IMSI Detach, then it should be sufficient to set it.
Spent some tim...
neels
12:55 PM Feature #4404: Research: Make sure that we can silently detach the IMSI
laforge "pointed out":https://osmocom.org/issues/4400?issue_count=5&issue_position=5&prev_issue_id=4401#note-16, that... osmith
10:34 AM Feature #4404 (Stalled): Research: Make sure that we can silently detach the IMSI
laforge wrote:
> neels wrote:
> > The usefulness of the project seems to pivot on the visibility of the IMSI Detach...
osmith
12:50 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
laforge wrote:
> > > I doublt IMSI DETACH is used much in real-world networks these days as it is unauthenticated
>...
osmith
11:11 AM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
On Wed, Feb 19, 2020 at 10:35:24AM +0000, redmine@lists.osmocom.org wrote:
> what do you think about warning the user...
laforge
10:35 AM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
laforge wrote:
> One disadvantage of such an "explicit" mechanism relying on OTA SMS is that any
> intermediary / a...
osmith
11:16 AM Revision 04f25869 (imsi-pseudo): Makefile: adjust path to sim-tools
osmith
11:15 AM Revision 537fba0d (imsi-pseudo): sim-applet: start with hello-stk
Import source from here: https://git.osmocom.org/sim/hello-stk osmith
11:09 AM Revision 5380e95a (imsi-pseudo): README/docs: add FIXME: needs to be updated
osmith
10:40 AM Feature #4402 (Stalled): Specification: Create draft
osmith
10:34 AM Feature #4403 (Feedback): OsmoHLR: How to interface with SMS service?
laforge "wrote":https://osmocom.org/issues/4400#note-14:
> On Tue, Feb 18, 2020 at 04:44:23PM +0000, neels [REDMINE]...
osmith

02/18/2020

08:11 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
On Tue, Feb 18, 2020 at 04:44:23PM +0000, neels [REDMINE] wrote:
> * SMS-over-GSUP?
no, that would mean you need an ...
laforge
05:31 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
On Tue, Feb 18, 2020 at 04:33:42PM +0000, neels [REDMINE] wrote:
> * IMSI pool managed in HLR; HLR tells SIM when to ...
laforge
04:44 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
Open question: how to interface HLR and SMS service
* SMS-over-GSUP?
* SMPP handler and CTRL interface to osmo-hlr?
neels
04:33 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
Summary of important aspects so far:
* IMSI pool managed in HLR; HLR tells SIM when to move to a new IMSI.
** Whe...
neels
03:11 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
also consider TMSIs: when changing the IMSI, the SIM should discard its TMSI used for the network.
The MSC still ass...
neels
02:54 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
Discussion: when to change the pseudo IMSI?
Changing the pseudo IMSI is only possible when the subscriber is attac...
neels
02:38 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
I've created a README.md for imsi-pseudo.git based on the description of this issue:
https://gerrit.osmocom.org/pl...
osmith
07:55 AM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
@laforge gave feedback about the scope of the project. Text updated: additional encryption layer removed from the pro... osmith
02:41 PM Feature #4402 (Resolved): Specification: Create draft
Before we implement this in Osmocom, we will create a draft specification.
Based on the approach described in #440...
osmith
02:34 PM Feature #4401 (Resolved): Proof of concept for counting Location Updates in SIM applet
Before we put this part in the draft specification, we should make sure that we can actually count location updates i... osmith
02:21 PM Revision d79601db (imsi-pseudo): docs/specification: mention simapplet counting LUs
osmith
02:14 PM Revision b9fc075b (imsi-pseudo): docs/specification.md: begin specification
Start with a rough draft of what I expect that needs to be changed in
the specs, so we can extend it with the actual ...
osmith
01:33 PM Revision a9611b6b (imsi-pseudo): sim-applet: create README.md stub
Prepare the directory structure. osmith
01:33 PM Revision 65b41130 (imsi-pseudo): README.md: describe current approach
Based on my "Approach C" in OS#4400. osmith
07:57 AM Feature #4397 (Rejected): Approach A: Calculate pseudo IMSI with TOTP
osmith
07:57 AM Feature #4398 (Rejected): Approach B: Calculate pseudo IMSI with HOTP
osmith

02/17/2020

01:49 PM Feature #4400: Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
@neels gave feedback: NEW SESSION REQ and NEW SESSION RESP can be removed, if we let the HLR suggest the same pseudo ... osmith
10:29 AM Feature #4400 (Resolved): Approach C: HLR decides and sends the entire next pseudo IMSI to SIM
h3. Overview
In contrary to previous approaches, the HLR decides the pseudo IMSI
independently of the SIM applet....
osmith
08:44 AM Feature #4398: Approach B: Calculate pseudo IMSI with HOTP
Based on the feedback, I'm working on a new approach and will post it soon as "Approach C". osmith

02/14/2020

04:14 PM Feature #4398: Approach B: Calculate pseudo IMSI with HOTP
neels wrote:
> What if the HLR tells the SIM to increment the counter, but that message gets lost / arrives late?
...
osmith
03:05 PM Feature #4398: Approach B: Calculate pseudo IMSI with HOTP
neels wrote:
> What if the HLR tells the SIM to increment the counter, but that message gets lost / arrives late?
...
osmith
02:21 PM Feature #4398: Approach B: Calculate pseudo IMSI with HOTP
points to explore:
What if the HLR tells the SIM to increment the counter, but that message gets lost / arrives la...
neels
01:48 PM Feature #4398 (Rejected): Approach B: Calculate pseudo IMSI with HOTP
Similar to approach A in #4397, but without any collisions and problems with timestamps. Since timestamps are not use... osmith
12:43 PM Feature #4397 (Rejected): Approach A: Calculate pseudo IMSI with TOTP
This was my first approach, I think the HOTP based one is better. But for completeness, I will write it out here and ... osmith

02/13/2020

01:40 PM Revision 73dd9d7b (imsi-pseudo): Initial empty repository
laforge
 

Also available in: Atom

Add picture from clipboard (Maximum size: 48.8 MB)