Difference between pages "Blackberry Forensics" and "Pine Header Format"

From Forensics Wiki
(Difference between pages)
Jump to: navigation, search
m
 
(Added version numbers to Message-ID)
 
Line 1: Line 1:
'''Blackberry Forensics''' is a page dedicated to the forensics world. This page should contain all the necessary steps to acquire data from a BlackBerry Device.
+
[[Pine]] composes headers in the following format:
<br/>
+
<br/>
+
  
== Warning for BlackBerry Forensics ==
+
<pre>Date: Tue, 6 Mar 2007 11:10:36 -0500 (EST)
[[BlackBerry]] devices come with password protection. The owner has the capability to protect all data on the phone with a password. The user may also specify the amount of attempts for entering the password before wiping all data from the device.
+
From: Sender Name <sender@host.com>
 +
To: Getter Name <getter@otherhost.com>
 +
cc: Other Person <somebody@somehost.com>
 +
Subject: The subject text
 +
Message-ID: <Pine.LNX.4.64.0703061056380.29699@host.com></pre>
  
[[Image:Image1.jpg|none|thumb]]
+
Using the function <tt>generate_message_id</tt> in the file <tt>reply.c</tt> we can see that the format for the Message-ID line is a series of fields separated by periods, followed by the <tt>@</tt> symbol and the hostname of the sending machine. The fields are
  
If you exceed your password attempts limit (defaults to 10, but you can set it as low as 3), you will be prompted one last time to type the word BlackBerry.  
+
# The word <tt>Pine</tt>
 +
# A three letter version of the operating system name (e.g. <tt>LNX</tt> for Linux)
 +
# The major version of Pine
 +
# The minor version of Pine
 +
# A number YYMMDDHHmmssX, Where YY is the last two digits of the year, MM the current month, DD the current day of the month, HH the current hour, mm the current minute, ss the current second, and X is either a zero or one depending on the number of seconds.
 +
# The current process ID number
  
[[Image:Image2.jpg|none|thumb]]
+
Note that the timestamp in the Message-Id may not necessarily match the <tt>Date</tt> line.
  
The device will then wipe. It will be reset to the factory out-of-the-box condition (default folder structure), and the password reset. You will lose everything in the device memory, with no possibility of recovery. It will not reformat the microSD card, since that's not part of the factory configuration. The phone will still be usable, and the operating system will be unchanged. So this technique cannot be used to roll back from an OS upgrade problem.
+
The hostname can be [[ROT-13]] encrypted on some configurations.
 
+
Obviously this is a serious problem if you need to perform forensics on the device. The best work around is to work with the owner of the device and hopefully get them to disclose the password.
+
 
+
 
+
== Acquiring BlackBerry Backup File (.ipd) ==
+
* Version 4.6 was used in this example
+
 
+
Prerequisites:<br/>
+
Download and install Blackberry Desktop Manager. <br/>
+
Use the following link to select and download the install file that fits your system or version. <br/>
+
https://www.blackberry.com/Downloads/entry.do?code=A8BAA56554F96369AB93E4F3BB068C22 <br/>
+
<br/>
+
 
+
Once Desktop Manager is installed:<br/>
+
1. Open Blackberry’s Desktop Manager.<br/>
+
2. Click “Options” then “Connection Settings” <br/>
+
 
+
[[Image:BBManager4 6 Options.JPG|none|thumb]]<br/><br/>
+
 
+
4. If the Desktop Manager hasn't already done so, select “USB-PIN: Device #” for connection type. Your device # may not be the same as the image below.<br/>
+
 
+
[[Image:BBManager4 6 Connect.JPG|none|thumb]]<br/>
+
 
+
5.      Click "OK" to return to the main menu.<br/><br/>
+
6. Click “Backup and Restore”.<br/>
+
 
+
[[Image:BBManager4 6 Backup.JPG|none|thumb]]  <br/><br/>
+
 
+
7.      Click the "Back up" button for a full backup of the device or use the Advanced section for specific data.<br/>
+
 
+
[[Image:BBManager4 6 Backup1.JPG|none|thumb]]<br/><br/>
+
 
+
8. Select your destination and save the ".ipd" file.<br/>
+
 
+
[[Image:BBManager4 6 Save.JPG|none|thumb]]<br/>
+
 
+
 
+
=== Using Older Versions of Desktop Manager ===
+
Visit the archived instructions for use with older versions of Desktop Manager [[Blackberry Forensics Backup File Old|click here]].
+
 
