MinakiLabs

Inaabi

Install and use Inaabi Scan, and get started with Tune

Inaabi Scan: install

Downloads: minaki-scan_0.8.6_all.deb, minaki-scan-0.8.6.tar.gz and SHA256SUMS. Check the download before you install it, and never pipe a download straight into a shell.

The SHA256 values below are published here on minakilabs.com as well as in SHA256SUMS. Your download should match both.

15ff47d7289e8c2b5a4c6118d5ea80d2912ed5d4386b61a570b1c3bd972ee95a  minaki-scan_0.8.6_all.deb
8d5fff1d68fc64acd8bc41383e1baba6e4113943a1de1408e49266e9f733f89a  minaki-scan-0.8.6.tar.gz

Debian / Ubuntu

sha256sum -c SHA256SUMS --ignore-missing      # must print: minaki-scan_0.8.6_all.deb: OK
sudo apt install ./minaki-scan_0.8.6_all.deb

Other Linux (needs Python 3)

Install the program and its checks.

sha256sum -c SHA256SUMS --ignore-missing      # must print: minaki-scan-0.8.6.tar.gz: OK
tar xzf minaki-scan-0.8.6.tar.gz
sudo cp minaki-scan-0.8.6/usr/bin/minaki-scan /usr/local/bin/
sudo cp -r minaki-scan-0.8.6/usr/share/minaki-scan /usr/local/share/

If only the program is copied, it refuses to run (“Install is incomplete”) rather than report a clean server.

On Red Hat, Rocky, AlmaLinux and Fedora, sudo doesn’t look in /usr/local/bin, so run it with the full path: sudo /usr/local/bin/minaki-scan.

Inaabi Scan: use

sudo minaki-scan              # full scan
sudo minaki-scan --fix        # scan, then offer fixes one at a time
minaki-scan --json            # output for scripts
minaki-scan --root /mnt/disk  # check a disk mounted from another machine (file checks only)

What the result means: 0 = nothing above low, 1 = medium, 2 = high or critical, 3 = the scan itself failed.

Inaabi Scan: credits

Some of Inaabi Scan's checks use detection rules from the open signature-base project by Florian Roth and its other contributors, under the Detection Rule License (DRL) 1.1. Each rule keeps its author's credit, and every match the scan reports names the rule's author and a link to its source.

Inaabi Tune: getting started

These steps are the details of “a staging copy … SSH access with a key we make for you … and a test” in What you get.

  1. Subscribe ($20 per server per month).
  2. Make a staging copy of the Ubuntu 22.04 server: a clone or snapshot of it, not the production machine itself.
  3. Write a test that shows the server still does its job (for a web server: the pages it must serve). It must be one script that we run from our side, with the copy's address as its first input. It ends with exit code 0 when the job works, finishes within 300 seconds, and contains no password, token or key.
  4. Make the copy reachable from the internet at a public IPv4 address on SSH port 22 (we refuse private addresses), able to download software updates, and fine to restart many times. Give SSH access to a non-root user that can use sudo without a password, and add the SSH key we make for you (you can remove it any time). After you subscribe, your license key and the one-line install command appear on your Inaabi account page at suite.minaki.io; we do not email the license key.
  5. Send us your test. A person at MinakiLabs reads it line by line before the first run.
  6. Before the first run we send you the copy's server key fingerprint as we see it. Check it matches the output of ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub on the copy, and tell us.
  7. After the run, look in your home folder on the copy: a plain-language report and the list of removed packages.

Optional: a local report on your server

Subscribers can also install an optional client for a local, read-only report on their own server. By default it sends nothing, and the report stays on your server. Connecting it to your MinakiLabs account, so the report shows there, is optional and is open only to accounts we have turned it on for; for everyone else it is coming. You don't need it for the hardening. It needs your MinakiLabs subscription license key. It installs and reports only: it reads the server, writes a first report and changes nothing but its own files. Tuning is opt-in and still needs a staging copy, a test script and a person, as in the steps above; it is not automatic yet.

Download install.sh, check it, then run it. Never pipe a download straight into a shell. The installer downloads minaki-tuner-client.tar.gz from this site and checks it against its own SHA256 before installing anything.

d53ba320cc4678430c394fc3564fffa9c6a22227db1acf17815eae97e0543872  install.sh
93add58096bc8860b60c60de59ac07809ef26a00454d463de1fa5f8b9989a59b  minaki-tuner-client.tar.gz
echo 'd53ba320cc4678430c394fc3564fffa9c6a22227db1acf17815eae97e0543872  install.sh' | sha256sum -c      # must print: install.sh: OK
sudo bash install.sh YOUR-LICENSE-KEY

The optional client installs only on Ubuntu 22.04 LTS, x86_64, today, and installs nothing on any other system. Read the report again with sudo minaki-tuner report; remove the client with sudo minaki-tuner uninstall.

Questions: ask us first, or email support@minakilabs.com. Using Inaabi means you agree to our terms; what we collect is in our privacy policy.