Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

looking for security scripts

Posted on 2004-09-05
11
Medium Priority
?
237 Views
Last Modified: 2012-05-05
hello experts,

I just got a new server and want to tweak it so that I get informed about all and everything that is interesting.

I am looking for scripts that I could run on a daily base so that my server auto optimizes itself, cleans temp files etc.

I found a massive list of howtos at the ev1 forums and I used most of them - however, im still looking for more scripts - i dont care if its perl / php or anything else. as long as its working, not compromising my system and makes sense.

as an example: im not looking for scripts that will change the bg color of the shell, but I just upped a script that auto optimizes my mysql dbs once a day via cron.

your help is appreciated :)
0
Comment
Question by:_banshee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11984391
could you please specify what "everything" means for you
also which OS are you on?
0
 

Author Comment

by:_banshee
ID: 11985330
hmm sorry - im on linux, redhat fedora core 2 to be precise.

everything means any script that doesnt contain malicious code and does something i'd have to do otherwise like removing files from tmp or something like that.

optimization scripts are welcome as well as scripts that inform me about events that occur (like disk usage, port scans, logins etc)
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 940 total points
ID: 11988177
0
Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

 

Author Comment

by:_banshee
ID: 11988274
http://www.rootkit.nl/
and
http://www.chkrootkit.org/

are particularly interesting. which one of these two should i use, since i dont think one would install both

moreover - do you have more links to archives with scripts that run so i dont have to do the same things over and over again?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11988361
my preference is chkrootkit 'cause it is simple to integrate into a cronscript, not much experiance with the other sorry ...
0
 

Author Comment

by:_banshee
ID: 11988399
good - ill keep that in mind then.

anything else you can recommend?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11988581
dooh, my link list has some 10^3 entries, then you can search the web too ....
you realy need to narrow down what you want
0
 

Author Comment

by:_banshee
ID: 11988728
hmm lets see:

i am looking for scripts that

a.) either optimize my system (cleaning garbage, optimizing DBs (got one for that)
b.) check the integrity of the sys (got a rootkit now, but i bet theres more to see)
c.) inform me about events on the system

anything that fits in these sections
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11994846
a.) nothing specific known (to me) 'cause it all depends on your system and requirements
    probably in a cron once a day:  /bin/rm -rf /tmp/* /tmp/.*
b.) see links above
c.) see links above +
    tail -f /var/log/messages
    http://www.snort.org/
    http://freshmeat.net/projects/fwlogwatch/
    http://netfilter.filewatcher.org/
    http://www-nrg.ee.lbl.gov/    ARPwatch
    http://www.vulnwatch.org/
0
 

Author Comment

by:_banshee
ID: 11995056
good. thanks :)

I guess that will be enough.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11998045
glad to have helped you cutting into the jungle of links ;-)
0

Featured Post

Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
The well known Cerber ransomware continues to spread this summer through spear phishing email campaigns targeting enterprises. Learn how it easily bypasses traditional defenses - and what you can do to protect your data.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question