dfdewey/README.md

66 lines
1.7 KiB
Markdown
Raw Normal View History

2020-04-15 16:58:28 +10:00
# dfDewey
2020-03-27 11:04:00 +11:00
dfDewey is a digital forensics string extraction, indexing, and searching tool.
2019-09-25 15:36:17 +10:00
2020-12-09 12:14:09 +11:00
<img src="https://user-images.githubusercontent.com/52063018/101560727-fc827900-3a17-11eb-93a1-f2a0589b6b6b.png" width="240" />
2020-12-09 10:51:08 +11:00
2020-04-15 16:58:28 +10:00
[Usage](docs/usage.md)
## Requirements
2021-09-08 14:35:57 +10:00
### bulk_extractor
2020-03-30 11:28:54 +11:00
dfDewey currently requires bulk_extractor for string extraction.
2020-07-17 11:26:19 +10:00
bulk_extractor can be installed from the GIFT PPA.
2020-07-17 11:26:19 +10:00
```shell
sudo add-apt-repository ppa:gift/stable
sudo apt update
sudo apt install -y bulk-extractor
```
2020-03-30 11:28:54 +11:00
bulk_extractor can also be downloaded and built from source here:
https://github.com/simsong/bulk_extractor
Note: bulk_extractor v2.0.3 or greater is required.
2021-09-08 14:35:57 +10:00
### dfVFS
2022-02-07 14:00:34 +01:00
[dfVFS](https://github.com/log2timeline/dfvfs) is required for image parsing. It
2021-09-08 14:35:57 +10: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
OpenSearch and PostgreSQL are also required to store extracted data.
2020-07-17 11:26:19 +10:00
These can be installed separately or started in Docker using `docker-compose`.
```shell
2021-09-08 14:35:57 +10:00
cd docker
2020-07-17 11:26:19 +10:00
sudo docker-compose up -d
```
Note: To stop the containers (and purge the stored data) run
2021-09-08 14:35:57 +10:00
`sudo docker-compose down` from the `docker` directory.
2020-03-30 11:28:54 +11:00
2021-10-15 09:42:03 +11: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 14:35:57 +10:00
## Installation
```shell
python setup.py install
```
2020-11-26 14:09:35 +11:00
Note: It's recommended to install dfDewey within a virtual environment.