RSS

Nice Cacti Install How To

0 Comments | This entry was posted on Apr 21 2009

RedHat / CentOS Install and Configure Cacti Network Graphing Tool

Reset file permissions of RPM packages

0 Comments | This entry was posted on Apr 16 2009
Unlimited Online backup for 4.95/month

A disastrous mistake anyone can make on their Linux server is to chown or chmod their entire filesystem.

You can reset the permissions of packages installed with rpm.

To reset file permissions:

root@empulse:$ rpm --setperms {packagename}

To reset ownership permissions:

root@empulse:$ rpm --setugids {packagename}

Security Articles

0 Comments | This entry was posted on Apr 05 2009
Go Daddy $7.49 .com domains 468x60

Hacking-Gurus: Network and Server Security Blog really has some useful information documented.  Check out these articles.

Basic Linux Server Security

Linux Security Tools


SQL CheatSheet


SQL Injection article

0 Comments | This entry was posted on Apr 05 2009

This is an article I found on Twitter from Hacking-Gurus on SQL injection. Check it out.

MySQL: Secure Web Apps – SQL Injection techniques

Frequently used Linux one-liners

0 Comments | This entry was posted on Mar 30 2009

I just submitted a couple of one-liners that I frequently use to Command-line-Fu.

Find brute force attempts on SSHd – Searches the /var/log/secure log file for Failed and/or invalid user log in attempts.
root@empulse:$ cat /var/log/secure | grep sshd | grep Failed | sed 's/invalid//' | sed 's/user//' | awk '{print $11}' | sort | uniq -c | sort -n


List SMTP connections by host – Searches /var/log/secure for smtp connections then lists these by number of connections made and hosts.
root@empulse:$ cat /var/log/secure | grep smtp | awk '{print $9}' | cut -f2 -d= | sort | uniq -c | sort -n | tail

Stylus that Works for iPhone & iPod Touch

Linux Security Quick Reference Guide

0 Comments | This entry was posted on Mar 29 2009

I just found this quick reference sheet on Linux security topics from Apache and DNS security to  crucial system files, tcp wrappers, and configuring syslog. This document from LinuxSecurity.com is available as a pdf download is provided below.

Linux Security Quick Reference Guide (pdf)

Excerpt: “Regularly audit your systems for any unauthorized and unnecessary use of the setuid or setgid permissions.”

Quick tip: Find all setuid and setgid programs

root# find / -type f -perm +6000 -ls