<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="/css/rss.css" type="text/css"?>
<rss version="2.0">
<channel>
  <title>      SANS Internet Storm Center, InfoCON: green</title>
  <link>       http://isc.sans.org</link>
  <description><![CDATA[]]></description>
  <language>   en-us</language>
  <lastBuildDate>   Sat, 04 Jul 2009 06:22:02 +0000</lastBuildDate>
  <pubDate>   Fri, 03 Jul 2009 21:26:39 GMT</pubDate>
<copyright>(C) SANS Institute 2009</copyright>
             <generator>isc rss feed maker</generator>
             <ttl>30</ttl>
             <webMaster>handlers@sans.org (ISC Handlers)</webMaster>
             <image>
               <title>SANS Internet Storm Center, InfoCON: green</title>
               <url>http://isc.sans.org/images/status.gif</url>
               <link>http://isc.sans.org</link>
             </image>
  <item>
    <title>BCP/DRP, (Fri, Jul 3rd)</title>
    <link>http://isc.sans.org/diary.php?storyid=6721&amp;rss</link>
    <guid>http://isc.sans.org/diary.php?storyid=6721&amp;rss</guid>
    <description><![CDATA[Question, what do Bing.com and Authorize.net have in common? Who would have guessed that they both have servers located in a data center that has had a fire? Or that they may have to put more into the planning portion of Disaster Recovery and Business Continuity? Authorize.net has been completely down for several hours now. Bing.com/travel had this to say: A fire occurred at Fisher Plaza in downtown Seattle just after midnight on Friday morning. The blown transformer knocked out power to the entire building, which is home to the Bing Travel servers. We're hard at work to restore service following this unexpected event. Our current estimate for re-establishing Bing Travel functionality is 5pm PST, July 3rd. Perhaps they should have read one of our SANS papers on BCP/DRP planning. Reading room link is here.  More information is available at this twitter http://twitter.com/authorizenet where Authorize.net are tweeting. The media are also following the story, KOMO a local station was knocked offline but are broadcasting from a backup site.<br />
Update: Authorize.net appear to be at least partially back up and running.<br />
<br />
<br />
Cheers,<br />
<br />
Adrien de Beaupr<br />
<br />
EWA-Canada.com<br />
Teaching SANS Cutting-Edge Hacking Techniques in Ottawa this September. <br />
]]></description>
    <pubDate>Fri, 03 Jul 2009 21:26:39 GMT</pubDate>
  </item>
  <item>
    <title>
Happy 4th of July!, (Fri, Jul 3rd)</title>
    <link>http://isc.sans.org/diary.php?storyid=6727&amp;rss</link>
    <guid>http://isc.sans.org/diary.php?storyid=6727&amp;rss</guid>
    <description><![CDATA[Celebrate, watch fireworks, but don't click on links in emails or surf to sites with Fourth of July, Independence day, or Fireworks as key words. Websense is reporting that Waledac will be using the above subjects in emails with links to sites that appear to be a video, but instead downloads malware. Their alert is here. More information is also available at the ESET blog here. <br />
<br />
<br />
Cheers,<br />
<br />
Adrien de Beaupr<br />
<br />
EWA-Canada.com<br />
Teaching SANS Cutting-Edge Hacking Techniques in Ottawa this September. <br />
]]></description>
    <pubDate>Fri, 03 Jul 2009 18:47:18 GMT</pubDate>
  </item>
  <item>
    <title>
FCKEditor advisory, (Fri, Jul 3rd)</title>
    <link>http://isc.sans.org/diary.php?storyid=6724&amp;rss</link>
    <guid>http://isc.sans.org/diary.php?storyid=6724&amp;rss</guid>
    <description><![CDATA[FCKeditor, a web based open source HTML text editor, suffers from a remote file upload vulnerability. The advisory is here. CVE-2009-2265 has been assigned to the vulnerability. The patch and a new version of the editor will be available next week (06 July). Keep a close eye on any system with this package installed on it, it is recommended to follow mitigation steps in the advisory in the meantime. A number of compromises have been reported as a result of the exploit being used prior to now. Thanks Andrea.<br />
<br />
<br />
Cheers,<br />
<br />
Adrien de Beaupr<br />
<br />
EWA-Canada.com<br />
Teaching SANS Cutting-Edge Hacking Techniques in Ottawa this September. <br />
]]></description>
    <pubDate>Fri, 03 Jul 2009 17:25:35 GMT</pubDate>
  </item>
  <item>
    <title>
