<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SecurityGuy.org &#187; Securing the OS</title>
	<atom:link href="http://www.securityguy.org/topic/secure-os/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.securityguy.org</link>
	<description>The IT Security Blog</description>
	<lastBuildDate>Wed, 08 Sep 2010 13:45:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to secure a VPS</title>
		<link>http://www.securityguy.org/how-to-secure-a-vps/</link>
		<comments>http://www.securityguy.org/how-to-secure-a-vps/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 08:25:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=449</guid>
		<description><![CDATA[SECURING CPANEL – WHM – AND ROOT on a VPS This will help but as mentioned in previous posts, with a VPS you do not have access to your kernal. That is good in some ways, because if you don’t have access to it, neither to hackers or spammers (which limits what they can do). [...]]]></description>
			<content:encoded><![CDATA[<h2>SECURING CPANEL – WHM – AND ROOT on a VPS</h2>
<p>This will help but as mentioned in previous posts, with a VPS you do not have access to your kernal. That is good in some ways, because if you don’t have access to it, neither to hackers or spammers (which limits what they can do). Its bad in ways, because you lose control and if you secure your box as much as possible, you are still at risk because you cannot control your kernal.</p>
<p>At any rate, here are some helpful hints</p>
<p>=========================================<br />
Checking for formmail<br />
=========================================</p>
<p>Form mail is used by hackers to send out spam email, by relay and injection methods. If you are using matts script or a version of it, you may be in jeopardy.<span id="more-449"></span></p>
<p>Command to find pesky form mails:<br />
find / -name “[Ff]orm[mM]ai*”</p>
<p>CGIemail is also a security risk:<br />
find / -name “[Cc]giemai*”</p>
<p>Command to disable form mails:<br />
chmod a-rwx /path/to/filename<br />
(a-rwx translates to all types, no read, write or execute permissions).</p>
<p>(this disables all form mail)</p>
<p>If a client or someone on your vps installs form mail, you will have to let them know you are disabling their script and give them an alternative.</p>
<p>=========================================<br />
Root kit checker – <a href="http://www.chkrootkit.org/" rel="nofollow">http://www.chkrootkit.org/</a><br />
=========================================</p>
<p>Check for root kits and even set a root kit on a cron job. This will show you if anyone has compromised your root. Always update chrootkit to get the latest root kit checker. Hackers and spammers will try to find insecure upload forms on your box and then with injection methods, try to upload the root kit on your server. If he can run it, it will modify *alot* of files, possibly causing you to have to reinstall.</p>
<p>To install chrootkit, SSH into server and login as root.<br />
At command prompt type:</p>
<p>cd /root/<br />
wget <a href="ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz" rel="nofollow">ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz</a><br />
tar xvzf chkrootkit.tar.gz<br />
cd chkrootkit-0.44<br />
make sense</p>
<p>To run chkrootkit</p>
<p>At command prompt type:<br />
/root/chkrootkit-0.44/chkrootkit</p>
<p>Make sure you run it on a regular basis, perhaps including it in a cron job.</p>
<p>Execution</p>
<p>I use these three commands the most.<br />
./chkrootkit<br />
./chkrootkit -q<br />
./chkrootkit -x | more</p>
<p>=========================================<br />
Install a root breach DETECTOR and EMAIL WARNING<br />
=========================================</p>
<p>If someone does happen to get root, be warned quickly by installing a detector and warning at your box. You will at least get the hackers/spammers ip address and be warned someone is in there.</p>
<p>Server e-mail everytime someone logs in as root</p>
<p>To have the server e-mail you everytime someone logs in as root, SSH into server and login as root.</p>
<p>At command prompt type:<br />
pico .bash_profile</p>
<p>Scroll down to the end of the file and add the following line:</p>
<p>echo ‘ALERT – Root Shell Access on:’ `date` `who` | mail -s “Alert: Root Access from `who | awk ‘{print $6}’`” <a href="mailto:your@email.com">your@email.com</a></p>
<p>Save and exit.</p>
<p>Set an SSH Legal Message</p>
<p>To an SSH legal message, SSH into server and login as root.</p>
<p>At command prompt type:<br />
pico /etc/motd</p>
<p>Enter your message, save and exit.<br />
Note: I use the following message…</p>
<p>ALERT! You are entering a secured area! Your IP and login information<br />
have been recorded. System administration has been notified.<br />
This system is restricted to authorized access only. All activities on<br />
this system are recorded and logged. Unauthorized access will be fully<br />
investigated and reported to the appropriate law enforcement agencies.</p>
<p>=========================================<br />
Web Host manager and CPANEL mods.<br />
=========================================</p>
<p>These are items inside of WHM/Cpanel that should be changed to secure your server.</p>
<p>Goto Server Setup =&gt;&gt; Tweak Settings<br />
Check the following items…</p>
<p>Under Domains<br />
Prevent users from parking/adding on common internet domains. (ie hotmail.com, aol.com)</p>
<p>Under Mail<br />
Attempt to prevent pop3 connection floods<br />
Default catch-all/default address behavior for new accounts – blackhole<br />
(according to ELIX – set this to FAIL, which is what I am going to do to reduce server load)</p>
<p>Under System<br />
Use jailshell as the default shell for all new accounts and modified accounts</p>
<p>Goto Server Setup =&gt;&gt; Tweak Security<br />
Enable php open_basedir Protection<br />
Enable mod_userdir Protection<br />
Disabled Compilers for unprivileged users.</p>
<p>Goto Server Setup =&gt;&gt; Manage Wheel Group Users<br />
Remove all users except for root and your main account from the wheel group.</p>
<p>Goto Server Setup =&gt;&gt; Shell Fork Bomb Protection<br />
Enable Shell Fork Bomb/Memory Protection</p>
<p>When setting up Feature Limits for resellers in Resellers =&gt;&gt; Reseller Center, under Privileges always disable Allow Creation of Packages with Shell Access and enable Never allow creation of accounts with shell access; under Root Access disable All Features.</p>
<p>Goto Service Configuration =&gt;&gt; FTP Configuration<br />
Disable Anonymous FTP</p>
<p>Goto Account Functions =&gt;&gt; Manage Shell Access<br />
Disable Shell Access for all users (except yourself)</p>
<p>Goto Mysql =&gt;&gt; MySQL Root Password<br />
Change root password for MySQL</p>
<p>Goto Security and run Quick Security Scan and Scan for Trojan Horses often. The following and similar items are not Trojans:<br />
/sbin/depmod<br />
/sbin/insmod<br />
/sbin/insmod.static<br />
/sbin/modinfo<br />
/sbin/modprobe<br />
/sbin/rmmod</p>
<p>=========================================<br />
More Security Measures<br />
=========================================</p>
<p>These are measures that can be taken to secure your server, with SSH access.</p>
<p>Update OS, Apache and CPanel to the latest stable versions.<br />
This can be done from WHM/CPanel.</p>
<p>Restrict SSH Access<br />
To restrict and secure SSH access, bind sshd to a single IP that is different than the main IP to the server, and on a different port than port 22.</p>
<p>SSH into server and login as root.<br />
Note: You can download Putty by Clicking Here (<a href="http://www.chiark.greenend.org.uk/~s…/download.html" rel="nofollow">http://www.chiark.greenend.org.uk/~s…/download.html</a>). It’s a clean running application that will not require installation on Windows-boxes.</p>
<p>At command prompt type:<br />
pico /etc/ssh/sshd_config</p>
<p>Scroll down to the section of the file that looks like this:<br />
#Port 22<br />
#Protocol 2, 1<br />
#ListenAddress 0.0.0.0<br />
#ListenAddress ::</p>
<p>Uncomment and change<br />
#Port 22<br />
to look like<br />
Port 5678 (choose your own 4 to 5 digit port number (49151 is the highest port number AND do not use 5678 lol )</p>
<p>Uncomment and change<br />
#Protocol 2, 1<br />
to look like<br />
Protocol 2</p>
<p>Uncomment and change<br />
#ListenAddress 0.0.0.0<br />
to look like<br />
ListenAddress 123.123.123.15 (use one of your own IP Addresses that has been assigned to your server)</p>
<p>Note 1: If you would like to disable direct Root Login, scroll down until you find<br />
#PermitRootLogin yes<br />
and uncomment it and make it look like<br />
PermitRootLogin no</p>
<p>Save by pressing Ctrl o on your keyboard, and then exit by pressing Ctrl x on your keyboard.</p>
<p>Note 2: You can also create a custome nameserver specifically for your new SSH IP address. Just create one called something like ssh.xyz.com or whatever. Be sure to add an A address to your zone file for the new nameserver.</p>
<p>Now restart SSH<br />
At command prompt type:<br />
/etc/rc.d/init.d/sshd restart</p>
<p>Exit out of SSH, and then re-login to SSH using the new IP or nameserver, and the new port.</p>
<p>Note: If you should have any problems, just Telnet into your server, fix the problem, then SSH in again. Telnet is a very unsecure protocol, so change your root password after you use it.</p>
<p>After SSH has been redirected, disable telnet.</p>
<p>Disable Telnet<br />
To disable telnet, SSH into server and login as root.<br />
At command prompt type: pico -w /etc/xinetd.d/telnet<br />
change disable = no to disable = yes<br />
Save and Exit<br />
At command prompt type: /etc/init.d/xinetd restart</p>
<p>Disable Shell Accounts<br />
To disable any shell accounts hosted on your server SSH into server and login as root.<br />
At command prompt type: locate shell.php<br />
Also check for:<br />
locate irc<br />
locate eggdrop<br />
locate bnc<br />
locate BNC<br />
locate ptlink<br />
locate BitchX<br />
locate guardservices<br />
locate psyBNC<br />
locate .rhosts</p>
<p>Note: There will be several listings that will be OS/CPanel related. Examples are<br />
/home/cpapachebuild/buildapache/php-4.3.1/ext/ircg<br />
/usr/local/cpanel/etc/sym/eggdrop.sym<br />
/usr/local/cpanel/etc/sym/bnc.sym<br />
/usr/local/cpanel/etc/sym/psyBNC.sym<br />
/usr/local/cpanel/etc/sym/ptlink.sym<br />
/usr/lib/libncurses.so<br />
/usr/lib/libncurses.a<br />
etc.</p>
<p>Disable identification output for Apache</p>
<p>(do this to hide version numbers from potentional hackers)</p>
<p>To disable the version output for proftp, SSH into server and login as root.<br />
At command prompt type: pico /etc/httpd/conf/httpd.conf</p>
<p>Scroll (way) down and change the following line to<br />
ServerSignature Off</p>
<p>Restart Apache<br />
At command prompt type: /etc/rc.d/init.d/httpd restart</p>
<p>=========================================<br />
Install BFD (Brute Force Detection – optional)<br />
=========================================</p>
<p>To install BFD, SSH into server and login as root.</p>
<p>At command prompt type:<br />
cd /root/<br />
wget <a href="http://www.rfxnetworks.com/downloads/bfd-current.tar.gz" rel="nofollow">http://www.rfxnetworks.com/downloads/bfd-current.tar.gz</a><br />
tar -xvzf bfd-current.tar.gz<br />
cd bfd-0.4<br />
./install.sh</p>
<p>After BFD has been installed, you need to edit the configuration file.</p>
<p>At command prompt type:<br />
pico /usr/local/bfd/conf.bfd</p>
<p>Under Enable brute force hack attempt alerts:<br />
Find<br />
ALERT_USR=”0?<br />
and change it to<br />
ALERT_USR=”1?</p>
<p>Find<br />
EMAIL_USR=”root”<br />
and change it to<br />
EMAIL_USR=”your@email.com”</p>
<p>Save the changes then exit.</p>
<p>To start BFD</p>
<p>At command prompt type:<br />
/usr/local/sbin/bfd -s</p>
<p>Modify LogWatch<br />
Logwatch is a customizable log analysis system. It parses through your system’s logs for a given period of time and creates a report analyzing areas that you specify, in as much detail as you require. Logwatch is already installed on most CPanel servers.</p>
<p>To modify LogWatch, SSH into server and login as root.</p>
<p>At command prompt type:<br />
pico -w /etc/log.d/conf/logwatch.conf</p>
<p>Scroll down to<br />
MailTo = root<br />
and change to<br />
Mailto = <a href="mailto:your@email.com">your@email.com</a><br />
Note: Set the e-mail address to an offsite account incase you get hacked.</p>
<p>Now scroll down to<br />
Detail = Low<br />
Change that to Medium, or High…<br />
Detail = 5 or Detail = 10<br />
Note: High will give you more detailed logs with all actions.</p>
<p>Save and exit.</p>
<p>A number of suggestions to improve system security. Some of this is specific to CPanel, but much can be applied to most Linux systems.<br />
————————————————–<br />
Use The Latest Software<br />
Keep the OS and 3rd party software up to date. Always!<br />
CPanel itself can be updated from the root WHM.<br />
————————————————–<br />
Change Passwords<br />
Change the root passwords at least once a month and try to make them hard to guess. Yes it’s a pain to have to keep remembering them, but it’s better than being hacked.</p>
<p>————————————————–<br />
Set Up A More Secure SSH Environment As described here.<br />
————————————————–<br />
Disable Telnet<br />
1. Type: pico -w /etc/xinetd.d/telnet<br />
2. Change the disable = no line to disable = yes.<br />
3. Hit CTRL+X press y and then enter to save the file.<br />
4. Restart xinted with: /etc/rc.d/init.d/xinetd restart<br />
Also, add the following line to /etc/deny.hosts to flag Telnet access attempts as ‘emergency’ messages.</p>
<p>in.telnetd : ALL : severity emerg</p>
<p>————————————————–<br />
Disable Unnecessary Ports (optional)<br />
First backup the file that contains your list of ports with:<br />
cp /etc/services /etc/services.original<br />
Now configure /etc/services so that it only has the ports you need in it. This will match the ports enabled in your firewall.<br />
On a typical CPanel system it would look something like this:<br />
&lt;?php<br />
tcpmux 1/tcp # TCP port service multiplexer<br />
echo 7/tcp<br />
echo 7/udp<br />
ftp-data 20/tcp<br />
ftp 21/tcp<br />
ssh 22/tcp # SSH Remote Login Protocol<br />
smtp 25/tcp mail<br />
domain 53/tcp # name-domain server<br />
domain 53/udp<br />
http 80/tcp www www-http # WorldWideWeb HTTP<br />
pop3 110/tcp pop-3 # POP version 3<br />
imap 143/tcp imap2 # Interim Mail Access Proto v2<br />
https 443/tcp # MCom<br />
smtps 465/tcp # SMTP over SSL (TLS)<br />
syslog 514/udp<br />
rndc 953/tcp # rndc control sockets (BIND 9)<br />
rndc 953/udp # rndc control sockets (BIND 9)<br />
imaps 993/tcp # IMAP over SSL<br />
pop3s 995/tcp # POP-3 over SSL<br />
cpanel 2082/tcp<br />
cpanels 2083/tcp<br />
whm 2086/tcp<br />
whms 2087/tcp<br />
webmail 2095/tcp<br />
webmails 2096/tcp<br />
mysql 3306/tcp # MySQL<br />
?&gt;<br />
Additional ports are controlled by /etc/rpc. These aren’t generally needed, so get shot of that file with: mv /etc/rpc /etc/rpc-moved<br />
————————————————–<br />
Watch The Logs<br />
Install something like logwatch to keep an eye on your system logs. This will extract anything ‘interesting’ from the logs and e-mail to you on a daily basis.<br />
Logwatch can be found at: <a href="http://www.logwatch.org" rel="nofollow">http://www.logwatch.org</a><br />
Install instructions here.<br />
————————————————–<br />
Avoid CPanel Demo Mode<br />
Switch it off via WHM Account Functions =&gt; Disable or Enable Demo Mode.<br />
————————————————–<br />
Jail All Users<br />
Via WHM Account Functions =&gt; Manage Shell Access =&gt; Jail All Users.<br />
Better still never allow shell access to anyone – no exceptions.<br />
————————————————–<br />
Immediate Notification Of Specific Attackers<br />
If you need immediate notification of a specific attacker (TCPWrapped services only), add the following to /etc/hosts.deny</p>
<p>ALL : nnn.nnn.nnn.nnn : spawn /bin/ ‘date’ %c %d | mail -s”Access attempt by nnn.nnn.nnn.nnn on for hostname” <a href="mailto:notify@mydomain.com">notify@mydomain.com</a><br />
Replacing nnn.nnn.nnn.nnn with the attacker’s IP address.<br />
Replacing hostname with your hostname.<br />
Replacing <a href="mailto:notify@mydomain.com">notify@mydomain.com</a> with your e-mail address.<br />
This will deny access to the attacker and e-mail the sysadmin about the access attempt.<br />
————————————————–<br />
Check Open Ports<br />
From time to time it’s worth checking which ports are open to the outside world. This can be done with:<br />
nmap -sT -O localhost<br />
If nmap isn’t installed, it can be selected from root WHM’s Install an RPM option.<br />
————————————————–<br />
Set The MySQL Root Password<br />
This can be done in CPanel from the root WHM Server Setup -&gt; Set MySQL Root Password.<br />
Make it different to your root password!<br />
————————————————–<br />
Tweak Security (CPanel)<br />
From the root WHM, Server Setup -&gt; Tweak Security, you will most likely want to enable:<br />
- php open_basedir Tweak.<br />
- SMTP tweak.<br />
You may want to enable:<br />
- mod_userdir Tweak. But that will disable domain preview.<br />
————————————————–<br />
Use SuExec (CPanel)<br />
From root WHM, Server Setup -&gt; Enable/Disable SuExec. This is CPanel’s decription of what it does:<br />
“suexec allows cgi scripts to run with the user’s id. It will also make it easier to track which user has sent out an email. If suexec is not enabled, all cgi scripts will run as nobody. ”<br />
Even if you don’t use phpsuexec (which often causes more problems), SuExec should be considered.<br />
————————————————–<br />
Use PHPSuExec (CPanel)<br />
This needs to built into Apache (Software -&gt; Update Apache from the root WHM) and does the same as SuExec but for PHP scripts.<br />
Wisth PHPSuExec enabled, you users will have to make sure that all their PHP files have permissions no greater than 0755 and that their htaccess files contain no PHP directives.<br />
————————————————–<br />
Disable Compilers<br />
This will prevent hackers from compiling worms, root kits and the like on your machine.<br />
To disable them, do the following:</p>
<p>chmod 000 /usr/bin/perlcc<br />
chmod 000 /usr/bin/byacc<br />
chmod 000 /usr/bin/yacc<br />
chmod 000 /usr/bin/bcc<br />
chmod 000 /usr/bin/kgcc<br />
chmod 000 /usr/bin/cc<br />
chmod 000 /usr/bin/gcc<br />
chmod 000 /usr/bin/i386*cc<br />
chmod 000 /usr/bin/*c++<br />
chmod 000 /usr/bin/*g++<br />
chmod 000 /usr/lib/bcc /usr/lib/bcc/bcc-cc1<br />
chmod 000 /usr/i386-glibc21-linux/lib/gcc-lib/i386-redhat-linux/2.96/cc1</p>
<p>You will need to enable them again when you need to perform system updates. To do this, run:</p>
<p>chmod 755 /usr/bin/perlcc<br />
chmod 755 /usr/bin/byacc<br />
chmod 755 /usr/bin/yacc<br />
chmod 755 /usr/bin/bcc<br />
chmod 755 /usr/bin/kgcc<br />
chmod 755 /usr/bin/cc<br />
chmod 755 /usr/bin/gcc<br />
chmod 755 /usr/bin/i386*cc<br />
chmod 755 /usr/bin/*c++<br />
chmod 755 /usr/bin/*g++<br />
chmod 755 /usr/lib/bcc /usr/lib/bcc/bcc-cc1<br />
chmod 755 /usr/i386-glibc21-linux/lib/gcc-lib/i386-redhat-linux/2.96/cc1</p>
<p>————————————————–<br />
Obfuscate The Apache Version Number<br />
1. Type: pico /etc/httpd/conf/httpd.conf<br />
2. Change the line that begins ServerSignature to:</p>
<p>ServerSignature Off</p>
<p>3. Add a line underneath that which reads:</p>
<p>ServerTokens ProductOnly</p>
<p>4. Hit CTRL+X, they y, the enter to save the file.<br />
5. Restart Apache with: /etc/rc.d/init.d/httpd restart<br />
——————–</p>
<p>COMMON COMMANDS I USE<br />
System Information<br />
who<br />
List the users logged in on the machine. –</p>
<p>rwho -a<br />
List all users logged in on your network. The rwho service must be enabled for this command to work.</p>
<p>finger user_name<br />
System info about a user. Try: finger root last. This lists the users last logged-in on your system.</p>
<p>history | more<br />
Show the last (1000 or so) commands executed from the command line on the current account. The | more causes the display to stop after each screen fill.</p>
<p>pwd<br />
Print working directory, i.e. display the name of your current directory on the screen.</p>
<p>hostname<br />
Print the name of the local host (the machine on which you are working).</p>
<p>whoami<br />
Print your login name.</p>
<p>id username<br />
Print user id (uid) and his/her group id (gid), effective id (if different than the real id) and the supplementary groups.</p>
<p>date<br />
Print or change the operating system date and time. E.g., change the date and time to 2000-12-31 23:57 using this command</p>
<p>date 123123572000<br />
To set the hardware clock from the system clock, use the command (as root)<br />
setclock</p>
<p>time<br />
Determine the amount of time that it takes for a process to complete+ other info. Don’t confuse it with date command. For e.g. we can find out how long it takes to display a directory content using time ls</p>
<p>uptime<br />
Amount of time since the last reboot</p>
<p>ps<br />
List the processes that are have been run by the current user.</p>
<p>ps aux | more<br />
List all the processes currently running, even those without the controlling terminal, together with the name of the user that owns each process.</p>
<p>top<br />
Keep listing the currently running processes, sorted by cpu usage (top users first).</p>
<p>uname -a<br />
Info on your server.</p>
<p>free<br />
Memory info (in kilobytes).</p>
<p>df -h<br />
Print disk info about all the file systems in a human-readable form.</p>
<p>du / -bh | more<br />
Print detailed disk usage for each subdirectory starting at root (in a human readable form).</p>
<p>lsmod<br />
(as root. Use /sbin/lsmod to execute this command when you are a non-root user.) Show the kernel modules currently loaded.</p>
<p>set|more<br />
Show the current user environment.</p>
<p>echo $PATH<br />
Show the content of the environment variable PATH. This command can be used to show other environment variables as well. Use set to see the full environment.</p>
<p>dmesg | less<br />
Print kernel messages (the current content of the so-called kernel ring buffer). Press q to quit less. Use less /var/log/dmesg to see what dmesg dumped into the file right after bootup. – only works on dedciated systems</p>
<p>Commands for Process control<br />
ps<br />
Display the list of currently running processes with their process IDs (PID) numbers. Use ps aux to see all processes currently running on your system (also those of other users or without a controlling terminal),<br />
each with the name of the owner. Use top to keep listing the processes currently running.</p>
<p>fg<br />
PID Bring a background or stopped process to the foreground.</p>
<p>bg<br />
PID Send the process to the background. This is the opposite of fg. The same can be accomplished with Ctrl z</p>
<p>any_command &amp;<br />
Run any command in the background (the symbol ‘&amp;’ means run the command in the background?).</p>
<p>kill PID<br />
Force a process shutdown. First determine the PID of the process to kill using ps.</p>
<p>killall -9 program_name<br />
Kill program(s) by name.</p>
<p>xkill<br />
(in an xwindow terminal) Kill a GUI-based program with mouse. (Point with your mouse cursor at the window of the process you want to kill and click.)</p>
<p>lpc<br />
(as root) Check and control the printer(s). Type ??? to see the list of available commands.</p>
<p>lpq<br />
Show the content of the printer queue.</p>
<p>lprm job_number<br />
Remove a printing job job_number from the queue.</p>
<p>nice program_name<br />
Run program_name adjusting its priority. Since the priority is not specified in this example, it will be adjusted by 10 (the process will run slower), from the default value (usually 0). The lower the number (of niceness to other users on the system), the higher the priority. The priority value may be in the range -20 to 19. Only root may specify negative values. Use top to display the priorities of the running processes.</p>
<p>renice -1 PID<br />
(as root) Change the priority of a running process to -1. Normal users can only adjust processes they own, and only up from the current value (make them run slower).</p>
<p>Optimizing your VPS server (help it run more efficiently)</p>
<p>VPSes are really hard to use with the memory restrictions and CPU limitations…but with some optimization they can definitely serve your websites fast!</p>
<p>MySQL Optimization<br />
Here are my suggested settings for the my.cnf file. This should work well for a VPS with 256-512MB RAM.</p>
<p>[mysqld]<br />
max_connections = 400<br />
key_buffer = 16M<br />
myisam_sort_buffer_size = 32M<br />
join_buffer_size = 1M<br />
read_buffer_size = 1M<br />
sort_buffer_size = 2M<br />
table_cache = 1024<br />
thread_cache_size = 286<br />
interactive_timeout = 25<br />
wait_timeout = 1000<br />
connect_timeout = 10<br />
max_allowed_packet = 16M<br />
max_connect_errors = 10<br />
query_cache_limit = 1M<br />
query_cache_size = 16M<br />
query_cache_type = 1<br />
tmp_table_size = 16M<br />
skip-innodb</p>
<p>[mysqld_safe]<br />
open_files_limit = 8192</p>
<p>[mysqldump]<br />
quick<br />
max_allowed_packet = 16M</p>
<p>[myisamchk]<br />
key_buffer = 32M<br />
sort_buffer = 32M<br />
read_buffer = 16M<br />
write_buffer = 16M</p>
<p>In order to make things even faster, you can customize these settings specifically for your VPSs’ usage. There’s a great howto on InterWorx’s forum for this –&gt; <a href="http://www.interworx.com/forums/showthread.php?p=2346" rel="nofollow">http://www.interworx.com/forums/showthread.php?p=2346</a></p>
<p>Lastly, I recommend installing mytop to help you monitor your usage…</p>
<p>wget <a href="http://dll.elix.us/mytop-1.4.tar.gz" rel="nofollow">http://dll.elix.us/mytop-1.4.tar.gz</a><br />
tar -zxvf mytop-1.4.tar.gz<br />
cd mytop-1.4<br />
perl Makefile.PL<br />
make<br />
make test<br />
make install</p>
<p>Once that’s done, just enter in “mytop” .</p>
<p>PHP &amp; Apache Optimization<br />
I strongly recommend installing eAccelerator. There’s an easy to follow howto here: <a href="http://forum.ev1servers.net/showthre…t=eaccelerator" rel="nofollow">http://forum.ev1servers.net/showthre…t=eaccelerator</a>. If you use the default cache dir for eAccelerator (/tmp/eaccelerator) make sure you check it reguarily and clean it every once and a while. (it can really get quite large from my experience)</p>
<p>For httpd.conf I suggest:<br />
Timeout 200<br />
KeepAlive On<br />
maxKeepAliveRequests 100<br />
KeepAliveTimeout 3<br />
MinSpareServers 10<br />
MaxSpareServers 20<br />
StartServers 15<br />
MaxClients 250<br />
MaxRequestsPerChild 0<br />
HostnameLookups Off</p>
<p>You can use ab to benchmark your Apache before and after you make changes.</p>
<p>ab -c 5 -n 20 somephpbasedsiteonyourserver.com/file.php</p>
<p>I suggest doing 2 or 3 tests like that to get an average.</p>
<p>If you want to check the Apache error log, try this –&gt;<br />
cat /usr/local/apache/logs/error_log</p>
<p>Monitoring Usage<br />
On a Virtuozzo VPS you can use cat /proc/usr_beancounters to output your usage of the VZ parameters. You should pay most attention to oomguarpages and privmpages. (although anything with a failure is generally bad)</p>
<p>You can find the amount of connections to Apache with this command:<br />
netstat -nt | grep :80 | wc -l</p>
<p>To find the amount of Apache processes use this command:<br />
ps -A | grep httpd | wc -l (this will show the process count)<br />
ps -aux | grep httpd (this will show the actual processes)</p>
<p>To find the amount of MySQL processes use this command:<br />
ps -A | grep mysql | wc -l (this will show the process count)<br />
ps -aux | grep mysql (this will show the actual processes)</p>
<p>Just simply using top (standard view) or top -c (will show the actual command being used and/or location of each process as opposed to just the name) can help you monitor your VPS usage very wel.</p>
<p>To see your disk space usage, try using this command –&gt; df -h</p>
<p>Mitigating (D)DOS<br />
If you’re being DDOS’d or DOS’d you can use this command:<br />
netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n</p>
<p>That will help you see how many connections each IP address has in total to your server.</p>
<p>There’s a very decent script you can use to automate the banning of IP addresses available here –&gt; <a href="http://forums.deftechgroup.com/showthread.php?t=825" rel="nofollow">http://forums.deftechgroup.com/showthread.php?t=825</a></p>
<p>Although I haven’t tried it myself, I suggest you take a look at Scrutinizer as well which sounds very useful –&gt; <a href="http://www.solutix.ch/cgi-bin/index.pl" rel="nofollow">http://www.solutix.ch/cgi-bin/index.pl</a></p>
<p>Spam Assassin<br />
Spam Assassin can take up a lot of memory and make it really hard to host just a few sites on a VPS, but there is a way around this…</p>
<p>Login to WHM as root, scroll down to “cPanel 10.8.1-R15? (it may be slightly different depending on what version you are using) then goto “Addon Modules” and install “spamdconf”. Once it’s done, refresh the WHM page, scroll down to “Add-ons” on the nav bar and then click on ‘Setup Spamd Startup Configuration”. Set “Maximum Children” to “2?. Then hit Submit. Wait a few seconds (15-30, but usually less) for exim to restart and you’re done .</p>
<p>cPanel Tweak Setings<br />
Login to WHM as root, and under “Server Configuration” on the nav bar hit “Tweak Settings”.</p>
<p>Here are some suggested settings:<br />
Default catch-all/default address behavior for new accounts. fail will generally save the most CPU time.<br />
- Use “FAIL”. If you already have some accounts setup not to use “FAIL” (by default it will not) then run this command to convert to FAIL from BLACKHOLE –&gt; perl -pi -e “s/:blackhole:/:fail:/g;” /etc/valiases/*</p>
<p>Mailman<br />
- Mailman tends to use a lot of resources, so if you don’t need cpanel mailing lists then uncheck this.</p>
<p>Number of minutes between mail server queue runs (default is 60).:<br />
- You may want to set this to 180 to reduce load.</p>
<p>Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required)<br />
- This is just generally a good idea. So check this.</p>
<p>Analog Stats<br />
- I find this useless, so uncheck this. If you want to delete the existing analog stats files just run this command –&gt; rm -rf /home/*/tmp/analog/*</p>
<p>Awstats Reverse Dns Resolution<br />
- Make sure this is unchecked, I find it pretty much useless for most users.</p>
<p>Awstats Stats<br />
- You can check this if you need a robust stats software that integrates with cPanel, if you don’t need it, then don’t check it. *Note most hosting clients will want to use this. If you want to delete the existing awstats stats files just run this command –&gt; rm -rf /home/*/tmp/awstats/*</p>
<p>Webalizer Stats<br />
- Not many hosting clients will want to use this so, you can uncheck this to reduce load. If you want to delete the existing webalizer stats files just run this command –&gt; rm -rf /home/*/tmp/webalizer/*</p>
<p>Delete each domain’s access logs after stats run<br />
- Make sure this is checked, otherwise disk space usage can really rack up!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/how-to-secure-a-vps/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/how-to-secure-a-vps/&amp;title=How+to+secure+a+VPS" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/how-to-secure-a-vps/&amp;title=How+to+secure+a+VPS" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/how-to-secure-a-vps/&amp;title=How+to+secure+a+VPS&amp;desc=SECURING%20CPANEL%20%E2%80%93%20WHM%20%E2%80%93%20AND%20ROOT%20on%20a%20VPS%0D%0AThis%20will%20help%20but%20as%20mentioned%20in%20previous%20posts%2C%20with%20a%20VPS%20you%20do%20not%20have%20access%20to%20your%20kernal.%20That%20is%20good%20in%20some%20ways%2C%20because%20if%20you%20don%E2%80%99t%20have%20access%20to%20it%2C%20neither%20to%20hackers%20or%20spammers%20%28which%20limits%20what%20they%20can%20do%29.%20Its%20bad%20in%20ways%2C%20be" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/how-to-secure-a-vps/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/how-to-secure-a-vps/&amp;bm_description=How+to+secure+a+VPS&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/how-to-secure-a-vps/&amp;title=How+to+secure+a+VPS" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/how-to-secure-a-vps/&amp;title=How+to+secure+a+VPS" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/how-to-secure-a-vps/&amp;title=How+to+secure+a+VPS" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/how-to-secure-a-vps/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+to+secure+a+VPS+-+http://b2l.me/ea7nk&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/how-to-secure-a-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Practical IT Security &#8211; part 1</title>
		<link>http://www.securityguy.org/practical-it-security-part-1/</link>
		<comments>http://www.securityguy.org/practical-it-security-part-1/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 12:37:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=430</guid>
		<description><![CDATA[In my previous CIO articles I tried to focus on several problems simultaneously &#8211; clearly there has been a better approach. So I am beginning a series of articles devoted to the consistent, practical side of IT security &#8211; or more precisely the things that can be used immediately, or can be included in an [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://cio.bg/2772_praktichna_it_sigurnost_chast_1_sred_stenite_na_kreposta"><img class="size-full wp-image-431 alignleft" style="border: 0pt none; margin: 5px;" title="Korica1.indd" src="http://www.securityguy.org/wp-content/uploads/2009/11/1102170032-Korica1.jpg" alt="Korica1.indd" width="120" height="165" /></a></p>
<p>In my previous CIO articles I tried to focus on several problems simultaneously &#8211; clearly there has been a better approach. So I am beginning a series of articles devoted to the consistent, practical side of IT security &#8211; or more precisely the things that can be used immediately, or can be included in an Action Plan.</p>
<p>Contrary to popular belief, ITSEC does not begin by protecting the perimeter. Firewalls, security systems &#8211; this should be the last concern when building any protection. Our goal is to protect the information, not make the providers of different &#8220;solutions&#8221; rich, right?<span id="more-430"></span></p>
<p><strong>FIRST STEP &#8211; Protection of the last link in the chain</strong><br />
There are several &#8220;last links in the chain&#8221; &#8211; a workstation, a database, protected commercial information, protected business practices, even the user may be considered as the last (final) unit to protect&#8230; Let&#8217;s start with workstations &#8211; I will ask a series of questions and then offer appropriate solutions &#8211; in most cases, they are generally valid, as well as the problems they solve.</p>
<p><strong>1. Are your workstations protected from physical theft?</strong><br />
If not, consider ways to protect them. For example, many business laptops have an option to lock them with a steel cable to the desk &#8211; if you have such an opportunity, use it. Guards and security officers need to stop and authenticate anyone extracting computers from the building. Video surveillance in this case is of little benefit and may not be a preventive measure &#8211; several infrared diodes around the face of a man or on a hat can make their existence meaninglessl. Keep it in mind.<br />
Ask yourself: Do you know how to enter your office building, without anyone asking you a badge or permission? If there is any way, eliminate it. Until now, wherever I worked I have not seen a fully secure building &#8211; perhaps because no one is asking that question or not asking it correctly (are doors the only way one can enter a building?). Movement sensors must be placed at an angle towards each other, always in pairs and in such a way that slow movement or an IR beamer towards the sensor is not sufficient to eliminate the entire security system.</p>
<p><strong>2. Does each workstation have a password for it&#8217;s BIOS, preventing booting off a Live CD or a Bootable USB?</strong><br />
If not, it&#8217;s time to draw up a strategy for using different BIOS passwords for each computer and server. You can develop an algorithm for the variation of the password as the serial number or location of your computer &#8211; so administrators will not need to remember passwords, and users (or &#8220;attackers&#8221;) will not know the logic and can not guess them. If you do not deem it a necessary step, take a look at <a href="http://www.piotrbania.com/all/kon-boot/">http://www.piotrbania.com/all/kon-boot/</a> &#8211; got goosebumps? Okay, now think about how to prevent this happening in your organization &#8230;</p>
<p><strong>3. Ports: USB, FireWire, optical devices &#8230;</strong><br />
If you have FireWire ports, that is a huge hole in security &#8211; this port allows direct memory access, without taking into account the operating system controls (meaning anyone who can access the port physically has also full access to the drive, and it doesn&#8217;t matter what OS you&#8217;re using and how secure it is). Disable the FireWire ports in BIOS, unless it is absolutely essential for your business. The same goes for USB devices &#8211; controlling at least their use if you can not disable them. On my site &#8211; <a href="http://www.securityguy.org/disable-usb-storage-devices/">http://www.securityguy.org/disable-usb-storage-devices/</a> &#8211; there are instructions on how to take control of USB devices. Optical devices should be present only where necessary for the operation of the business or daily work of your employees.<br />
If you still have to use USB memory sticks for business purposes, your best choice would be Ironkey (<a href="https://www.ironkey.com/enterprise">https://www.ironkey.com/enterprise</a>) &#8211; the Enterprise version can offer all the security you would need (FIPS 140-2), and more.</p>
<p><strong>4. The user &#8211; does he have administrative rights on the computer he works on?</strong><br />
If yes, this is bad. The best you can do is to join any user, including network and system administrators to the Guests group (I imply the use of Microsoft Windows operating systems in most companies) and create accounts that can be used to carrie out administrative actions but which cannot be used for Interactive Login. If someone needs to carry out administrative action on their computer, they can always use the option Run As (one click away and just needs entering your credeintials once when you need to install a program &#8211; and that should not happen that often, really).<br />
Build better system security policies. For Windows XP and Windows 2003, you can apply boldly (with minor edits) the following link &#8211; <a href="http://www.nsa.gov/ia/_files/os/winxp/Windows_XP_Security_Guide_v2.2.zip" rel="nofollow">http://www.nsa.gov/ia/_files/os/winxp/Windows_XP_Security_Guide_v2.2.zip</a> &#8211; + there is a document containing some examples of securty policies. Do not forget to test everything in a test environment. On the same site you can find relevant policies recommended for other operating systems. Reading and applying them will take some time and effort, but it&#8217;s worth it. With a little scripting and implementation of policies in Active Directory, once you decide which settings are needed, applying them on all servers and computers in the company is a matter of minutes (don&#8217;t forget to test!).</p>
<p><strong>5. Antivirus systems&#8230;</strong><br />
There may be a lot to discuss on that topic. Personally, I am an &#8220;enemy&#8221; of the most widely used systems, because the most effective viruses are written with the idea to disable these particular products, but this does not mean that you don&#8217;t need an antivirus program. Look for one that can intercept browser sessions and to block access to dangerous sites before loading malicious code. I think one of the best blogs on IT security is the blog of F-Secure &#8211; <a href="http://www.f-secure.com/weblog/" rel="nofollow">http://www.f-secure.com/weblog/</a>, their dedication and the way you communicate with the Internet community means more then the beautiful brochures and giant marketing departments. Take time to look at their blog &#8211; they have many products in beta stage of development, free and at the same time very effective &#8211; try them in a test environment, you can find something to improve the security in your company, even at this stage, even when products not which have not yet hit the market.</p>
<p><strong>6. Stolen data carriers</strong><br />
According <a href="http://datalossdb.org/statistics">http://datalossdb.org/statistics</a>, 35% of data loss (exfiltration) is due to stolen or lost storage media &#8211; disks, computers, flash drives, laptops, mobile phones. This means that a simple strategy for the encryption of all data media will prevent 35% of incidents involving loss or theft of information at your company!<br />
Firstly, start with full encryption of the operating system &#8211; I recommend the free TrueCrypt program for small environments, for bigger ones you can use the built-in BitLocker in Vista or Windows Server 2008 and Windows 7, the same applies to other media. In addition to preventing leakage and loss of information on lost and stolen carriers, imagine that someone broke into the network in some way and can see only ubiquitous encrypted data, always with different passwords&#8230; not good for them. Try a simple, restrictive (preventing &#8220;workarounds&#8221;) policies IT security, not with huge documents describing the obligations of employees &#8211; just install the encryption program, and make a plan to phase out encryption, no need for long explanations or policies.<br />
It is possible to task your IT department to produce a script that encrypts the workstations outside working hours &#8211; so you will avoid the loss of working hours. It is also simple to devise a strategy for passwords &#8230; see item 7.</p>
<p><strong>7. Passwords &#8230;</strong><br />
Take the time for training &#8211; this is something that is more in the psychology and HR field than in IT. Help people understand how easy it is to create and remember passwords that are hard to guess. Teach your people the l337 alphabet &#8211; 1 =!, 3 = e, 4 = A, @ = a, 7 = t, 0 &#8211; O, 9 = g, and so on. For example &#8230; 4l!G@70r, would mean Aligator, the second being present in most bruteforce dictionaries, and the first &#8211; not. It is fun and it is secure!<br />
Corporate systems should not accept passwords shorter than 8 (better 12) characters. Or give them the following idea &#8211; a favorite music group and favorite song form one long phrase which is at the same time a the perfect password &#8211; impossible to guess, easy to remember. Even better is to use phrases in their native language (if they&#8217;re not native English speakers) with Latin letters &#8230; just imagine how difficult it is for someone from another country to guess this password &#8230;<br />
Make the learning process fun &#8211; use striking, pungent, funny phrases &#8211; let people perceive security as something positive rather than just another workout containing only a dry &#8220;food&#8221;.</p>
<p><strong>8. The human factor</strong><br />
The last, most internal level of protection besides the workstation is the human working on it. The battle is often fought on an intellectual level before it goes to the physical. As it is in war and in business &#8211; someone might want to steal information using simple human relationships, but without external force &#8211; information may leak through e-mail, chat, facebook, etc. Most often this happens accidentally, in a small percentage of cases &#8211; on purpose.<br />
In order prevent this from happening, again we need to rely on behavioral psychology &#8211; there is a need for training, changing attitudes towards knowing the value of information. Some people post online anything new and interesting, whether confidential or not. Someone sends an e-mail &#8220;help the child, send to all&#8221;, 20 minutes later the letter has been seen by all company employees and goes out, exporting with it a list of all their e-mail addresses &#8230; two years of work on a new product, and someone shares it in Facebook &#8211; give colorful, vivid and emotional examples to people so they can remember them on an emotional level &#8211; people are emotional, use it. If you&#8217;re not using it first, someone else will do it for sure.<br />
As a last resort, you can use the principle of &#8220;rod and donut &#8211; penalties and incentives, as appropriate. Note that incentives must meet the value of penalties &#8211; the penalty can not be a percentage of salary, and the incentive &#8211; a company pen or tapping on the shoulder.<br />
One question that you should ask yourself: if your employee finds a flash memory stick on the street right outside the office building, will he (or she) immediately plug it in their computer to see what&#8217;s inside? Have you trained your employees to recognize such risks?<span style="color: #3366ff;"><strong> </strong></span></p>
<p><strong>9. 0-day attacks and protection</strong><br />
Having said all of the above, that risk remains unnoticed and at the same time extremely dangerous &#8211; 0-day vulnerabilities in popular software such as Adobe Acrobat Reader, Microsoft Word, Microsoft Excel, etc. &#8211; The software vendors regularly provide patches but the IT department sometimes overlooks them or does not update on time. If someone sends an &#8220;infected&#8221; file to someone&#8217;s mail and succeeds to execute code, even with all those steps above your information will be exfiltrated unless you take steps to prevent Internet access from inside out.<br />
Since this article deals with internal protection systems located in the terminal &#8211; in this case a workstation, laptop &#8211; I recommend using a firewall which is blocking access of certain programs or processes to the Internet unless the user (or administrator) explicitly authorizes it. Just as an example I am giving the free version of <a href="http://personalfirewall.comodo.com/" rel="nofollow">http://personalfirewall.comodo.com/</a> &#8211; naturally, for business purposes you will have to select or the paid version or a similar product &#8211; here I am just mentioning this software only because of my personal preferences and opinion, which is subject to critics.</p>
<p>Leaving aside the commercial or noncommercial products for protection, are your employees aware of the risks when opening pdf, doc, xls files from unknown sources? If not, it is just the right time to teach them. A single pdf attachment sent to the assistant of the CEO may commemorate the end of one company &#8211; the day on which all the confidential data from his/her computer leaked out (not necessarily publicly) &#8230;<br />
Are you protected from this risk? In fact, there are very few people who know how to deal with such risks. In practice, there is no commercial solution and no product which you could just buy and solve the problem &#8230; But there are logical decisions, or rather a sequence of actions that can prevent leaks in this manner.<br />
Any code, any program is executed in the context of the user. You can change somewhat the standard environment in which the user performs each command or a program with the same privileges, adding at least one more level of complexity &#8211; some programs, such as browsers, mail clients can be executed as Guest (in MS Windows), while all others which are unable to work as Guest &#8211; as User, and only in exceptional cases &#8211; executed as Administrator. There are solutions for virtualization &#8211; virtualization of browsers, programs, or operating sysetms &#8211; also you can look into segregated networks. You can use VPN connection for Internet access and a normal connection for a corporate network (or the opposite). You can also use VPN to access both internal and external networks &#8211; do not think that is too paranoid, and it&#8217;s not as complicated to implement.<br />
But returning again to the previous risk &#8211; execution of malicious code sent by a document received in the mail of an employee on a computer which has extremely confidential information on it. To protect the data, we can execute programs such as Outlook in Citrix, or better yet &#8211; in Windows Server 2008 &#8211; virtualization applications or hosting of applications. Thus, the program does not run on the potentially infected client computer, the data is not kept on it.</p>
<p>I want to remind you once again &#8211; any application used by the user, unless this is expressly required must not run with administrative rights. But we have a problem. If you execute code on a workstation, the &#8220;attacker&#8221; can &#8220;listen&#8221; and &#8220;hear&#8221; the password used even for hosted or virtualized applications, and gain access to the data in them. What is the method of protection? Somehow you have to protect yourself from the already leaked (or not public) 0-day scripts, whether they have patches or not. One solution is a free program that is still in beta, F-Secure Exploit Shield. The program is regularly updated against the latest exploits and it works very well &#8211; it monitors executable binary code in memory &#8211; not for executable files, but executable code &#8211; compares with its database, and if something does not loog good &#8211; block its execution. Personally I tested it with an exploit for which Microsoft had not yet released a patch &#8211; and the shield worked, and did not allow the code to execute.<br />
To reduce the chance of &#8220;hacking&#8221; you can upgrade to Windows Vista or Windows 7 (recommended) this is a good solution because they feature ASLR, significantly hindering the possibility of running exploits and compromise of vulnerable programs or the operating system. Some applications may also be implemented in Web 2.0 &#8211; an example of this is a new project called EyeOS, a working version of which will be released in 2010, product featuring an open source operating system in the browser &#8230; but until this method of work is ready for business, there is still much to work to defend the current system in which data is available and vulnerable on the workstation.</p>
<p>So &#8230; we have protected the BIOS, we have protected the passwords amd encrypted the data, we introduced a security policy for the operating system recommended by the NSA, have a good antivirus program, a good firewall preventing unknown and unapproved by the user or administrator processes to access the external network, most ideally, we&#8217;ve included in the scheme virtualization applications or operating systems, separating the company from outside network with VPN, and have installed F-Secure Exploit Shield &#8211; in terms of security, workstations are already looking like a fortresses. There still remain some things for a sweet finish.</p>
<p><strong>10. HIDS</strong><br />
How many companies are using Host Intrusion Detection Systems? At least in Bulgaria &#8230; quite a few. Bear in mind &#8211; from what I know from experience and from friends and acquaintances, the multitude of security breaches should trigger an active response&#8230; well, perhaps the reason is that these breaches remain unknown to the companies themselves? This is my opinion at least.<br />
OSSEC <a href="http://www.ossec.net/)" rel="nofollow">http://www.ossec.net/)</a> has a free version of HIDS, working with both Linux clients and servers and a Windows-based ones. Without going into details &#8211; HIDS monitors for unauthorized changes to the file system on a workstation or a server &#8211; new files, new programs, new entries in the configuration or new users, etc. &#8211; and if it finds something suspicious, sends a REPORT where needed.</p>
<p>It&#8217;s not so hard to implement &#8211; you would rather worry of making sure you have the human resources to review the logs regularly. What&#8217;s the point if you have HIDS and nobody to monitor the logs? It may sound strange, but some companies pay thousands of dollars for such commercial systems, only to own them, but not reviewing the logs &#8211; this is not a good idea.<strong></strong></p>
<p><strong>11. Protection of databases</strong><br />
They are also one of the &#8220;last links&#8221; in the chain &#8211; if someone gains access to them, the game is over. Much can be said on the topic. But instead of suggesting you following instructions for protection, go seek instructions for bypassing database security. This is the best approach for detecting vulnerabilities in your own database, and the shortest way to success. Key words that I would use when searching are: &#8220;pentesting oracle&#8221;, &#8220;pentesting ms sql&#8221;, &#8220;database penetration testing&#8221;, etc. You can replace &#8220;pentesting&#8221; by &#8220;attacking&#8221;.<br />
And don&#8217;t limit yourself just by the database &#8211; I&#8217;ve seen cases where the applications accessing the database are written so poorly, that the passwords for accessing the database are coded right into the app (obscured, but easy to deobfuscate), and can be seen just by looking at the strings of the app in a special editor or decompiler. Have you protected your database from such risks? Look for these vulnerabilities, request full source code review from your software vendor if possible! They may have not build the weakness in there on purpose &#8211; but if you find it, you will help yourlef and them fixing it before it&#8217;s too late. Trust, but verify!</p>
<p><strong>CONCLUSION</strong><br />
This article could serve as a plan for “war preparation” of workstations and even servers – for small to medium organizations the planning and execution of every step in it could take somewhere between few weeks to a month in the worst case, including testing in a test environment. As a result, just in a few months you can take care of the IT Security in a medium company with little to no expenses &#8211; which is not that bad in a time of global financial crisis!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/practical-it-security-part-1/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/practical-it-security-part-1/&amp;title=Practical+IT+Security+-+part+1" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/practical-it-security-part-1/&amp;title=Practical+IT+Security+-+part+1" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/practical-it-security-part-1/&amp;title=Practical+IT+Security+-+part+1&amp;desc=%0D%0A%0D%0AIn%20my%20previous%20CIO%20articles%20I%20tried%20to%20focus%20on%20several%20problems%20simultaneously%20-%20clearly%20there%20has%20been%20a%20better%20approach.%20So%20I%20am%20beginning%20a%20series%20of%20articles%20devoted%20to%20the%20consistent%2C%20practical%20side%20of%20IT%20security%20-%20or%20more%20precisely%20the%20things%20that%20can%20be%20used%20immediately%2C%20or%20can%20be%20inclu" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/practical-it-security-part-1/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/practical-it-security-part-1/&amp;bm_description=Practical+IT+Security+-+part+1&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/practical-it-security-part-1/&amp;title=Practical+IT+Security+-+part+1" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/practical-it-security-part-1/&amp;title=Practical+IT+Security+-+part+1" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/practical-it-security-part-1/&amp;title=Practical+IT+Security+-+part+1" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/practical-it-security-part-1/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Practical+IT+Security+-+part+1+-+http://b2l.me/ea7tk&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/practical-it-security-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The cost of &#8220;State of the Art&#8221; security</title>
		<link>http://www.securityguy.org/the-cost-of-security/</link>
		<comments>http://www.securityguy.org/the-cost-of-security/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 08:00:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=423</guid>
		<description><![CDATA[There is nothing special to it, really. Would you think I&#8217;m going to spend hours in describing costs for different IPS/IDS systems, the cost of monitoring etc? No. I love simple solutions, and this post will be just as simple. The cost of the &#8220;State of the Art&#8221; security is exactly the cost of one [...]]]></description>
			<content:encoded><![CDATA[<p>There is nothing special to it, really.<br />
Would you think I&#8217;m going to spend hours in describing costs for different IPS/IDS systems, the cost of monitoring etc? No.<br />
I love simple solutions, and this post will be just as simple. </p>
<p>The cost of the &#8220;State of the Art&#8221; security is exactly the cost of one cheap computer for each employee, and the cost of a completely separate network, tied to the cheap computers. </p>
<p>I&#8217;ll explain now. </p>
<p>How do most security breaches occur? Via browsing, via е-mail attachments, and via social engineering in social networks (today, yesterday it was mostly the phone). </p>
<p>So&#8230; in order to protect your company, what did you do until now? Yes, you purchased all these security systems, and your computers/servers/users are still being &#8220;owned&#8221; by attackers.  Why? because  you&#8217;re doing the silliest thing one can do in a modern dangerous world &#8211; you&#8217;re exposing your most critical IT resources to the Internet. </p>
<p>Separate them. </p>
<p>Let your users have 1 computer (or it could be virtual if your workstations are good enough) for browsing, reading e-mail, chat, etc. And let them use another computer, for access to company critical IT systems. (I will write a detailed article on this for CIO, so stay tuned for more details). </p>
<p>Does it cost much? No. Basically, it&#8217;s just a monitor and a cheap PC &#8211; say&#8230; 400 USD per seat, including the cost of building the separate netwrok. That is a small cost, compared to what you could lose in a breach. To be honest, I would prefer the virtual solution &#8211; but it completely depends on your environment. Just keep in mind that for the virtual one &#8211; you will need to add one additional network card in each pc or server, and still need to build the completely separated network &#8211; and use that network for the virtual machines. </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/the-cost-of-security/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/the-cost-of-security/&amp;title=The+cost+of+%22State+of+the+Art%22+security" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/the-cost-of-security/&amp;title=The+cost+of+%22State+of+the+Art%22+security" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/the-cost-of-security/&amp;title=The+cost+of+%22State+of+the+Art%22+security&amp;desc=There%20is%20nothing%20special%20to%20it%2C%20really.%20%0D%0AWould%20you%20think%20I%27m%20going%20to%20spend%20hours%20in%20describing%20costs%20for%20different%20IPS%2FIDS%20systems%2C%20the%20cost%20of%20monitoring%20etc%3F%20No.%20%0D%0AI%20love%20simple%20solutions%2C%20and%20this%20post%20will%20be%20just%20as%20simple.%20%0D%0A%0D%0AThe%20cost%20of%20the%20%22State%20of%20the%20Art%22%20security%20is%20exactly%20the%20cost%20o" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/the-cost-of-security/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/the-cost-of-security/&amp;bm_description=The+cost+of+%22State+of+the+Art%22+security&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/the-cost-of-security/&amp;title=The+cost+of+%22State+of+the+Art%22+security" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/the-cost-of-security/&amp;title=The+cost+of+%22State+of+the+Art%22+security" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/the-cost-of-security/&amp;title=The+cost+of+%22State+of+the+Art%22+security" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/the-cost-of-security/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=The+cost+of+%22State+of+the+Art%22+security+-+http://b2l.me/ea7yg&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/the-cost-of-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Когато защитите паднат</title>
		<link>http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/</link>
		<comments>http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 09:21:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=412</guid>
		<description><![CDATA[Рано или късно, някой ще придобие достъп до вътрешната ви мрежа. Дали чрез social engineering, или чрез браузър експлоит, чрез пробив в уязвим сървър, приложение или просто като постъпи на ниска позиция в компанията за да открадне данни &#8211; това ще се случи Александър Свердлов Това твърдение се базира на солиден опит и много, много [...]]]></description>
			<content:encoded><![CDATA[<p><em><img class="alignleft" style="border: 0pt none; margin: 5px 10px;" title="CIO Cover" src="http://idg.bg/test/cio/2009/0714102538-Korica1.jpg" alt="" width="120" height="165" />Рано или късно, някой ще придобие достъп до вътрешната ви мрежа. Дали чрез social engineering, или чрез браузър експлоит, чрез пробив в уязвим сървър, приложение или просто като постъпи на ниска позиция в компанията за да открадне данни &#8211; това ще се случи</em></p>
<p>Александър Свердлов</p>
<p>Това твърдение се базира на солиден опит и много, много случаи в които съм виждал компрометирани защити. Нека разгледаме най-добрия възможен вариант на добре защитена компания.<span id="more-412"></span></p>
<p>Имаме изградени процедури по създаване, проверка, одобрение и изпълнение на всяка възможна промяна в бизнес системите, имаме най-добрите корпоративни защитни стени и антивирусни системи, имаме IDS и IPS системи пред и зад защитната стена, включително и на всеки клиентски компютър. Обаче&#8230; в един момент тези системи се обръщат срещу нас. Имаме сървъри, на които работят критични за бизнеса приложения. Един ден разбираме, че е налице уязвимост в сървърната операционна система, но не можем да си позволим да приложим кръпката &#8211; има опасност за бизнес процесите ако сървъра престане да работи, и просто приемаме риска. &#8220;Кой ще атакува точно нас, точно сега, с точно тази уязвимост? Едва ли. Затова, приемаме риска&#8221;.</p>
<p>Никой няма да се цели точно в нашата компания</p>
<p>Да&#8230; реално, никой няма да атакува точно сега, срещу точно тази уязвимост, точно вас. Защото наистина, едва ли на някой ще му се занимава да следи точно вашата компания и да чака да се появи уязвимост (освен ако не сте &#8220;на прицел&#8221; &#8211; ще се спра и на това) и причината е проста. Когато е налице публично експлоатирана уязвимост, т.нар. 0-day, изключително бързо на сцената излизат роботи, програмирани да сканират цели мрежови сегменти за тези уязвимости и да се възползват от тях. Никой няма да се занимава да ви атакува, да търси уязвимости, да рискува безопасността си с опасни действия &#8211; просто ще се случи автоматично. Естествено, не говорим за частни експлоити, които се търгуват на черния пазар и излизат наяве чак след като някой независим изследовател намери същата уязвимост и я публикува &#8211; тези частни експлоити се използват, когато сте под таргетирана атака.</p>
<p>Когато сте на прицел</p>
<p>Ако разполагате с информация, която може да е търсена на черния пазар &#8211; лични и банкови данни, уникален и скъп софтуер, медицински тайни, патентовани непубликувани технологии &#8211; и някъде по света някой е готов да плати за тях, има голяма вероятност също така някъде, някой по света да иска да вземе парите и да открадне информацията от вас. И ако този някой е опитна група от специалисти, &#8230; не съм чувал за случай, в който такава група да не постигне целта си и да не успее да проникне в целевата организация. Може да има такива случаи, но аз не знам за такива. Когато чуя &#8220;таргетирана компания&#8221;, чувам всъщност &#8220;компания в чиято мрежа има нарушител&#8221;.</p>
<p>Следователно е време да смените начина си на мислене &#8211; от &#8220;какви защити имаме&#8221; е време да минете на &#8220;как пазим информацията&#8221; &#8211; а ако информацията ви е от особена стойност просто приемете, че във всеки момент от време, в мрежата ви има нарушител(и). Дори не е нужно те да имат връзка помежду си &#8211; чувал съм за това как някой прониква в дадена компания, и открива следи от предишни прониквания. И ето една интересна мисъл: ако компанията знаеше за предишните, мислите ли че нямаше да изчисти тези следи? Имайки предвид това, въпросът който трябва да си задавате в момента е: &#8220;Ако в мрежата ни има нарушител, как ще предпазим данните си?&#8221;</p>
<p>Този начин на мислене може да ви предпази много по-добре, отколкото оглеждането за най-добрата защита на пазара. Просто няма такава &#8211; има най-добре продавана защита, но не най-добра сама по себе си.</p>
<p>Враг в крепостта</p>
<p>И така, имаме нарушител (не &#8220;потенциален,&#8221;, реален). Ако е в мрежата, той вече има достъп до потребителското име и парола на поне един служител в най-добрия случай, в най-лошия има достъп до домейн контролер като администратор и може да получи достъп до всяка точка в мрежата, която се контролира от този домейн контролер. Може би е придобил права да чете и модифицира информация в база данни, достъпна отвън, може би има възможност да променя корпоративния уеб-сайт и да компрометира информацията на вашите клиенти, дори да ги заразява със зловреден код&#8230; вариантите за проникване са много, фактът е един. Някой е зад &#8220;стената&#8221; от погрешната страна, и вече търси това, което ще му донесе пари или слава. Опираме до принцип, известен от десетилетия, но все още, по неизвестни никому причини, не прилаган почти никъде.</p>
<p>Defense in Depth</p>
<p>Нека поспрем за момент. Аз съм човек, който мрази сложните термини, като intrusion detection, intrusion prevention, firewalls, honeypots, и т.н. Добри маркетинг инструменти са за тези които ги продават, важното е &#8211; какво са те за вас? Дали са амулети с магична сила, които по някакъв начин ще направят информацията с която работите, неценна за потенциалните нападатели? Защото освен ако не е ценна, те ще продължат да идват, да търсят, да атакуват, докато не я получат. И никой не ви гарантира, че след като го направят, ще ви информират за постъпката си. Ако не ви информират, защо сте толкова сигурни че &#8220;се пазите&#8221;, а не, че &#8220;вече е късно&#8221;?</p>
<p>Ако сте чели руски приказки като деца, има една много интересна история с иглата, която нашият приятел Иван тръгва да търси. Тя е скрита в яйце, яйцето &#8211; в патица, патицата &#8211; в заек, заекът &#8211; е в шок&#8230; Но не в това е въпроса. Къде е уязвимостта? Историята ни показва, че моделът на защита на иглата е повреден &#8211; защитата е стъпаловидна, също като защитите (като пример) в някои информационни системи на важни български ведомства. Какъв е проблемът със стъпаловидните защити? Последното стъпало, преди самата информация. В случая с иглата &#8211; това е яйцето, и по-точно крехката му черупка.</p>
<p>Непробиваемата черупка</p>
<p>Използвайки горния пример с приказката. Смъртта на главния зъл герой е възможна, само ако някой се добере до иглата, скрита в яйцето. Възможно ли е същото да важи за смъртта на една компания? Възможно ли е дадена компания да бъде буквално изтрита от лицето на земята, ако най-големите и тайни бъдат откраднати? Отговорът е да, вие сигурно го знаете по-добре от мен.</p>
<p>Многостепенните защити ще забавят потенциалния враг, но няма да го спрат. Важното е какво правите с &#8220;иглата&#8221;, с информацията си. Каква е последната степен на защита, кое е нещото, с което пазите Вашата информация, това, след преодоляването на което някой може просто да я вземе и да я изнесе?</p>
<p>Криптирайте информацията си. Пазете ключа към криптираната информация която е критична за вашия бизнес в сейф, който не може да бъде отключен от един човек (или поне такъв с два механизъма за защита, и поне двама души трябва да имат достъп до всеки един, но никой &#8211; и до двата). Добрите стари методи на физическа защита не са отживелица. Няколкото минути които ще бъдат загубени за достъп са нищо, сравнени с потенциална тотална вреда за бизнеса.</p>
<p>Когато говорим за информация, която се съхранява на потребителски компютри и сървъри от ниско ниво без особено значение &#8211; и ако тази информация може да бъде продадена, или може да причини вреда на бизнеса ако бъде изгубена или публикувана &#8211; криптирайте и нея. Има много добри, безплатни програми за целта като TrueCrypt. Криптирането на една флаш памет отнема няколко минути, обучението на служителите да работят с програмата отнема няколко минути, колко трудно е да го въведете като практика?</p>
<p>Да, дори MI-6 не го правят &#8211; постоянно четем новини за изгубени топ секретни лаптопи и флаш памети, чиято информация не е криптирана&#8230; Е, добре, след като те не го правят, трябва ли да следваме техния пример? Или можем да се справим по-добре? Друг метод: ако всеки служител имащ достъп до конфиденциална информация, може да я достъпи само с помощта на смарт-карта с чип, върху който се пази криптографският ключ &#8211; това вече е защита, която изключително трудно се преодолява отдалечено, без физически достъп до мрежата или до вещите на служителите и искрено ви я препоръчвам.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/когато-защитите-паднат/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/&amp;title=%D0%9A%D0%BE%D0%B3%D0%B0%D1%82%D0%BE+%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D0%B5+%D0%BF%D0%B0%D0%B4%D0%BD%D0%B0%D1%82" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/&amp;title=%D0%9A%D0%BE%D0%B3%D0%B0%D1%82%D0%BE+%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D0%B5+%D0%BF%D0%B0%D0%B4%D0%BD%D0%B0%D1%82" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/&amp;title=%D0%9A%D0%BE%D0%B3%D0%B0%D1%82%D0%BE+%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D0%B5+%D0%BF%D0%B0%D0%B4%D0%BD%D0%B0%D1%82&amp;desc=%D0%A0%D0%B0%D0%BD%D0%BE%20%D0%B8%D0%BB%D0%B8%20%D0%BA%D1%8A%D1%81%D0%BD%D0%BE%2C%20%D0%BD%D1%8F%D0%BA%D0%BE%D0%B9%20%D1%89%D0%B5%20%D0%BF%D1%80%D0%B8%D0%B4%D0%BE%D0%B1%D0%B8%D0%B5%20%D0%B4%D0%BE%D1%81%D1%82%D1%8A%D0%BF%20%D0%B4%D0%BE%20%D0%B2%D1%8A%D1%82%D1%80%D0%B5%D1%88%D0%BD%D0%B0%D1%82%D0%B0%20%D0%B2%D0%B8%20%D0%BC%D1%80%D0%B5%D0%B6%D0%B0.%20%D0%94%D0%B0%D0%BB%D0%B8%20%D1%87%D1%80%D0%B5%D0%B7%20social%20engineering%2C%20%D0%B8%D0%BB%D0%B8%20%D1%87%D1%80%D0%B5%D0%B7%20%D0%B1%D1%80%D0%B0%D1%83%D0%B7%D1%8A%D1%80%20%D0%B5%D0%BA%D1%81%D0%BF%D0%BB%D0%BE%D0%B8%D1%82%2C%20%D1%87%D1%80%D0%B5%D0%B7%20%D0%BF%D1%80%D0%BE%D0%B1%D0%B8%D0%B2%20%D0%B2%20%D1%83%D1%8F%D0%B7%D0%B2%D0%B8%D0%BC%20%D1%81%D1%8A%D1%80%D0%B2%D1%8A%D1%80%2C%20%D0%BF%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%20%D0%B8%D0%BB%D0%B8%20%D0%BF%D1%80%D0%BE%D1%81%D1%82%D0%BE%20%D0%BA%D0" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/&amp;bm_description=%D0%9A%D0%BE%D0%B3%D0%B0%D1%82%D0%BE+%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D0%B5+%D0%BF%D0%B0%D0%B4%D0%BD%D0%B0%D1%82&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/&amp;title=%D0%9A%D0%BE%D0%B3%D0%B0%D1%82%D0%BE+%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D0%B5+%D0%BF%D0%B0%D0%B4%D0%BD%D0%B0%D1%82" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/&amp;title=%D0%9A%D0%BE%D0%B3%D0%B0%D1%82%D0%BE+%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D0%B5+%D0%BF%D0%B0%D0%B4%D0%BD%D0%B0%D1%82" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/&amp;title=%D0%9A%D0%BE%D0%B3%D0%B0%D1%82%D0%BE+%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D0%B5+%D0%BF%D0%B0%D0%B4%D0%BD%D0%B0%D1%82" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=%D0%9A%D0%BE%D0%B3%D0%B0%D1%82%D0%BE+%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B8%D1%82%D0%B5+%D0%BF%D0%B0%D0%B4%D0%BD%D0%B0%D1%82+-+http://b2l.me/ea7yj&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/%d0%ba%d0%be%d0%b3%d0%b0%d1%82%d0%be-%d0%b7%d0%b0%d1%89%d0%b8%d1%82%d0%b8%d1%82%d0%b5-%d0%bf%d0%b0%d0%b4%d0%bd%d0%b0%d1%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Тигрови мерки</title>
		<link>http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/</link>
		<comments>http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 09:24:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=407</guid>
		<description><![CDATA[Те могат да бъдат използвани както от държавни агенции за сигурност, така и от големи, средни, малки компании. Наричат ги &#8220;тигрови екипи&#8221;, защото начинът по който работят заедно прилича на лов &#8211; лов за слаби точки в компютърни системи. В случая обаче, те работят за вас &#8211; защото обикновено &#8220;tiger team&#8221; е вътрешен екип, борещ [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="border: 0pt none; margin: 5px;" title="cio" src="http://idg.bg/test/cio/2009/0610102815-Korica.jpg" alt="" width="120" height="165" />Те могат да бъдат използвани както от държавни агенции за сигурност, така и от големи, средни, малки компании. Наричат ги &#8220;тигрови екипи&#8221;, защото начинът по който работят заедно прилича на лов &#8211; лов за слаби точки в компютърни системи. В случая обаче, те работят за вас &#8211; защото обикновено &#8220;tiger team&#8221; е вътрешен екип, борещ се с вътрешни уязвимости, постоянно атакуващ собствената си мрежа, плътно до персоналните компютри, лаптопи, фирмени смартфони на служителите в компанията</p>
<p><em>Александър Свердлов</em><span id="more-407"></span></p>
<p>Искате ли да бъдете в състояние да заявите на своите служители, клиенти и инвеститори, че информацията им е &#8220;защитена&#8221;? Не можете да бъдете честни, правейки такова изказване, ако не е налице някой, който постоянно атакува мрежата ви и потвърждава тази защитеност на практика. Най-евтиният и понякога най-ефективният начин за целта е да създадете собствен &#8220;тигров екип&#8221;. Обикновено това формирование включва добър комуникатор (за социална инженерия), програмист, &#8220;мрежар&#8221;, специалист по *nix системи и по Windows системи, както и специалист по пробиване на уеб приложения. В зависимост от големината на компанията и нейната мрежа, всяка от тези функции може да бъде изпълнявана от повече от един човек, или пък един човек да изпълнява няколко от тях. Естествено, не всеки програмист е подходящ за целта &#8211; задължителен е опит в преодоляване на системи за сигурност, писане на експлоити, все неща, за които много разработчици само са чували от техни познати, които са виждали как техен приятел го прави&#8230; Трябва да имате предвид също, че такива хора не се намират лесно &#8211; те не четат обяви за работа, не се предлагат сами на пазара, а в редките случаи когато работят &#8220;на чисто&#8221;, са доста заети.</p>
<p><strong>Как да сформирате &#8220;tiger team&#8221;?</strong></p>
<p>Ако не разполагате вече с такива специалисти (отново подчертавам, с опит в преодоляване на системи за сигурност от най-различно естество) ви остава ви само едно &#8211; да отделите служители, и да им поставите цел &#8211; за една година да се обучат да атакуват собствената ви мрежа. В тази криза, инвестирането на цяла година заплати, време, ресурси при риска тези хора да отидат другаде по-късно, не е лесно решение. Да, това не е звучало приемливо и на нито една от държавните и частни институции, ежедневно компрометирани от най-различни индивиди &#8211; от индустриални шпиони до крадци на лична информация &#8211; въпросът е, колко плащат те, техните клиенти и партньори като резултат от това? Готови ли сте да поемете риска да загубите неизвестно количество информация, клиенти, имидж, само заради желанието си да спестите пари за обучение на такъв екип? Един-единствен penetration test в зависимост от мащабите на мрежата ви, може да струва десетки хиляди евро &#8211; и повече &#8211; а продължителността му обикновено е около седмица. Кой ще проверява системите ви за уязвимости през останалата част от годината? От тази гледна точка, собственият екип е невероятна ценност. Виждал съм как работят такива екипи в компании като Paypal, American Express, Bank Of America &#8211; например, веднага щом получат дадена система за сигурност, сървър, продукт използван в компанията за обработка на данни &#8211; те го проверяват из основи за дупки в сигурността &#8211; нещо, което извършено от външна компания ще ви струва много пари, а ако не го направите&#8230; рискувате информацията си. Вътрешния екип, ако го отгледате и се грижите за него добре, е изключително ценна придобивка. Ако искате да го направите, тази статия е за вас.</p>
<p><strong>Обучение</strong></p>
<p>Започваме от елементарните неща &#8211; всечи член на екипа трябва да придобие базови познания по ИТ сигурност, и това не може да стане с четене на книжки или ходене на курсове. Въпреки, че и в България вече се нароиха &#8220;специалисти&#8221; обучаващи в White Hat Hacking (дават и сертификати), в много случаи след като преминат тези курсове злощастните им посетители стават &#8220;penetration tester&#8221;-и, и &#8220;тестват&#8221; сигурността на компании като вашата&#8230; със същото съмнително качество, с което биха го направили техните учители.</p>
<p>Истината е, че сертификатите не значат абсолютно нищо в тази сфера. Ако отидете на, да речем, конференция &#8220;Defcon&#8221; или &#8220;BlackHat&#8221; и попитате някой от лекторите колко сертификата по ИТ сигурност притежава, ще му осигурите дневната доза смях. Все едно да питате някой шампион по бягане или вдигане на тежести, колко сертификати и какво образование притежава. Тук тези неща просто не важат &#8211; приемете го като факт. На някои сертифицирани &#8220;етични хакери&#8221; им е излязло име &#8211; &#8220;хартиени тигри&#8221; &#8211; не без причина. Те могат да ви замаят с хартийките си, но поставете ги в реална ситуация на атака &#8211; ще седят в храстите и ще се чудят откъде да започнат&#8230; тези хора са безполезни за вашата компания. Бягайте от тях. Това важи с особена сила когато наемате служители за позиция &#8220;ИТ сигурност&#8221;. Виждал съм доста обяви, съдържащи неща като &#8220;познание на тази защитна стена, тази операционна система, и този продукт&#8221;, но нито една не съдържа изискването &#8220;опит в преодоляване на системи за сигурност и защита на мрежи от външни атаки&#8221;. Такива хора трудно се намират &#8211; остава ви да обучите свои.</p>
<p><strong>История и практика</strong></p>
<p>И така, след лиричното отклонение &#8211; отново към целта &#8211; елементарните познания по ИТ сигурност. Като във всяка дисциплина, се изисква познаване на историята &#8211; на първите компютри, първите &#8220;хакове&#8221; на телефонни системи, първите стъпки на &#8220;социалните инженери&#8221; в САЩ, всички тези неща не се изучават в курсове и университети. Можете да закупите книгата &#8220;Тhe Best Of 2600&#8243; (доста дебела книга) от Amazon.com &#8211; това е една прекрасна основа, която да дадете на екипа. Също така е и съществен мотивиращ фактор, моделиращ мисленето им &#8211; вече сами ще могат да поставят цели за обучението си, с правилната насока, идваща отвътре&#8230; ако успеят да хванат &#8220;нишката&#8221;.</p>
<p>След като усвоят историята идва ред на практиката. Изисква се малко пътуване във времето &#8211; отново, назад. Сайтът <a href="http://www.phrack.org/" rel="nofollow">http://www.phrack.org/</a> е нещо, което всеки от екипа трябва да познава като буквар &#8211; като се започне от първия (исторически) брой и се стигне до последния. След като отделят няколко месеца за изучаването му (и практикуване на наученото), членовете на екипа ще имат вече и необходимите технически позания, за да направят следващата стъпка.</p>
<p><strong>Тестова среда</strong></p>
<p>Осигурете на екипа тестова среда &#8211; могат да работят и с виртуални сървъри, но е добре да имат поне 1, като минимум, с който да си играят на хардуерно ниво. Ще им трябва тестова безжична мрежа, тестова VOIP среда, тестова мрежа тотално изолирана от Интернет или от вътрешната мрежа, и втора мрежа свързана само с Интернет, но отново тотално изолирана от вътрешнофирмената среда. Един VMWare ЕSX сървър, стоящ върху 4 или 8-процесорна система и достатъчно голям дисков масив и външен сторидж, е добро минимално начало. Работните им станции, имайки предвид параметрите на съвременните компютри, би трябвало също да издържат по поне 2 едновременно работещи виртуални машини &#8211; това ще спести пари от сървъри и ще им даде повече контрол, без да зависят всички едновременно от една кутия. Създаването на тези тестови среди ще е само по себе си добра тренировка, както и поддържането им в работно състояние.</p>
<p>След като построят тестовата среда, ще им трябват сценарии за атака &#8211; за това, могат да се обърнат към множество сайтове за wargaming. Един пример &#8211; <a onmousedown="UntrustedLink.bootstrap($(this), &quot;6060bfeb59b1f8f1e496125b6c469de1&quot;, event)" rel="nofollow" href="http://www.de-ice.net/" target="_blank">http://www.de-ice.net/</a> . Още един пример: за да се научи някой да пробива уязвимости в уеб сървъри, може да използва приложения написани специално за целта &#8211; като WebGoat на проекта OWASP (www.owasp.org). Изпълнението на задачите поставени от тези сайтове изисква истинска екипна работа от хората ви.</p>
<p><strong>Оттук насетне, ролите се разделят (почти)</strong></p>
<p>На този етап всеки в екипа поема нещата в свои ръце, специализирайки в атакуване на системи от неговата област. Ако досега са четяли една и съща книга, един и същи &#8220;исторически&#8221; сайт, сега е време да се развият като индивидуални &#8220;ловци&#8221; &#8211; да намерят потенциални, приличащи на работните &#8220;възли&#8221;, опорни точки и слаби точки които могат да атакуват, и да го правят докато не се научат да пробиват. 7-8 месеца са напълно достатъчни за целта, поне за познанията, необходими им след приключване на периода за постоянна атака на работната мрежа. Социалния инженер започва да изготвя стратегии за &#8220;пускане на въдица&#8221; в своята компания, от рода на фалшиви е-мейли водещи към фалшиви сайтове с измамни полета за потребителско име и парола, обаждания по телефона измъкващи конфиденциална информация, всичко това ще му е вече познато от горните два източника, той ще може да изготви план въз основа на вече наученото и да се движи напред. В тестовата среда ще пуска имитации на корпоративния интранет, ще използва написани от програмиста &#8220;вируси&#8221; за заразяване на тестови системи. Същото важи за програмиста, мрежаря, *nix специалиста, и този който ще пробива уеб приложения &#8211; изпълнявайки своите задачи по атака на тестовата мрежа, те си помагат един на друг и напредват заедно към целта. Работейки заедно, всеки ще попие от другите знания, които ще обогатят неговата роля и ще го направят по-продуктивен.</p>
<p>Ако наистина създавате екип, а не разчитате на един човек &#8211; ще видите невероятна динамика между тях &#8211; едно е да работиш с някой върху таблица в Excel, съвсем друго е да планираш атака срещу потенциално уязвима система&#8230; това ще е нещо което ще ги задържи заедно и ще ги движи напред &#8211; ако имате шанса да ги наблюдавате как работят, ще искате всеки в компанията да работи с такъв хъс!</p>
<p><strong>Продължаваща мотивация</strong></p>
<p>За да ги стимулирате допълнително (а стимул няма да е излишен &#8211; когато си объркан, не знаеш накъде да поемеш с атаката, винаги е добре да имаш пред себе си цел) можете да им предложите бонус за всяка успешна и документирана атака. Така ще ги доближите и до &#8220;черните&#8221; им събратя, които получават понякога до 5000 долара! за малка успешна атака и открадната информация &#8211; вие едва ли ще искате да им плащате по толкова, но идеята е същата &#8211; материалният стимул работи за врага, ще сработи и за вас.</p>
<p>След завършване на едногодишния период на обучение можете да промените схемата &#8211; ще се плащат бонуси за успешни атаки вече срещу работната среда, а не тестовата &#8211; както и за &#8220;заловени&#8221; &#8220;хакери&#8221; &#8211; прекъснати атаки, проследени източници, блокирани бъдещи атаки благодарение на уловени опити &#8211; само месечната заплата не е достатъчна да накара някой да търси игла в купа сено по цял ден. Но ако плащате за всяка намерена игла&#8230; нещата се променят. Ще видите реално отразени атаки, и ще виждате мрежата си все по-защитена и по-защитена с всеки изминал ден. А това е нещо, което определено си заслужава да бъде видяно!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/тигрови-мерки/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/&amp;title=%D0%A2%D0%B8%D0%B3%D1%80%D0%BE%D0%B2%D0%B8+%D0%BC%D0%B5%D1%80%D0%BA%D0%B8" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/&amp;title=%D0%A2%D0%B8%D0%B3%D1%80%D0%BE%D0%B2%D0%B8+%D0%BC%D0%B5%D1%80%D0%BA%D0%B8" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/&amp;title=%D0%A2%D0%B8%D0%B3%D1%80%D0%BE%D0%B2%D0%B8+%D0%BC%D0%B5%D1%80%D0%BA%D0%B8&amp;desc=%D0%A2%D0%B5%20%D0%BC%D0%BE%D0%B3%D0%B0%D1%82%20%D0%B4%D0%B0%20%D0%B1%D1%8A%D0%B4%D0%B0%D1%82%20%D0%B8%D0%B7%D0%BF%D0%BE%D0%BB%D0%B7%D0%B2%D0%B0%D0%BD%D0%B8%20%D0%BA%D0%B0%D0%BA%D1%82%D0%BE%20%D0%BE%D1%82%20%D0%B4%D1%8A%D1%80%D0%B6%D0%B0%D0%B2%D0%BD%D0%B8%20%D0%B0%D0%B3%D0%B5%D0%BD%D1%86%D0%B8%D0%B8%20%D0%B7%D0%B0%20%D1%81%D0%B8%D0%B3%D1%83%D1%80%D0%BD%D0%BE%D1%81%D1%82%2C%20%D1%82%D0%B0%D0%BA%D0%B0%20%D0%B8%20%D0%BE%D1%82%20%D0%B3%D0%BE%D0%BB%D0%B5%D0%BC%D0%B8%2C%20%D1%81%D1%80%D0%B5%D0%B4%D0%BD%D0%B8%2C%20%D0%BC%D0%B0%D0%BB%D0%BA%D0%B8%20%D0%BA%D0%BE%D0%BC%D0%BF%D0%B0%D0%BD%D0%B8%D0%B8.%20%D0%9D%D0%B0%D1%80%D0%B8%D1%87%D0%B0%D1%82%20%D0%B3%D0%B8%20%22%D1%82%D0%B8%D0%B3%D1%80%D0%BE%D0%B2%D0%B8%20%D0%B5%D0%BA%D0%B8%D0%BF%D0%B8%22%2C%20%D0%B7%D0%B0%D1%89%D0%BE%D1%82%D0%BE%20%D0%BD%D0%B0%D1%87%D0%B8%D0%BD%D1%8A%D1%82%20%D0%BF%D0%BE%20%D0%BA%D0%BE%D0%B9%D1%82%D0%BE%20%D1%80%D0%B0%D0%B1%D0" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/&amp;bm_description=%D0%A2%D0%B8%D0%B3%D1%80%D0%BE%D0%B2%D0%B8+%D0%BC%D0%B5%D1%80%D0%BA%D0%B8&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/&amp;title=%D0%A2%D0%B8%D0%B3%D1%80%D0%BE%D0%B2%D0%B8+%D0%BC%D0%B5%D1%80%D0%BA%D0%B8" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/&amp;title=%D0%A2%D0%B8%D0%B3%D1%80%D0%BE%D0%B2%D0%B8+%D0%BC%D0%B5%D1%80%D0%BA%D0%B8" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/&amp;title=%D0%A2%D0%B8%D0%B3%D1%80%D0%BE%D0%B2%D0%B8+%D0%BC%D0%B5%D1%80%D0%BA%D0%B8" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=%D0%A2%D0%B8%D0%B3%D1%80%D0%BE%D0%B2%D0%B8+%D0%BC%D0%B5%D1%80%D0%BA%D0%B8+-+http://b2l.me/ea7ym&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/%d1%82%d0%b8%d0%b3%d1%80%d0%be%d0%b2%d0%b8-%d0%bc%d0%b5%d1%80%d0%ba%d0%b8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Incident response gone Wild</title>
		<link>http://www.securityguy.org/incident-response-gone-wild/</link>
		<comments>http://www.securityguy.org/incident-response-gone-wild/#comments</comments>
		<pubDate>Sun, 31 May 2009 14:42:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/incident-response-gone-bad/</guid>
		<description><![CDATA[Today a friend of mine called me and asked for help. His website apparently was hacked, but he did not know how, why&#8230; when&#8230; Ok, so I open up my browser, and see&#8230; &#8220;This site has been reported of malware&#8221; red screen of death, the Firefox one. If you try to Google for this page, [...]]]></description>
			<content:encoded><![CDATA[<p>Today a friend of mine called me and asked for help. His website apparently was hacked, but he did not know how, why&#8230; when&#8230; Ok, so I open up my browser, and see&#8230; &#8220;This site has been reported of malware&#8221; red screen of death, the Firefox one. If you try to Google for this page, same thing happens &#8211; Google had forbidden access to his site, although he was ranked №1 there. Strange? Not really. But it was devastating to his business, and a solution had to be found asap. His Twitter account got suspended for the same reason, too..</p>
<p>Ok&#8230; our next steps? Source code audit. A quick browse through the source code revealed a home-grown CMS, where NONE of the variables were protected, and a few files were infected with a known chinese web worm. Clean the worm? Not so fast security-boy! The CMS apparently was written in such a way, that if you try to strip out JS functionality, the whole system breaks up. If you try to clean the JS file, the whole system breaks up. In the end, I ended up manully modifying the core code of the CMS just to prevent future infections and clean it up. Not nice&#8230; not your regular virus/worm infection.</p>
<p>A quick remote check on his computer revealed trojans too &#8211; so who knows where the infection originated from. A complete reinstall was suggested, as well as thorough follow-up on the videos on this site in order to prevent the same thing from happening agian.</p>
<p><strong>Update: </strong>his site is restored in Google and Firefox rankings after the clean-up, just 24 hours later.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/incident-response-gone-wild/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/incident-response-gone-wild/&amp;title=Incident+response+gone+Wild" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/incident-response-gone-wild/&amp;title=Incident+response+gone+Wild" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/incident-response-gone-wild/&amp;title=Incident+response+gone+Wild&amp;desc=Today%20a%20friend%20of%20mine%20called%20me%20and%20asked%20for%20help.%20His%20website%20apparently%20was%20hacked%2C%20but%20he%20did%20not%20know%20how%2C%20why...%20when...%20Ok%2C%20so%20I%20open%20up%20my%20browser%2C%20and%20see...%20%22This%20site%20has%20been%20reported%20of%20malware%22%20red%20screen%20of%20death%2C%20the%20Firefox%20one.%20If%20you%20try%20to%20Google%20for%20this%20page%2C%20same%20thing%20happen" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/incident-response-gone-wild/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/incident-response-gone-wild/&amp;bm_description=Incident+response+gone+Wild&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/incident-response-gone-wild/&amp;title=Incident+response+gone+Wild" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/incident-response-gone-wild/&amp;title=Incident+response+gone+Wild" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/incident-response-gone-wild/&amp;title=Incident+response+gone+Wild" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/incident-response-gone-wild/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Incident+response+gone+Wild+-+http://b2l.me/ea7yp&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/incident-response-gone-wild/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Workbench</title>
		<link>http://www.securityguy.org/workbench/</link>
		<comments>http://www.securityguy.org/workbench/#comments</comments>
		<pubDate>Fri, 29 May 2009 22:53:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=397</guid>
		<description><![CDATA[I&#8217;m working on a all-in-one server for small/medium businesses, that will cover all the needs of a small office &#8211; spam filtering, web site filtering, PDC, file sharing, dns service etc. From what my testing shows, it&#8217;s amazing in performance and will serve more than well almost everybody. Stay tuned! Subscribe to the comments for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a all-in-one server for small/medium businesses, that will cover all the needs of a small office &#8211; spam filtering, web site filtering, PDC, file sharing, dns service etc.</p>
<p>From what my testing shows, it&#8217;s amazing in performance and will serve more than well almost everybody.</p>
<p>Stay tuned!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/workbench/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/workbench/&amp;title=Workbench" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/workbench/&amp;title=Workbench" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/workbench/&amp;title=Workbench&amp;desc=I%27m%20working%20on%20a%20all-in-one%20server%20for%20small%2Fmedium%20businesses%2C%20that%20will%20cover%20all%20the%20needs%20of%20a%20small%20office%20-%20spam%20filtering%2C%20web%20site%20filtering%2C%20PDC%2C%20file%20sharing%2C%20dns%20service%20etc.%0D%0A%0D%0AFrom%20what%20my%20testing%20shows%2C%20it%27s%20amazing%20in%20performance%20and%20will%20serve%20more%20than%20well%20almost%20everybody.%0D%0A%0D%0AStay" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/workbench/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/workbench/&amp;bm_description=Workbench&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/workbench/&amp;title=Workbench" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/workbench/&amp;title=Workbench" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/workbench/&amp;title=Workbench" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/workbench/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Workbench+-+http://b2l.me/ea7ys&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/workbench/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quckly find if you&#8217;re vulnerable to the latest WebDav/IIS vulnerability:</title>
		<link>http://www.securityguy.org/iis_webdav/</link>
		<comments>http://www.securityguy.org/iis_webdav/#comments</comments>
		<pubDate>Wed, 20 May 2009 13:17:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/quckly-find-if-youre-vulnerable-to-the-latest-webdaviis-vulnerability/</guid>
		<description><![CDATA[Quckly find if you&#8217;re vulnerable to the latest WebDav/IIS vulnerability: http://epixoip.pastebin.com/f9512361A And if you care exploiting&#8230; yourself? http://www.skullsecurity.org/blog/?p=285 Do you own an IIS&#38;WebDAV *combination*? Disable WebDAV.  Microsoft will probably be here with a patch in 1/2/n weeks. Subscribe to the comments for this post? Share this on del.icio.us Digg this! Post this on Diigo Post [...]]]></description>
			<content:encoded><![CDATA[<p>Quckly find if you&#8217;re vulnerable to the latest WebDav/IIS vulnerability:<br />
<a href="http://epixoip.pastebin.com/f9512361">http://epixoip.pastebin.com/f9512361A</a></p>
<p>And if you care exploiting&#8230; yourself? <a href="http://www.skullsecurity.org/blog/?p=285">http://www.skullsecurity.org/blog/?p=285</a></p>
<p>Do you own an IIS&amp;WebDAV *combination*? Disable WebDAV.  Microsoft will probably be here with a patch in 1/2/n weeks.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/iis_webdav/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/iis_webdav/&amp;title=Quckly+find+if+you%27re+vulnerable+to+the+latest+WebDav%2FIIS+vulnerability%3A" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/iis_webdav/&amp;title=Quckly+find+if+you%27re+vulnerable+to+the+latest+WebDav%2FIIS+vulnerability%3A" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/iis_webdav/&amp;title=Quckly+find+if+you%27re+vulnerable+to+the+latest+WebDav%2FIIS+vulnerability%3A&amp;desc=Quckly%20find%20if%20you%27re%20vulnerable%20to%20the%20latest%20WebDav%2FIIS%20vulnerability%3A%0D%0Ahttp%3A%2F%2Fepixoip.pastebin.com%2Ff9512361A%0D%0A%0D%0AAnd%20if%20you%20care%20exploiting...%20yourself%3F%20http%3A%2F%2Fwww.skullsecurity.org%2Fblog%2F%3Fp%3D285%0D%0A%0D%0ADo%20you%20own%20an%20IIS%26amp%3BWebDAV%20%2Acombination%2A%3F%20Disable%20WebDAV.%C2%A0%20Microsoft%20will%20probably%20be%20here%20with%20a%20" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/iis_webdav/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/iis_webdav/&amp;bm_description=Quckly+find+if+you%27re+vulnerable+to+the+latest+WebDav%2FIIS+vulnerability%3A&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/iis_webdav/&amp;title=Quckly+find+if+you%27re+vulnerable+to+the+latest+WebDav%2FIIS+vulnerability%3A" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/iis_webdav/&amp;title=Quckly+find+if+you%27re+vulnerable+to+the+latest+WebDav%2FIIS+vulnerability%3A" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/iis_webdav/&amp;title=Quckly+find+if+you%27re+vulnerable+to+the+latest+WebDav%2FIIS+vulnerability%3A" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/iis_webdav/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Quckly+find+if+you%27re+vulnerable+to+the+latest+WebDav%2FIIS+vulnerability%3A+-+http://b2l.me/ea7yu&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/iis_webdav/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>100 free ITSEC-related courses</title>
		<link>http://www.securityguy.org/diy-ciss-degree/</link>
		<comments>http://www.securityguy.org/diy-ciss-degree/#comments</comments>
		<pubDate>Tue, 12 May 2009 07:34:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>
		<category><![CDATA[education]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/100-free-itsec-related-courses/</guid>
		<description><![CDATA[I just got a message from Kelly Sonora, regarding a list of free courses they&#8217;ve assembled &#8211; it&#8217;s really good, so you should definitely check it out! http://www.computer-colleges.com/blog/2009/diy-ciss-degree-100-open-courses-on-computer-information-systems-and-security/ Subscribe to the comments for this post? Share this on del.icio.us Digg this! Post this on Diigo Post on Google Buzz Add this to Mister Wong Share [...]]]></description>
			<content:encoded><![CDATA[<p>I just got a message from Kelly Sonora, regarding a list of free courses they&#8217;ve assembled &#8211; it&#8217;s really good, so you should definitely check it out! <a href="http://www.computer-colleges.com/blog/2009/diy-ciss-degree-100-open-courses-on-computer-information-systems-and-security/">http://www.computer-colleges.com/blog/2009/diy-ciss-degree-100-open-courses-on-computer-information-systems-and-security/</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/diy-ciss-degree/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/diy-ciss-degree/&amp;title=100+free+ITSEC-related+courses" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/diy-ciss-degree/&amp;title=100+free+ITSEC-related+courses" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/diy-ciss-degree/&amp;title=100+free+ITSEC-related+courses&amp;desc=I%20just%20got%20a%20message%20from%20Kelly%20Sonora%2C%20regarding%20a%20list%20of%20free%20courses%20they%27ve%20assembled%20-%20it%27s%20really%20good%2C%20so%20you%20should%20definitely%20check%20it%20out%21%20http%3A%2F%2Fwww.computer-colleges.com%2Fblog%2F2009%2Fdiy-ciss-degree-100-open-courses-on-computer-information-systems-and-security%2F" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/diy-ciss-degree/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/diy-ciss-degree/&amp;bm_description=100+free+ITSEC-related+courses&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/diy-ciss-degree/&amp;title=100+free+ITSEC-related+courses" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/diy-ciss-degree/&amp;title=100+free+ITSEC-related+courses" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/diy-ciss-degree/&amp;title=100+free+ITSEC-related+courses" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/diy-ciss-degree/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=100+free+ITSEC-related+courses+-+http://b2l.me/ea7yw&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/diy-ciss-degree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I presented on WebTech2009!</title>
		<link>http://www.securityguy.org/i-presented-on-webtech2009/</link>
		<comments>http://www.securityguy.org/i-presented-on-webtech2009/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 21:45:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=373</guid>
		<description><![CDATA[It&#8217;s amazing being able to share your passion with others from a stage.. Thank you all who attended the &#8220;Security in Web Applications&#8221; session &#8211; I hope it was at least slightly useful and entertaining! See you on WebTech 2010! The presentation and documents you might need to understand it (40 minutes&#8230; was NOT enough [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s amazing being able to share your passion with others from a stage..</p>
<p>Thank you all who attended the &#8220;Security in Web Applications&#8221; session &#8211; I hope it was at least slightly useful and entertaining!</p>
<p>See you on WebTech 2010!</p>
<p><a href="http://www.securityguy.org/wp-content/uploads/2009/04/conf.jpeg"><img class="alignnone size-full wp-image-374" title="conf" src="http://www.securityguy.org/wp-content/uploads/2009/04/conf.jpeg" alt="conf" width="226" height="127" /></a></p>
<p>The presentation and documents you might need to understand it (40 minutes&#8230; was NOT enough <img src='http://www.securityguy.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) &#8211; <a href="http://www.securityguy.org/webtech_2009.tar.gz">http://www.securityguy.org/webtech_2009.tar.gz</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/i-presented-on-webtech2009/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/i-presented-on-webtech2009/&amp;title=I+presented+on+WebTech2009%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/i-presented-on-webtech2009/&amp;title=I+presented+on+WebTech2009%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/i-presented-on-webtech2009/&amp;title=I+presented+on+WebTech2009%21&amp;desc=It%27s%20amazing%20being%20able%20to%20share%20your%20passion%20with%20others%20from%20a%20stage..%0D%0A%0D%0AThank%20you%20all%20who%20attended%20the%20%22Security%20in%20Web%20Applications%22%20session%20-%20I%20hope%20it%20was%20at%20least%20slightly%20useful%20and%20entertaining%21%0D%0A%0D%0ASee%20you%20on%20WebTech%202010%21%0D%0A%0D%0A%0D%0A%0D%0AThe%20presentation%20and%20documents%20you%20might%20need%20to%20understand%20" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/i-presented-on-webtech2009/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/i-presented-on-webtech2009/&amp;bm_description=I+presented+on+WebTech2009%21&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/i-presented-on-webtech2009/&amp;title=I+presented+on+WebTech2009%21" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/i-presented-on-webtech2009/&amp;title=I+presented+on+WebTech2009%21" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/i-presented-on-webtech2009/&amp;title=I+presented+on+WebTech2009%21" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/i-presented-on-webtech2009/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=I+presented+on+WebTech2009%21+-+http://b2l.me/ea7yy&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/i-presented-on-webtech2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NSA Windows Vista security configuration guide</title>
		<link>http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/</link>
		<comments>http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 21:51:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=346</guid>
		<description><![CDATA[The guide is taken from NSA Security Configuration Guides, but is stripped of all the &#8220;junk&#8221;. You can download the whole package here, have in mind that except the .doc file I&#8217;m linking here (modified by me and reduced to half it&#8217;s size by deleting all the &#8220;see how great is Vista&#8221; marketing materials&#8230; ), [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en-us">The guide is taken from <a href="http://www.nsa.gov/ia/guidance/security_configuration_guides/operating_systems.shtml">NSA Security Configuration Guides</a>, but is stripped of all the &#8220;junk&#8221;. You can download the whole package <a href="http://www.nsa.gov/ia/_files/os/winvista/Windows%20Vista%20Security%20Guide.msi">here</a>, have in mind that except the .doc file I&#8217;m linking here (modified by me and reduced to half it&#8217;s size by deleting all the &#8220;see how great is Vista&#8221; marketing materials&#8230; ), there are also some scripts and security policies you will need &#8211; so head to NSA, download the .msi there, and if you like you can use the shorter guide to reduce the reading material.</span></p>
<p><span lang="en-us">Short version <a href="http://www.securityguy.org/wp-content/uploads/2009/04/windows_vista_security_guide1.doc">HERE</a></span></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/&amp;title=NSA+Windows+Vista+security+configuration+guide" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/&amp;title=NSA+Windows+Vista+security+configuration+guide" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/&amp;title=NSA+Windows+Vista+security+configuration+guide&amp;desc=The%20guide%20is%20taken%20from%20NSA%20Security%20Configuration%20Guides%2C%20but%20is%20stripped%20of%20all%20the%20%22junk%22.%20You%20can%20download%20the%20whole%20package%20here%2C%20have%20in%20mind%20that%20except%20the%20.doc%20file%20I%27m%20linking%20here%20%28modified%20by%20me%20and%20reduced%20to%20half%20it%27s%20size%20by%20deleting%20all%20the%20%22see%20how%20great%20is%20Vista%22%20marketing%20material" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/&amp;bm_description=NSA+Windows+Vista+security+configuration+guide&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/&amp;title=NSA+Windows+Vista+security+configuration+guide" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/&amp;title=NSA+Windows+Vista+security+configuration+guide" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/&amp;title=NSA+Windows+Vista+security+configuration+guide" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=NSA+Windows+Vista+security+configuration+guide+-+http://b2l.me/ebed5&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/nsa-windows-vista-security-configuration-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking fake IDs</title>
		<link>http://www.securityguy.org/tracking-fake-ids/</link>
		<comments>http://www.securityguy.org/tracking-fake-ids/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 20:18:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=338</guid>
		<description><![CDATA[There is an inherent weakness in the paper ID system. The fact that you can submit any details there, and the only thing that is really matched against you, is your face. Well, matched against what the person sees looking at you &#8211; but nowhere else. There are databases of criminals containing their faces, but [...]]]></description>
			<content:encoded><![CDATA[<p>There is an inherent weakness in the paper ID system. The fact that you can submit any details there, and the only thing that is really matched against you, is your face. Well, matched against what the person sees looking at you &#8211; but nowhere else.</p>
<p>There are databases of criminals containing their faces, but these databases have the same weakness too &#8211; the other part of the information, the textual one &#8211; name, date of birth, place of birth, etc, are matched against other textual information, and no face info is matched in the way fingerprints are.</p>
<p>I don&#8217;t know if that make it clear&#8230; so I&#8217;ll try to explain better. <span id="more-338"></span>When a fingerprint is stored in a database, it&#8217;s not an image that is stored, but sort of unique curve positions and forms, in a dotted format, much like GIS if you&#8217;re familiar with it. Dot positions are much smaller in size when stored, and much easier to compare/match.</p>
<p>So, when a criminal record is matched against a fresh fingerprint gathered at a crime scene, these dots are matched&#8230; to see if the fingerprint belongs to any already stored record.</p>
<p>Let&#8217;s try to correlate this to the face you have &#8211; and the pictures you got on your IDs. There is no practical way to match your photo to a database to see if you&#8217;re a criminal, terrorist, etc. So what do they do? They match the textual info found on your passport when you cross the border&#8230; and if you happen to keep the photo but change that info &#8211; you get &#8220;free out of jail card&#8221;&#8230; and pass the border.</p>
<p>Some countries, like Dubai, have implemented biometric checks on their borders for known criminals &#8211; retinal scan, actually, which is much better than the ones used in the States, for example. But&#8230; they&#8217;re expensive, hard to implement, you have to actually find the criminal and take his retinal reading in order to input in the database&#8230; not really practical, unless you dig money out of the ground.</p>
<p>And here comes my idea&#8230; use facial recognition to build the same dot maps used for fingerprints, to match a suspect against his photo, not against a textual data in a database. A person can switch his name in his passport, but could he change his face? Not likely&#8230; unless he&#8217;s got enough money and painkillers to go through a surgical operation every 6 months  in order to travel freely.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/tracking-fake-ids/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/tracking-fake-ids/&amp;title=Tracking+fake+IDs" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/tracking-fake-ids/&amp;title=Tracking+fake+IDs" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/tracking-fake-ids/&amp;title=Tracking+fake+IDs&amp;desc=There%20is%20an%20inherent%20weakness%20in%20the%20paper%20ID%20system.%20The%20fact%20that%20you%20can%20submit%20any%20details%20there%2C%20and%20the%20only%20thing%20that%20is%20really%20matched%20against%20you%2C%20is%20your%20face.%20Well%2C%20matched%20against%20what%20the%20person%20sees%20looking%20at%20you%20-%20but%20nowhere%20else.%0D%0A%0D%0AThere%20are%20databases%20of%20criminals%20containing%20thei" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/tracking-fake-ids/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/tracking-fake-ids/&amp;bm_description=Tracking+fake+IDs&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/tracking-fake-ids/&amp;title=Tracking+fake+IDs" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/tracking-fake-ids/&amp;title=Tracking+fake+IDs" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/tracking-fake-ids/&amp;title=Tracking+fake+IDs" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/tracking-fake-ids/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Tracking+fake+IDs+-+http://b2l.me/ebed6&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/tracking-fake-ids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shield from exploits</title>
		<link>http://www.securityguy.org/shield-from-exploits/</link>
		<comments>http://www.securityguy.org/shield-from-exploits/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 15:56:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=325</guid>
		<description><![CDATA[So, you wanted some kind of protection from 0-day exploits&#8230; here it is. Amazing work by F-Secure! http://www.f-secure.com/weblog/archives/00001607.html From their website: You may also remember that Microsoft patched MS08-078 around the same time. Multiple versions of Internet Explorer were affected on multiple versions of the Windows OS and exploit code was circulating at the time. [...]]]></description>
			<content:encoded><![CDATA[<p>So, you wanted some kind of protection from 0-day exploits&#8230; here it is.</p>
<p>Amazing work by F-Secure! <a href="http://www.f-secure.com/weblog/archives/00001607.html">http://www.f-secure.com/weblog/archives/00001607.html</a></p>
<p>From their website:<span class="rss:item"></p>
<p>You may also remember that Microsoft patched <a href="http://www.microsoft.com/technet/security/bulletin/ms08-078.mspx">MS08-078</a> around the same time. Multiple versions of Internet Explorer were affected on multiple versions of the Windows OS and exploit code was circulating at the time. Exploit Shield 0.5 was able to proactively protect against those exploits.<span id="more-325"></span></p>
<p>Exploit Shield is designed to shield Web browsers between the development of an exploit and the release of the vendor&#8217;s patch.</p>
<p>To sum up, Exploit Shield provides:</p>
<p>•  <strong>Zero Day Defense</strong>: Protects unpatched machines.<br />
•  <strong>Patch-Equivalent Protection</strong>: Vulnerability &#8220;shield&#8221; updates.<br />
•  <strong>Proactive Measures</strong>: Heuristic detection techniques.<br />
•  <strong>Protects Against All Websites</strong>: Regardless if untrusted or trusted and malicious or hacked.<br />
•  <strong>Automatic Feedback</strong>: detected exploit attempts are automatically reported to F-Secure.</span></p>
<p><span class="rss:item"><img class="alignleft" title="shield" src="http://www.f-secure.com/weblog/archives/ExploitShield_060_Beta.png" alt="" width="620" height="533" /><br />
</span></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/shield-from-exploits/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/shield-from-exploits/&amp;title=Shield+from+exploits" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/shield-from-exploits/&amp;title=Shield+from+exploits" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/shield-from-exploits/&amp;title=Shield+from+exploits&amp;desc=So%2C%20you%20wanted%20some%20kind%20of%20protection%20from%200-day%20exploits...%20here%20it%20is.%0D%0A%0D%0AAmazing%20work%20by%20F-Secure%21%20http%3A%2F%2Fwww.f-secure.com%2Fweblog%2Farchives%2F00001607.html%0D%0A%0D%0AFrom%20their%20website%3A%0D%0A%0D%0AYou%20may%20also%20remember%20that%20Microsoft%20patched%20MS08-078%20around%20the%20same%20time.%20Multiple%20versions%20of%20Internet%20Explorer%20we" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/shield-from-exploits/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/shield-from-exploits/&amp;bm_description=Shield+from+exploits&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/shield-from-exploits/&amp;title=Shield+from+exploits" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/shield-from-exploits/&amp;title=Shield+from+exploits" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/shield-from-exploits/&amp;title=Shield+from+exploits" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/shield-from-exploits/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Shield+from+exploits+-+http://b2l.me/ebd9v&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/shield-from-exploits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TEMPEST by NSA (recently unclassified)</title>
		<link>http://www.securityguy.org/tempest-by-nsa-recently-unclassified/</link>
		<comments>http://www.securityguy.org/tempest-by-nsa-recently-unclassified/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 07:45:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Securing the OS]]></category>
		<category><![CDATA[NSA]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/tempest-by-nsa-recently-unclassified/</guid>
		<description><![CDATA[I cannot stress the importance of this document enough&#8230; and how interesting it is. So&#8230; jump in! http://www.nsa.gov/public_info/_files/cryptologic_spectrum/tempest.pdf Subscribe to the comments for this post? Share this on del.icio.us Digg this! Post this on Diigo Post on Google Buzz Add this to Mister Wong Share this on Mixx Share this on Reddit Stumble upon something [...]]]></description>
			<content:encoded><![CDATA[<p>I cannot stress the importance of this document enough&#8230; and how interesting it is. So&#8230; jump in!<br />
<a href="http://www.nsa.gov/public_info/_files/cryptologic_spectrum/tempest.pdf">http://www.nsa.gov/public_info/_files/cryptologic_spectrum/tempest.pdf</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/tempest-by-nsa-recently-unclassified/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/tempest-by-nsa-recently-unclassified/&amp;title=TEMPEST+by+NSA+%28recently+unclassified%29" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/tempest-by-nsa-recently-unclassified/&amp;title=TEMPEST+by+NSA+%28recently+unclassified%29" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/tempest-by-nsa-recently-unclassified/&amp;title=TEMPEST+by+NSA+%28recently+unclassified%29&amp;desc=I%20cannot%20stress%20the%20importance%20of%20this%20document%20enough...%20and%20how%20interesting%20it%20is.%20So...%20jump%20in%21%0D%0Ahttp%3A%2F%2Fwww.nsa.gov%2Fpublic_info%2F_files%2Fcryptologic_spectrum%2Ftempest.pdf" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/tempest-by-nsa-recently-unclassified/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/tempest-by-nsa-recently-unclassified/&amp;bm_description=TEMPEST+by+NSA+%28recently+unclassified%29&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/tempest-by-nsa-recently-unclassified/&amp;title=TEMPEST+by+NSA+%28recently+unclassified%29" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/tempest-by-nsa-recently-unclassified/&amp;title=TEMPEST+by+NSA+%28recently+unclassified%29" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/tempest-by-nsa-recently-unclassified/&amp;title=TEMPEST+by+NSA+%28recently+unclassified%29" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/tempest-by-nsa-recently-unclassified/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=TEMPEST+by+NSA+%28recently+unclassified%29+-+http://b2l.me/ed9f7&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/tempest-by-nsa-recently-unclassified/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable the use of USB storage devices</title>
		<link>http://www.securityguy.org/disable-usb-storage-devices/</link>
		<comments>http://www.securityguy.org/disable-usb-storage-devices/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 14:05:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[disable usb]]></category>

		<guid isPermaLink="false">http://www.securityguy.org/?p=225</guid>
		<description><![CDATA[If you ever wanted to disable the use of USB storage devices at your organization, like USB flash drives or external hard drives, this article is for you. Look no further. You can do it with the built-in tools you have in your Active Directory environment. First, download the Group Policy Management Console here. Install [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever wanted to disable the use of USB storage devices at your organization, like USB flash drives or external hard drives, this article is for you.</p>
<p>Look no further. You can do it with the built-in tools you have in your Active Directory environment.<br />
First, download the Group Policy Management Console <a title="GPMC @ MS" href="http://download.microsoft.com/download/a/d/b/adb5177d-01a7-4f04-bfcc-cb7cea8b5bb7/gpmc.msi">here</a>. Install it.</p>
<p>To prevent users from <strong>using</strong> usb drives, you will need <a class="downloadlink" href="http://www.securityguy.org/wp-content/plugins/download-monitor/download.php?id=1" title=" downloaded 768 times" >USB block ADM file (768)</a>.</p>
<p>To prevent users from <strong>writing to</strong> usb drives, you will need <a class="downloadlink" href="http://www.securityguy.org/wp-content/plugins/download-monitor/download.php?id=2" title=" downloaded 519 times" >USB write protect ADM (519)</a>.<br />
<span id="more-225"></span></p>
<p><strong>An additional step that needs to be performed before the above tip will work has to do with modifying the file access permissions for 2 files. You need to remove the SYSTEM access permissions from the usbstor.sys and usbstor.inf files.</strong></p>
<p>You can do so by right clicking these files &gt; Properties, then going to the Security tab. There you need to remove the line for the SYSTEM account.</p>
<p><strong>Note:</strong> Under some circumstances, the SYSTEM should have write access to these files during Service Pack installation. For example, when the SP is installed via GPO or SMS, the installation runs under the SYSTEM Account.</p>
<p>Service Pack needs to replace the files to a new version and without proper write access to the file, installation will fail&#8230; Therefore, before each SP deployment we need to allow access to the SYSTEM account for these files.</p>
<p><strong>Adding .ADM files to the Administrative Templates in a GPO</strong></p>
<p>In order to add additional .ADM files to the existing Administrative Templates section in GPO please follow the next steps:</p>
<ol>
<li>Open the Group Policy Management Console (or GPMC) from the Administrative Tools folder in the Stat menu, or by typing gpmc.msc in the Run command.Note: GPMC is not a built-in part of Windows 2000/XP/2003, and needs to be separately installed, yet remember it can only be used effectively on Windows Server 2003-based Active Directory.<br />
If you do not have GPMC or cannot install it then you&#8217;ll need to edit the GPO via the regular means, i.e. from Active Directory Users and Computers management tool (dsa.msc).</li>
<li>Right-click an existing GPO (or create an new GPO, then right-click on it) and select Edit.</li>
<li>Expand either the Computer settings or Users settings sections of the GPO. Go to the appropriate Administrative Templates section and right-click it. Select Add/Remove Templates.</li>
<li>In the Add/Remove Templates window click Add.</li>
<li>Browse to the location of the required .ADM file and click Open.</li>
<li>In the Add/Remove Templates window notice that the new .ADM file is listed, then click Close.<br />
Now re-open the Administrative Templates section and browse to the new settings location.</li>
</ol>
<p><strong>Disabling GPO settings filtering<br />
</strong><br />
Many custom Administrative Templates require you to remove the requirement to show policy settings that can be fully managed in the GPO editor. To do so follow the next steps:</p>
<ol>
<li>After completing the above procedure, browse to the newly added Administrative Template section.<br />
Note that the section is indeed listed, however in the right-pane is empty.</li>
<li>Right-click an empty spot in the right pane and select View &gt; Filtering.</li>
<li>In the Filtering window click to un-mark the &#8220;Only show policy settings that can be fully managed&#8221; option. Then click Ok.<br />
Notice how the available options are now displayed in the right pane.</li>
</ol>
<p>You can now configure these options as you please.</p>
<p><strong>Replicating the added .ADM files across the domain<br />
</strong><br />
When adding new .ADM files to any GPO you actually place new features in the Administrative Templates section for that GPO. These settings should be accessible from any DC, and should apply to any computer that is affected by that GPO.</p>
<p>However, if the .ADM files were added, for example, when sitting on DC1, how do you make sure they are also replicated to DC2, DC3 and so on?</p>
<p>Well, luckily for us, in most cases there are no additional configuration steps involved. When adding the new .ADM file it is automatically uploaded to the following location on the DC that was used to edit the GPO (usually &#8211; the PDC Emulator,</p>
<p>%SystemRoot%\SYSVOL\sysvol\domain name\Policies\{GPO GUID}\Adm</p>
<p>Because all of the SYSVOL folder is shared and automatically replicated all over the domain, the uploaded .ADM file will automatically replicated to all the GPO instances on all DCs in the domain.</p>
<p>However this might cause a problem when using too many templates and too many GPOs, especially on slow WAN links.</p>
<p>In Windows Server 2003, the size of the Administrative Templates has grown when compared to the same .ADM files in Windows 2000. As a result, the entire set of Administrative Templates has grown to almost 1.75MB. When you multiply this size by each Policy that SYSVOL contains, you can see that much space is devoted to these templates.</p>
<p>For example, for a large corporation with 1200 GPOs in place, the entire SYSVOL folder (where the GPOs are located on each DC) can take up more than 1GB of hard disk space. Replicating such a folder over the WAN (especially when promoting a new DC) can be very problematic.</p>
<p><strong>Removing .ADM files from an existing GPO<br />
</strong><br />
Whenever you do not need the added feature anymore you can simply reverse the process and instead of adding new .ADM files &#8211; removing them.</p>
<p>Before removing an Administrative Template, make sure you modify its policy settings and wait for Group Policy to refresh on all the computers that were supposed to be effected by the GPO. This is because removing an Administrative Template that was previously installed does not change or remove any Registry settings that the GPO deployed when Group Policy was last processed.</p>
<p><strong>UPDATE:</strong> <a href="http://www.intelliadmin.com/blog/2007/01/disable-usb-flash-drives.html">http://www.intelliadmin.com/blog/2007/01/disable-usb-flash-drives.html</a> is one good resource on locking the drives, too. Just run the exe&#8217;s from the bottom of the post and you should be fine.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.securityguy.org/disable-usb-storage-devices/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.securityguy.org/disable-usb-storage-devices/&amp;title=How+to+disable+the+use+of+USB+storage+devices" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.securityguy.org/disable-usb-storage-devices/&amp;title=How+to+disable+the+use+of+USB+storage+devices" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.securityguy.org/disable-usb-storage-devices/&amp;title=How+to+disable+the+use+of+USB+storage+devices&amp;desc=If%20you%20ever%20wanted%20to%20disable%20the%20use%20of%20USB%20storage%20devices%20at%20your%20organization%2C%20like%20USB%20flash%20drives%20or%20external%20hard%20drives%2C%20this%20article%20is%20for%20you.%0D%0A%0D%0ALook%20no%20further.%20You%20can%20do%20it%20with%20the%20built-in%20tools%20you%20have%20in%20your%20Active%20Directory%20environment.%0D%0AFirst%2C%20download%20the%20Group%20Policy%20Manage" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.securityguy.org/disable-usb-storage-devices/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.securityguy.org/disable-usb-storage-devices/&amp;bm_description=How+to+disable+the+use+of+USB+storage+devices&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.securityguy.org/disable-usb-storage-devices/&amp;title=How+to+disable+the+use+of+USB+storage+devices" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.securityguy.org/disable-usb-storage-devices/&amp;title=How+to+disable+the+use+of+USB+storage+devices" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.securityguy.org/disable-usb-storage-devices/&amp;title=How+to+disable+the+use+of+USB+storage+devices" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.securityguy.org/disable-usb-storage-devices/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+to+disable+the+use+of+USB+storage+devices+-+http://b2l.me/ebd9q&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.securityguy.org/disable-usb-storage-devices/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
