<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: telnet]]></title>
    <link>http://www.securityratty.com/tag/telnet</link>
    <description></description>
    <pubDate>Wed, 09 Jan 2008 19:16:31 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Virtualisation - Welcome Back to the 90s.]]></title>
      <link>http://www.securityratty.com/article/91a97db541c7009ccb12c514e3cee018</link>
      <guid>http://www.securityratty.com/article/91a97db541c7009ccb12c514e3cee018</guid>
      <description><![CDATA[I've been thinking about this for a while but this blog post by Pascal Meunier pretty much sums up my feelings about Virtualisation

Back in the 90s when the Internet was new-ish and just becoming...]]></description>
      <content:encoded><![CDATA[I've been thinking about this for a while but <a href="http://www.cerias.purdue.edu/site/blog/post/virtualization-is-successful-because-operating-systems-are-weak/">this blog post by Pascal Meunier</a> pretty much sums up my feelings about Virtualisation.<br /><br />Back in the 90s when the Internet was new-ish and just becoming important all the machines running it were Unix boxes. (Maybe not all, but most). And a 386 would typically run DNS, sendmail, telnet (shell accounts), ftp and apache. All on the same box.<br /><br />Security wasn't so tight in those days but it was usually good enough and the box could happily do what it needed to do.<br /><br />Along came Microsoft and produced the idea of "one box - one service". You can't seriously consider running your domain controller as a file server. What are you thinking? And to put mail on the same box? No way. In fact, your SQL server is running under significant load, chain a few together.<br /><br />And companies would buy into this concept. Microsoft were happy - more licenses. All the PC guys were happy too - more money. More complexity - more jobs.<br /><br />Essentially what has happened now is that Moores Law has kicked in and has caught up with the complexity of Microsoft's software to the point where one server box can run multiple applications on it. Imagine that.  But Microsoft has planted the one-service-one-box concept so well that it is now part of IT law. File server and mail server on one box? But wait...whats this button over here....? Vir-vir-virtualisation.<br /><br />And now we have the tools to allow us to once again run multiple applications on one server without having to admit that one-application-one-server never made sense.<br /><br />To be fair - Virtualisation does have other advantages - running multiple Operating Systems for example, being able to easily move a virtual machine from one box to another (without configuration issues), being able to make a snapshot backup of a system.<br /><br />But running multiple applications on one box is not a huge win.<img src="http://feeds.feedburner.com/~r/SecurityThoughts/~4/325572539" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 03 Jul 2008 02:37:00 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/server">server</category>
      <category domain="http://www.securityratty.com/tag/file server">file server</category>
      <category domain="http://www.securityratty.com/tag/server box">server box</category>
      <category domain="http://www.securityratty.com/tag/box">box</category>
      <category domain="http://www.securityratty.com/tag/mail server">mail server</category>
      <category domain="http://www.securityratty.com/tag/mail">mail</category>
      <category domain="http://www.securityratty.com/tag/multiple applications">multiple applications</category>
      <category domain="http://www.securityratty.com/tag/multiple">multiple</category>
      <category domain="http://www.securityratty.com/tag/sql server">sql server</category>
      <source url="http://feeds.feedburner.com/~r/SecurityThoughts/~3/325572539/virtualisation-welcome-back-to-90s.html">Virtualisation - Welcome Back to the 90s.</source>
    </item>
    <item>
      <title><![CDATA[Minimizing the Attack Surface, Part 1]]></title>
      <link>http://www.securityratty.com/article/4cc07bb9b410d28285eec3f2156fa1e6</link>
      <guid>http://www.securityratty.com/article/4cc07bb9b410d28285eec3f2156fa1e6</guid>
      <description><![CDATA[What was the first thing you learned about network security? Theres a good chance it had something to do with port scanning. After scanning a few boxes, you realized that modern operating systems have...]]></description>
      <content:encoded><![CDATA[<p>What was the first thing you learned about network security?  There&#8217;s a good chance it had something to do with port scanning.  After scanning a few boxes, you realized that modern operating systems have a lot of open ports by default, meaning a lot of services.  Some had an obvious purpose, like telnet on tcp/23 or ftp fon tcp/21.  Others left you wondering, what the heck is listening on tcp/515 or tcp/7100?  And remember, you couldn&#8217;t ask Google because it didn&#8217;t exist (well, maybe it did depending on when you got into security).</p>
<p>Your first real lesson about locking down a host was how to reduce its attack surface.  You learned how to disable services using /etc/inetd.conf.  Then you learned about rc.d and how to prevent unnecessary services from being launched at startup.  Next, maybe you configured the Xserver to disallow remote connections or moved on to removing setuid permissions from files.  As you worked, you&#8217;d periodically re-scan the box to gauge progress, asking yourself &#8220;have I removed everything I don&#8217;t need?&#8221;  The underlying motivation, of course, is that an attacker can&#8217;t hack something that isn&#8217;t there.</p>
<p>You learned how to extend those concepts to the network &#8212; configuring firewall rules, router ACLs, VLANs, etc.  Segmenting the network.  Creating a DMZ.  No need to dwell on this, you get the idea.</p>
<p>Eventually, people realized that applications had an attack surface too.  Web servers and application servers got a lot of attention, followed closely by custom web applications.  &#8220;What do you mean you can execute SQL queries against my database?  That&#8217;s impossible, I have a firewall!&#8221;</p>
<p>Some companies, the ones who could afford it anyway, started to build security into their development cycle.  Doing threat modeling during the design phase made sense, because hey, it&#8217;s much cheaper to fix security holes in a whiteboard drawing than it is to rewrite your authorization module from scratch after it&#8217;s in production.</p>
<p>Let&#8217;s talk strictly about custom web applications now.  What I&#8217;ve observed is that most development groups, even the ones who actively engage in threat modeling, do not understand their web application&#8217;s attack surface.  The lead architect can whiteboard a high-level diagram of all the major components and how they interact.  Individual developers can go a bit deeper, telling you which files they touch, what database permissions they need, or how various pieces of data are encrypted in storage.  At the end of this exercise you have a complete picture of the processes, data flows, protocols, privilege boundaries, external entities, and so on, and you&#8217;re well on your way to understanding all of the potential attack vectors.</p>
<p>Or are you?</p>
<p>What often gets overlooked or glossed over is the impact of external libraries or packages.  Nobody writes everything from scratch. A typical list of third-party libraries for a Java-based Web 2.0 application might include DWR, GWT, Axis, and Dojo, plus about 30 other libraries to do everything from logging to parsing to image manipulation.  Nine out of ten times, the libraries will be installed in full, using the default configuration from page one of the README file.</p>
<p>Why is this relevant? Because just as those old Unix boxes exposed unnecessary services, libraries expose unnecessary code.  Let&#8217;s say you installed Dojo to simplify the process of creating an HTML table with rows and columns that can be sorted on demand.  Did you remember to remove all the .js files you didn&#8217;t need?  Or maybe you installed Axis or DWR or anything else that has its own Servlet(s) for processing requests.  Have you compared what that Servlet <i>can do</i> against what you <i>need it to do</i>?  </p>
<p>A fictitious example may help illustrate further.  Imagine you just downloaded a new library called WhizBang.  You follow the installation instructions to define and map two servlets in your web.xml file, WhizServlet and BangServlet, and you configure it to integrate with your web app.  After a bit of trial and error, it&#8217;s functional. Yay!  This is where most developers stop.  </p>
<p>Nobody asks, &#8220;how much of this do I actually need?&#8221;  Case in point, what if your application only uses WhizServlet?  BangServlet is still exposed, and you don&#8217;t even use it!  Similarly, what if WhizServlet takes an &#8220;action&#8221; parameter which can be either &#8220;view&#8221;, &#8220;edit&#8221;, or &#8220;delete&#8221;, and your application only uses &#8220;view&#8221;?  You&#8217;re still exposing the other actions to anybody who knows the URL syntax (pretty trivial if it&#8217;s open source).  You wouldn&#8217;t expose large chunks of your own code that you weren&#8217;t using, so why should it be any different with libraries?</p>
<p>This post is getting kind of long so I&#8217;m going to split it up.  In the next post, I&#8217;ll continue the discussion of attack surface minimization, as well as some of the tradeoffs that go along with this approach.</p>
]]></content:encoded>
      <pubDate>Tue, 24 Jun 2008 15:09:34 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/attack surface">attack surface</category>
      <category domain="http://www.securityratty.com/tag/custom web applications">custom web applications</category>
      <category domain="http://www.securityratty.com/tag/web">web</category>
      <category domain="http://www.securityratty.com/tag/services">services</category>
      <category domain="http://www.securityratty.com/tag/prevent unnecessary services">prevent unnecessary services</category>
      <category domain="http://www.securityratty.com/tag/unnecessary services">unnecessary services</category>
      <category domain="http://www.securityratty.com/tag/security">security</category>
      <category domain="http://www.securityratty.com/tag/third-party libraries">third-party libraries</category>
      <category domain="http://www.securityratty.com/tag/fix security holes">fix security holes</category>
      <source url="http://www.veracode.com/blog/?p=111">Minimizing the Attack Surface, Part 1</source>
    </item>
    <item>
      <title><![CDATA[Cloud This, Cloud That...]]></title>
      <link>http://www.securityratty.com/article/de06cbe82dcf0ac0728d2bc3cb79338e</link>
      <guid>http://www.securityratty.com/article/de06cbe82dcf0ac0728d2bc3cb79338e</guid>
      <description><![CDATA[Ah, weather is nice and warm, fresh wind is cooling the face, security is in the clouds. Security in the cloud? Yup. Or, if you take Mike Rothman here at face value, &quot;lack thereof.&quot; Now, we are not...]]></description>
      <content:encoded><![CDATA[<p>Ah, weather is nice and warm, fresh wind is cooling the face, security is in the clouds. Security in the cloud? Yup. Or, if you take Mike Rothman <a href="http://securityincite.com/TDI-2008-05-20#TSN2">here</a> at face value, "lack thereof." Now, we are not talking about <a href="http://www.qualys.com">"cloud-based security services"</a> here, but about "security of cloud-based services"&nbsp; - big difference!</p> <p>If somebody asks you "Can you have a secure cloud-based service?" - you need to ask back "What do you mean by "<strong>you</strong>"?" Seriously! Let's go back to the old joke that "the only computer that is 'secure' is the one that is turned off, cemented into a big concrete cube and stored in a locked room." But whose room? Do <strong>you</strong> own the room where the aforementioned concrete cube is stashed? No? Then maybe it is no longer 'secure' ... Think "concrete cube in the clouds - then BAM!" :-)</p> <p>Joking aside, if you think that a system that is located somewhere remotely (you don't control physical security) + Internet accessible (you don't control network security) + neither written&nbsp; nor audited by you (you don't control application security) can be secure, than yes, <strong><em>most certainly</em> you can have a secure cloud-based service</strong>.&nbsp; This also reminded me about <u><a href="http://taosecurity.blogspot.com/2008/05/traveling-wilbury-security.html">this post</a></u> by Richard where he classifies people into "two camps: those who trust their products to operate as expected and those who do not."</p> <p>Now, let's review some of the issues with security of cloud based services.</p> <p>First, is there public vulnerability research that made MS IIS and OpenSSH (and OpenBSD) the paragons of software security? <strong>No</strong>, <a href="http://blogs.zdnet.com/security/?p=1127">this part is completely screwed up today</a> as only criminals are "allowed" to do vulnerability research of cloud based-services (and web applications).&nbsp; Comparison here is not in favor of "the clouds," and "legacy" software approach wins hands down (want trusted apps? go audit them!). To remind yourself what the world looked like without public vulnerability research, think back to early 90s: "hot new exploit - telnet as 'root' without any password" (this is where <u><a href="http://jeremiahgrossman.blogspot.com/2007/12/full-disclosure-is-dead.html">web security stands today</a></u>, pretty much).</p> <p>Second, can you make sure that only you will see the sensitive data (or even regulated data: PHI, credit cards, passwords, financials, etc)? <strong>Maybe, if</strong> <strong>you take care of it</strong>. As Mike R&nbsp; <a href="http://securityincite.com/TDI-2008-05-20#TSN2">puts it</a> : "Basically, you can't be sure anything is secure in the cloud, so that means you have to secure it yourself. That means building your applications with some semblance of data protection [...] But ultimately if you can't prove your data hasn't been tampered with and that it's open for anyone to steal, then I suspect your auditor may have a bit of an issue with that." </p> <p>Third,&nbsp; can you log and audit access to your information, stored and processed somewhere in the cloud? <strong>Maybe</strong>, if you chose the provider that allows you to do it. For example, I hear that Salesforce.com access logs are good enough to enable most things you can do with OS logs. Otherwise, well, keep begging them to build it; there is no appliance you can buy to plug this hole.</p> <p>Finally, if we are <u><a href="http://chuvakin.blogspot.com/2007/05/are-you-mad-are-we-all.html">insane because we use software</a></u>, what about cloud services?&nbsp; Sorry, multiply that insanity by 10x. Replace today's mantra "I trust my software vendor" with "I trust my cloud provider, their software developers, their outsourcers (if any), the other vendor they mashup with, my ISP (and its ISP, and its ISP,&nbsp; and its ISP, etc, etc), my cloud provider's ISP (and its ISP, and its ISP, etc, etc, etc)&nbsp; and ... oh, wait ... and <a href="http://www.networkworld.com/cgi-bin/mailto/x.cgi?pagetosend=/export/home/httpd/htdocs/supp/2008/ndc3/051908-cloud-storage.html&amp;pagename=/supp/2008/ndc3/051908-cloud-storage.html&amp;pageurl=http://www.networkworld.com/supp/2008/ndc3/051908-cloud-storage.html&amp;site=datacenter">your software developers</a> who wrote the code that connects to the above in-the-cloud service." Cool, isn't it? :-)</p> <p><a href="http://www.networkworld.com/cgi-bin/mailto/x.cgi?pagetosend=/export/home/httpd/htdocs/supp/2008/ndc3/051908-cloud-storage.html&amp;pagename=/supp/2008/ndc3/051908-cloud-storage.html&amp;pageurl=http://www.networkworld.com/supp/2008/ndc3/051908-cloud-storage.html&amp;site=datacenter">This paper</a> also reminds us about the business angle: "Remember that the storage provider has less to lose than the customer"&nbsp; [<em>that is you, BTW</em>]. At this point somebody has got to ask "is that dirty C-word hiding somewhere here? Is there a <em>compliance</em> angle?" You bet. And it is "simple", really: just compare a) and b) here:</p> <p>a) you manage a system that contains financial records (SOX anybody?), you screw up and they are lost OR you don't screw up and they are OK (not lost)</p> <p>vs</p> <p>b) you DON'T manage a system that contains financial records (SOX still?) - it is in the cloud, you DON'T screw up and they are still lost since your cloud provider screws up.</p> <p>Who do you think will go to jail?&nbsp; And don't even get me started on the breach disclosure law angle here (if they lose your data, than you are in violation of SB1386 - that is at least my guess ...)</p> <p>By now, it should be painfully obvious to any and all of my readers that <strong>"in the cloud services" are indeed the future of IT!</strong> :-) Yes, and security is a great career - with no shortage of challenges to overcome or tall peaks to climb ... now and ever. That is why I love it.</p> <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:52910bcc-6bf6-45e4-bc02-35f39cd1cba0" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati tags: <a href="http://technorati.com/tags/saas" rel="tag">saas</a>, <a href="http://technorati.com/tags/cloud" rel="tag">cloud</a>, <a href="http://technorati.com/tags/security" rel="tag">security</a>, <a href="http://technorati.com/tags/trends" rel="tag">trends</a>, <a href="http://technorati.com/tags/future" rel="tag">future</a></div>  <div class="blogger-post-footer">About me: http://www.chuvakin.org</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=85vbNH"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=85vbNH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=x8etvH"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=x8etvH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=5HOPjH"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=5HOPjH" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~4/294702464" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 20 May 2008 14:48:00 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/cloud">cloud</category>
      <category domain="http://www.securityratty.com/tag/cloud based services">cloud based services</category>
      <category domain="http://www.securityratty.com/tag/cloud based-services">cloud based-services</category>
      <category domain="http://www.securityratty.com/tag/in-the-cloud service">in-the-cloud service</category>
      <category domain="http://www.securityratty.com/tag/service">service</category>
      <category domain="http://www.securityratty.com/tag/cloud provider screws">cloud provider screws</category>
      <category domain="http://www.securityratty.com/tag/cloud provider">cloud provider</category>
      <category domain="http://www.securityratty.com/tag/security">security</category>
      <category domain="http://www.securityratty.com/tag/control physical security">control physical security</category>
      <source url="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~3/294702464/cloud-this-cloud-that.html">Cloud This, Cloud That...</source>
    </item>
    <item>
      <title><![CDATA[Fun Security Reading - 3]]></title>
      <link>http://www.securityratty.com/article/da6375f2edb6d6716885f5944380a6db</link>
      <guid>http://www.securityratty.com/article/da6375f2edb6d6716885f5944380a6db</guid>
      <description><![CDATA[Instead of my usual &quot;blogging frenzy&quot; machine gun blast of short posts with links and commentary, I will now combine them into my new blog series &quot; Fun Reading on Security &quot; or &quot;FRoS.&quot; Here is an...]]></description>
      <content:encoded><![CDATA[<p>Instead of my usual "blogging frenzy" machine gun blast of short posts with links and commentary, I will now combine them into my new blog series "<a href="http://chuvakin.blogspot.com/search/label/reading">Fun Reading on Security</a>" or "FRoS." Here is an issue #3, dated May 15, 2008.</p> <ul> <li>First, watch Dave Aitel beats the <a href="http://www.securityfocus.com/columnists/472/2">dead horse of academic security "research."</a> Quote: "people who write papers in LaTeX two-column format end up saying the sky has a high negative trajectory." (<a href="http://chuvakin.blogspot.com/2007/12/spaf-on-academic-security-research.html">other examples</a>) </li><li>I work for a <a href="http://www.loglogic.com/">vendor</a>, but I am not "vendor scum." What is the difference? If you <a href="http://www.networkworld.com/news/tech/2008/050708-tech-update.html?Inform=nl&amp;nlhtnsm=rn_051208&amp;nladname=051208networksystemsmanagemental">write a paper</a> about a fake trend or about a non-existent phenomenon (that your marketing department created) with the sole intention of selling your product while masquerading your piece as "objective content", you will probably be called "vendor scum."  Example: do you know why insiders are dangerous? Because of telnet and modems (no shit!) :-) </li><li>Rich Mogul <a href="http://securosis.com/2008/05/13/grc-is-dead/">drop-kicks GRC</a>. Then <a href="http://securosis.com/2008/05/14/grc-average-deal-size-and-the-dangers-of-venture-capital/">kicks it in the balls</a>. Then <a href="http://securosis.com/2008/05/15/shimel-wants-to-sell-you-a-dead-parrot-on-an-iceberg-slathered-in-grc/">steps on it</a>. Fun read, for sure.  </li><li>Did somebody just utter "ROI"? Yeah - and that means katana blades sharpened, flamethrowers charged, pet trolls enraged :-) Yes, the beast is back - with a vengeance. Bruce Schneier <a href="http://www.zdnetasia.com/news/security/0,39044215,62037905,00.htm">hits it</a> with +5 Flaming Blade, it doesn't die, <a href="http://communities.intel.com/openport/blogs/it/2008/05/08/are-security-roi-figures-meaningless">it bites back</a> ... <a href="http://communities.intel.com/openport/blogs/it/2008/05/12/how-do-you-measure-something-that-doesnt-happen">again</a>. If you love/hate ROI, read these. And Mike R comment <a href="http://securityincite.com/TDI-2008-05-13#TBP1">here</a>. Can we just replace the "R"-word with "economic measure of security" or "security efficiency?"  </li><li>Does anybody with <em>at most</em> half a brain believes that "<em>almost one out of every three individuals who were informed of a data security compromise involving their personal data have ceased doing business with the company that experienced the incident</em>" (source <a href="http://www.high-tower.com/blogs/gschultz/the-business-costs-of-security-compromises/">here</a> and more commentary <a href="http://www.informationweek.com/blog/main/archives/2008/04/good_news_after.html">here</a>)? Well, same people who believe FBI/CSI surveys, I guess :-) UFO? Spoon bending? Santa Claus anyone?  </li><li>NEWSFLASH!!!! Employees needs to be monitored!!! Wow!!! Reeeeally? Well, <a href="http://www.darkreading.com/document.asp?doc_id=152594">it is news to some people</a>. Mike R makes good fun of them <a href="http://securityincite.com/TDI-2008-05-13#TSN2">here</a>.  </li><li><a href="http://www.networkworld.com/columnists/2008/051308-musthaler.html?page=1">Harebrained paper</a> about PCI and using cards (credit and debit), which serves as a perfect illustration of how some people perceive risk. Repeat after me: you are not liable for mis-use of your credit card, your bank is. Debit card? Very different story!  </li><li>So, risk, yes. A really good piece about risk is <a href="http://riskmanagementinsight.com/riskanalysis/?p=351">here</a>.  Then again, it is <a href="http://riskmanagementinsight.com/riskanalysis/">RiskAnalys.is</a>? :-) More on risks of compliance stuff (also good) is <a href="http://www.noticebored.com/blog/2008/05/compliance-matter-of-managing-risks.html">here</a>.  </li><li>Richard clearly, succinctly, brilliantly explains the "security chasm" <a href="http://taosecurity.blogspot.com/2008/05/traveling-wilbury-security.html">here</a> by commenting on <a href="http://www.informationweek.com/shared/printableArticle.jhtml?articleID=207000078">Greg's article</a> (featured in my <a href="http://chuvakin.blogspot.com/2008/05/fun-reading-on-security-2.html">previous FRoS</a>): "The first camp spends more time talking about "enabling business" and <a href="http://www.informationweek.com/news/security/client/showArticle.jhtml?articleID=207100989">"elevating the infosec conversation"</a> while the second camp deals with the mess caused by the first world's ignorance of security problems."  </li><li>Security reading? Nah, <a href="http://www.securityroundtable.com/2008/05/14/security-roundtable-for-may-2008-rsa-conference-beyond-the-hype/">fun security listening</a> (that is, unless you are sick of hearing <a href="http://chuvakin.blogspot.com/search/label/RSA">about RSA 2008 again</a>), where we discuss - yes, you guessed right! - past RSA 2008 show.</li></ul> <p>Enjoy!</p><div class="blogger-post-footer">About me: http://www.chuvakin.org</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=WpkRnH"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=WpkRnH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=sqenhH"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=sqenhH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=SJ4ldH"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=SJ4ldH" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~4/291201487" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 15 May 2008 10:11:00 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/security">security</category>
      <category domain="http://www.securityratty.com/tag/fun security">fun security</category>
      <category domain="http://www.securityratty.com/tag/security efficiency">security efficiency</category>
      <category domain="http://www.securityratty.com/tag/data security compromise">data security compromise</category>
      <category domain="http://www.securityratty.com/tag/fun">fun</category>
      <category domain="http://www.securityratty.com/tag/security chasm">security chasm</category>
      <category domain="http://www.securityratty.com/tag/risk">risk</category>
      <category domain="http://www.securityratty.com/tag/people perceive risk">people perceive risk</category>
      <category domain="http://www.securityratty.com/tag/academic security">academic security</category>
      <source url="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~3/291201487/fun-security-reading-3.html">Fun Security Reading - 3</source>
    </item>
    <item>
      <title><![CDATA[Process Doubling]]></title>
      <link>http://www.securityratty.com/article/bb776a22dcf12e674d4b4bf2ea3e9e66</link>
      <guid>http://www.securityratty.com/article/bb776a22dcf12e674d4b4bf2ea3e9e66</guid>
      <description><![CDATA[I was working on a client a week ago or so and we completely compromised their network. Its a fairly common occurrence during an audit (given there are logistical reasons that make many common...]]></description>
      <content:encoded><![CDATA[<p>I was working on a client a week ago or so and we completely compromised their network.  It&#8217;s a fairly common occurrence during an audit (given there are logistical reasons that make many common techniques off limits).  It was mission accomplished for showing the vulnerabilities in the client.  However, I started thinking about the firewall egress filtering, or lack thereof.  Granted, creating a reverse shell is fairly straight forward, but what if the situation was slightly different.  What if there was egress filtering and I ended up rooting a web server?  And in this situation let&#8217;s pretend that it was set up so that all that&#8217;s allowed out is port 80 and 443.  What now?  I can&#8217;t kill the web server, or people will certainly notice, and I can&#8217;t tunnel out on any other ports which are already locked up by the web server, so what alternative do I have?</p>
<p>Sure, I could use some of the modern rootkits that talk outside of the TCP  by sending single packets but some anti-DDoS boxes out there stop that sort of connection from even hitting a box.  They do this for flood protection.  They wait for a full TCP state to be initiated before they connect to the web server behind them (similar to a proxy server actually).</p>
<p>Here&#8217;s where some programming skill could come into play.  Why not re-program a web-server to also listen as if it were an IRC server or telnet or something else for back and forth real-time communication.  We already have root access, so it&#8217;s easy enough to start and stop the process.  It&#8217;s also fairly easy with some programming to create a switch in the code, to look for a different string and jump into a different mode.  It could be a clever way around a fairly complex set of circumstances.  Anyway, yet another odd thought.</p>
<!--Sun, 27 January 2008 18:01:55 +000-->]]></content:encoded>
      <pubDate>Sun, 27 Jan 2008 19:44:57 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/web server">web server</category>
      <category domain="http://www.securityratty.com/tag/fairly complex set">fairly complex set</category>
      <category domain="http://www.securityratty.com/tag/set">set</category>
      <category domain="http://www.securityratty.com/tag/fairly straight forward">fairly straight forward</category>
      <category domain="http://www.securityratty.com/tag/egress">egress</category>
      <category domain="http://www.securityratty.com/tag/fairly easy">fairly easy</category>
      <category domain="http://www.securityratty.com/tag/fairly common occurrence">fairly common occurrence</category>
      <category domain="http://www.securityratty.com/tag/easy">easy</category>
      <category domain="http://www.securityratty.com/tag/firewall egress">firewall egress</category>
      <source url="http://ha.ckers.org/blog/20080127/process-doubling/">Process Doubling</source>
    </item>
    <item>
      <title><![CDATA[Cross Site Printing: Printer Spamming]]></title>
      <link>http://www.securityratty.com/article/019c3884fdee96369014e69327d13826</link>
      <guid>http://www.securityratty.com/article/019c3884fdee96369014e69327d13826</guid>
      <description><![CDATA[Many network printers listen on port 9100 for a print job (RAW Printing or Direct IP printing). You can telnet directly to the printer port and enter text. Once you disconnect from the printer it...]]></description>
      <content:encoded><![CDATA[Many network printers listen on port 9100 for a print job (RAW Printing or Direct IP printing). You can telnet directly to the printer port and enter text. Once you disconnect from the printer it will...]]></content:encoded>
      <pubDate>Wed, 09 Jan 2008 19:16:31 +0000</pubDate>
      <category domain="http://www.securityratty.com/tag/printer">printer</category>
      <category domain="http://www.securityratty.com/tag/port">port</category>
      <category domain="http://www.securityratty.com/tag/printer port">printer port</category>
      <category domain="http://www.securityratty.com/tag/enter text">enter text</category>
      <category domain="http://www.securityratty.com/tag/print job">print job</category>
      <category domain="http://www.securityratty.com/tag/telnet directly">telnet directly</category>
      <category domain="http://www.securityratty.com/tag/network printers">network printers</category>
      <category domain="http://www.securityratty.com/tag/direct">direct</category>
      <category domain="http://www.securityratty.com/tag/disconnect">disconnect</category>
      <source url="http://www.net-security.org/article.php?id=1107">Cross Site Printing: Printer Spamming</source>
    </item>
  </channel>
</rss>
