Zip binaries installation thehive
If you prefer more control over where TheHive is installed, need to use it in environments without package managers, or want to avoid dependency issues, you can install TheHive by downloading a ZIP binary package.
Destination path
The commands below use /opt/ as the download path. Replace it with the full local directory path where you want to save the files.
-
Download the binary package along with its SHA256 checksum and signature files. You can install TheHive anywhere on your filesystem.
-
Using
wgetwget -O /opt/thehive-5.7.2-1.zip https://thehive.download.strangebee.com/5.7/zip/thehive-5.7.2-1.zip wget -O /opt/thehive-5.7.2-1.zip.sha256 https://thehive.download.strangebee.com/5.7/sha256/thehive-5.7.2-1.zip.sha256 wget -O /opt/thehive-5.7.2-1.zip.asc https://thehive.download.strangebee.com/5.7/asc/thehive-5.7.2-1.zip.ascTo download a specific version instead of the latest, use the following format:
wget -O /opt/<file_name>.zip thehive.download.strangebee.com/<major.minor_version>/zip/<file_name>.zip wget -O /opt/<file_name>.zip.sha256 thehive.download.strangebee.com/<major.minor_version>/sha256/<file_name>.zip.sha256 wget -O /opt/<file_name>.zip.asc thehive.download.strangebee.com/<major.minor_version>/asc/<file_name>.zip.asc- Replace
<file_name>with the full name of the versioned file you want to install. For example, usethehive-5.6.2-1. - Replace
<major.minor_version>with the corresponding version directory. For example, use5.6.
Package repository
For details on package organization and naming conventions, see TheHive Package Repository.
- Replace
-
Using
curlcurl -o /opt/thehive-5.7.2-1.zip https://thehive.download.strangebee.com/5.7/zip/thehive-5.7.2-1.zip curl -o /opt/thehive-5.7.2-1.zip.sha256 https://thehive.download.strangebee.com/5.7/sha256/thehive-5.7.2-1.zip.sha256 curl -o /opt/thehive-5.7.2-1.zip.asc https://thehive.download.strangebee.com/5.7/asc/thehive-5.7.2-1.zip.ascTo download a specific version instead of the latest, use the following format:
curl -o /opt/<file_name>.zip thehive.download.strangebee.com/<major.minor_version>/zip/<file_name>.zip curl -o /opt/<file_name>.zip.sha256 thehive.download.strangebee.com/<major.minor_version>/sha256/<file_name>.zip.sha256 curl -o /opt/<file_name>.zip.asc thehive.download.strangebee.com/<major.minor_version>/asc/<file_name>.zip.asc- Replace
<file_name>with the full name of the versioned file you want to install. For example, usethehive-5.6.2-1. - Replace
<major.minor_version>with the corresponding version directory. For example, use5.6.
Package repository
For details on package organization and naming conventions, see TheHive Package Repository.
- Replace
-
-
Verify the integrity of the downloaded package.
-
Check the SHA256 checksum by comparing it with the provided value.
a. Generate the SHA256 checksum of your downloaded package.
sha256sum /opt/thehive-5.7.2-1.zipb. Compare the output hash with the official SHA256 value listed in the .sha256 file.
cat /opt/thehive-5.7.2-1.zip.sha256c. If both hashes match exactly, the file integrity is verified. If not, the file may be corrupted or tampered with—don't proceed with unzipping or installation, and contact the StrangeBee Security team.
-
Verify the GPG signature using the public key.
a. Download the public key at keys.download.strangebee.com using
wgetorcurl.wget -O /opt/strangebee.gpg https://keys.download.strangebee.com/latest/gpg/strangebee.gpgcurl -o /opt/strangebee.gpg https://keys.download.strangebee.com/latest/gpg/strangebee.gpgb. Import the key into your GPG keyring.
gpg --import /opt/strangebee.gpgc. Verify the downloaded package signature.
gpg --verify /opt/thehive-5.7.2-1.zip.asc /opt/thehive-5.7.2-1.zipd. Expected result.
You should see output similar to:
gpg: Good signature from "TheHive Project (TheHive release key) <support@thehive-project.org>"The key fingerprint must match:
0CD5 AC59 DE5C 5A8E 0EE1 3849 3D99 BB18 562C BC1CExpected GPG warning
This warning is expected. It means the package is signed with the official TheHive release key, but you haven't marked this key asgpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner.trustedin your local GPG setup. As long as you seeGood signatureand the fingerprint matches, the verification is successful. Don't mark our key as globally trusted—the warning is a normal safety reminder and should remain visible.If you don't see
Good signature, if the fingerprint differs, or if the signature is reported asBAD, don't install the package. This indicates the integrity or authenticity of the file can't be confirmed. Report the issue to the StrangeBee Security team.
-
-
Unzip the package.
Unzip paths
- Replace
/opt/thehive-5.7.2-1.zipwith the full path to the ZIP file you downloaded. - Replace
/opt/after-dwith the directory where you want to extract the contents of the archive.
unzip /opt/thehive-5.7.2-1.zip -d /opt/ sudo ln -s /opt/thehive-5.7.2-1 /opt/thehive - Replace
-
Prepare the system by creating a dedicated, non-privileged user account to run TheHive. Ensure this user has permission to create log files in
/opt/thehive/logs.sudo addgroup thehive sudo adduser --system thehive sudo chown -R thehive:thehive /opt/thehive sudo mkdir /etc/thehive sudo touch /etc/thehive/application.conf sudo chown root:thehive /etc/thehive sudo chgrp thehive /etc/thehive/application.conf sudo chmod 640 /etc/thehive/application.conf -
Copy the systemd script into
/etc/systemd/system/thehive.service.cd /tmp wget https://raw.githubusercontent.com/TheHive-Project/TheHive/master/package/thehive.service sudo cp thehive.service /etc/systemd/system/thehive.service