<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
    <title>Secure Progression</title>
    
    
    <link rel="alternate" type="text/html" href="http://securetrends.typepad.com/secure_trends/" />
    <id>tag:typepad.com,2003:weblog-1445150</id>
    <updated>2008-03-10T17:00:34-04:00</updated>
    <subtitle>The official weblog of Secure Progression</subtitle>
    <generator uri="http://www.typepad.com/">TypePad</generator>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/SecureTrends" /><feedburner:info uri="securetrends" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://hubbub.api.typepad.com/" /><entry>
        <title>Sysadmins and security</title>
        <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SecureTrends/~3/1VgEKjxNzxU/sysadmins-and-s.html" />
        <link rel="replies" type="text/html" href="http://securetrends.typepad.com/secure_trends/2008/03/sysadmins-and-s.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-46845384</id>
        <published>2008-03-10T17:00:34-04:00</published>
        <updated>2008-03-10T17:00:34-04:00</updated>
        <summary>Why are so many business computers and networks completely unsecured? I'm going to focus on a few of the reasons that have to do with the people responsible to secure those</summary>
        <author>
            <name>Kirk Averett</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Commentary" />
        
        
<content type="xhtml" xml:lang="en-US" xml:base="http://securetrends.typepad.com/secure_trends/"><div xmlns="http://www.w3.org/1999/xhtml"><p>Why are so many business computers and networks completely unsecured? I'm going to focus on a few of the reasons that have to do with the people responsible to secure those</p><xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/SecureTrends/~4/1VgEKjxNzxU" height="1" width="1" /></div></content>



    <feedburner:origLink>http://securetrends.typepad.com/secure_trends/2008/03/sysadmins-and-s.html</feedburner:origLink></entry>
    <entry>
        <title>Wireless noise detection with wireshark</title>
        <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SecureTrends/~3/QtudCGxxuRM/wireless-noise-.html" />
        <link rel="replies" type="text/html" href="http://securetrends.typepad.com/secure_trends/2007/10/wireless-noise-.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-40679080</id>
        <published>2007-10-25T12:33:22-04:00</published>
        <updated>2007-10-25T12:33:22-04:00</updated>
        <summary>It can be difficult to determine if noise is corrupting a wireless (802.11a/b/g/n) signal because the primary symptom for a user is simply slow performance. Because slow performance can caused at any step along the path between a person's computer...</summary>
        <author>
            <name>Kirk Averett</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Tips" />
        
        
<content type="html" xml:lang="en-US" xml:base="http://securetrends.typepad.com/secure_trends/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;It can be difficult to determine if noise is corrupting a wireless (802.11a/b/g/n) signal because the primary symptom for a user is simply slow performance.&amp;nbsp; Because slow performance can caused at any step along the path between a person's computer and a distant Internet site, it can be tough to know what is happening.&lt;/p&gt;

&lt;p&gt;Noise that is interfering with an 802.11 wireless signal isn't always constant, but in my experience with 802.11 and with cable TV wired networks using lower frequencies, it doesn't take very much noise to significantly reduce performance.&lt;/p&gt;

&lt;p&gt;Why the big drop in performance?&amp;nbsp; TCP.&amp;nbsp; Viewing web pages, downloading files or email, and most other activities on the Internet depend on TCP.&amp;nbsp; TCP was designed to be used on low-noise, wired networks.&amp;nbsp; Every bit of data sent over TCP is numbered sequentially for the conversation between the user's computer and the remote computer or server.&amp;nbsp; If a new bit of data (a &amp;quot;packet&amp;quot;) arrives with a number that is too high, then TCP knows that a packet was missed.&amp;nbsp; TCP asks the sender to retry, and tells the sender to slow down.&lt;/p&gt;

&lt;p&gt;See the problem?&amp;nbsp; TCP assumes that a packet will be lost only due to high traffic, not because of noise that might corrupt a packet and cause it to be discarded.&amp;nbsp; When a packet is lost because of traffic, slowing down is the best possible response for all parties.&amp;nbsp; When a packet is lost because of a little bit of noise, everything slows down even though the packet really should be resent immediately and the transmission speed should remain constant.&amp;nbsp; Lots of smart people are working on this, although no real standard has emerged.&amp;nbsp; Here is a good academic paper describing &lt;a href="http://pdos.csail.mit.edu/decouto/papers/parsa99.ps"&gt;this TCP peformance problem&lt;/a&gt; and a proposed solution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Detecting noise with Wireshark&lt;/strong&gt;&lt;br /&gt;First, download a &lt;a href="http://www.wireshark.org/download.html"&gt;copy of Wireshark&lt;/a&gt;.&amp;nbsp; Start it up for the first time.&amp;nbsp; You need to record, or capture, some packets to look for a particular type of TCP packet.&lt;/p&gt;

&lt;p&gt;To capture packets, click on Capture, Interfaces, then click Options on the far right next to your network card, then press Start.&lt;/p&gt;

&lt;p&gt;Open up your web browser and go to www.yahoo.com or www.msn.com (or any other site that's been slow for you and that has a lot of stuff on the page).&amp;nbsp; After the page has loaded, click Stop on the capture.&lt;/p&gt;

&lt;p&gt;Click on the label of the Info column to sort by the column contents.&amp;nbsp; Then scroll down and look for this type of information about TCP duplicate ACK's:&lt;br /&gt;&lt;a href="http://securetrends.typepad.com/photos/uncategorized/2007/10/25/dupack_2.png"&gt;&lt;img border="0" class="image-full" alt="Dupack_2" title="Dupack_2" src="http://securetrends.typepad.com/photos/uncategorized/2007/10/25/dupack_2.png" /&gt;&lt;/a&gt;


 &lt;br /&gt;If you have more than one line like these above, then your wireless network almost surely has interference.&amp;nbsp; Because most of us use inexpensive wireless gear, we have to share the frequencies with other devices belonging to our neighbors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What can I do about it?&lt;/strong&gt;&lt;br /&gt;The easiest thing to do is try a different channel.&amp;nbsp; On 802.11b/g wireless access points and routers, they show you 11 possible channels.&amp;nbsp; Don't believe them.&amp;nbsp; Only channels 1, 6, and 11 don't interfere with each other.&amp;nbsp; So if you're using channel 2 and your neighbor is using channel 3, expect problems.&lt;/p&gt;

&lt;p&gt;The general rule for trying to reduce interference is to use a channel number farthest away numerically from any other wireless devices in the area.&amp;nbsp; Usually your laptop or other wireless device can tell you what networks it sees around and what channels they are using.&amp;nbsp; Just pick the most remote channel.&amp;nbsp; If you can't see any other wireless networks besides your own, still change the channel to either 1, 6, or 11 and stop using your old channel-- again, try to be as far away from your old channel as possible because you know there is noise on that channel.&lt;/p&gt;

&lt;p&gt;I hope this helps!&lt;/p&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/SecureTrends/~4/QtudCGxxuRM" height="1" width="1"/&gt;</content>



    <feedburner:origLink>http://securetrends.typepad.com/secure_trends/2007/10/wireless-noise-.html</feedburner:origLink></entry>
    <entry>
        <title>Nmap and out-of-date software on the network</title>
        <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SecureTrends/~3/LcGHj19_qBI/nmap-and-out-of.html" />
        <link rel="replies" type="text/html" href="http://securetrends.typepad.com/secure_trends/2007/10/nmap-and-out-of.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-39708068</id>
        <published>2007-10-03T11:45:11-04:00</published>
        <updated>2007-10-03T11:45:11-04:00</updated>
        <summary>Nmap can be extremely helpful in finding old versions of software on your network. Updated software reduces network worm infections and hacking from internal and external sources. Here's how you use Nmap to do it: nmap -vv -F -sS -A...</summary>
        <author>
            <name>Kirk Averett</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Tips" />
        
        
<content type="html" xml:lang="en-US" xml:base="http://securetrends.typepad.com/secure_trends/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;div class="article-content"&gt;
&lt;a href="http://insecure.org"&gt;Nmap&lt;/a&gt;
can be extremely helpful in finding old versions of
software on your network. Updated software reduces &lt;a href="http://en.wikipedia.org/wiki/Computer_worm" title="Computer network worms"&gt;network worm&lt;/a&gt; infections and hacking from internal and external sources.&amp;nbsp; Here's how you use Nmap to do it:&lt;p&gt; nmap -vv -F -sS -A -P0 [some ip]&lt;/p&gt;

&lt;p&gt;I like to use &amp;quot;-vv&amp;quot; for extra detail.&lt;/p&gt;

&lt;p&gt;Let's
say I just wanted to check the version of SSH I was using on an older
Linux machine. Nmap can even tell me what protocol revision SSH
supports on the machine. Here is how I would do that:&lt;/p&gt;

&lt;p&gt; nmap -sS -A -P0 -p 22 [my ip] | grep ssh&lt;/p&gt;

&lt;p&gt;Here are the results from an actual machine:&lt;/p&gt;

&lt;p&gt; 22/tcp open&amp;nbsp; ssh&amp;nbsp; &amp;nbsp;&amp;nbsp; OpenSSH 3.6.1p2 (protocol 1.99)&lt;/p&gt;

&lt;p&gt;SSH protocol version 1.99 &lt;a href="http://www.ciac.org/ciac/techbull/CIACTech02-001.shtml" title="Openssh version 1.99 vulnerable"&gt;has issues&lt;/a&gt; and OpenSSH needs to be updated on this machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Nmap and software version detection inside Secure Trends&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because
Secure Trends can use Nmap for scanning, it gathers information about
open network software running on computers that have been scanned. From
the Ports tab, you can click on a port to see what different computers
have that port open and what software is running on those machines.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://securetrends.typepad.com/photos/uncategorized/2007/10/03/portandversions_3.png"&gt;&lt;img border="1" alt="Portandversions_3" title="Portandversions_3" src="http://securetrends.typepad.com/photos/uncategorized/2007/10/03/portandversions_3.png" /&gt;&lt;/a&gt;


&lt;/p&gt;

&lt;p&gt;&lt;img src="file:///C:/DOCUME~1/Kirk/LOCALS~1/Temp/moz-screenshot.jpg" /&gt;&lt;/p&gt;

&lt;p&gt;Above is a partial screenshot from a real set of hosts in ST.
Each IP is a clickable link so that you can see everything else
running on that machine. In this case two machines are still allowing
protocol version 1.99, but it is probably easily fixed by changing
their config file to only permit version 2.0. How do I know this?
Partly because I already know, but also because the machine with the IP
address ending &amp;quot;.24&amp;quot; is running the same OpenSSH program version, but is clearly locked
down to only support protocol version 2. &lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/SecureTrends/~4/LcGHj19_qBI" height="1" width="1"/&gt;</content>



    <feedburner:origLink>http://securetrends.typepad.com/secure_trends/2007/10/nmap-and-out-of.html</feedburner:origLink></entry>
    <entry>
        <title>Command line firewall configuration</title>
        <link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SecureTrends/~3/G4Z5pSq2E6c/command-line-fi.html" />
        <link rel="replies" type="text/html" href="http://securetrends.typepad.com/secure_trends/2007/10/command-line-fi.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-39660530</id>
        <published>2007-10-02T13:15:13-04:00</published>
        <updated>2007-10-02T13:15:13-04:00</updated>
        <summary>One of the cool little features of our hosted security tools are the "firewall hints", which are available as a link for a host that has been scanned at least one time. It appears underneath the list of ports and...</summary>
        <author>
            <name>Kirk Averett</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Tips" />
        
        
<content type="html" xml:lang="en-US" xml:base="http://securetrends.typepad.com/secure_trends/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;div class="article-content"&gt;
&lt;p&gt;One of the cool little features of our hosted security tools are the
&amp;quot;firewall hints&amp;quot;, which are available as a link for a host that has
been scanned at least one time. It appears underneath the list of ports
and what is running on them.&lt;/p&gt;

&lt;p&gt;&lt;img width="221" vspace="5" hspace="8" height="57" border="1" align="right" src="http://www.secure-trends.com/images/firewallhints.png" alt="Firewall hints link" title="Link to firewall hints" /&gt;
If the operating system has been detected by Nmap, then the command
line information is appropriate for that OS. If the OS has not yet been
detected, then Secure Trends shows command line hints for all the
operating systems it can. ST shows you how to set up your firewall to
allow outbound Internet traffic, but blocks inbound Internet traffic
except to the ports currently detected by Nmap. Don't want a port open?
Copy the ST firewall hints to a text editor, remove the line that would
open access to that port, then paste to the command-line of the machine
you need to lock down. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Windows firewall rules by command-line&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Windows
XP service pack 2 (SP2) and Windows 2003 have a built-in firewall. It's
actually a decent little inbound port-blocking firewall. But almost
nobody uses it. I'm a fan of not spending money so why would I buy
another port-based firewall if Windows already has one? Here are the
command-line firewall hints for a Windows host scanned by Secure Trends:&lt;/p&gt;

&lt;p&gt;&amp;nbsp; netsh firewall set opmode ENABLE&lt;br /&gt;&amp;nbsp; netsh firewall set notifications ENABLE&lt;br /&gt;&amp;nbsp; netsh firewall set logging %windir%\pfirewall.log 4096 ENABLE&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 7 echo&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 9 discard&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 13 daytime&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 17 qotd&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 19 chargen&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 42 wins&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 53 domain&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 80 http&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 135 msrpc&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 139 netbios-ssn&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 445 microsoft-ds&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 1025 msrpc&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 3389 microsoft-rdp&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 5800 vnc-http&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 5900 vnc&lt;br /&gt;&amp;nbsp; netsh firewall set portopening TCP 5901 vnc&lt;/p&gt;

&lt;p&gt;I'm sure you're wondering who runs all of this junk?&amp;nbsp; Not me.&amp;nbsp; What does this all mean?&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;&amp;nbsp; netsh firewall set opmode ENABLE&amp;nbsp; -- This turns on the firewall.&lt;/li&gt;

&lt;li&gt;&amp;nbsp; netsh firewall set notifications ENABLE&amp;nbsp; --&amp;nbsp; Changes to the firewall from the command-line will generate console gui alerts.&lt;/li&gt;

&lt;li&gt;&amp;nbsp; netsh firewall set logging %windir%\pfirewall.log 4096 ENABLE&amp;nbsp; -- Logs up to 4k of firewall changes to the file pfirewall.log.&lt;/li&gt;

&lt;li&gt;&amp;nbsp; &amp;nbsp;netsh firewall set portopening TCP 7 echo&amp;nbsp; --&amp;nbsp; Allows computers on the network to access the &amp;quot;echo&amp;quot; service on this computer.&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;What
if you wanted to shut off access to the echo service? No one should be
using echo anyway. You could issue this command if you had already
explicitly opened up the echo port:&lt;/p&gt;

&lt;p&gt; netsh firewall set portopening TCP 7 echo disable&lt;/p&gt;

&lt;p&gt;To learn more about the Windows firewall, either using the command-line or the gui, you can check out this article: &lt;a href="http://lantoolbox.com/network-administration/articles/configure-windows-firewall-using-command-line/" target="_blank" title="How to use the windows firewall from the command line"&gt;http://lantoolbox.com/network-administration/articles/configure-windows-firewall-using-command-line/ &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if I'm running Windows 2000 or XP without SP2?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you need a free command-line firewall for a slightly older Windows, check out the &lt;a href="http://wipfw.sourceforge.net/" target="_blank" title="WIPFW free command line firewall for Windows"&gt;WIPFW&lt;/a&gt;
project. It is essentially a port of BSD's ipfw port blocking tools to
the Windows platform. If you're using Secure Trends, you can copy and
paste the firewall hints for BSD and use them on your Windows box. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What other operating systems can do this kind of thing?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Linux has &lt;a href="http://www.netfilter.org/" title="Iptables made by Netfilter.org"&gt;iptables&lt;/a&gt; from the folks at Netfilter and *BSD has &lt;a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html" title="ipfw firewall for bsd"&gt;ipfw&lt;/a&gt;
which is developed by FreeBSD. Secure Trends can give firewall hints
for both of these. Solaris probably has something, but as we don't have
access to a Solaris box or the freedom to potentially break it, it
isn't included yet. &lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/SecureTrends/~4/G4Z5pSq2E6c" height="1" width="1"/&gt;</content>



    <feedburner:origLink>http://securetrends.typepad.com/secure_trends/2007/10/command-line-fi.html</feedburner:origLink></entry>
 
</feed><!-- ph=1 -->

