how to install SANS SIFT on “Xenial Xerus” Ubuntu 16.04 LTS

Posted by

For Ubuntu 14.04 (Trusty Tahr) the installation of SIFT is by using a bootstrap script that is hosted on GitHub and it convert the OS into the distro. You can check the installation process on the following link: https://bit.ly/2J00Awo

For Xenial Xerus the installation process is different, now require some files and have a different process to install all the tools that compose SANS SIFT distro, the project version we are using on this example is v.1.7.1, but you can install the version you prefer.

As mentioned before for Xenial Xerus you need to download some files and do some steps in order to validate the integrity of the files to install the tool.

Required Files,

– sift-cli-linux
– sift-cli-linux.sha256.asc

Installation

1. Download the files

adminsift@SIFT:~/Downloads$ wget https://github.com/sans-dfir/sift-cli/releases/download/v1.7.1/sift-cli-linux–2018-10-03 06:23:13– https://github.com/sans-dfir/sift-cli/releases/download/v1.7.1/sift-cli-linux
Resolving github.com (github.com)… 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443… connected.
HTTP request sent, awaiting response… 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/93819626/28eb2a2a-8456-11e8-9e25-3bc117b79e39?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181003%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181003T012314Z&X-Amz-Expires=300&X-Amz-Signature=bad9406c6b171420d71c3874021ff36c9ac7791585154a90c98462d5c79f2d1b&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dsift-cli-linux&response-content-type=application%2Foctet-stream [following]
–2018-10-03 06:23:14– https://github-production-release-asset-2e65be.s3.amazonaws.com/93819626/28eb2a2a-8456-11e8-9e25-3bc117b79e39?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181003%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181003T012314Z&X-Amz-Expires=300&X-Amz-Signature=bad9406c6b171420d71c3874021ff36c9ac7791585154a90c98462d5c79f2d1b&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dsift-cli-linux&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)… 52.216.162.27
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.162.27|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 53833051 (51M) [application/octet-stream]
Saving to: ‘sift-cli-linux’

sift-cli-linux 100%[===================>] 51.34M 1.24MB/s in 42s

**

adminsift@SIFT:~/Downloads$ wget https://github.com/sans-dfir/sift-cli/releases/download/v1.7.1/sift-cli-linux.sha256.asc
–2018-10-03 06:24:46– https://github.com/sans-dfir/sift-cli/releases/download/v1.7.1/sift-cli-linux.sha256.asc
Resolving github.com (github.com)… 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443… connected.
HTTP request sent, awaiting response… 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/93819626/2909b2c4-8456-11e8-872b-41959d603de7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181003%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181003T012446Z&X-Amz-Expires=300&X-Amz-Signature=13ac71937a3483ce4250c19ea66d7652122a28563da305d45d5a7b1e8b1d8708&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dsift-cli-linux.sha256.asc&response-content-type=application%2Foctet-stream [following]
–2018-10-03 06:24:46– https://github-production-release-asset-2e65be.s3.amazonaws.com/93819626/2909b2c4-8456-11e8-872b-41959d603de7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181003%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181003T012446Z&X-Amz-Expires=300&X-Amz-Signature=13ac71937a3483ce4250c19ea66d7652122a28563da305d45d5a7b1e8b1d8708&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dsift-cli-linux.sha256.asc&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)… 52.216.162.171
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.162.171|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 333 [application/octet-stream]
Saving to: ‘sift-cli-linux.sha256.asc’

sift-cli-linux.sha2 100%[===================>] 333 –.-KB/s in 0s

2. Import the key

adminsift@SIFT:~/Downloads$ gpg –keyserver hkp://pgp.mit.edu:80 –recv-keys 22598A94
gpg: keyring `/home/adminsift/.gnupg/secring.gpg’ created
gpg: keyring `/home/adminsift/.gnupg/pubring.gpg’ created
gpg: requesting key 22598A94 from hkp server pgp.mit.edu
gpg: /home/adminsift/.gnupg/trustdb.gpg: trustdb created
gpg: key 22598A94: public key “SANS Investigative Forensic Toolkit <sift@computer-forensics.sans.org>” imported
gpg: Total number processed: 1
gpg: imported: 1
adminsift@SIFT:~/Downloads$

3. Verify Integrity

adminsift@SIFT:~/Downloads$ gpg –verify sift-cli-linux.sha256.asc
gpg: Signature made +05 02:30:17 2018 ޖުލައި 11 ބުދަ using DSA key ID 22598A94
gpg: Good signature from “SANS Investigative Forensic Toolkit <sift@computer-forensics.sans.org>”
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5D29 135B 3798 3CAC 6097 9623 15B9 AD71 2259 8A94
adminsift@SIFT:~/Downloads$

Note: Those warnings are because the signature was signed by the provider but not with an authorized or validity authority.

adminsift@SIFT:~/Downloads$ shasum -a 256 -c sift-cli-linux.sha256.asc
sift-cli-linux: OK
shasum: WARNING: 10 lines are improperly formatted
adminsift@SIFT:~/Downloads$

Note: Does not matter if you get some warnings like the previous one, the important step here is that you need to see,
“sift-cli-linux: OK”

4. Move file and assign permissions

You need to move the file “sift-cli-linux” to /usr/local/bin/sift, after that assign the specific permissions to the folder.

adminsift@SIFT:~/Downloads$ ls
latest sift-cli-linux.sha256.asc sift-cli-linux
adminsift@SIFT:~/Downloads$ sudo mv sift-cli-linux /usr/local/bin/sift
adminsift@SIFT:~/Downloads$ ls
latest sift-cli-linux.sha256.asc
adminsift@SIFT:~/Downloads$ chmod 755 /usr/local/bin/sift

Note: If the folder does not exist, please create it.

5. Install SANS Forensics Toolkit “SIFT”

You just need to use some commands to start the installation process, it will take some time and probably some reboots.

adminsift@SIFT:~/Downloads$ sudo sift install
> sift-cli@1.7.1-master.f1177e4
> sift-version: notinstalled

Installing and configuring SaltStack properly …
> downloading v2018.38.0
>> downloading sift-saltstack-v2018.38.0.tar.gz.asc
>> downloading sift-saltstack-v2018.38.0.tar.gz.sha256
>> downloading sift-saltstack-v2018.38.0.tar.gz.sha256.asc
>> downloading sift-saltstack-v2018.38.0.tar.gz
> validating file sift-saltstack-v2018.38.0.tar.gz
> validating signature for sift-saltstack-v2018.38.0.tar.gz.sha256
> extracting update sift-saltstack-v2018.38.0.tar.gz
> performing update v2018.38.0
>> Log file: /var/cache/sift/cli/v2018.38.0/saltstack.log

After some time and if everything was successful you will get the following message,

>> Completed: /etc/foremost.conf (Took: 78.762 ms)
>> Completed: /usr/local/etc/foremost.conf (Took: 36.231 ms)
>> Completed: sift-config-tools (Took: 2.672 ms)
>> Completed: sift-config (Took: 2.308 ms)
>> Completed: /etc/sift-version (Took: 35.049 ms)

>> COMPLETED SUCCESSFULLY — Success: 540, Failure: 0
adminsift@SIFT:~/Downloads$

The OS will look like the following screenshot,

sift_distro.png
SANS Forensics Toolkit
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s