2020-04-15 06:58:28 +00:00
|
|
|
# dfDewey
|
2020-03-27 00:04:00 +00:00
|
|
|
dfDewey is a digital forensics string extraction, indexing, and searching tool.
|
2019-09-25 05:36:17 +00:00
|
|
|
|
2020-12-09 01:14:09 +00:00
|
|
|
<img src="https://user-images.githubusercontent.com/52063018/101560727-fc827900-3a17-11eb-93a1-f2a0589b6b6b.png" width="240" />
|
2020-12-08 23:51:08 +00:00
|
|
|
|
2020-04-15 06:58:28 +00:00
|
|
|
[Usage](docs/usage.md)
|
|
|
|
|
|
|
|
## Requirements
|
2021-09-08 04:35:57 +00:00
|
|
|
### bulk_extractor
|
2020-03-30 00:28:54 +00:00
|
|
|
dfDewey currently requires bulk_extractor for string extraction.
|
2020-07-17 01:26:19 +00:00
|
|
|
|
2022-06-03 05:35:43 +00:00
|
|
|
bulk_extractor can be installed from the GIFT PPA.
|
2020-07-17 01:26:19 +00:00
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo add-apt-repository ppa:gift/stable
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install -y bulk-extractor
|
|
|
|
```
|
2020-03-30 00:28:54 +00:00
|
|
|
|
2022-06-03 05:35:43 +00:00
|
|
|
bulk_extractor can also be downloaded and built from source here:
|
|
|
|
https://github.com/simsong/bulk_extractor
|
|
|
|
|
2023-10-16 00:29:26 +00:00
|
|
|
Note: bulk_extractor v2.0.3 or greater is required.
|
2022-06-03 05:35:43 +00:00
|
|
|
|
2021-09-08 04:35:57 +00:00
|
|
|
### dfVFS
|
2022-02-07 13:00:34 +00:00
|
|
|
[dfVFS](https://github.com/log2timeline/dfvfs) is required for image parsing. It
|
2021-09-08 04:35:57 +00:00
|
|
|
can be installed from the GIFT PPA.
|
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo add-apt-repository ppa:gift/stable
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install -y python3-dfvfs
|
|
|
|
```
|
|
|
|
|
|
|
|
It can also be installed using pip:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
pip install -r dfvfs_requirements.txt
|
|
|
|
```
|
|
|
|
|
|
|
|
### Datastores
|
2021-12-20 00:08:29 +00:00
|
|
|
OpenSearch and PostgreSQL are also required to store extracted data.
|
2020-07-17 01:26:19 +00:00
|
|
|
These can be installed separately or started in Docker using `docker-compose`.
|
|
|
|
|
|
|
|
```shell
|
2021-09-08 04:35:57 +00:00
|
|
|
cd docker
|
2020-07-17 01:26:19 +00:00
|
|
|
sudo docker-compose up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
Note: To stop the containers (and purge the stored data) run
|
2021-09-08 04:35:57 +00:00
|
|
|
`sudo docker-compose down` from the `docker` directory.
|
2020-03-30 00:28:54 +00:00
|
|
|
|
2021-10-14 22:42:03 +00:00
|
|
|
dfDewey will try to connect to datastores on localhost by default. If running
|
|
|
|
datastores on separate servers, copy the config file template
|
|
|
|
`dfdewey/config/config_template.py` to `~/.dfdeweyrc` and adjust the server
|
|
|
|
connection settings in the file. You can also specify a different config file
|
|
|
|
location on the command line using `-c`.
|
|
|
|
|
2021-09-08 04:35:57 +00:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
```shell
|
|
|
|
python setup.py install
|
|
|
|
```
|
2020-11-26 03:09:35 +00:00
|
|
|
|
|
|
|
Note: It's recommended to install dfDewey within a virtual environment.
|