Introduction
As digital forensic
practitioners, we are faced regularly with users utilizing the internet to swop and
download copyrighted and contraband material. Peer to peer (P2P) applications
are commonly used for this purpose, and like any software application, they is
ever changing, and ever evolving.
This paper will
discuss how the P2P software application, FrostWire v.5, functions and what
artifacts can be found and examined for forensic purposes. The software
application mentioned is one of the more popular P2P, applications.
Problem Statement
P2P downloading
of copyrighted media and contraband is a significant problem. The sheer
proliferation of these applications in various forms, requires digital forensic
examiners to be aware of the potential evidential artifacts that can exist in
them.
With developers
constantly changing and evolving their software, the artifacts change, and they
find new ways to make it more protected for their users. The problem discussed
in this paper, is what evidential artifacts are left by using FrostWire v.5, and
what evidential value do they contain.
Research Methodology
The research was
conducted by way of practical experimentation making use of the following
experimental protocols.
Step 1:
The hard drive
on the laptop used in the experiment was forensically sanitized and validated .
Step 2:
The Windows 7
Standard operating system was installed on the laptop used, with default
settings selected.
Step 3:
FrostWire v.5
was installed on the laptop, and was downloaded from www.FrostWire.com.
Step 4:
FrostWire v.5 was
installed using the standard method and keeping the default settings.
Step 5:
The test laptop
was connected to the internet and FrostWire v.5 was executed and a search was
conducted for various Linux distributions..
Step 6:
Based on the
results of Step 5, various files were selected and downloaded using FrostWire
v.5 and once completed it was shut down.
Step 7:
The test laptop
was shut down and the hard drive forensically imaged..
Step 8:
The forensic image
made of the test laptop was loaded into FTK 4.0 with default automatic data
carving enabled. Once completed the image was examined and all artifacts identified as being
linked to FrostWire v.5 documented.
Data Artifacts Found and Examined
[root]User/xxx/FrostWire
This folder
contains five subfolders that contain the actual .torrent files and the actual
media that has been downloaded. The subfolders contained within the
abovementioned folder are:
- Incomplete: Within this folder, the temporary tracker of the media is saved while in the process of being downloaded, this is the metaphorical bookmark that enables the software to stop and start as the user wishes.
- Saved: This folder contains the artifacts of .torrent files that the user wishes to save- to be able to download at another time.
- Shared: This folder contains all the .torrent trackers that the user has uploaded or created. FrostWirev.5 enables the creation of .torrent trackers.
- Torrent Data: Possibly one of the most important folders, this is where the software saves the actual downloaded media.This is a system automated process, which remains standard.
- Torrent: This folder contains the actual .torrent tracker file, which is the tracker and that is created to download the requested item. For each item downloaded, two entries are created -A .torrent file is created that contain the creation time, the SHA 1 value of the downloaded item, and from where it was downloaded. The second entry created is in unallocated space, which contains the exact same information.
[root]user/xxx/AppData/Roaming/FrostWire
This folder
essentially contains a few very important artifacts, which contain important
evidentiary information on what was downloaded.
- Createtimes.cache: This cache file contains the SHA-1 value that is assigned to all uploaded media when a .torrent file is created and uploaded to the distribution websites. The SHA-1 value is that of the whole file when it was originally uploaded.This is verified once the item has been downloaded to ensure that the right and complete item has been downloaded.
- Download.dat: This database file contains all the names, identification SHA-1 values of all the files and media downloaded by the user using FrostWire v.5. This can be used to identify what was downloaded when the actual physical items are no longer on the machine.
- Fileurns.cache & Fileurns.bak: These two files essentially contain the same information. When a download is started the software logs the SHA-1 value of the file to ensure that the completed file is downloaded. The SHA-1 value can be used to identify whether a certain item matched the online version of the said file.
- FrostWire.props: This property file contains the selection made by the user upon installation. Here you can determine what changes have been made to the default settings of FrostWire v.5.
- Hostiles.txt: This contains a log of all subnet Masks currently running on the FrostWire v.5 network.
- Library.dat: This database is of all media that is saved by the user to the FrostWire v.5 library, even if it was not physically downloaded onto the machine.
Registry Artifacts:
The registry
keys SOFTWARE, SECURITY,SYSTEM and the Ntuser.dat were examined and the
following artifacts or changes were identified:
- HKEY/LOCAL MACHINE/SOFTWARE/Current Version: (These changes can be seen in the NTUSER.DAT as well)
This
contained the following relevant information of the software FrostWire v.5:
i.
Display Name
ii.
Publisher
iii.
Help Link
iv.
URL
v.
URL Info
vi.
Display Version
vii.
Uninstall Command
- HKEY/LOCAL MACHINE/SOFTWARE/Classes:
This
contained the following relevant information of the software FrostWire v.5:
i.
FrostWire Toolbar
ii.
FrostWire.exe files location.
- HKEY/LOCAL MACHINE/SOFTWARE/FrostWire:
This
contained the following relevant information of the software FrostWire v.5:
i.
The executable command used to access and run FrostWire
v.5.
- HKEY/LOCAL MACHINE/SOFTWARE/Tracing:
This
contained the following relevant information of the software FrostWire v.5:
i.
This contains two tracing mechanisms that Microsoft
uses to manage and monitor software, which is the Rasapi 32 command and the
RASMANCS command. The information saved is saved in [root]/ProgramData/Microsoft/Search/Data/Applications/Windows/GatherLogs/SystemIndex/SystemIndex.gthr:
- HKEY/LOCAL MACHINE/SYSTEM:
For
FrostWire v.5 to be able to function, a change has to be made within how the
system operates:
i.
When installing FrostWire
v.5, the software automatically change the FireWall policy to create an
exception to allow communication from FrostWire v.5 and the downloading
servers, thus bypassing the firewall completely.
- HKEY/LOCAL MACHINE/SECURITY:
No
changes could be identified within this registry key.
Identifying Searches Done Using FrostWire v.5:
When a user
searches for a specific item to download, that search is stored in various
places on the local machine:
- [root]/$Logfile: Contains the search term searched for, where it was found along with the SHA-1 identification hash value.
- [root]/ProgramData/Microsoft/Search/Data/Applications/Windows/GatherLogs/SystemIndex/SystemIndex.gthr: The header information contained within this gather log, is the search term and how the system and the software communicated.This information is gathered by the two tracing protocols mentioned early Rasapi 32 and RASMANCS.
- [root]users/xxx/.FrostWire/search_db.h2.db :This is the database that FrostWire v.5 uses to record all searches done by the users.The information recorded is the following:
i.
URL Details, where the .torrent file is residing.
ii.
The search term searched.
iii.
The magnet link and corresponding SHA-1 hash value.
iv.
The creation date in Unix that .torrent tracker was
created.
- [root]users/xxx/.FrostWire/search_db/search_db/_28.tii: This is the actual entry in the database for each search term done by the user.This contained what the search term was and the corresponding file ID.
- [root]users/xxx/.FrostWire/search_db_searchdb__28.tis:This is a record of the search results for the particular search term, meaning that for every .tii file a corresponding .tis file can be found.
Examining a .torrent File and the Artifacts Found:
The file header for .torrent files in hex is:
0x64
38 3A 61 6E 6E 6F 6F 63 65 35 39 (As viewed in hex)
d8:announce59
(As viewed in text)
Contained in
this .torrent file is the following information:
File
|
Meaning
|
http://tracker.torrentbox.com
|
The website
that the .torrent file was uploaded to and stored on
|
2710
|
The initial port used to communicate
to the website initially.
|
77.247.176.132:80
|
The IP
address communicated with along with the port used for downloading.
|
1238229350
|
Unix creation date of the torrent.
|
Linux Books
|
The name of
the item downloaded.
|
31C8D8C7748C9CC8090C4C2A
|
Identification SHA-1 hash value.
|
Summary
FrostWire v.5
contains a number of potential evidential artifacts that can prove useful in an
investigation in proving what has taken place on a computer using this P2P
application.
This comment has been removed by the author.
ReplyDeleteExcellent article Vee. There's a dearth of information about the forensic artefacts left by the use of FrostWire. This is the most informative research on the subject that I've seen. Well done.
ReplyDeleteHi
ReplyDeleteArtemis tx for the reply I am not finished yet still loads to uncover as long as its usefull I am happy
This comment has been removed by the author.
ReplyDeleteHi Vee, just a quick question on the search_db.h2.db file what browser did you use to view the detail found within this file ?
ReplyDeleteNew to forensics and my first job is a frostwire case - great fun :)
Please advise,
Hi Newbe, well I use FTK 4.02 and viewed the data in HEX. What forensic platform are you using in your company, you are welcome to email me directly to discuss or answer any question for me my p2p cases were the most fun. g33kg1rl01 at gmail dot com
ReplyDeleteIll email you if thats ok....
ReplyDeleteHI Vee, Quick question regarding FrostWire. I have put my suspect HDD into a VM to have a look at FrostWire and notice that the My Shared Files contain data of interest, however when looking at the device through forensic software I cannot match the two. Does FrostWire pull the data from both the Saved and Torrent data folder into the My Shared Files Folder within the program FrostWire. Appreciate your thoughts on this.
ReplyDeleteRgd's
Newbe
Hi Newbe, I used FTK platform to process my items and I could view these files, in my opinion in your shared folder you will find all 1)torrent files/items he has created to share,all items he seethed. With Frostwire you can be two different user ie. one that share was he downloades, a seeder, or a leech that doen not share. I found that using multiple tools enables me to be able to make a better judgement. Maybe try SIFT workstation which is opensource and free, or download FTK Imager also free and view the image with that and make an AD image of the specific files,it keeps the integrity of what you find save.
ReplyDeleteHope this answers your question.