|
This documentation is especially for developers who want to join our project and for everybody else who would like to know how AIMSICD detects IMSI-Catchers, silent SMS and other threats. Important Note: Due to its complexity, this is a work in progress.
|
|
This documentation is especially for developers who want to join our project and for everybody else who would like to know how AIMSICD detects IMSI-Catchers, silent SMS and other threats. Important Note: Due to its complexity, this is a work in progress.
|
|
|
|
|
|
***
|
|
# Index
|
|
|
|
|
|
|
|
* [Basic Modules and I/O](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/wiki/Technical-Overview#basic-modules-and-io)
|
|
|
|
* [Database Tables: (Current Behavior)](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/wiki/Technical-Overview#database-tables-current-behavior)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
###**Basic Modules and I/O:**
|
|
###**Basic Modules and I/O:**
|
|
|
|
|
... | @@ -10,12 +15,24 @@ This documentation is especially for developers who want to join our project and |
... | @@ -10,12 +15,24 @@ This documentation is especially for developers who want to join our project and |
|
|
|
|
|
###**Database Tables:** (Current Behavior)
|
|
###**Database Tables:** (Current Behavior)
|
|
|
|
|
|
|
|
AIMSICD utilizes several tables in a single SQLite3 database in `aimsicd.db` to keep track
|
|
|
|
of all the network changes and the downloaded Open Cell ID (OCID) data. When you're making a file
|
|
|
|
backup of the AOMSICD database, you're actually saving the various tables into individual
|
|
|
|
`<tablename>.CSV` files. This make it easy to manually or externally update some tables.
|
|
|
|
|
|
|
|
All mentioned sqlite commands are properly documented on the [SQLite website](http://www.sqlite.org).
|
|
|
|
|
|
![Database Tables](https://spideroak.com/share/IFEU2U2JINCA/GitHub/home/SecUpwN/SpiderOak/DOCUMENTATION/Database_myCellInfo_ER_2.png)
|
|
![Database Tables](https://spideroak.com/share/IFEU2U2JINCA/GitHub/home/SecUpwN/SpiderOak/DOCUMENTATION/Database_myCellInfo_ER_2.png)
|
|
* **DEFAULT_MCC_TABLE:** (Mobile Country Code): This table holds data to identify your service provider (carrier) and country.
|
|
#### DEFAULT_MCC_TABLE (Mobile Country Code)
|
|
* **CELL_TABLE:** These are the *unique* BTS towers as collected by the phone, once it has connected to it (ignoring neighboring cells).
|
|
This table holds data to identify your service provider (carrier) and country.
|
|
* **LOCATION_TABLE:** These are the individual measurements as collected when in `Tracking Cell Details` mode. The location (Lat/Lng) of the phone and the Cell-ID it is connected to + timestamp.
|
|
#### CELL_TABLE
|
|
* **OPENCELLID_TABLE:** Downloaded DB from [OpenCellID](http://opencellid.org/).
|
|
These are the *unique* BTS towers as collected by the phone, once it has connected to it (ignoring neighboring cells).
|
|
* **SILENT_SMS_TABLE:** Protocol of incoming messages.
|
|
#### LOCATION_TABLE
|
|
|
|
These are the individual measurements as collected when in `Tracking Cell Details` mode. The location (Lat/Lng) of the phone and the Cell-ID it is connected to + timestamp.
|
|
|
|
#### OPENCELLID_TABLE
|
|
|
|
Downloaded DB from [OpenCellID](http://opencellid.org/).
|
|
|
|
#### SILENT_SMS_TABLE
|
|
|
|
Protocol of incoming messages.
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
... | @@ -23,7 +40,25 @@ This documentation is especially for developers who want to join our project and |
... | @@ -23,7 +40,25 @@ This documentation is especially for developers who want to join our project and |
|
|
|
|
|
![New Database Tables](https://spideroak.com/share/IFEU2U2JINCA/GitHub/home/SecUpwN/SpiderOak/DOCUMENTATION/Database_myCellInfo_ER_3.png)
|
|
![New Database Tables](https://spideroak.com/share/IFEU2U2JINCA/GitHub/home/SecUpwN/SpiderOak/DOCUMENTATION/Database_myCellInfo_ER_3.png)
|
|
|
|
|
|
|
|
#### Accessing the Databases
|
|
|
|
|
|
|
|
* From a PC
|
|
|
|
|
|
|
|
```
|
|
|
|
adb shell
|
|
|
|
su
|
|
|
|
sqlite3 /data/data/com.SecUpwN.AIMSICD/databases/aimsicd.db
|
|
|
|
```
|
|
|
|
|
|
|
|
* From a Terminal Emulator within Android
|
|
|
|
* (Note: You may need to install sqlite3 binaries)
|
|
|
|
|
|
|
|
```
|
|
|
|
su
|
|
|
|
sqlite3 /data/data/com.SecUpwN.AIMSICD/databases/aimsicd.db
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
**To be updated**
|
|
**To be updated**
|
|
|
|
|
... | | ... | |