Download Linux-based Network Intrusion Detection System

Transcript
INTRUSION DETECTION SYSTEM
PROJECT REPORT
Below table shows various zones and their zone files.
ZONE
ZONE FILES
. (a single dot representing internet root server)
0.0.127.in-addr.arpa
debajit.com
100.168.192.in-addr.arpa
Named.ca
Named.local
debajit.com.zone
100.168.192.in-addr.arpa.zone
ZONE FILE PROTECTION
Zone names and their corresponding zone files are extracted from the named.conf DNS
configuration file, and the user has the choice to protect one or more zones.
The files corresponding to the user-selected zone(s) are added to the Tripwire policy file
for protection from tampering.
IMPLEMENTATION
(1)
Two Bash scripts getfile and getzone are used to respectively extract the DNS
zone names and zone files.
getzone BASH SCRIPT
#! /bin/bash
grep "^[\t ]*zone"
(2)
$1 | cut -d "\"" -f2 > $2
These zone names are listed, and the user has the choice to simply click and
protect a zone.
(3)
The user is then redirected to the file protection module wherein he can specify
the security level and the fingerprint details.
(4)
Accordingly, appropriate entries are made in the Tripwire policy file.
© Debajit Adhikary
Page 56 of 91