Blackberries are all over the place... but you don't hear too much about analyzing them forensically (anyone have a good source?). I thought maybe it was time to crack into mine and see what I can find.
Most people know the Research in Motion (RIM) uses their own proprietary protocols. It has its own wireless modem which is uses to connect to the BellSouth Intelligent Wireless Network. It also has two transport options AES and Triple DES. If you use the password keeper on your phone, that implements AES by default (which is more secure anyways).
Caveat! The BlackBerry is one of those 'always-on' devices... even turning it off does not power it down completely. So that means you could be imaging the device when suddenly data could be pushed to it, potentially overwriting some data (and altering your image, never good in court). This means you need to either turn off the radio so no pushing can be done to the device -OR- put it somewhere where it cannot receive a data push (a faraday bag or my flat). Even 'off'-- a queue (you can tell it was created by a commonwealth country) will form of data waiting to be pushed to the device... so when you power it back on, it is literally flooded with new data, overwriting evidence. If you are doing mobile forensics, buy faraday bags. Oh and chargers to ensure the phone doesn't die before you image it.
So I performed a simple DD of the device and lets see what I can find:
Why... HELLO MBR! How are you?! Well since you an unpartitioned device, you are the Volume Boot Record. Yes its good ol 512 record of Windows fame, it even has the h55 hAA terminating values! From this we can see:
- Running MSDOS 5.0?
- FAT16 filesystem
- Name of Blackberry (clever)
Well lets do a quick perusal of what the tree pane view has to offer us:
Nothing too overly exciting here... lets go thru the potentially interesting bits:
/app_world: These all have the .REM file association, this has to do with BlackBerry World
/camera: all of my photos from my phone. These are in EXIF data format and begin with the hex value 'FF D8' and end with 'FF D9'
BBThumbs.dat: This was in both my music and videos directories. This is pretty much a cache of the actual music/video itself, which means when the library is accessed it can call the cache if the hash matches rather than checking the library over and over. Each entry within the dat file starts with hex value '01 00' and ends with 'FF'
/system/info.mkf: This file contains the password (hashed) if you have the SD card within the card password encrypted. This can be cracked (and potentially the phone password if its set to be the same via a tool from
Elcomsoft.
 |
| I have the weirdest musical selection! |
 |
| The BlackBerry Web Browser |
/system/appdata/rim/webstorage/net_rim_bb_browser_daemon: This looks to be the web browser. There are a lot of db file extensions but are actually REMF files (so can't be easily viewed). However in /database I see the https_mail.google.com_0 folder so the user has a gmail account and has used it from the device. Checking out the local storage is a bit more fruitful in helping to determine browsing
 |
| I enjoy securitybananas, beer, and long walks on the beach... |
/tmp : full of 0 size files with the prefix 'SU
.tmp'. They were created on 11/29/11... I feel that was around the day I accidentally wiped my phone, but don't remember....
Of course you can do the same things you can do on regular OS's: recover files, copy out files, hash files, run enscripts... etc
Where are my text messages? Contacts? Or my phone call history? I assume stuck in one of those REMF files and in the SIM... perhaps if I get some mobile forensic software I may be able to produce more fruitful results. Apparently if I download the BlackBerry SDK I can grab the flash RAM?? Mobile forensics is such a fascinating field. Definitely more to research and if anyone has any tips please feel free!
Sources:
Scene of the CyberCrime (2nd Edition) Michael Cross
Wikipedia