<?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>Increased Visibility</title>
	<atom:link href="http://intellavis.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://intellavis.com/blog</link>
	<description>Ramblings of an Information Security Professional</description>
	<lastBuildDate>Mon, 14 May 2012 00:07:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Tips and Tricks with OSSEC Rules</title>
		<link>http://intellavis.com/blog/?p=257</link>
		<comments>http://intellavis.com/blog/?p=257#comments</comments>
		<pubDate>Sun, 13 May 2012 23:49:44 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Security Monitoring]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=257</guid>
		<description><![CDATA[ Here are some tips I've found that make dealing with OSSEC rules easier.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="OSSEC Logo" src="http://farm8.staticflickr.com/7223/7191908838_2428b066ea.jpg" alt="" width="320" height="112" /></p>
<p>Like other open source projects, OSSEC suffers from a lack of good documentation. If you&#8217;re not paying for support, getting simple things done can take a bit of experimentation. Here are some tips and tricks I&#8217;ve found that make dealing with OSSEC rules easier.</p>
<h3>Update OSSEC Rules</h3>
<p>Daniel Cid, the OSSEC creater, updates rules and adds them to an updated installation tarball on <a href="https://bitbucket.org/dcid/ossec-hids/downloads">Bitbucket</a>. Earlier this month, he <a href="http://dcid.me/2012/05/ossec-rule-for-the-php-cgi-vulnerability/">added a rule</a> to flag and block the rash of recent PHP-CGI vulnerability scans.</p>
<p>To update OSSEC rules and decoders, I grab these installation files and update my OSSEC installation every so often.</p>
<blockquote><p>wget https://bitbucket.org/dcid/ossec-hids/get/tip.tar.gz<br />
gunzip -d dcid-ossec-hids-034fed895369.tar.gz<br />
tar -xvf dcid-ossec-hids-034fed895369.tar<br />
sudo ./install.sh</p></blockquote>
<p>Follow the <a href="http://www.ossec.net/main/manual/manual-installation">installation instructions</a>. It will detect that you already have it installed and ask:</p>
<blockquote><p>- You already have OSSEC installed. Do you want to update it? (y/n): y<br />
- Do you want to update the rules? (y/n): y</p></blockquote>
<p>Answer “y” to these questions and it will update everything properly. Your local rules and configuration options will not be modified.</p>
<h3>Tuning: Filtering Out Noise</h3>
<p>Like any other IDS, OSSEC generates an amount of false positives and other alerts that represent activity that is acceptable in your environment. In order to see the valid issues, you need to decrease the level of noise. One way to do so is by adding local rules that decrease the OSSEC alert level of the event in question to 0.</p>
<p>For a more in depth discussion about filtering out false positives and other examples, check out <a href="http://www.ossec.net/ossec-docs/OSSEC-book-ch4.pdf">chapter 4</a> of the OSSEC book.</p>
<p>Here is an example. I have an alert on an Antivirus scan of a file that timed out:</p>
<p><img class="alignnone" title="AV Alert" src="http://farm6.staticflickr.com/5155/7192083512_717568daa2.jpg" alt="" width="500" height="346" /></p>
<p>I want an alert when AV finds a malicious file, but not when an AV scan of a file times-out. I am going to add a rule to the local rules file that drops the severity of this AV rule to &#8220;0&#8243;. To add a rule, edit the following file: /var/ossec/rules/local_rules.xml</p>
<blockquote><p>sudo vi  /var/ossec/rules/local_rules.xml</p></blockquote>
<p>I added the following rule. This matches anything with the text &#8220;has taken too long to complete and is being canceled&#8221; that is alerted on by the offending rule &#8220;7509&#8243; and assigns a new priority level.</p>
<blockquote><p>&lt;rule id=&#8221;100504&#8243; level=&#8221;0&#8243;&gt;<br />
&lt;if_sid&gt;7509&lt;/if_sid&gt;<br />
&lt;match&gt;has taken too long to complete and is being canceled&lt;/match&gt;<br />
&lt;description&gt;Ignoring AV scan timeouts.&lt;/description&gt;<br />
&lt;/rule&gt;</p></blockquote>
<p>After saving the file with the new rule, restart OSSEC.</p>
<blockquote><p>sudo /var/ossec/bin/ossec-control stop<br />
sudo /var/ossec/bin/ossec-control start</p></blockquote>
<h3>Sources</h3>
<p><a href="http://www.ossec.net">http://www.ossec.net</a><br />
<a href="http://www.amazon.com/gp/product/159749240X/ref=as_li_ss_tl?ie=UTF8&amp;tag=increavisibi- 20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=159749240X">OSSEC HIDS</a> (Amazon Link)</p>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=257</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2012 Central Ohio InfoSec Summit</title>
		<link>http://intellavis.com/blog/?p=195</link>
		<comments>http://intellavis.com/blog/?p=195#comments</comments>
		<pubDate>Mon, 07 May 2012 12:30:08 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=195</guid>
		<description><![CDATA[May 17th and 18th - two days and three tracks of information security goodness!]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="InfoSec" src="http://farm6.staticflickr.com/5079/6951647430_93790b80e7.jpg" alt="" width="280" height="52" /></p>
<p>Two days and three tracks of information security goodness.</p>
<h3>Where</h3>
<p><a href="http://maps.google.com/maps/place?cid=2018867376461081840&amp;q=Hyatt+Regency+Columbus++350+North+High+Street++Columbus,+Ohio,+USA+43215&amp;hl=en&amp;t=h&amp;dtab=2&amp;ie=UTF8&amp;ll=39.971496,-83.00231&amp;spn=0.022989,0.045447&amp;z=15&amp;vpsrc=0">Hyatt Regency Columbus</a><br />
350 North High Street<br />
Columbus, Ohio, USA 43215</p>
<h3>When</h3>
<p>May 17, 18</p>
<p><a href="http://www.centralohioissa.org/?page_id=935">Agenda</a><br />
<a href="http://www.centralohioissa.org/?page_id=898">Speakers</a><br />
<a href="http://centralohioissa.com/registration/event-registration?ee=11">Registration</a></p>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=195</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manage Your ASSets: NMAP Automation</title>
		<link>http://intellavis.com/blog/?p=233</link>
		<comments>http://intellavis.com/blog/?p=233#comments</comments>
		<pubDate>Mon, 30 Apr 2012 14:00:58 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[SBN]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Vulnerability Management]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=233</guid>
		<description><![CDATA[I have automated, weekly NMAP scans that run, compare the results against the previous week's scans, and email me with what has changed on my network.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="NMAP Logo" src="http://farm9.staticflickr.com/8012/7102082403_ea1aac0f42_o.gif" alt="" width="200" height="155" /><br />
The first step of a vulnerability management program is maintaining an asset inventory. In order to keep software up-to-date, you need to know what software is there. Even if you have good change management practices, you still have the occasional rogue server or service at best and a hacked server with a rootkit and backdoor at worst.</p>
<p>I&#8217;ve set up an automated, weekly nmap scan that runs, compares the results against the previous week&#8217;s scan, and emails me with what has changed on my network. Attached to the email is the nmap output so I can dive deeper if something suspicious appears in the changes.</p>
<h3>Weekly Email</h3>
<p><img class="alignnone" title="NMAP Email" src="http://farm9.staticflickr.com/8020/6956013062_787569e5f3.jpg" alt="" width="500" height="431" /></p>
<h3>Tools</h3>
<p><a href="http://nmap.org">Nmap</a>, or Network Mapper, is a security scanner used to discover hosts and services on a computer network, thus creating a &#8220;map&#8221; of the network. To accomplish its goal, Nmap sends specially crafted packets to the target host and then analyzes the responses.</p>
<p>One of the scripts installed with Nmap is <a href="http://nmap.org/ndiff/">Ndiff</a>. It is a tool that compares two Nmap scans. Specifically, it takes two Nmap XML output files and prints the differences between them. This shows you hosts coming up and down and ports becoming open or closed. <a href="http://twitter.com/#!/gordonlyon">Fyodor&#8217;s</a> <a href="http://www.amazon.com/gp/product/0979958717/ref=as_li_ss_tl?ie=UTF8&amp;tag=increavisibi-  20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0979958717">NMAP Book</a> has a simple <a href="http://nmap.org/book/ndiff-man-periodic.html">script</a> that I&#8217;ve altered and automated using cron.</p>
<h3>The Script</h3>
<p>This script lives in my home directory.</p>
<blockquote><p>#!/bin/sh<br />
# scans &#8220;TARGETS&#8221; with nmap<br />
# compares with previous scan using ndiff<br />
# emails results</p>
<p>#variables<br />
TARGETS=&#8221;x.x.1.0/24 x.x.11.0/24 x.x.88.0/24&#8243;<br />
OPTIONS=&#8221;-v -T3 -F -sV &#8211;datadir /home/pubal/nmap&#8221;<br />
date=`date +%F`</p>
<p>#where to put scans<br />
cd /home/pubal/scans</p>
<p>#scan<br />
nmap $OPTIONS $TARGETS -oA scan-$date &gt; /dev/null</p>
<p>#compare scans<br />
if [ -e scan-prev.xml ]; then<br />
ndiff scan-prev.xml scan-$date.xml &gt; diff-$date<br />
echo &#8220;*** NDIFF RESULTS ***&#8221;<br />
cat diff-$date<br />
echo<br />
fi<br />
echo &#8220;*** NMAP RESULTS ***&#8221;<br />
cat scan-$date.nmap<br />
ln -sf scan-$date.xml scan-prev.xml</p>
<p>#email results<br />
/home/pubal/email/smtp-cli.pl &#8211;host smtp.gmail.com &#8211;port 587 &#8211;from pubal@gmail.com &#8211;to pubal@company.org &#8211;subject &#8220;External Nmap Diff&#8221; &#8211;body-plain=/home/pubal/scans/diff-$date &#8211;attach=/home/pubal/scans/scan-$date.xml</p></blockquote>
<p>I configured cron to run this script every weekend.</p>
<blockquote><p>pubal@sectools:~$ crontab -l</p>
<p>0 1 * * 6 /home/pubal/nmap/network_diff.sh</p></blockquote>
<h3>More Fun NMAP Tricks</h3>
<p>NMAP is free and extremely useful tool. If you want other tips, pick up the NMAP book!<br />
<a href="http://www.amazon.com/gp/product/0979958717/ref=as_li_ss_il?ie=UTF8&amp;tag=increavisibi-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0979958717"><img src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&amp;Format=_SL110_&amp;ASIN=0979958717&amp;MarketPlace=US&amp;ID=AsinImage&amp;WS=1&amp;tag=increavisibi-20&amp;ServiceVersion=20070822" alt="" border="0" /></a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=increavisibi-20&amp;l=as2&amp;o=1&amp;a=0979958717" alt="" width="1" height="1" border="0" /></p>
<h3>Other Sources</h3>
<p><a href="http://nmap.org">NMAP</a><br />
<a href="http://www.sans.org/critical-security-controls/"> SANS Critical Security Controls</a><br />
<a href="http://www.logix.cz/michal/devel/smtp-cli/"> Useful Email Command Line Script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=233</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security MBA: May 7</title>
		<link>http://intellavis.com/blog/?p=250</link>
		<comments>http://intellavis.com/blog/?p=250#comments</comments>
		<pubDate>Fri, 27 Apr 2012 18:03:31 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=250</guid>
		<description><![CDATA[For up-to-date security news, conversation, and beer; come enjoy this month's Security MBA, May 7.]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="SMBA" src="http://farm8.staticflickr.com/7041/7119126157_ae9a816619_n.jpg" alt="" width="320" height="131" /></p>
<p>If you like security and beer &#8211; THIS is the event for you!</p>
<p><a href="http://www.eventbrite.com/event/3225867657/">http://www.eventbrite.com/event/3225867657/</a></p>
<p>Where:<br />
G Worthy&#8217;s<br />
2151 W. Dublin Granville Rd.<br />
Worthington, OH 43085</p>
<p>**The location changed; be sure to come to the right place! </p>
<p>When<br />
May 7, 2012 &#8211; 5:30 PM</p>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=250</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSSEC &amp; Splunk: SIEM for Everyone</title>
		<link>http://intellavis.com/blog/?p=201</link>
		<comments>http://intellavis.com/blog/?p=201#comments</comments>
		<pubDate>Mon, 23 Apr 2012 12:00:11 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[SBN]]></category>
		<category><![CDATA[Security Monitoring]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=201</guid>
		<description><![CDATA[OSSEC combined with Splunk is a free and worthy SIEM solution. Here is an overview and high level guide to getting it up and running.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Logo" src="http://farm6.staticflickr.com/5120/6954135416_7f73e0cd1a_m.jpg" alt="" width="234" height="149" /></p>
<p>Security monitoring is essential if you want to know what is going on in your network. You need to monitor server and network logs along with account status and usage. Even on a shoestring budget, one must pay attention. Not to mention, this meets several compliance (PCI, SOX, etc&#8230;) requirements.</p>
<p>OSSEC combined with Splunk is a free and worthy SIEM solution. OSSEC is open source, and Splunk free allows up to 500 MB of daily logs.</p>
<p><a href="http://www.ossec.net">OSSEC</a> is an Open Source Host-based Intrusion Detection System. It performs log analysis, integrity checking, Windows registry monitoring, rootkit detection, real-time alerting, and active response. It runs on most operating systems, including Linux, OpenBSD, FreeBSD, Mac OS X, Solaris, and Windows.</p>
<p><a href="http://www.splunk.com">Splunk</a> searches, monitors, and analyzes machine-generated data by applications, systems, and IT infrastructure at scale via a web-style interface. Splunk captures, indexes, and correlates real-time data in a searchable repository from which it can generate graphs, reports, alerts, dashboards, and visualizations.</p>
<p>Together, you have a powerful method to monitor endpoints, alerts based on suspicious activity delivered via email, a dashboard view of coorelated events, lots of canned reports, and an easy way to search through the security information.</p>
<h3>Splunk Dashboard</h3>
<h3><img class="alignnone" title="Dashboard" src="http://farm6.staticflickr.com/5324/7100241131_7695787e8a_z.jpg" alt="" width="640" height="383" /></h3>
<h3>OSSEC Email Alert &amp; Splunk Search</h3>
<h3><img class="alignleft" title="Email Alert" src="http://farm6.staticflickr.com/5238/6954201874_197c22a85b_n.jpg" alt="" width="200" /><img class="alignnone" title="Search" src="http://farm6.staticflickr.com/5456/6954214908_34879e81c2_n.jpg" alt="" width="340" /></h3>
<h3>Install OSSEC</h3>
<p>To get this set up, first we need to install OSSEC. The OSSEC management software runs on Linux. For full installation directions for both server and agents, OSSEC makes <a href="http://www.ossec.net/ossec-docs/OSSEC-book-Ch02_SA240.pdf">chapter two</a> of the <a href="http://www.amazon.com/gp/product/159749240X/ref=as_li_ss_tl?ie=UTF8&amp;tag=increavisibi-  20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=159749240X">OSSEC book</a> available. The following installs the OSSEC server. <a href="http://www.ossec.net/main/downloads">Download</a> and install OSSEC.</p>
<blockquote><p>pubal@ossec01:~&gt; wget http://www.ossec.net/files/ossec-hids-2.6.tar.gz<br />
pubal@ossec01:~&gt; gunzip -d ossec-hids-2.6.tar.gz<br />
pubal@ossec01:~&gt; tar -xvf ossec-hids-2.6.tar<br />
pubal@ossec01:~&gt; cd ossec-hids-2.6<br />
pubal@ossec01:~&gt; sudo ./install.sh<br />
pubal@ossec01:~&gt; /var/ossec/bin/ossec-control start</p></blockquote>
<h3>Install Splunk</h3>
<p>After OSSEC is in place, <a href="http://www.splunk.com/download">download</a> and install Splunk. I&#8217;m only monitoring some high risk assets with this deployment, so I put Splunk on the same server as the OSSEC management software. Splunk has a <a href="http://docs.splunk.com/Documentation/Splunk/4.3.1/Installation/InstallonLinux">guide</a> and a <a href="http://www.splunk.com/web_assets/education/splunk101/43/InstallLinux/index.htm">video</a> to walk you through the installation.</p>
<blockquote><p>pubal@ossec01:~&gt; wget http://www.splunk.com/index.php/download_track?file=4.3.1/splunk/linux/splunk-4.3.1-119532-linux-2.6-x86_64.rpm&amp;ac=&amp;wget=true&amp;name=wget&amp;typed=releases<br />
pubal@ossec01:~&gt; rpm -i splunk-4.3.1-119532-linux-2.6-x86_64.rpm<br />
pubal@ossec01:~&gt; /opt/splunk/bin/splunk start</p></blockquote>
<h3>Install the OSSEC for Splunk Application</h3>
<p><a href="http://splunk-base.splunk.com/">Splunkbase</a>, a repository of Splunk applications, has an OSSEC application. It contains parsing logic, saved searches, canned reports, and dashboards. As long as OSSEC is installed in the default path, it will automatically configure Splunk to pull in the OSSEC logs and alerts. With some minor configuration, it will even let you manage agents through the Splunk console.</p>
<p>Download the <a href="http://splunk-base.splunk.com/apps/22285/splunk-for-ossec-splunk-v4-version">OSSEC for Splunk</a> application and point your browser to your new Splunk site. The console will allow you to upload the file you just acquired and install the application.</p>
<blockquote><p>Download <a href="http://splunk-base.splunk.com/apps/22285/splunk-for-ossec-splunk-v4-version">OSSEC for Splunk</a>.<br />
Go to Splunk Console -&gt; http://&lt;servername&gt;:8000/<br />
Click on App in the top menu, and upload the application.</p></blockquote>
<p><img class="alignnone" title="Directions" src="http://farm8.staticflickr.com/7272/7100374755_3206b04b6d.jpg" alt="" width="500" height="346" /></p>
<h3>Conclusion</h3>
<p>Getting OSSEC logs and alerts into Splunk is a breeze. There is a bit of work to get OSSEC agents on the servers and devices you want to monitor. Like every other SIEM I&#8217;ve encountered, in order to get any real value there is a good bit of tuning you need to do. However, once you get this up and running, you&#8217;ll have a solid log managment and security monitoring solution at your fingertips.</p>
<h3>Sources</h3>
<p><a href="http://www.ossec.net">http://www.ossec.net</a><br />
<a href="http://www.splunk.com">http://www.splunk.com</a><br />
<a href="http://www.amazon.com/gp/product/159749240X/ref=as_li_ss_tl?ie=UTF8&amp;tag=increavisibi-  20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=159749240X">OSSEC HIDS</a> (Amazon Link)</p>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=201</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ISSA Meeting: April 18</title>
		<link>http://intellavis.com/blog/?p=189</link>
		<comments>http://intellavis.com/blog/?p=189#comments</comments>
		<pubDate>Sun, 01 Apr 2012 19:49:36 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=189</guid>
		<description><![CDATA[ISSA of Central Ohio will host its April meeting at J. Liu in Worthington on April 18th starting at 7:45 AM. ]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="ISSA" src="http://farm8.staticflickr.com/7210/7088246261_bf21b8e8c0.jpg" alt="" width="376" height="139" /></p>
<h2>April Central Ohio ISSA Chapter Meeting</h2>
<p>Where: J. Liu Restaurant, Worthington<br />
When: Wednesday April 18th, 2012<br />
Time: 7:45 AM – 11:30 AM</p>
<p>&nbsp;</p>
<h3>Presentations</h3>
<p>Phishing Attacks &#8211; Aaron Ansari<br />
Case Study: Breach in the Cloud &#8211; Matt Curtin<br />
Regulatory Update &#8211; Mehmet Munur<br />
Setting Up Internal Sting Operations &#8211; Brent Huston</p>
<p>&nbsp;</p>
<p><a href="http://www.centralohioissa.org/?p=1061">http://www.centralohioissa.org/?p=1061</a></p>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=189</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Demonstrating XSS with BeEF</title>
		<link>http://intellavis.com/blog/?p=168</link>
		<comments>http://intellavis.com/blog/?p=168#comments</comments>
		<pubDate>Mon, 14 Jun 2010 16:00:39 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[SBN]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Vulnerability Management]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=168</guid>
		<description><![CDATA[The Browser Exploitation Framework is used to capture the login credentials of a site's users as they authenticate to the site.]]></description>
			<content:encoded><![CDATA[<p>Cross-site scripting (XSS) is a type of web application vulnerability that enables malicious attackers to inject client-side script into web pages viewed by other users. The idea is that in a vulnerable page, you can include your own code that runs in other people&#8217;s browsers. The non-persistent, or reflected, cross-site scripting vulnerability is the most common and easily detected type. These holes show up when the data provided by a web client, most commonly in HTTP query parameters or in HTML form submissions, is used immediately by server-side scripts to generate a page of results for that user without properly sanitizing the response.</p>
<p>In this case, the text entered by the user in the “Company” field upon a failed login is sent back to the user unaltered immediately in the form of an authentication failure message. An attacker could leverage this to inject malicious code in to the browser of the user trying to login.</p>
<p><img class="alignnone" src="http://farm5.static.flickr.com/4054/4697884954_893af3588a_o.jpg" alt="" width="188" height="185" /><img class="alignnone" src="http://farm2.static.flickr.com/1306/4697255435_bb99eb7b77.jpg" alt="" width="419" height="113" /></p>
<p>I wanted to show the client that this is an issue, and I wanted to use something beyond, “look, this makes a pop-up box on the client that says ‘vulnerable to XSS.’” To do this, I used the Browser Exploitation Framework.</p>
<p>BeEF is the Browser Exploitation Framework. It is a tool that can be used to demonstrate the real-time impact of XSS browser vulnerabilities. It uses a modular structure making new development a trivial process. It can demonstrate the collecting of zombie browsers and browser vulnerabilities in real-time. It provides a command and control interface which facilitates the targeting of individual or groups of zombie browsers. Current modules include metasploit, port scanning, keylogging, TOR detection, and more.</p>
<p>The vulnerable form in questions uses POST variables. As a proof of concept, I created an HTML page with a form that uses JavaScript and runs when the page loads to attempt authentication against this login form injecting script from BeEF.</p>
<p><img class="aligncenter" src="http://farm5.static.flickr.com/4018/4697941982_7d21e3420d_b.jpg" alt="" width="542" height="215" /></p>
<p>When a user of the application loads this page, he will automatically get redirected to the login page. In the user’s browser, BeEF loads JavaScript in an iFrame and is able to capture keystrokes. As the user types in his credentials, the attacker can see them from another terminal.</p>
<p><img class="aligncenter" src="http://farm5.static.flickr.com/4071/4697333391_cca8cfef08.jpg" alt="" width="500" height="344" /></p>
<p>The Browser Exploitation Framework has a lot of other fun modules besides keylogging. I highly recommend playing around with it to see what all it can do. At the very least, it&#8217;s useful in demonstrating that there is real risk in XSS vulnerabilities. The easiest way to get it up and running is to use a linux distribution with BeEF pre-installed. The Samurai Web Testing Framework comes with BeEF and lots of other web application security tools.</p>
<p>Sources:</p>
<ul>
<li>XSS Cheat Sheet &#8211; <a href="http://ha.ckers.org/xss.html">http://ha.ckers.org/xss.html</a></li>
<li>BeEF &#8211; <a href="http://www.bindshell.net/tools/beef/">http://www.bindshell.net/tools/beef/</a></li>
<li>SamuraiWTF- <a href="http://samurai.inguardians.com/">http://samurai.inguardians.com/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=168</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ISACA Whitepaper: Social Media Risks</title>
		<link>http://intellavis.com/blog/?p=163</link>
		<comments>http://intellavis.com/blog/?p=163#comments</comments>
		<pubDate>Sun, 13 Jun 2010 02:27:13 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[SBN]]></category>
		<category><![CDATA[Security News]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=163</guid>
		<description><![CDATA[ISACA released an interesting and though provoking white paper digging in to the risks that social media poses. It covers vulnerabilities, threats, risks, and mitigating techniques.]]></description>
			<content:encoded><![CDATA[<p>Social media is being widely adopted as a marketing tool and vehicle for reaching customers in unprecedented ways. You can&#8217;t watch television without seeing a commercial that mentions either Facebook or Twitter. Even if you work for a company that is not using social media, I guarantee that both your employees and customers are. Those employees could breach company security, hurt the company&#8217;s image, or open the company up to malware.</p>
<p>ISACA released an interesting and though provoking white paper digging in to the risks that social media poses. It covers vulnerabilities, threats, risks, and mitigating techniques.</p>
<p><a href="http://www.isaca.org/Knowledge-Center/Research/Documents/Social-Media-Wh-Paper-26-May10-Research.pdf">http://www.isaca.org/Knowledge-Center/Research/Documents/Social-Media-Wh-Paper-26-May10-Research.pdf</a></p>
<ul>
<li>Introduction of viruses and malware to the organizational network</li>
<li>Exposure to customers and the enterprise through a fraudulent or hijacked corporate presence</li>
<li>Unclear or undefined content rights to information posted to social media sites</li>
<li>A move to a digital business model may increase customer service expectations</li>
<li>Mismanagement of electronic communications that may be impacted by retention regulations or e-discovery</li>
<li>Use of personal accounts to communicate work-related information</li>
<li>Employee posting of pictures or information that link them to the enterprise</li>
<li>Excessive employee use of social media in the workplace</li>
<li>Employee access to social media via enterprise-supplied mobile devices (smartphones, personal digital assistants [PDAs])</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=163</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ShmooCon: February 5-7</title>
		<link>http://intellavis.com/blog/?p=160</link>
		<comments>http://intellavis.com/blog/?p=160#comments</comments>
		<pubDate>Thu, 04 Feb 2010 16:18:38 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=160</guid>
		<description><![CDATA[SchmooCon Live Streaming: https://www.shmoocon.org/video.html]]></description>
			<content:encoded><![CDATA[<p>ShmooCon is this weekend. It&#8217;s at the Wardman Park Marriott Hotel in Washington, D.C.</p>
<p>If you can&#8217;t make it, they are streaming it live on uStream.tv.</p>
<p><a href="https://www.shmoocon.org/video.html">https://www.shmoocon.org/video.html</a></p>
<p>Schedule: <a href="http://www.shmoocon.org/presentations.html">http://www.shmoocon.org/presentations.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=160</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NE Ohio InfoSec Summit: October 29-30</title>
		<link>http://intellavis.com/blog/?p=158</link>
		<comments>http://intellavis.com/blog/?p=158#comments</comments>
		<pubDate>Wed, 07 Oct 2009 14:37:13 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://intellavis.com/blog/?p=158</guid>
		<description><![CDATA[7th Annual NE Ohio Information Security Summit &#8211; October 29-30, Corporate College East This year’s event features pre-Summit training opportunities and 2 days of talks, presentations, hands-on workshops, a vendor trade-show fair and much more!  Information Security Technology, Business/Management, Law Enforcement, Career Development, Compliance and Legal issues will be featured. Joel Snyder of Opus One will be our Thursday Keynote Speaker.  Our theme this year is Information Security on a Shoestring Budget. For detailed information and registration, please visit: http://www.informationsecuritysummit.org]]></description>
			<content:encoded><![CDATA[<p>7th Annual NE Ohio Information Security Summit &#8211; October 29-30, Corporate College East</p>
<p>This year’s event features pre-Summit training opportunities and 2 days of talks, presentations, hands-on workshops, a vendor trade-show fair and much more!  Information Security Technology, Business/Management, Law Enforcement, Career Development, Compliance and Legal issues will be featured. Joel Snyder of Opus One will be our Thursday Keynote Speaker.  Our theme this year is Information Security on a Shoestring Budget.</p>
<p>For detailed information and registration, please visit: <a href="http://www.informationsecuritysummit.org">http://www.informationsecuritysummit.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://intellavis.com/blog/?feed=rss2&#038;p=158</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

