« Nerdnite Wellington | Main | Ten ways Windows fails »


Tiger is a collection of scripts, code and data files for tracking down security problems. It scans file systems and configuration files, checking for possible security issues. It's built around several dozen modules that check everything from guessable passwords to the presence of a rootkit.

To install and run it:

# sudo apt-get install tiger
# sudo tiger

The report is written to /var/log/tiger and named security.report.hostname.YYMMDD-hh:mm. You can simply cat this, (note that only root can view it):

# sudo cat /var/log/tiger/security.report.hostname.YYMMDD-hh:mm

but it's a big report and you're really only interested in failed items. Try this instead:

# sudo grep FAIL /var/log/tiger/security.report.hostname.YYMMDD-hh:mm

Failures are logged against an explanatory code, like this:

--FAIL-- [ftp007f] Anonymous FTP directory owned and writable by 'ftp'.
--FAIL-- [lin016f] The system permits source routing from incoming packets
--FAIL-- [lin019f] The system does not have any local firewall rules

You can obtain more details by appending the code to the Tiger Explanation Generator. For example:

# tigexp ftp007f

yields:

The indicated file is owned by the 'ftp' account and is writable.
This may allow unauthorized access to the machine.  The indicated file
should be owned by 'root' and not writable by group or world.

See CERT advisory CA-93:10 for information on setting up an anonymous
FTP server.

Tiger's well-commented configuration file resides in /etc/tiger/tigerrc.


Previous Hidden Linux
Next Hidden Linux

Follow Geoff Palmer on Twitter

Comments

Manu: It works for me! (Running Kubuntu 10.10) But I see there's a bug filed -- and a workaround. Check out https://bugs.launchpad.net/ubuntu/+source/tiger/+bug/556028

Does tiger work on Ubuntu ? The script seems to fail finding inittab :

/bin/grep: /etc/inittab: No such file or directory

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Subscribe
Newsletter & SubscriptionsPC World is New Zealand’s top selling computing and technology magazine.

It provides up-to-the-minute editorial, insight and buying advice for personal computing, cell phones, game consoles, digital entertainment and broadband.
SIGN UP
PCWorldUpdate
PC World's weekly round-up of tech news, gear and game reviews, software selections, and handy How Tos.