EvilZone

Hacking and Security => Hacking and Security => : DioGt October 09, 2013, 08:40:10 PM

: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: DioGt October 09, 2013, 08:40:10 PM
So let's start with some general theory

Almost every Sim has directories like:
RD (Root Directory)
MF (Master File)
DF-tel (Directory- Telcom)
DF-gsm (Directory-GSM)
DF-3g (Directory-3G)
EF (Elementary File)


More Spesific tha location of DF(tel/gsm/3g) are subsets of MF and MF is subset of RD

EF is the Directory that info of SIM kept, like: Phone-contacts, Sended sms etc.

Every SIM has uniqe : IMSI-TMSI / LAI / BCCH

IMSI-TMSI : permanent-temporary customer identity network
LAI: Location of customer
BCCH: control channel



and you can access on these only if you know KI and KC

[Pin also need to access some directories]

Ki:  key [password for encryption]
KC: session key (Key for the encryption - not stable/ can change)

Encryption that GSM - 3G networks use: A5/2 > A5/1 > A5/3 > A5/0   [A3, A8]

*On AuC-(Authentication Center) is saved the Ki*

A5/2  most powerful than: A5/1 >A5/3 > A5/0
A5/1 most powerful than: A5/3 A5/0 - actually is means no encryption :D

a) to testify the network provider the phone compare the Ki that the phone has with the one on their system to see if it is the same [to do that they use A3 algorithm]

b) with Ki data & A8 algorithm the Kc is created.


c) with the Kc now ready the A5/x encryption (= algorithm ) encrypts the singal for a call Or sms Or  internet (3G).



NOW about the "free" 3G internet. There are 2 (maybe 3 ) possible ways I've thought.

*That doesn't means that they will work :p  BUT they have great possibilities to work! *


1. Hijack the:  IMSI-TMSI / LAI / BCCH  and Ki from an other User to get "free" access on the net with him/her paying the bill :p  ( Too risky, but it can work)

2. by bypassing the security network and get free access ( working on that)

3. By exloiting the free 0.facebook access and gain access to other sites without paying ( Needs advanced knowlegde to Mobile networks

Because it takes lot's of time to write all these and also i do not have complete my thoughts  i will continue to P2 (part 2) :)


A photo i found that explains how Directories of sim are: (don't have 3G network)

P.S.: Sorry for my english :D
: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: max2zz November 16, 2013, 10:51:01 AM
found interest on your post.... waiting for your part 2...keep up... tnx btw..
: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: balanyc November 18, 2013, 08:29:13 PM
3. By exloiting the free 0.facebook access and gain access to other sites without paying ( Needs advanced knowlegde to Mobile networks

this one has been using in my country, thx to anonymous phreaker who found the way and share the trick.
free internet access since 6 months ago using my 3g usb modem  :P
this "0.facebook" called as bughost, used to camouflage data that will be sent to ISP's proxy.
What needed: isp proxy:port, isp header data, bughost, a simple proxy server app that can manipulate header data (called as inject)
inject will send an injectdata (header data contain bughost) to open connection with isp proxy before  realdata will be sent.




: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: max2zz November 19, 2013, 12:36:57 AM
do have any of this tools you mentioned? like bughost ang the others?

: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: balanyc November 19, 2013, 08:12:56 PM
do have any of this tools you mentioned? like bughost ang the others?

inject:
configurable one
:
http://sourceforge.net/projects/injectheaderquery/uploaded by the maker
work for all opsel in my country, though each one have it's own configuration.

bughost:
it can be different for each opsel, so it's more like trial-error. even adf.ly can be used as a bughost lol
: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: hppd November 19, 2013, 09:27:07 PM
How would I find out the ISP header data? And the bughost always has to be facebook right?
: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: balanyc November 20, 2013, 09:21:39 PM
How would I find out the ISP header data? And the bughost always has to be facebook right?

google can answer your first Q  ;)
:
http://web-sniffer.net/
bughost:
this is my header request, you can see what bughost used for
:
HTTP Request Header
Connect to 202.80.220.95 on port 80 ... ok
GET / HTTP/1.1[CRLF]
Host: news.okezone.com[CRLF] <<<<<< bughost
: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: max2zz November 21, 2013, 01:15:43 AM
thanks for ur all response,,, gonna try this,,,
: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: balanyc November 21, 2013, 04:44:21 AM
thanks for ur all response,,, gonna try this,,,

btw, it's better to combine inject with ssh, not a direct access to browser & other app  ;D
since direct need extra configuration  :P
this is my full set up:
1. uncheck default gateway in your dial-up connection
2. connect
3. add route to your isp proxy
4. start inject
5. login your ssh acc, use inject as your proxy (bitvise or putty, enable proxy forward)
6. open proxifier (make sure all req sent through bitvise)
7. pray, hope your isp have a bughole  8)


last, I need part2 of this topic, 3 of 7 isp in my country already know how to fix this method  :'(
: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: max2zz November 21, 2013, 10:19:09 AM
nice tut,,,, tnx.....
: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: hppd November 22, 2013, 04:27:56 PM
Nice one balanyc +1. I was wondering would this also work on the Homespot routers instead of 3G? I mean those AP's some ISPs automaticly broadcast when they give you a wireless router. So everybody who has an account on their network can sign in via your router.
: Re: Sim Directories / Mobile networks / GSM - 3G networks. P-1 RE: USB Modem Hacking
: Gwengo December 12, 2013, 09:00:30 PM
Hi this is cool. I will look into this