Thursday, 8 December 2011

Securing Windows 7 : Parental Control, Antivirus, Malaware Protection And Web Filtering

Going on the internet is a experience of awe and wonder with its own highs and addiction. Acute blogger's, chatters, Social networker's and IT professionals alike will shamelessly proclaim open addiction to it. From the average joe and jane to that very famous other that you admire, ogle, fantasise or idolise be it that favourite star, that boy/girl in school or the office colleague would have used it. With personal netbooks, laptops to office desktops and workstations internet is every were and along with it the threat of malaware, viruses, porn, adverts and the unseen hacker at large,

Yes, its seems scary, with most personal details and financial transactions being done with the internet. Relax, as today's Operating systems are secure and there are good free utilities that can be used to secure your netbook, laptop, desktop or workstation for free.

Windows 7 has a built-in firewall that is pretty good and can be used with these two utilities to make your computing more safe.

Parental Control / Web Filtering: Blue Coat K9 Web Protection is an excellent software utility for personal use and is very light weight and not in the face kind of software which is very accurate and hassle free. Its only 3 clicks and you will need a license which is free for personal use.

Antivirus: One of the best free and light on resources software is the ClamAV for windows software. IT seamlessly integrate with windows explorer and Outlook. These choices can be selected while install or later. It's interface and user GUI is very easy to use and you will not even notice it as it has a very less level of intervention necessary. Virus signature update if free and so is the software. No license required.

Malaware: Microsoft Security Essentials itself is a very good piece of software and does the job wonderfully, being low on resources it's response time, i.e. when removing malaware is a tad slower but the good side is it can remove existing one's and is absolutely free from Microsoft. It is in real time protection and integrates into the system without any fuss or issue.

Along with these if the UAC (User Access Control) is left ON your hard working computing silicon lump will be a happy bunny or stud based on what your gender is :).


OpenDNS: This is an added level of protection from bad sites and is similar to web filtering / parental control but adds a extra protection level by resolving website names to legit websites so that some web page does not hijack your browser to a phishing or malaware site and that your system along with you remain happy and have fun over the internet with out the worry of unprotected browsing.


- Bellamkonda Sudhakar

Password generator for Linux - Bash Script

Getting on with system administration means to have a constant security aware work flow. I have written a simple script to generate a fairly complex password. By default it creates a 8 character length. If a length is given then it can be between 9-32. Anything above 32 is truncated to 32 characters and anything less than 9 is defaulted to 8.

Download Version 3: http://www.mediafire.com/?eck9ec6b1bzq89e
Download Version 2: http://www.mediafire.com/?s7qdjlq9s4qh2mx
Suggestions are welcome. The script itself.

More utilities in this utility suite can be found at google-code projects and Sourceforge, URL's below.
http://code.google.com/p/linux-easy-admin-utilities/
http://sourceforge.net/projects/lnxesyadmutil/

http://linux-easy-admin-utilities.blogspot.com/
 

#!/bin/bash
##################################################################
#
# Script to generate a fairly complex password
#
##################################################################
#
# Author: Bellamkonda Sudhakar
# License: GNU GPL v3
##################################################################
UVersion=0.2
Version=0.3
License='GNU GPL V3'
Depchk=0
Ln=8
Depopt=$1
##################################################################
function depchkerr {
if [[ "$Depopt" == "-c" ]]
then
echo "Dep check error - $Deperr"
fi
}
##################################################################
function depchk {
Deperr=''
Depchk=0
if [[ -z $(tr --version 2>/dev/null) ]]; then Depchk=1; Deperr='tr'; depchkerr; fi
if [[ -z $(head --version 2>/dev/null) ]]; then Depchk=1; Deperr='head'; depchkerr; fi
if [[ -z $(echo $RANDOM | md5sum 2>/dev/null) ]]; then Depchk=1; Deperr='md5sum'; depchkerr; fi
if [[ -z $(echo $RANDOM | sha512sum 2>/dev/null) ]]; then Depchk=1; Deperr='sha512sum'; depchkerr; fi
exit $Depchk
}
###################################################################
function uerror {
printf "%s\n" "Not root"
exit 1
}
##################################################################
function numerr {
printf "%s\n" "Numbers only"
exit 1
}
##################################################################
function version {
echo "Linux Easy Admin Utilities Version $UVersion - $License License
Author: Bellamkonda Sudhakar"
printf "\n%s\n" "Password Generator $Version - $License License"
exit 0
}
##################################################################
function usage {
echo "Linux Easy Admin Utilities Password Generator Version $UVersion - $License License
Author: Bellamkonda Sudhakar"
printf "\n%s\n" "Password Generator $Version - $License License"
printf "\n%s" "pwgen [ n | -h | -v | -c ]"
printf "\n%s" "Options:"
printf "\n%5s%s" " " " n  where n can be a numeric between 9-32, when not given default is 8"
printf "\n%5s%s" " " " e.g. pwgen 16"
printf "\n%5s%s" " " "-c Displays if a password generation dependency exists or not"
printf "\n%5s%s" " " "-h  displays this usage page"
printf "\n%5s%s\n" " " "-v  displays version information"
exit 0
}
#################################################################
function pgen {
Depchk=$(depchk)
if (( Depchk )) ; then
    Trn=$(echo $RANDOM)
    Ttn=$(date +%N)
    Tsn=$(date +%s)
    Pswd=$(echo $Tsn$Ttn$Trn | md5sum | sha512sum)
    Password=${Pswd:0:Ln}
else
    Password=$(tr -dc A-Za-z0-9_ < /dev/urandom | head -c $Ln)
fi
printf "%s\n" "$Password"
exit 0
}
##################################################################
#Main Program
##################################################################
clear
#
[[ $UID -ne 0 ]] && uerror
#
[[ "$1" == "-h" ]] && usage
#
[[ "$1" == "-v" ]] && version
#
[[ "$1" == "-c" ]] && depchk
#
[[ $# -eq 0 ]] && pgen
#
if [ $1 -eq $1 2>/dev/null ]
then
    Ln=$1
    [[ $1 -gt 32 ]] && Ln=32
    [[ $1 -lt 8 ]]  && Ln=8
    pgen
else
    numerr
fi
exit 0

##################################################
Your work made easy, go on work with it, use it, have fun.

- Bellamkonda Sudhakar