<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>ISIS &#187; Network Security</title>
	<atom:link href="http://isisblogs.poly.edu/category/network-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://isisblogs.poly.edu</link>
	<description>Information Systems and Internet Security</description>
	<lastBuildDate>Mon, 20 Oct 2008 17:57:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
		<item>
		<title>Multiple Vulnerabilities in ALL Synology Products</title>
		<link>http://isisblogs.poly.edu/2008/04/04/multiple-vulnerabilities-in-all-synology-products/</link>
		<comments>http://isisblogs.poly.edu/2008/04/04/multiple-vulnerabilities-in-all-synology-products/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 02:48:55 +0000</pubDate>
		<dc:creator>dan</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Press Release]]></category>
		<category><![CDATA[Security Engineering]]></category>

		<guid isPermaLink="false">http://isisblogs.poly.edu/?p=81</guid>
		<description><![CDATA[In an earlier post to my personal blog as well as to this blog, I enthusiastically recommended the Synology CS407 NAS as a data storage/backup platform. I am now taking that recommendation back.
Let me just say this: it seemed like a good choice at the time, and, if I could have trusted the vendor to [...]]]></description>
			<content:encoded><![CDATA[<p>In an earlier post to <a href="http://www.cryptocity.net/blog/2007/04/27/dude-im-getting-a-nas/">my personal blog</a> as well as to <a href="http://isisblogs.poly.edu/2008/01/18/qa-with-isis-outsourced-backup/">this blog</a>, I enthusiastically recommended the <a href="http://www.synology.com/enu/products/CS407/index.php">Synology CS407</a> <a href="http://en.wikipedia.org/wiki/Network_Attached_Storage">NAS</a> as a data storage/backup platform. <strong>I am now taking that recommendation back</strong>.</p>
<p>Let me just say this: it seemed like a good choice at the time, and, if I could have trusted the vendor to deploy the software on it properly, it might still be. Here is a short summary of some of the issues I found:</p>
<p><a href="http://isisblogs.poly.edu/wp-content/uploads/exposure.png" rel="lightbox[81]"><img src="http://isisblogs.poly.edu/wp-content/uploads/exposure_small.jpg" alt="Table of Vulnerability Exposure for Synology Products" /></a></p>
<p>You can skip to the full report here: <a href="http://cryptocity.net/files/advisories/synology_report.pdf">A Security Audit of the Synology Disk Station Manager (DSM) v2.0-0590 Firmware</a>.</p>
<p>What follows is a complete retelling of how I got here, sort of a lesson in vulnerability disclosure (not so much discovery, you&#8217;ll see why). It&#8217;s not pretty, <strong>I didn&#8217;t do all the right things</strong>, and it&#8217;s kind of long.</p>
<p><span id="more-81"></span></p>
<p>I had a lot of free time over Spring break (read: no money to travel anywhere) and so I decided to start &#8220;kicking the tires&#8221; of the Synology CS407 I owned. My jaw dropped when I got this first nmap scan back:</p>
<pre>PORTÂ Â Â Â Â  STATE SERVICEÂ Â Â Â  VERSION
80/tcpÂ Â Â  openÂ  httpÂ Â Â Â Â Â Â  Apache httpd 2.2.3 ((Unix) mod_ssl/2.2.3 OpenSSL/0.9.7e PHP/5.2.0)
139/tcpÂ Â  openÂ  netbios-ssn Samba smbd 3.X (workgroup: WORKGROUP)
443/tcpÂ Â  openÂ  httpÂ Â Â Â Â Â Â  Apache SSL-only mode httpd
445/tcpÂ Â  openÂ  netbios-ssn Samba smbd 3.X (workgroup: WORKGROUP)
515/tcpÂ Â  openÂ  printer
548/tcpÂ Â  openÂ  afpovertcp?
3306/tcpÂ  openÂ  mysqlÂ Â Â Â Â Â  MySQL (unauthorized)
3493/tcpÂ  openÂ  tcpwrapped
3689/tcpÂ  openÂ  httpÂ Â Â Â Â Â Â  mt-daapd httpd 0.2.4
5000/tcpÂ  openÂ  httpÂ Â Â Â Â Â Â  Apache httpd 2.2.3 ((Unix) mod_ssl/2.2.3 OpenSSL/0.9.7e)
5001/tcpÂ  openÂ  httpÂ Â Â Â Â Â Â  Apache SSL-only mode httpd
5432/tcpÂ  openÂ  postgresqlÂ  PostgreSQL DB
50001/tcp openÂ  tcpwrapped</pre>
<p>It only got worse when I ran Nessus. And then worse when I got a shell and started poking around the filesystem. Get this: <strong>every application on the box is running as root</strong>! And <strong>all the web apps are written as compiled binaries running in CGI&#8230; with root privileges</strong>! As a friend in the lab described it, &#8220;1996 called, it wants its web technology back!&#8221; They weren&#8217;t even making it difficult.</p>
<p>This is where things got interesting. I looked around and there isn&#8217;t any formal security contact or even a public bug tracker (and they call themselves a Linux vendor!). I&#8217;m thinking maybe I can save myself some trouble and get this solved informally, so I made this <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;start=0&amp;st=0&amp;sk=t&amp;sd=a#p30895">really scary sounding post</a> on their user support forums with just the results of that nmap scan. I also submitted a technical support request at the same time, pointing to the forum post. Best idea? No. But it was easy. I really didn&#8217;t want to write a formal report and submit it. I&#8217;m not getting paid for this, and frankly, I&#8217;m kind of pissed off that I bought this thing and that I&#8217;m stuck with it now.</p>
<p>Two moderators immediately replied to my forum post claiming that there were <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;start=0&amp;st=0&amp;sk=t&amp;sd=a#p31015">no security vulnerabilities</a> and that <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;start=0&amp;st=0&amp;sk=t&amp;sd=a#p31053">security vulnerabilities were the price we pay for having the coolest NAS out there</a>. I thought these were official representatives of Synology at first and was ready to make a post to full-disclosure after reading their replies.</p>
<p>Then an official response came back from their tech support: log in to the box over SSH (which they don&#8217;t provide, I had to hack it to turn it on) and turn off the affected services. They also recommended I <em>put the box behind a firewall</em>&#8230; This is why you&#8217;re supposed to have a security@ contact, so people like me don&#8217;t get stuck with non-tech and sales staff. I said a few specific things in my reply to get my concerns in front of the right people:</p>
<ol>
<li>Ask for this issue to be escalated to a product manager</li>
<li>Explain the risks they were putting themselves and their customers under</li>
<li>Explain what would happen if they didn&#8217;t respond to my concerns (full-disclosure)</li>
<li>Included a PDF of a very early draft of my report</li>
</ol>
<p>That worked. 3 days later I got a response from Synology (still their sales staff) indicating that more than half of the vulnerabilities I pointed out would get fixed in a new release of the firmware due out in 60 days. They denied a number of vulnerabilities, which I explained further and sent back to them.</p>
<p>Then I didn&#8217;t hear from them for 9 days. Apparently, my emails were getting stuck in their spam filter (again, vendors, please set up a security@ e-mail)! This went back and forth for a bit and I&#8217;ve moved about 90% of the issues into the next release! A handful of more architectural issues were pushed back until a release 6 months in the future. You can&#8217;t win them all, but at least they are aware of the issues now.</p>
<p>Back on the forum, I had been getting fairly actively involved by answering security questions from other users. Some intelligent people saw what I was saying and <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;st=0&amp;sk=t&amp;sd=a&amp;start=15#p31157">came</a> <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;st=0&amp;sk=t&amp;sd=a&amp;start=15#p31159">to</a> <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;st=0&amp;sk=t&amp;sd=a&amp;start=30#p31241">my</a> <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;st=0&amp;sk=t&amp;sd=a&amp;start=30#p31726">defense</a> <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;st=0&amp;sk=t&amp;sd=a&amp;start=45#p31991">when</a> the fanboys attacked what I was saying about their precious devices. Two people even posted that they had <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;st=0&amp;sk=t&amp;sd=a&amp;start=45#p32347">delayed</a> or <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;st=0&amp;sk=t&amp;sd=a&amp;start=30#p31854">reconsidered</a> buying Synology products because of this discussion! It was really great to hear that, both as vindication that what I was saying was important and that Synology&#8217;s management had to take me seriously now. They were actively losing customers due to poor development practices.</p>
<p>How they reacted to this really isn&#8217;t surprising in hindsight: they moved all my posts to a separate, special forum, away from potential and current (but mostly potential) customers. Then their moderators started getting fed up that people were still talking about security issues they thought were irrelevant and resorted to <a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;st=0&amp;sk=t&amp;sd=a&amp;start=60#p32377">character attacks and flaming</a>. I sent an e-mail to my contact on the sales staff that someone representing their company was acting inappropriately and their behavior might be tied back to the company. Synology responded by <strong><a href="http://www.synology.com/enu/forum/viewtopic.php?f=88&amp;t=7304&amp;st=0&amp;sk=t&amp;sd=a&amp;start=60#p32432">locking my post</a></strong>.</p>
<p>And that&#8217;s the end of that mess.</p>
<p>If you have a Synology product&#8230; well good luck! All the problems I found won&#8217;t be resolved until 09/2008! And even then, I&#8217;m <strong>sure</strong> there will be more security vulnerabilities. Those compiled binary CGIs are a ticking timebomb. If you don&#8217;t already own a Synology product, I suggest <a href="http://www.freenas.org/">FreeNAS</a>. You can install it in a VM and try it before you &#8220;buy&#8221; it. I&#8217;d really like to get my hands on one of NetGear&#8217;s ReadyNAS products&#8230; anyone with one want to let me poke around it for a bit?</p>
]]></content:encoded>
			<wfw:commentRss>http://isisblogs.poly.edu/2008/04/04/multiple-vulnerabilities-in-all-synology-products/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Attacks on BitTorrent</title>
		<link>http://isisblogs.poly.edu/2008/01/18/attacks-on-bittorrent/</link>
		<comments>http://isisblogs.poly.edu/2008/01/18/attacks-on-bittorrent/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 22:11:45 +0000</pubDate>
		<dc:creator>Brad Schonhorst</dc:creator>
				<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[bittorrent]]></category>
		<category><![CDATA[p2p]]></category>

		<guid isPermaLink="false">http://isisblogs.poly.edu/2008/01/18/attacks-on-bittorrent/</guid>
		<description><![CDATA[Many media companies are paying big money to try and stop file sharing of copyrighted material.  While the material in question is being shared illegally, many of the techniques these companies employ effect everyone by generating much additional internet traffic.  In this presentation I present research into some new techniques currently being used [...]]]></description>
			<content:encoded><![CDATA[<p>Many media companies are paying big money to try and stop file sharing of copyrighted material.  While the material in question is being shared illegally, many of the techniques these companies employ effect everyone by generating much additional internet traffic.  In this presentation I present research into some new techniques currently being used to attack BitTorrent swarms and the prevalence of these attacks.</p>
<p><a href="http://isisblogs.poly.edu/wp-content/uploads/bittorrent_attacks.pdf" title="Attacks on BitTorrent">BitTorrent Presentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://isisblogs.poly.edu/2008/01/18/attacks-on-bittorrent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Detecting Botnet Membership</title>
		<link>http://isisblogs.poly.edu/2007/04/21/detecting-botnet-membership/</link>
		<comments>http://isisblogs.poly.edu/2007/04/21/detecting-botnet-membership/#comments</comments>
		<pubDate>Sat, 21 Apr 2007 03:03:36 +0000</pubDate>
		<dc:creator>Brad Schonhorst</dc:creator>
				<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Viruses]]></category>

		<guid isPermaLink="false">http://isisblogs.poly.edu/2007/04/21/detecting-botnet-membership/</guid>
		<description><![CDATA[More and more often we hear about botnets being responsible for a larger piece of Internet crime today.  Botnets are complex systems and there are many different approaches to combating the problem.  I decided to take a look at some of the more recent techniques to discover bot malware infection from network traffic. [...]]]></description>
			<content:encoded><![CDATA[<p>More and more often we hear about <a href="http://www.theregister.co.uk/2007/03/28/bots_in_perimeter/">botnets being responsible</a> for a larger piece of Internet crime today.  Botnets are complex systems and there are many different approaches to combating the problem.  I decided to take a look at some of the more recent techniques to discover bot malware infection from network traffic.  I came across two particularly interesting methods of identifying infected machines.  One is to look at the most often used command and control technique &#8211; IRC channels &#8211; and try to determine &#8216;evil&#8217; channels which provide commands for zombie machines.  Another idea is to look for DNS Black List lookups, which may be performed by bots to test that an IP address is not listed before using it to send spam.  Attached is a short presentation I gave for the <a href="http://isis.poly.edu/">ISIS computer lab.</a></p>
<p><a href='http://isisblogs.poly.edu/wp-content/uploads/botnetdetection.pdf' title='Detecting Botnet Membership within the Network'>Botnet Membership Detection within the Network</a></p>
]]></content:encoded>
			<wfw:commentRss>http://isisblogs.poly.edu/2007/04/21/detecting-botnet-membership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>
	</item>
	</channel>
</rss>
