@night 1803 access accessdata active directory admissibility ads aduc aim aix ajax alissa torres amcache analysis anjp anssi answer key antiforensics apfs appcompat appcompatflags applocker april fools argparse arman gungor arsenal artifact extractor attachments attacker tools austin automating automation awards aws azure azuread back to basics backstage base16 best finds beta bias bitcoin bitlocker blackbag blackberry enterprise server blackhat blacklight blade blanche lagny book book review brute force bsides bulk extractor c2 carved carving case ccdc cd burning ceic cfp challenge champlain chat logs Christmas Christmas eve chrome cit client info cloud forensics command line computer forensics computername conference schedule consulting contest cool tools. tips copy and paste coreanalytics cortana court approved credentials cryptocurrency ctf cti summit cut and paste cyberbox Daily Blog dbir deep freeze defcon defender ata deviceclasses dfa dfir dfir automation dfir exposed dfir in 120 seconds dfir indepth dfir review dfir summit dfir wizard dfrws dfvfs dingo stole my baby directories directory dirty file system disablelastaccess discount download dropbox dvd burning e01 elastic search elcomsoft elevated email recovery email searching emdmgmt Encyclopedia Forensica enfuse eric huber es eshandler esxi evalexperience event log event logs evidence execution exfat ext3 ext4 extended mapi external drives f-response factory access mode false positive fat fde firefox for408 for498 for500 for526 for668 forenisc toolkit forensic 4cast forensic lunch forensic soundness forensic tips fraud free fsutil ftk ftk 2 full disk encryption future gcfe gcp github go bag golden ticket google gsuite guardduty gui hackthebox hal pomeranz hashlib hfs honeypot honeypots how does it work how i use it how to howto IE10 imaging incident response indepth information theft infosec pro guide intern internetusername Interview ios ip theft iphone ir itunes encrypted backups jailbreak jeddah jessica hyde joe sylve journals json jump lists kali kape kevin stokes kibana knowledgec korman labs lance mueller last access last logon leanpub libtsk libvshadow linux linux-3g live systems lnk files log analysis log2timeline login logs london love notes lznt1 mac mac_apt macmini magnet magnet user summit mathias fuchs md viewer memorial day memory forensics metaspike mft mftecmd mhn microsoft milestones mimikatz missing features mlocate mobile devices mojave mount mtp multiboot usb mus mus 2019 mus2019 nccdc netanalysis netbios netflow new book new years eve new years resolutions nominations nosql notifications ntfs ntfsdisablelastaccessupdate nuc nw3c objectid offensive forensics office office 2016 office 365 oleg skilkin osx outlook outlook web access owa packetsled paladin path specification pdf perl persistence pfic plists posix powerforensics powerpoint powershell prefetch psexec py2exe pyewf pyinstaller python pytsk rallysecurity raw images rdp re-c re-creation testing reader project recipes recon recursive hashing recycle bin redteam regipy registry registry explorer registry recon regripper remote research reverse engineering rhel rootless runas sample images san diego SANS sans dfir summit saturday Saturday reading sbe sccm scrap files search server 2008 server 2008 r2 server 2012 server 2019 setmace setupapi sha1 shadowkit shadows shell items shellbags shimcache silv3rhorn skull canyon skype slow down smb solution solution saturday sop speed sponsors sqlite srum ssd stage 1 stories storport sunday funday swgde syscache system t2 takeout telemetry temporary files test kitchen thanksgiving threat intel timeline times timestamps timestomp timezone tool tool testing training transaction logs triage triforce truecrypt tsk tun naung tutorial typed paths typedpaths uac unc understanding unicorn unified logs unread usb usb detective usbstor user assist userassist usnjrnl validation vhd video video blog videopost vlive vmug vmware volatility vote vss web2.0 webcast webinar webmail weekend reading what are you missing what did they take what don't we know What I wish I knew whitfield windows windows 10 windows 2008 windows 7 windows forensics windows server winfe winfe lite wmi write head xboot xfs xways yarp yogesh zimmerman zone.identifier

Daily Blog #107: Solving Sunday Funday 10/6/13 Facebook Chat

Hello Reader,
        Let's start looking at our last forensic image challenge, from Sunday Funday 10/6/13, by looking for communication between our suspect and other co-workers through non work provided communications. That means we are not looking at work email, sametime, communicator or other instant messaging service provided by the company. Most companies have locked down the popular instant messaging protocols at the firewall so people have turned to social media services chat functionality.

In our case our suspect is using Facebook chat. Facebook likes to change their message format for chat messages so often times if you make an image of a drive that is in active use the tools you use for Facebook chat recovery may miss these messages. For instance when we wrote the new book last year, Infosec Pro Guide to Computer Forensics, the keyword 'msgID' was present within Facebook chat artifacts. Now 'msgID' is gone and in its place is 'source:chat' and 'message_id'. A good example of this is using IEF, running the latest and greatest (6.2) did pull back the IE10 history that befuddles many tools but in this case it only found one false positive Facebook chat.

Remember that Facebook chat is all exchanged via AJAX/JSON so you shouldn't expect to find cached pages with chat messages in them in free space. Instead Facebook chat will usually be found in the Pagefile.sys, Hiberfil.sys and the volume shadow copies of these files. In our suspect image thee are several messages being exchanged between two parties, we found these by searching the pagefile.sys for 'source:chat' and then highlighting the relevant portions. We could write a parser to clean this up but I know that IEF will soon support the new format so it would be a duplication of effort on my part.

In this picture you can see a conversation taking place between two Facebook contacts. The field 'fbid' identifies which Facebook account we are getting this data from the Facebook ID '100006425125674' which we can pass back to Facebook and find their profile by going to the url:
http://www.facebook.com/100006425125674 which will resolve to the page of Knot Quilty:

In addition there are timestamps in each message  under the field 'timestamp'. The timestamps are standard Unix timestamps records meaning seconds since epoc. I like to use DCode for this type of timestamp identification as its free and has a variety of time-stamp options to try. Putting one of these timestamp fields into Dcode and selecting Unix: Numeric Value will correctly translate the timestamp a shown below:

There are some other Facebook chat fields that can be relevant depending on what you are investigating:

  • “has_attachments” indicates if the chat message contained an attachment, usually a picture
  • “action_type” “user-generated” tells us that this information came from a user and not an automated function.
If you wanted to find more Facebook artifacts manually then search the image for the Facebook ID 
'100006425125674' which is a pretty unique keyword and will pull back all their Facebook related traffic as it will be embedded in all their pages.

Tomorrow lets talk about IE10 history.


Post a Comment


Author Name

Contact Form


Email *

Message *

Powered by Blogger.