Friday, November 20, 2009

Nice Information Security Quote

National Security Agency (NSA) information assurance director Richard Schaeffer said that agencies can protect their systems against 80 percent of known cyber attacks by following three steps:

  1. implementing best security practices
  2. configuring networks properly
  3. monitoring networks effectively

My bet is that people and processes fill the gap.

Wednesday, November 18, 2009


Here is an interesting NMAP example to run against a box.

nmap.exe -v -sS -P0 -p1- --script all --script-args=smbuser=USERNAME,smbpass=PASSWORD,smbdomain=DOMAIN computer.domain

Monday, November 16, 2009

MySQL Backup

Ever had to backup a MySQL database running on Windows. Well this was my first time. I have a pretty active database that grows to about 70GB over the course of a month. I wanted to perform the backup using a MySQL tool. I suppose I could have just run a Windows backup, but that wouldn't be much fun. So here is what I ended up doing. I ran the below command from within the folder I wanted to land the dump files in. For instance I wanted my dump files to reside in C:\mysql\backup so I ran the below command from within this folder I created.

..\bin\mysqldump.exe --user=root --password=abc123! --routines --create-options --single-transaction --skip-add-locks --skip-lock-tables --default-character-set=utf8 database table bzip2.exe > database_table.sql.bz2

To get the compression running, I downloaded Cygwin to use the bzip2.exe utility. I actually needed the below files for the bzip2.exe utility to run and I placed these files in the newly created backup folder:

To decompress the file simply run: bzip2.exe -d database_table.sql.bz2.

I apologize, but I can't list all the sites I looked at to come up with this specific command but it is not original. Maybe the original part is running on Windows instead of *nix. Maybe next time I will just run Windows backup

Monday, November 9, 2009

Alabama, Atlanta Bound!

Since I am an Alabama fan and this is my blog, I just want to say Roll Tide!

Upgrade Nessus

Ever wonder how to upgrade Nessus installed on a Ubuntu box. Since I am a Windows admin and not a Linux, I just spent 15 mintues trying to find the command. So next time I have it:

dpkg -i Nessus-4.0.2-ubuntu810_amd64.deb

simple huh!