fsl – Fedora Security Lab

fsl (Fedora Security Lab) is a customized Fedora OS for security hack/test based Fedora 19. Like the famous BackTrace Linux, fsl has integrated a butch of security tools. To take the advantage of fsl, either security liveCD or all the security pkgs included in fsl is needed. For the later solution, a shell script – fsli (Fedora Security Lab Install) is written to ease the tedious job.

1. LiveCD

http://spins.fedoraproject.org/security/#downloads

2. yum (Fedora 19)

yum groupinstall security-lab

3. ansible (Fedora <19)

yum install ansible
wget https://git.fedorahosted.org/cgit/security-spin.git/plain/ansible-playbooks/fsl-packages.yml
ansible-playbook fsl-packages.yml -f 10

NOTE: hosts file may needs to configure…

4. fsli.sh (Fedora Any)

#!/bin/sh
# Fedora Security Lab Install
# daveti@cs.uoregon.edu
# http://daveti.blog.com
# Jul 19, 2013

# Clear the old one
FSLFILE=”availableApps?format=txt”
rm -rf “$FSLFILE” 2>&1 > /dev/null

# Get the txt file for fsl
FSLLINK=”https://fedorahosted.org/security-spin/wiki/availableApps?format=txt&#8221;
wget “$FSLLINK”
if [ ! -f “$FSLFILE” ]
then
        echo “fsl pkg file does not exists!”
        exit 1
fi

# Get the package name
while read line
do
        #echo “$line”
        STARTSYMBOL=`echo “$line” | cut -d” ” -f1 | tr -d ” “`
        #echo “$STARTSYMBOL”
        if [ “$STARTSYMBOL” == “*” ]
        then
                #echo “$STARTSYMBOL”
                PKGNAME=`echo “$line” | cut -d” ” -f3 | tr -d ” “`
                PKGNAME=`echo “$PKGNAME” | cut -d”]” -f1 | tr -d ” “`
                echo “$PKGNAME:”
                # Install the pkg
                yum -y install “$PKGNAME”
        fi
done < “$FSLFILE”

About daveti

Interested in kernel hacking, compilers, machine learning and guitars.
This entry was posted in Dave's Tools, OS, Security and tagged , , , , , . Bookmark the permalink.

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.