OpenForensics is an open-source OpenCL Digital Forensics analysis and file carving tool. This prototype tool was built in conjunction with PhD research from Dr Ethan Bayne as a platform to demonstrate the performance enhancements possible when applying GPGPU processing and an optimised PFAC algorithm to the problem of string searching in the field of Digital Forensics. Details of the supporting research can be found in the completed thesis by Dr Ethan Bayne: https://rke.abertay.ac.uk/en/studentTheses/accelerating-digital-forensic-searching-through-gpgpu-parallel-pr
Further later enhancements to the processing framework can be found detailed within the paper presented at DFRWS 2018. You can read the proceedings published by Digital Investigation: https://www.sciencedirect.com/science/article/pii/S1742287618300379
This prototype tool was built using C# and Cudafy.NET (https://cudafy.codeplex.com/). Currently, the file carving provided by this tool is considered basic (carves data between found header and footer). Whilst it is intended to develop more advanced file carving features in time, we would welcome collaborators to help build upon the functionality of the tool.
1. (Optional) Provide a case reference and evidence reference.
2. Select either a physical drive or a file to perform physical searching on.
3. Select targets (either file-types or keywords).
4. (Optional) Choose processing technique (GPU usage recommended).
5. Click Analyse.
6. Choose location to save results.
OpenForensics will create a set of sub-folders and files to store results. The directory and file hierarchy created is:
<save-location>
└─ <case-reference> default:"OpenForensics Output"
└─ <evidence-reference> default:file/drive name
├─ LogFile.txt
├─ CarvableFileData.of
└─ <Folder of each file-type carved>
└─ <Files carved>
If data exists for the case and file/storage device, an option will present itself to query whether you want to reproduce files using existing results. Selecting No will prompt whether you want to overwrite the existing results with a new search. Warning: Old results will be erased when proceeding.
File-types are populated from the FileTypes.xml file. OpenForensics will load the file-types specified in this file when the program launches. Each file-type specified in FileTypes.xml should have values for:
1. Type -- (Image/Video/Audio/Document/Misc) -- used to categorise file types for batch searching.
2. Name -- Used as a file identifier and also for file extension for carved files.
3. Value -- File header in byte format without spaces (e.g. FFD8FFE00010).
4. EOF (Optional) -- File footer in byte format without spaces (e.g. FFD9). Required for file carving.
5. MaxLengthMB (Optional) -- Specifies the maximum file length for the type of file (Default: 10 MiB).
OpenForensics Copyright © 2016 - 2019 Ethan Bayne
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This software includes CUDAfy .NET (Cudafy.NET.dll), developed by Hybrid DSP.
The LGPL v2.1 License applies to CUDAfy .NET. If you wish to modify the code then changes should be re-submitted to Hybrid DSP. If you wish to incorporate Cudafy.NET into your own application instead of redistributing the dll's then please consider a commerical license. Visit http://www.hybriddsp.nl. This will also provide you with priority support and contribute to on-going development.
Cudafy.NET also utilises the following libraries are made use of: The MIT license applies to ILSpy, NRefactory and ICSharpCode.Decompiler (Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop team). Mono.Cecil also uses the MIT license (Copyright JB Evain). CUDA.NET is a free for use license (Copyright Company for Advanced Supercomputing Solutions Ltd)