LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-22-2005, 12:01 PM   #1
bones996
Member
 
Registered: Sep 2003
Location: Pennsylvania
Distribution: Debian Squeeze
Posts: 106

Rep: Reputation: 15
Security Script Overboard?


I may be getting a little paranoid lately, but I was wondering if the following script might be going a little overboard. I have 2 linux machines & a windows ME machine on my network along with a smoothwall firewall. I just got a p3 633 machine & am thinking about setting it up as a hidden (hopefully) central log server & would like to know if maybe I'm checking a few too many things when I run a security check on my systems - the following is a script that I'm testing for a single machine running on redhat 9 (can't upgrade quite yet because of 2 in house programs so).

#!/bin/bash
# Show startup time
date
# Start internet
/sbin/ifup ppp0

# synchronize system time
echo "Synching System Time"
rdate -s XXXXXXXX

# Update Antivir
echo "Updating Antivirus"
antivir --update

# Update Rkhunter
echo "Checking for rkhunter Updates"
rkhunter --update

# Stop Internet
/sbin/ifdown ppp0

# Run Rkhunter
echo "Running Rkhunter"
rkhunter --cronjob

# Run Tiger Security Check
echo "Running Tiger"
/usr/local/sbin/tiger

# Run chkrootkit
echo "Running chkrootkit"
/opt/templates/chk*/./chkrootkit -q

# Run Linux Security Auditing Tool
echo "Running lsat"
lsat --silent --exclude=/home/something/exclude

# Check for viruses
antivir / --allfiles -s -nolnk

# Show time again
echo "Showing Stop Time"
date
 
Old 03-24-2005, 10:51 AM   #2
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
This reminds me of a recent post on cryptography. It basically boils down to what you use your computer for.

If you work for the FBI or a university CS department (notorious, of course, for clever students) then maybe not. If it's a computer in your kitchen used for downloading recipes, probably.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed in security ,vonarabilities ,loopholes in linux security haseebnazar Linux - Security 2 11-23-2005 07:16 PM
[Security Questions] Last Login, how good is this feature for security breach info? t3gah Linux - Security 2 06-14-2005 01:02 AM
todays requirements regarding security (not limited to linux security) markus1982 Linux - Security 8 04-25-2004 10:58 PM
Linux security Vs Windows security keene General 50 11-01-2003 11:22 PM
simple security question about init script java8964 Linux - Security 2 04-09-2003 07:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration