escalation666 Posted May 15, 2007 Report Posted May 15, 2007 During some research, I found an intersting "feature"on my Nokia mobile phone; I was able to retrieve anyapparently deleted sms/mms.Letting aside some paranoid thoughts about WHY thissms are not deleted, I think that, while this representsan high risk for our privacy, this discover could give somehint into mobile phone forensics and anti-forensics field.First, I would like to tell you that I tested this onmy Nokia N-gage and on a Nokia 6600 but I am quiete surethat this procedure works on every Nokia Symbian S60(maybe other vendors). So I strongly incite you to testit on your mobile phone and share the results.Tested products:Nokia N-gage, firmware version: V 4.03 26-11-2003 NEM-4Nokia 6600Maybe the whole S60 series.Procedure:Download the Nokia PC Suite for your mobile phone and makea backup on your local hd.I used PC Suite for Nokia N-Gage Version 1.0.0http://www.nokia.com/pcsuiteIt will create a huge number of ".dat" files in a specifieddirectory.Download, install and start Cygwin. This is not required butsuggested, you could use an hexadecimal editor and a bit ofpatience but using Cygwin is surely faster.http://www.cygwin.comMove into the backup directory.$ ls -al | lesstotal 6016drwx------+ 2 Administrator Nessuno 0 Feb 6 01:35 .drwx------+ 7 Administrator Nessuno 0 Feb 5 23:00 ..-rwx------+ 1 Administrator Nessuno 2972 Nov 27 2003 1.dat-rwx------+ 1 Administrator Nessuno 22913 Nov 27 2003 10.dat-rwx------+ 1 Administrator Nessuno 1062 Feb 16 2005 100.dat-rwx------+ 1 Administrator Nessuno 3912 Aug 9 2005 1000.dat-rwx------+ 1 Administrator Nessuno 2750 Aug 25 2005 1001.dat-rwx------+ 1 Administrator Nessuno 8741 Dec 15 2005 1002.dat-rwx------+ 1 Administrator Nessuno 9926 Dec 20 2005 1003.dat-rwx------+ 1 Administrator Nessuno 63 Dec 30 2005 1004.dat-rwx------+ 1 Administrator Nessuno 23988 Jan 13 2006 1005.dat-rwx------+ 1 Administrator Nessuno 18 Jan 23 2006 1006.dat......etc etc (files created by the nokia pc suite).Choose a file to examine.$ ls -al 3102.dat-rwx------+ 1 Administrator Nessuno 666569 Feb 5 23:59 3102.datUse the command "strings" to find printable characters.$ strings 3102.dat | lessCiao! Auguro a te ed alla tua fa@Enrica Farlonesi......etc etcThis is part of an sms I deleted and that I don't see on my phone.So, just grep every file in the directory to find the complete sms:$ grep -i "Auguro a te ed alla" *Binary file 1770.dat matchesBinary file 3102.dat matchesThe sms has been found in 1770.dat file, let's see what's inside it:$ strings 1770.datCiao! Auguro a te ed alla tua famiglia un felice anno nuovo! E.4+3939152533504+393922378986Got it! The complete sms, with the phone number of the sender (phonenumbers have been changed).In earlier versions of Nokia PC Suite it just creates a ".nbu" file andyou can just edit it with an hexadecimal editor.I mailed the Nokia support and they told me they didn't know about thisbug and would like to know more informations about impacted models butthey don't have any intention to release some kind of patch.I contacted Symbian too, they told me that Symbian sources aredistributed to mobile phone vendors and so they cannot release anyfinal-user patch.This description is also avaiable here:http://www.alighieri.org/advisories/retrieving_deleted_sms.txt (ENG)http://www.alighieri.org/advisories/recuperare_sms_cancellati.txt (ITA)Credits: Davide Del Vecchio Quote