Authorize.net down, (Fri, Jul 3rd)</title>
    <link>http://isc.sans.org/diary.php?storyid=6718&amp;rss</link>
    <guid>http://isc.sans.org/diary.php?storyid=6718&amp;rss</guid>
    <description><![CDATA[The credit card payment gateway authorize.net is currently down. A fire at their data center is apparently the cause. Thanks to Joey, Tommy, and Jonathan for writing in.<br />
<br />
<br />
Cheers,<br />
<br />
Adrien de Beaupr<br />
<br />
EWA-Canada.com<br />
Teaching SANS Cutting-Edge Hacking Techniques in Ottawa this September. <br />
]]></description>
    <pubDate>Fri, 03 Jul 2009 16:50:12 GMT</pubDate>
  </item>
  <item>
    <title>
Cold Fusion web sites getting compromised, (Thu, Jul 2nd)</title>
    <link>http://isc.sans.org/diary.php?storyid=6715&amp;rss</link>
    <guid>http://isc.sans.org/diary.php?storyid=6715&amp;rss</guid>
    <description><![CDATA[There have been a high number of Cold Fusion web sites being compromised in last 24 hours. We received several e-mails about this.<br />
<br />
<br />
<br />
It appears that the attackers are exploiting web sites which have older installations of some Cold Fusion applications. These applications have vulnerable installations of FCKEditor, which is a very popular HTML text editor, or CKFinder, which is an Ajax file manager. The vulnerable installations allow the attackers to upload ASP or Cold Fusion shells which further allow them to take complete control over the server.<br />
<br />
<br />
<br />
The attacks we've been seeing in the wild end up with inserted script tags into documents on compromised web sites. As you can probably guess by now, the script tags point to a whole chain of web sites which ultimately serve malware and try to exploit vulnerabilities on clients.<br />
<br />
<br />
<br />
What's interesting is that the group behind this is probably connected (if not the same) as the group that performed a lot of similar attacks back in March. I wrote several diaries about them  seehttp://isc.sans.org/diary.html?storyid=6001 and http://isc.sans.org/diary.html?storyid=6010<br />
<br />
<br />
<br />
Back in March, once they gained access to the server, they used a local privilege escalation exploit for a vulnerability that was, at that time, unpatched. If your servers are up to date with Microsoft patches, the vulnerability has been patched but they still can modify local web site files in a lot of cases (and sometimes even more, depending on Cold Fusion's configuration).<br />
<br />
<br />
<br />
We'll be carefully monitoring the situation with this, of course. In the mean time, make sure that all applications you are running are up to date and fully patched. Another thing you might want to do is check for any old software you might have on your servers  it is very common for applications to leave old, vulnerable parts that are not used any more hanging around. And such applications are just waiting to be compromised.<br />
<br />
<br />
<br />
Thanks to Adam for giving us an early heads up.<br />
<br />
<br />
<br />
UPDATE<br />
<br />
<br />
<br />
We received some additional information about this whole case with ColdFusion. It appears that there are two attack vectors (both using vulnerable FCKEditor installations though) that the attackers are exploiting.<br />
First, version 8.0.1 of Cold Fusion installs a vulnerable version of FCKEditor which is enabled by default. This is very bad news, of course, since the attacker can just directly exploit FCKEditor to upload arbitrary files on affected servers. Information on how to disable this is available on the ColdFusion web site at http://www.codfusion.com/blog/post.cfm/cf8-and-fckeditor-security-threat<br />
The second attack vector is again through vulnerable FCKEditor installations, but which are this time dropped through 3rd party application. One of the common applications that has been seen in attacks is CFWebstore, a popular e-commerce application for ColdFusion. Older versions of CFWebstore used vulnerable FCKEditor installations -- if you are using CFWebstore make sure that you are running the latest version and that any leftovers have been removed.<br />
<br />
<br />
<br />
--<br />
<br />
Bojan <br />
<br />
]]></description>
    <pubDate>Fri, 03 Jul 2009 09:35:14 GMT</pubDate>
  </item>
  <item>
    <title>
Unpatched Bloatware on new PCs, (Thu, Jul 2nd)</title>
    <link>http://isc.sans.org/diary.php?storyid=6712&amp;rss</link>
    <guid>http://isc.sans.org/diary.php?storyid=6712&amp;rss</guid>
    <description><![CDATA[I recently purchased a netbook, and while I like the highly portable on-the-go computing that it offers very much, booting it up for the first time was frustrating. The box took its sweet time to install a big pile of bloatware, ranging from Acer's own useless tool suite over trial versions of McAfee Internet Security and MS Office 2007 Home Edition all the way to the common culprits like Google Desktop  co.  Software I didn't want, had never wanted, and knew full well I would have to tediously uninstall again as soon as the device finished booting. And indeed, the first start up not even fully complete, the nag screens began to appear, begging for attention and money.<br />
Undesired pre-installed software would be annoying enough all by itself. But all this software can (will!) also contain vulnerabilities that require patching in future. As stated in my earlier post today, patching of PC applications is an unsolved problem. By forcing unwanted trialware onto customers, the hardware vendors are contributing to making the patching problem worse. <br />
<br />
<br />
<br />
A secure and bloat-free configuration out of the box would be highly appreciated. We already have enough to worry about keeping a PC secure and up to date during its lifespan, without hardware manufacturers stacking the odds against us even further.<br />
What do you do with the undesired software pre-installed on new PCs? Let us know in the poll on this page.]]></description>
    <pubDate>Thu, 02 Jul 2009 10:08:35 GMT</pubDate>
  </item>
  <item>
    <title>
Getting the EXE out of the RTF, (Thu, Jul 2nd)</title>
    <link>http://isc.sans.org/diary.php?storyid=6703&amp;rss</link>
    <guid>http://isc.sans.org/diary.php?storyid=6703&amp;rss</guid>
    <description><![CDATA[Recently, when the targeted attack with malicious RTF attachments was making the rounds, I wondered how to best get the embedded EXE extracted from the RTF for further analysis. On a Windows system, you would most likely simply copy/paste the embedded object from within RTF to an Explorer window, and end up with the original file. Since I do my malware analysis on Unix, this wasn't an option. Looking at the file, it appeared as if RTF was using some sort of hexadecimal encoding:<br />
<br />
Now, as a command line Perl addict, hex is something I know how to deal with :-).<br />
$cat detail.rtf | sed -e '1,3d' | perl -ne 's/(..)/print chr(hex($1))/ge'  detail.bin<br />
<br />
$cat detail.bin | hexdump -C | more<br />
00000000  02 00 00 00 08 00 00 00  50 61 63 6b 61 67 65 00  |........Package.|<br />
<br />
00000010  00 00 00 00 00 00 00 00  1c e4 00 00 02 00 4d 69  |.............Mi|<br />
<br />
00000020  63 72 6f 73 6f 66 74 20  57 6f 72 64 20 20 45 6e  |crosoft Word  En|<br />
<br />
00000030  64 4e 6f 74 65 20 78 32  20 65 72 72 6f 72 2e 20  |dNote x2 error. |<br />
<br />
00000040  50 6c 65 61 73 65 20 64  6f 75 62 6c 65 20 63 6c  |Please double cl|<br />
<br />
00000050  69 63 6b 20 68 65 72 65  20 74 6f 20 76 69 65 77  |ick here to view|<br />
<br />
00000060  20 74 68 65 20 6f 72 69  67 69 6e 61 6c 20 63 6f  | the original co|<br />
<br />
00000070  6e 74 65 6e 74 2e 73 63  72 00 43 3a 5c 55 73 65  |ntent.scr.C:Use|<br />
Sweet, we get something printable!  The sed command deletes the first three lines, because they don't contain hex and would confuse the Perl statement that follows. The Perl code eats up two digits at once and converts them to the corresponding ASCII character, iterating through the entire file.  I'm using perl -ne combined with print instead of perl -pe because the former makes it easier to ignore the pesky CR/LF line end markers that make Windows text so annoying on Unix.  The output gets piped into hexdump -C, because we expect this content to be an embedded EXE file, and thus it likely contains a lot of non-printable characters that would not be fun to look at in vi or more.<br />
A bit further down in the output, there was indeed the tell tale MZ marker of the beginning of a MSDOS PE header.<br />
00000170  6c 20 63 6f 6e 74 65 6e  74 2e 73 63 72 00 00 e0  |l content.scr..|<br />
<br />
00000180  00 00 4d 5a 50 00 02 00  00 00 04 00 0f 00 ff ff  |..MZP.........|<br />
<br />
00000190  00 00 b8 00 00 00 00 00  00 00 40 00 1a 00 00 00  |.........@.....|<br />
<br />
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|<br />
Easy, I thought.  Let's carve out the file beginning with the MZ and we should have the EXE:<br />
$ dd if=detail.bin of=detail.exe bs=1 skip=386<br />
<br />
61870+0 records in<br />
<br />
61870+0 records out<br />
<br />
61870 bytes (62 kB) copied, 0.269451 s, 230 kB/s<br />
<br />
$ file detail.exe<br />
<br />
detail.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit<br />
if and of are the input and output files of the dd command. bs=1 sets the step size to one byte, and skip, well, skips the given number of bytes at the beginning of the file. 386 is the decimal equivalent of 0x182, the offset of MZ visible in the hexdump above.<br />
While the file command confirmed that I had indeed carved out an executable, something was wrong  the file didn't want to run in the emulator, and when I uploaded it to threatexpert.com, their service called it invalid.  I quickly figured out that the RTF has a lot of crud at the end as well, which also needs to be cut off, but I still couldn't reliably determine the correct length, and hence didn't know where the last byte of the embedded executable was.<br />
Well, time for the malware reverse engineering equivalent of the known plaintext attack. I used a Windows PC to embed a copy of notepad.exe into an otherwise empty RTF document of my own, and then went about analyzing this RTF until I was able to carve out the original notepad.exe.  The main AHA! moment was when I realized that the bytes between the filename and the MZ header actually are the length of the embedded file. If we use our hexdump from before<br />
00000170  6c 20 63 6f 6e 74 65 6e  74 2e 73 63 72 00 00 e0  |l content.scr..|<br />
<br />
00000180  00 00 4d 5a 50 00 02 00  00 00 04 00 0f 00 ff ff  |..MZP.........|<br />
<br />
00000190  00 00 b8 00 00 00 00 00  00 00 40 00 1a 00 00 00  |.........@.....|<br />
<br />
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|<br />
the length of the file in this case is 0x00E000, which is 57344 in decimal.  Back to the sample:<br />
$ dd if=detail.exe of=detail-fixed.exe bs=1 count=57344<br />
<br />
57344+0 records in<br />
<br />
57344+0 records out<br />
<br />
57344 bytes (57 kB) copied, 0.268809 s, 213 kB/s<br />
<br />
$ file detail-fixed.exe<br />
<br />
detail-fixed.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit<br />
<br />
$ md5sum detail-fixed.exe<br />
<br />
82a44254c1ce2019936a8428c93f5354  detail-fixed.exe<br />
This time, the emulator, ThreatExpert and VirusTotal were all happy with the file, and while anti-virus coverage at the time was poor, the EXE/SCR embedded within the RTF attachment was quickly confirmed as unfriendly.<br />
]]></description>
    <pubDate>Thu, 02 Jul 2009 02:44:50 GMT</pubDate>
  </item>
  <item>
    <title>
Internet Storm Center Podcast Episode Number Fifteen, (Thu, Jul 2nd)</title>
    <link>http://isc.sans.org/diary.php?storyid=6709&amp;rss</link>
    <guid>http://isc.sans.org/diary.php?storyid=6709&amp;rss</guid>
    <description><![CDATA[Hey everyone, sorry it has taken so long to get around to recording another podcast episode! The audio should be a bit better on this podcast, and we are going to try and get these out more often now. Enjoy!<br />
All the podcasts<br />
<br />
<br />
Podcast through iTunes<br />
-- Joel Esler | http://www.joelesler.net | http://twitter.com/joelesler]]></description>
    <pubDate>Thu, 02 Jul 2009 01:30:49 GMT</pubDate>
  </item>
</channel>
</rss>