+
<br/>
+
<br/>
+
 
+
== Opening Blackberry Backup Files (.ipd)* ==
+
The IPD file can be read using several commercial utilities, including the [[MagicBerry IPD Reader]] and the [[Amber Blackberry Converter]]. The example below was created using version 6.7 of the latter.
+
 
+
<br>1. Use File | Open and point the program to the BlackBerry backup file (.ipd).
+
 
+
[[Image:ABCOpen.JPG|none|thumb]]
+
 
+
<br>2. Navigate to the appropriate content by using the navigation icons on the left and/or top.
+
<br>[[Image:ABCView.JPG|none|thumb]]<br>
+
<small>click for enlarged version</small>
+
<br>
+
 
+
=== Advanced Export Options ===
+
You may also export each subsection of acquired data to different file types such as pdf, txt, and html, etc.<br>
+
1. Select the appropriate content from the navigation items on the left.<br>
+
2. Either select an individual row or click "Select All" to export all rows.<br>
+
[[Image:ABCExportSelectAll.JPG|none|thumb]]<br><br>
+
3. Click "Fields to export" button<br>
+
 
+
[[Image:ABCExportButton.JPG|none|thumb]]<br><br>
+
 
+
4. Select all the criteria for that subsection in which you wish to export and click "OK"<br>
+
 
+
[[Image:ABCExportFields.JPG|none|thumb]]<br><br>
+
 
+
5. Select your output type from the bottom list of selections and click "Save As..."<br>
+
[[Image:ABCExportOptions.JPG|none|thumb]]<br><br>
+
 
+
== Blackberry IPD File Format (.ipd) ==
+
 
+
For a more advanced and in depth look at the file format of (.ipd) backup files visit the following site.
+
<br><br>
+
http://na.blackberry.com/eng/devjournals/resources/journals/jan_2006/ipd_file_format.jsp
+
<br><br>
+
 
+
== Blackberry BBB File Format (Mac OS X) (.bbb) ==
+
 
+
Blackberry backups generated via Mac OS X are given the extension .bbb, these are simply .zip compressed files containing a standard .ipd file.
+
 
+
 
+
== Acquisition with Paraben's Device Seizure ==
+
* You may purchase a copy of Device Seizure on Paraben's Website [http://www.paraben.com/device-seizure.html here].
+
As an alternative to acquiring the Blackberry through Amber Blackberry Converter, Paraben's Device Seizure is a simple and effective method to acquire the data.  The only drawback, is that this method takes significantly more time to acquire than using Amber Blackberry Converter.
+
 
+
1. Create a new case in Device Seizure with File | New.
+
 
+
2. Give the case a name and fill in any desired information about the case on the next two screens.  The third screen is a summary of the data entered.  If all data is correct click Next and then Finish.
+
 
+
3. You are now ready to acquire the phone.  Go to Tools | Data Acquisition.
+
 
+
4. You are prompted for the supported manufacturer.  Select RIM Blackbery (Physical).<br/>
+
[[Image:Image10.JPG|none|thumb]]<br/><br/>
+
 
+
5. Leave supported models at the default selection of autodetect.<br/>
+
[[Image:Image11.JPG|none|thumb]]<br/><br/>
+
 
+
6. Connection type should be set to USB.<br/>
+
[[Image:Image12.JPG|none|thumb]]<br/><br/>
+
 
+
7. For data type selection select Logical Image (Databases).<br/>
+
[[Image:Image13.jpg|none|thumb]]<br/><br/>
+
 
+
8. Confirm your selections on the summary page and click Next to start the acquisition.
+
<br/>
+
Now wait until the program is done acquiring data from the device. <br/><br/>
+
Please Note: In some instances the wait can be up to 30-45 minutes.
+
<br/><br/>
+
 
+
== BlackBerry Simulator ==
+
* For simulating a backup copy of the physical device. This is helpful if the device is low on battery, needs to be turned off,
+
* or you don't want to alter the data on the physical device.
+
 
+
This is a step by step guide to downloading and using a BlackBerry simulator. In this example the version 4.0.2 was used in order to simulate the 7230 series.
+
<br/><br/>
+
 
+
1. Select a simulator to download from the drop-down list on the [https://www.blackberry.com/Downloads/entry.do?code=060AD92489947D410D897474079C1477 BlackBerry website].
+
*For this example look through the list and download BlackBerry Handheld Simulator v4.0.2.51.
+
 
+
2. Then click ''Next''.
+
 
+
3. Enter your proper user credentials and click ''Next'' to continue.
+
 
+
4. On the next page, reply accordingly to the eligibility prompt and click ''Next'' to continue.*
+
 
+
5. Agree or disagree to the SDK agreement and click ''Submit'' to continue.*
+
 
+
6. The next page will provide you with a link to download the .ZIP file containing the wanted simulator.
+
* - If you disagree at any of these points you will not be able to continue to the download.
+
 
+
7. Extract the files to a folder that can easily be accessed (I used the desktop).
+
 
+
8. In that folder, find the xxxx.bat file (where xxxx is the model number of the device that is being simulated). The simulator should now open an image that resembles the phone.
+
 
+
9. In the ''BlackBerry 7230 Simulator'' window, select ''Simulate'' | ''USB Cable Connected''.  Refer to ''Figure BS-1'' for further assistance.
+
 
+
[[Image:7230_1.JPG|none|thumb]]
+
 
+
''Figure BS-1''
+
 
+
10. Open BlackBerry Desktop Manager.  If there are no Outlook profiles created there will be a prompt on how to create one.  Click ''OK'' to continue.  If the BlackBerry xxxx Simulator has properly connected to the BlackBerry Desktop Manager, ''Connected'' should be displayed at the bottom of the BlackBerry Desktop Manager window.  Refer to ''Figure BS-2'' for further assistance.
+
 
+
[[Image:BBDM_1.JPG|none|thumb]]
+
 
+
''Figure BS-2''
+
 
+
11. Double click ''Backup and Restore'' | select ''Restore...''.  Refer to ''Figure BS-2'' for further reference.
+
 
+
12. Navigate to the directory where an .ipd file that has been previously backed up is stored and select Open to load that file to the Simulator.  See the Acquiring BlackBerry Backup File section above on information on how to backup a physical BlackBerry.
+
 
+
== Blackberry Protocol ==
+
http://www.off.net/cassis/protocol-description.html
+
 
+
Here is a useful link to the Blackberry Protocol as documented by Phil Schwan, Mike Shaver, and Ian Goldberg. The article goes into great description of packet sniffing and the protocol as it relates to data transfer across a USB port.
+
 
+
==References==
+
* [http://www.amraksoftware.com/ phoneMiner], phoneMiner
+
* [http://www.processtext.com/abcblackberry.html ABC], Amber BlackBerry Converter
+
* [https://www.blackberry.com/Downloads/entry.do?code=060AD92489947D410D897474079C1477 BlackBerry Simulator], Simulator Download website
+
* [http://www.forensicswiki.org/wiki/BlackBerry Blackberry], BlackBerry Forensics Wiki page
+
* [https://www.blackberry.com/Downloads/entry.do?code=A8BAA56554F96369AB93E4F3BB068C22 Desktop Manager], BlackBerry Desktop Manager Download website
+
* [http://na.blackberry.com/eng/devjournals/resources/journals/jan_2006/ipd_file_format.jsp IPD], IPD File Format
+
* [[Blackberry Forensics Backup File Old|Older Desktop Manager Versions]], Using older versions of BlackBerry Desktop
+
* [http://www.paraben-forensics.com/catalog/index.php Paraben], Paraben Corporation website
+
* [http://www.off.net/cassis/protocol-description.html Blackberry Protocol]
+
* [http://www.rh-law.com/ediscovery/Blackberry.pdf Forensic Examination of a RIM (BlackBerry) Wireless Device]
+

Revision as of 14:29, 6 March 2007

Pine composes headers in the following format:

Date: Tue, 6 Mar 2007 11:10:36 -0500 (EST)
From: Sender Name <sender@host.com>
To: Getter Name <getter@otherhost.com>
cc: Other Person <somebody@somehost.com>
Subject: The subject text
Message-ID: <Pine.LNX.4.64.0703061056380.29699@host.com>

Using the function generate_message_id in the file reply.c we can see that the format for the Message-ID line is a series of fields separated by periods, followed by the @ symbol and the hostname of the sending machine. The fields are

  1. The word Pine
  2. A three letter version of the operating system name (e.g. LNX for Linux)
  3. The major version of Pine
  4. The minor version of Pine
  5. A number YYMMDDHHmmssX, Where YY is the last two digits of the year, MM the current month, DD the current day of the month, HH the current hour, mm the current minute, ss the current second, and X is either a zero or one depending on the number of seconds.
  6. The current process ID number

Note that the timestamp in the Message-Id may not necessarily match the Date line.

The hostname can be ROT-13 encrypted on some configurations.