<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Avira - TechBlog &#187; Analysis</title>
	<atom:link href="http://techblog.avira.com/tag/analysis/en/feed/en/" rel="self" type="application/rss+xml" />
	<link>http://techblog.avira.com</link>
	<description></description>
	<lastBuildDate>Thu, 19 Nov 2009 06:38:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>FastFlux-Malware leading to FakeAV (Update)</title>
		<link>http://techblog.avira.com/2009/10/02/fastflux-malware-leading-to-fakeav/en/</link>
		<comments>http://techblog.avira.com/2009/10/02/fastflux-malware-leading-to-fakeav/en/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 05:30:23 +0000</pubDate>
		<dc:creator>Dirk Knop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Virus]]></category>
		<category><![CDATA[Warning]]></category>

		<guid isPermaLink="false">http://techblog.avira.com/?p=1245</guid>
		<description><![CDATA[Our researchers found a malicious JavaScript link embedded to the headlines and thread titles in some forums as well as on other web sites after a user notified us about possible issues with a particular forum. The scripts resulted in slowing down forum access which raised suspicion, so we started to analyse what was going [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-465" title="malware_warning" src="http://techblog.avira.com/wp-content/uploads/2008/12/malware_warning.png" alt="malware_warning" width="56" height="53" />Our researchers found a malicious JavaScript link embedded to the headlines and thread titles in some forums as well as on other web sites after a user notified us about possible issues with a particular forum. The scripts resulted in slowing down forum access which raised suspicion, so we started to analyse what was going on.</p>
<p>In those forums there were links embedded in the posts which lead to a JavaScript on a Russian website. A google search with the URL revealed that already more than 100 web pages, especially forums, got infected with that malicious link &#8211; the infection rate is increasing fast. Later another URL with the malware script was identified, which Google reported on more than 16.000 obviously infected web pages.</p>
<div id="attachment_1261" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/10/091001-Encrypted_JS.png"><img class="size-medium wp-image-1261" title="091001-Encrypted_JS" src="http://techblog.avira.com/wp-content/uploads/2009/10/091001-Encrypted_JS-300x117.png" alt="Fig. 1: The JavaScript is encrypted and obfuscated in several layers." width="300" height="117" /></a><p class="wp-caption-text">Fig. 1: The JavaScript is encrypted and obfuscated in several layers.</p></div>
<p>The JavaScript is trying to exploit several vulnerabilities to silently install malware on affected users&#8217; computers. Among these are exploits for Microsoft Video ActiveX Control Vulnerability (CVE-2008-0015), Microsoft Internet Explorer XML Parsing Vulnerability (CVE-2008-4844), Microsoft Internet Explorer Malformed CSS Memory Corruption Vulnerability (CVE-2009-0076) and some PDF exploits for Firefox and the Internet Explorer. All these exploits are already known and security updates are available. The malware writers obviously assume that a lot of Internet users do not update their systems.</p>
<div id="attachment_1263" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/10/091001-Decrypting_JavaScript.png"><img class="size-medium wp-image-1263" title="091001-Decrypting_JavaScript" src="http://techblog.avira.com/wp-content/uploads/2009/10/091001-Decrypting_JavaScript-300x167.png" alt="Fig. 2: Decrypting the JavaScript needed some brute force, too." width="300" height="167" /></a><p class="wp-caption-text">Fig. 2: Decrypting the JavaScript needed some brute force, too.</p></div>
<p>That malicious JavaScript is hosted on a fast-flux&#8217;ed domain &#8211; the Internet addresses to which the embedded link points resolves to different locations every few minutes (fast flux as abbreviation from fast fluctuation, see <a title="Wikipedia article on fast flux servers" href="http://en.wikipedia.org/wiki/Fast_flux" target="_blank">Wikipedia</a>). So it doesn&#8217;t help to take down one server as there are plenty of them. Usually infected computers serve the malware.</p>
<div id="attachment_1260" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/10/091001-fastflux_hosts.png"><img class="size-medium wp-image-1260" title="091001-fastflux_hosts" src="http://techblog.avira.com/wp-content/uploads/2009/10/091001-fastflux_hosts-300x245.png" alt="Fig. 2: The domain the JavaScript was loaded from was a fastflux'ed domain." width="300" height="245" /></a><p class="wp-caption-text">Fig. 3: The domain the JavaScript was loaded from was a fastflux&#39;ed domain.</p></div>
<p>The servers are GeoIP-aware. Trying to access them directly with an IP from Deutsche Telekom network resulted in an &#8220;access denied&#8221;, while using a proxy in the USA made the bots deliver the malware.</p>
<div id="attachment_1262" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/10/091001-Shellcode_functions.png"><img class="size-medium wp-image-1262" title="091001-Shellcode_functions" src="http://techblog.avira.com/wp-content/uploads/2009/10/091001-Shellcode_functions-300x233.png" alt="Fig. 3: The shellcode in the JavaScript finally leads to a FakeAV infection." width="300" height="233" /></a><p class="wp-caption-text">Fig. 4: The shellcode in the JavaScript finally leads to a FakeAV infection.</p></div>
<p>But this malware &#8211; Avira detects it <a title="TR/FraudPack.ams" href="http://www.avira.com/en/threats/section/details/id_vir/4529/tr_fraudpack.ams.html" target="_blank">TR/FraudPack.ams</a> &#8211; is just another downloader. It is encrypted with some layers as well.</p>
<div id="attachment_1266" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/10/091001-FakeAV_Crypter_Greetings.png"><img class="size-medium wp-image-1266" title="091001-FakeAV_Crypter_Greetings" src="http://techblog.avira.com/wp-content/uploads/2009/10/091001-FakeAV_Crypter_Greetings-300x72.png" alt="Fig. 5: The crypter author sends out greetings to Sunbelt." width="300" height="72" /></a><p class="wp-caption-text">Fig. 5: The crypter author sends out greetings to Sunbelt.</p></div>
<p>One of the encryption layers contains greetings to the company Sunbelt.</p>
<div id="attachment_1265" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/10/091001-FakeAV_Downloader_Strings.png"><img class="size-medium wp-image-1265" title="091001-FakeAV_Downloader_Strings" src="http://techblog.avira.com/wp-content/uploads/2009/10/091001-FakeAV_Downloader_Strings-300x228.png" alt="Fig. 4: Contents of the FakeAV downloader svcst.exe. " width="300" height="228" /></a><p class="wp-caption-text">Fig. 6: Contents of the FakeAV downloader svcst.exe. </p></div>
<p>It accesses a set of &#8220;double fast-flux&#8217;ed&#8221; domains to fetch the actual malware, a FakeAV and a ftp password stealer which sends the data to guest books on the Internet. These are detected by Avira with generic detection as <a title="TR/Crypt.ZPACK.Gen" href="http://www.avira.com/en/threats/section/details/id_vir/4487/tr_crypt.zpack.gen.html" target="_blank">TR/Crypt.ZPACK.Gen</a> and as <a title="TR/FakeAV.RK" href="http://www.avira.com/en/threats/section/details/id_vir/4530/tr_fakeav.rk.html" target="_blank">TR/FakeAV.RK</a>, while the password uploader gets detected as <a title="TR/Downloader.Gen" href="http://www.avira.com/en/threats/section/details/id_vir/3907/tr_downloader.gen.html" target="_blank">TR/Downloader.Gen</a>.</p>
<div id="attachment_1264" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/10/091001-FakeAV.png"><img class="size-medium wp-image-1264" title="091001-FakeAV" src="http://techblog.avira.com/wp-content/uploads/2009/10/091001-FakeAV-300x244.png" alt="Fig. 5: The FakeAV disguises itself as Antivirus Pro 2010." width="300" height="244" /></a><p class="wp-caption-text">Fig. 7: The FakeAV disguises itself as Antivirus Pro 2010.</p></div>
<p>The WebGuard of the Avira Premium and Professional blocks the URLs from where the malicious JavaScript is included and also the malware download URLs. Avira AntiVir also protects users from the downloaded malware.</p>
<p>(Article updated on 6th October to add more details about the malware.)</p>
<p style="text-align: right;">Emanuel Somosan<br />
Moritz Kroll<br />
Engine R&amp;D</p>
<p style="text-align: right;">Dirk Knop<br />
Technical Editor</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.avira.com/2009/10/02/fastflux-malware-leading-to-fakeav/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proper Passwords</title>
		<link>http://techblog.avira.com/2009/09/15/proper-passwords/en/</link>
		<comments>http://techblog.avira.com/2009/09/15/proper-passwords/en/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 06:08:02 +0000</pubDate>
		<dc:creator>Dirk Knop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Password]]></category>

		<guid isPermaLink="false">http://techblog.avira.com/?p=1155</guid>
		<description><![CDATA[Every now and then security researchers stumble over a database which holds user data like account names and passwords. Amazingly, each and every time the passwords seem to be the same when analysed.
This time Tõnu Samuel found such a database and counted the passwords. While he tried to spot differences between male and female password [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-465" title="malware_warning" src="http://techblog.avira.com/wp-content/uploads/2008/12/malware_warning.png" alt="malware_warning" width="40" height="39" />Every now and then security researchers stumble over a database which holds user data like account names and passwords. Amazingly, each and every time the passwords seem to be the same when analysed.</p>
<p>This time Tõnu Samuel <a title="[Full-disclosure] Distribution of passwords between man and women" href="http://www.derkeiler.com/Mailing-Lists/Full-Disclosure/2009-09/msg00214.html" target="_blank">found</a> such a database and <a title="Distribution of passwords between men and women" href="http://no.spam.ee/~tonu/passwords.html" target="_blank">counted</a> the passwords. While he tried to spot differences between male and female password choosing habits, for me the most interesting part is the overall view. The top ten passwords are:</p>
<table border="1">
<tbody>
<tr>
<th>Password</th>
<th>Gender</th>
<th>Occurrences</th>
</tr>
<tr>
<td>123456</td>
<td>M</td>
<td>17601</td>
</tr>
<tr>
<td>password</td>
<td>M</td>
<td>4545</td>
</tr>
<tr>
<td>12345</td>
<td>M</td>
<td>3480</td>
</tr>
<tr>
<td>1234</td>
<td>M</td>
<td>2911</td>
</tr>
<tr>
<td>123</td>
<td>M</td>
<td>2492</td>
</tr>
<tr>
<td>123456789</td>
<td>M</td>
<td>2225</td>
</tr>
<tr>
<td>123456</td>
<td>F</td>
<td>1885</td>
</tr>
<tr>
<td>qwerty</td>
<td>M</td>
<td>1883</td>
</tr>
<tr>
<td>12345678</td>
<td>M</td>
<td>1791</td>
</tr>
<tr>
<td><em>&lt;NAME-OF-PORTAL-WAS-HERE&gt;</em></td>
<td>M</td>
<td>1489</td>
</tr>
</tbody>
</table>
<p>So the best guess for a user password is still 123456. This isn&#8217;t coincidence &#8211; just take a look at the &#8216;<a title="The Top 500 Worst Passwords of All Time" href="http://www.whatsmypass.com/the-top-500-worst-passwords-of-all-time" target="_blank">Top 500</a> worst passwords of all time&#8217;.</p>
<p>When it comes to choose a password, you should always have such statistics in mind. Also dictionary attacks are quite usual &#8211; with all permutations like word combination, backwards spelling, capital letters in all positions, &#8216;leet substitution&#8217; (31337) and also adding numbers.</p>
<p>A good password doesn&#8217;t contain words that you can find in a dictionary. Try to take the first letters of the words of a sentence that you can remember. Make some of them capital and add special signs and numbers. An example: &#8216;My two Children are getting up at 7 a.m. in the morning.&#8217; could result in &#8216;M2Cagua7amitm&#8217;. There are still special signs missing, but you get the point. This password is also long enough to make brute force or rainbow table attacks less likely to be successful.</p>
<p style="text-align: right;">Dirk Knop<br />
Technical Editor</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.avira.com/2009/09/15/proper-passwords/en/feed/en/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hindering debugging &#8211; by doing nothing</title>
		<link>http://techblog.avira.com/2009/07/22/hindering-debugging-by-doing-nothing/en/</link>
		<comments>http://techblog.avira.com/2009/07/22/hindering-debugging-by-doing-nothing/en/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 08:41:23 +0000</pubDate>
		<dc:creator>Dirk Knop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Polymorphism]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Virus]]></category>
		<category><![CDATA[Virut]]></category>
		<category><![CDATA[W32/Virut]]></category>

		<guid isPermaLink="false">http://techblog.avira.com/?p=1022</guid>
		<description><![CDATA[A common technique to make debugging harder and more time-consuming is scrambling the virus code and inserting &#8220;random&#8221; junk code that doesn&#8217;t really do anything useful. One example is the W32/Virut family. Despite already being a couple of years old, it is still one of the most active file infector families around. Its author(s) frequently [...]]]></description>
			<content:encoded><![CDATA[<p>A common technique to make debugging harder and more time-consuming is scrambling the virus code and inserting &#8220;random&#8221; junk code that doesn&#8217;t really do anything useful. One example is the <a title="Updated Virut Detection" href="http://techblog.avira.com/2009/02/10/updated-virut-detection/en/" target="_self">W32/Virut</a> family. Despite already being a couple of years old, it is still one of the most active file infector families around. Its author(s) frequently update the way it tries to hide itself both from AV software and researchers.</p>
<p>It is polymorphic and has been manually adapted and extended by its  author(s) multiple times. While analysing one of the latest W32/Virut variants, we came accross a block in the virus code that couldn&#8217;t be properly disassembled by the used debugger. Looking closer, it turned out that the problematic block of code contained a relatively unusual multi-byte no-operation instruction (NOP).</p>
<div id="attachment_1023" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/07/multi-byte-nop1.png"><img class="size-medium wp-image-1023" title="multi-byte-nop1" src="http://techblog.avira.com/wp-content/uploads/2009/07/multi-byte-nop1-300x68.png" alt="Fig. 1: Modern disassemblers and debuggers can decode the length of the NOP correctly." width="300" height="68" /></a><p class="wp-caption-text">Fig. 1: Even modern disassemblers and debuggers can&#39;t decode the length of the NOP correctly (OllyDbg 1.10).</p></div>
<p>The usual NOP instruction of x86 processors is one byte long (opcode <code>0x90</code>). But there is also a multi-byte NOP with the opcode <code>0x0F 1F</code> which is used in the virus code. The multi-byte NOP can take up to 9 bytes. NOP instructions can get used for padding the code to align it to 8 or 16 byte boundaries &#8211; on modern processors this can speed up the code, mostly for caching reasons.</p>
<p>Intel officially documented this multi-byte NOP in 2006, but it has already been present in older processors for quite a while &#8211; apparently since Pentium Pro, but not the Pentium MMX.</p>
<div id="attachment_1024" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/07/multi-byte-nop2.png"><img class="size-medium wp-image-1024" title="multi-byte-nop2" src="http://techblog.avira.com/wp-content/uploads/2009/07/multi-byte-nop2-300x155.png" alt="Fig. 2: Some disassemblers and debuggers don't cope well with the multi-byte NOP instructions." width="300" height="155" /></a><p class="wp-caption-text">Fig. 2: Older disassemblers and debuggers don&#39;t cope well with the multi-byte NOP instructions (older IDA variant).</p></div>
<p>The author(s) of the W32/Virut malware now use(s) the fact that these multi-byte NOP instructions are still quite unknown to complicate the analysis and to trick disassemblers and emulators. Some commonly used disassemblers and debuggers don&#8217;t support these opcodes. They cannot calculate the correct length of the instruction and as a result aren&#8217;t able to properly &#8220;translate&#8221; the code beyond this point.</p>
<p style="text-align: right;">Markus Hinderhofer<br />
Engine Research &amp; Development</p>
<p style="text-align: right;">Dirk Knop<br />
Technical Editor</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.avira.com/2009/07/22/hindering-debugging-by-doing-nothing/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malware threats in the first half of 2009</title>
		<link>http://techblog.avira.com/2009/06/19/malware-threats-in-the-first-half-of-2009/en/</link>
		<comments>http://techblog.avira.com/2009/06/19/malware-threats-in-the-first-half-of-2009/en/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 09:26:57 +0000</pubDate>
		<dc:creator>Dirk Knop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[Construction Kit]]></category>
		<category><![CDATA[e-Crime]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Malware]]></category>

		<guid isPermaLink="false">http://techblog.avira.com/?p=954</guid>
		<description><![CDATA[As we were predicting upcoming threats for 2009 in the end of last year we now checked whether our guesses were correct. Unfortunately, they were.
We predicted that the use of polymorphic file infectors will increase again. This became true: W32/Virut, W32/Sality and W32/Almanahe are celebrating a comeback. The authors spread new variants of their polymorphism-engines. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-513" title="antivir_ok" src="http://techblog.avira.com/wp-content/uploads/2009/01/antivir_ok.png" alt="antivir_ok" width="26" height="26" />As we were <a title="Avira’s forecast of malware trends for 2009" href="http://www.avira.de/en/company_news/malware_trends_for_2009.html" target="_blank">predicting</a> upcoming threats for 2009 in the end of last year we now checked whether our guesses were correct. Unfortunately, they were.</p>
<p>We predicted that the use of polymorphic file infectors will increase again. This became true: <a title="Updated Virut Detection" href="http://techblog.avira.com/2009/02/10/updated-virut-detection/en/" target="_blank">W32/Virut</a>, <a title="Removal of the Sality Virus" href="http://techblog.avira.com/2009/02/02/removal-of-the-sality-virus/en/" target="_blank">W32/Sality</a> and <a title="Cleaning polymorphic infected files" href="http://techblog.avira.com/2008/12/19/cleaning-polymorphous-infected-files/en/" target="_blank">W32/Almanahe</a> are celebrating a comeback. The authors spread new variants of their polymorphism-engines. It seems that even older versions of those polymorphic viruses are still widespread, but W32/Virut is releasing the most updates &#8211; several dozens in the first six months of the year. The good news is that our detection routines withstand these bypass attempts.</p>
<p>Spreading malware via manipulated PDF documents still is one of the top threats on the Internet. In the last months the amount of exploit PDFs showing up for the vulnerabilities in PDF readers significantly increased &#8211; in the first half of 2009 we received several thousand samples. Every week the malware authors spread around ten newly obfuscated exploits, which in turn got used for plenty of PDF files each. We&#8217;re regularly releasing updates for new modified PDF exploits when necessary. Users should update their PDF readers regularly anyhow as this mitigates most of the threats.</p>
<p>As attack vector for infections of computers web-borne malware is further increasing. The malware gets more and more installed via drive-by-downloads, where the attackers hack into web servers with legitimate content and add references to their malware servers. Those servers then install for example trojans and/or bots on the vulnerable computers. It seems that there are plenty of construction toolkits out there with which anyone can produce malicious JavaScript simply by the click with the mouse: Malware-features like encryption, heap-spraying and shellcode seem to be more modular and repeating in parts of the malicious web pages we analyzed.</p>
<p>The usage of a recent antivirus product will help protecting from these threats. The WebGuard of our premium products additionally very efficiently remedies the web-borne malware distribution.</p>
<p style="text-align: right;">Dirk Knop<br />
Technical Editor</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.avira.com/2009/06/19/malware-threats-in-the-first-half-of-2009/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malware and Phishing statistics for Germany</title>
		<link>http://techblog.avira.com/2009/05/25/malware-and-phishing-statistics-for-germany/en/</link>
		<comments>http://techblog.avira.com/2009/05/25/malware-and-phishing-statistics-for-germany/en/#comments</comments>
		<pubDate>Mon, 25 May 2009 15:32:35 +0000</pubDate>
		<dc:creator>Dirk Knop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[e-Crime]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Phishing]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://techblog.avira.com/?p=921</guid>
		<description><![CDATA[According to http://www.internetworldstats.com/eu/de.htm, 61.1% from the Germany’s population in 2007 had Internet access. From these users, 56% are online every day or almost every day. Having such a widespread Internet usage, it is no surprise that there is quite a lot of activity in the Germany’s Internet scene.
Our statistics show that 14.43% from the Phishing [...]]]></description>
			<content:encoded><![CDATA[<p>According to http://www.internetworldstats.com/eu/de.htm, 61.1% from the Germany’s population in 2007 had Internet access. From these users, 56% are online every day or almost every day. Having such a widespread Internet usage, it is no surprise that there is quite a lot of activity in the Germany’s Internet scene.</p>
<p>Our statistics show that 14.43% from the Phishing and 15.04% from the Malware URLs (for which we have geo IP information) are hosted on servers located in Germany. The numbers of malicious URLs which are advertised in Germany (not necessarily hosted) can’t be computed, since no one is able to count all the emails which contain the URLs.</p>
<div id="attachment_922" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/05/geo-phish.png"><img class="size-medium wp-image-922" title="geo-phish" src="http://techblog.avira.com/wp-content/uploads/2009/05/geo-phish-300x133.png" alt="Fig. 1: The countries where phishing URLs are hosted" width="300" height="133" /></a><p class="wp-caption-text">Fig. 1: The countries where phishing URLs are hosted</p></div>
<p><strong>What do we do to stop them?</strong><br />
The most common way of spreading the URLs is the email. Avira is actively in fighting these threats in two different ways:</p>
<p>Avira’s security products</p>
<ul>
<li> detect the phishing emails and mark them as such.</li>
<li> block the access to the URLs which point to phishing and malware websites.</li>
</ul>
<div id="attachment_923" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/05/registrars.png"><img class="size-medium wp-image-923" title="registrars" src="http://techblog.avira.com/wp-content/uploads/2009/05/registrars-300x137.png" alt="Fig. 2: The registrars which receive notifications to remove dangerous files" width="300" height="137" /></a><p class="wp-caption-text">Fig. 2: The registrars which receive notifications to remove dangerous files</p></div>
<p>Our Labs collaborate with institutions and organizations which send warning information to the registrars and ISPs hosting the dangerous files.</p>
<p>We actively monitor the most phished institutions and issue alerts to the readers of this blog (Figure 3). Of course, not all the names on the list are relevant for the German Users, but once Avira has reached the users all over the world, these information will be very useful.</p>
<p style="text-align: right;">
<div id="attachment_924" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/05/toptargets.png"><img class="size-medium wp-image-924" title="toptargets" src="http://techblog.avira.com/wp-content/uploads/2009/05/toptargets-300x148.png" alt="Fig. 3: Most phished institutions" width="300" height="148" /></a><p class="wp-caption-text">Fig. 3: Most phished institutions</p></div>
<p style="text-align: right;"><a href="mailto:sorin.mustaca@avira.com">Sorin Mustaca</a><br />
Manager International Software Development</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.avira.com/2009/05/25/malware-and-phishing-statistics-for-germany/en/feed/en/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>File Patcher W32/Tobin</title>
		<link>http://techblog.avira.com/2009/05/12/file-patcher-w32tobin/en/</link>
		<comments>http://techblog.avira.com/2009/05/12/file-patcher-w32tobin/en/#comments</comments>
		<pubDate>Tue, 12 May 2009 05:45:33 +0000</pubDate>
		<dc:creator>Dirk Knop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Infections]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Removal]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Underground]]></category>
		<category><![CDATA[Virus]]></category>
		<category><![CDATA[W32/Tobin]]></category>

		<guid isPermaLink="false">http://techblog.avira.com/?p=900</guid>
		<description><![CDATA[While refining and improving our detection of the W32/Tobin file patcher malware we analysed its &#8220;infection&#8221; algorithm closer. Upon execution, it drops a DLL (usually &#8220;nikitob.dll&#8221;) and modifies executable files on the system so that they load the dropped DLL once they get started. So far nothing new or unusual.
W32/Tobin adds a new section named [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-513" title="antivir_ok" src="http://techblog.avira.com/wp-content/uploads/2009/01/antivir_ok.png" alt="antivir_ok" width="26" height="26" />While refining and improving our detection of the W32/Tobin file patcher malware we analysed its &#8220;infection&#8221; algorithm closer. Upon execution, it drops a DLL (usually &#8220;nikitob.dll&#8221;) and modifies executable files on the system so that they load the dropped DLL once they get started. So far nothing new or unusual.</p>
<div id="attachment_903" class="wp-caption alignnone" style="width: 300px"><a href="http://techblog.avira.com/wp-content/uploads/2009/05/importtable.png"><img class="size-full wp-image-903" title="importtable" src="http://techblog.avira.com/wp-content/uploads/2009/05/importtable.png" alt="Fig. 1: The import table" width="290" height="156" /></a><p class="wp-caption-text">Fig. 1: The new import table</p></div>
<p>W32/Tobin adds a new section named &#8220;.lenna&#8221; at the end of the PE file. This section consists of an import table &#8211; such import tables are used by the Windows loader to dynamically load DLLs and provide the corresponding function from them to the started program. The new import table references the dropped DLL &#8220;nikitob.dll&#8221;. At the same time, the import data directory entry in the PE header gets modified to point to the newly attached import table. If there is a bound import table in the executable, W32/Tobin &#8220;removes&#8221; the entry from the data directory by setting it&#8217;s RVA and size to 0.</p>
<div id="attachment_901" class="wp-caption alignnone" style="width: 300px"><a href="http://techblog.avira.com/wp-content/uploads/2009/05/datadirectory_original.png"><img class="size-full wp-image-901" title="datadirectory_original" src="http://techblog.avira.com/wp-content/uploads/2009/05/datadirectory_original.png" alt="Fig. 1: Original data directory address" width="290" height="44" /></a><p class="wp-caption-text">Fig. 2: Original data directory address</p></div>
<div id="attachment_902" class="wp-caption alignnone" style="width: 300px"><a href="http://techblog.avira.com/wp-content/uploads/2009/05/datadirectory_patched.png"><img class="size-full wp-image-902" title="datadirectory_patched" src="http://techblog.avira.com/wp-content/uploads/2009/05/datadirectory_patched.png" alt="Fig. 2: Patched data directory address" width="290" height="44" /></a><p class="wp-caption-text">Fig. 3: Patched data directory address</p></div>
<p>The dropped DLL &#8220;nikitob.dll&#8221; just exports one function, &#8220;NikitaTob&#8221;. Upon calling it, it shows a message box with the text &#8220;NikitaTob&#8221;. The actual virus code is executed automatically when the DLL is loaded.</p>
<div id="attachment_904" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2009/05/dllexport.png"><img class="size-medium wp-image-904" title="dllexport" src="http://techblog.avira.com/wp-content/uploads/2009/05/dllexport-300x107.png" alt="Fig. 4: The malware dll exports just one function" width="300" height="107" /></a><p class="wp-caption-text">Fig. 4: The malware dll exports just one function</p></div>
<p>Among other things, the import address table is rebuilt to make the patched executable work. In our analysis we didn&#8217;t find further malicious routines in the malware.</p>
<div id="attachment_905" class="wp-caption alignnone" style="width: 114px"><a href="http://techblog.avira.com/wp-content/uploads/2009/05/messagebox.png"><img class="size-full wp-image-905" title="messagebox" src="http://techblog.avira.com/wp-content/uploads/2009/05/messagebox.png" alt="Fig. 5: Upon calling the exported function, W32/Tobin just shows a message" width="104" height="100" /></a><p class="wp-caption-text">Fig. 5: W32/Tobin just shows a message</p></div>
<p>In one of the W32/Tobin samples we found the reference to &#8220;C:\NIKITA\Soft\black_soft\29a\nikitob\Release\nikitob.pdb&#8221;. A short search in our archives turned up an old magazine of the VX group 29A. In the issue from January 2005 there is proof-of-concept code which exactly infects files the W32/Tobin-way. The new section there is called &#8220;.senna&#8221;, and a message box shows the text &#8220;PayLoad&#8221;. It looks like some malware writers used the Proof-of-Concept virus to learn new techniques.</p>
<p>Removing this kind of malware from an infected system isn&#8217;t as simple as it may look on first glance. Simply deleting the dropped DLL doesn&#8217;t work: The infected executables depend upon the DLL now and won&#8217;t start anymore. Most likely the whole system wouldn&#8217;t start up anymore. Since W32/Tobin stores the address of the original import table at the end of the executable, it is possible to restore that value and disinfect the system gracefully.</p>
<p style="text-align: right;">Dirk Knop<br />
Technical Editor</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.avira.com/2009/05/12/file-patcher-w32tobin/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malware writers rig up against Sandboxes</title>
		<link>http://techblog.avira.com/2009/03/16/malwarewriters-rig-up-against-sandboxes/en/</link>
		<comments>http://techblog.avira.com/2009/03/16/malwarewriters-rig-up-against-sandboxes/en/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 10:39:46 +0000</pubDate>
		<dc:creator>Dirk Knop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Virus]]></category>

		<guid isPermaLink="false">http://techblog.avira.com/?p=793</guid>
		<description><![CDATA[While analysing a recent version of the often adapted Trojan Dropper CeeInject we stumbled over following message in the malware (in plain text):
Hi  Dear sniffer
If you want to find the net
You better put some effort in doing it
Because anubis wont do the job for you
Bitch.
Anubis is a sandbox system reachable on the Internet where [...]]]></description>
			<content:encoded><![CDATA[<p>While analysing a recent version of the often adapted Trojan Dropper CeeInject we stumbled over following message in the malware (in plain text):</p>
<blockquote><p>Hi  Dear sniffer<br />
If you want to find the net<br />
You better put some effort in doing it<br />
Because anubis wont do the job for you<br />
Bitch.</p></blockquote>
<p>Anubis is a sandbox system reachable on the Internet where you can upload suspicious executable files to. Those are run in a safe environment and changes done to the system during that run are shown after a few minutes. Obviously, malware authors are upset about those sandboxes and now start to prepare their binaries so that the malicious activity is not detectable by them anymore.</p>
<p style="text-align: right;">Dirk Knop<br />
Technical Editor</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.avira.com/2009/03/16/malwarewriters-rig-up-against-sandboxes/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleaning polymorphic infected files</title>
		<link>http://techblog.avira.com/2008/12/19/cleaning-polymorphous-infected-files/en/</link>
		<comments>http://techblog.avira.com/2008/12/19/cleaning-polymorphous-infected-files/en/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 05:21:01 +0000</pubDate>
		<dc:creator>Dirk Knop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Polymorphism]]></category>

		<guid isPermaLink="false">http://techblog.avira.com/?p=425</guid>
		<description><![CDATA[Even though parasitic malware accounts only for a small part of all malware these days, it seems that file infector viruses are making a comeback. File infectors modify existing files by injecting code into them.
When an infected file is started, the virus code takes control and may infect other files. As a rule, control is [...]]]></description>
			<content:encoded><![CDATA[<p>Even though parasitic malware accounts only for a small part of all malware these days, it seems that file infector viruses are making a comeback. File infectors modify existing files by injecting code into them.</p>
<p>When an infected file is started, the virus code takes control and may infect other files. As a rule, control is passed back to the original host program after the virus has done its dirty work, so the user doesn&#8217;t notice anything wrong. Sophisticated techniques such as encryption, obfuscation, polymorphism and stealth capabilities are often used by this kind of malware to make detection harder and to hide its presence.</p>
<p>While detection isn&#8217;t necessarily more difficult compared to other types of malware, removal is usually a less trivial task (which may be the motivation for malware authors). In many cases, files cannot simply be deleted as this would affect the stability or even basic functionality of the operating system and other software.</p>
<p>Instead, the infected host program must be disinfected by removing the virus code from it and by carefully restoring the original contents and file structure if possible. The threat posed by this type of infection seems greatly underestimated nowadays, as the frequency of trojan infections is much higher. However, one must keep in mind that an infection with a static trojan binary is usually limited to one or very few systems in a networked environment. For file infectors, which nowadays often come with worm-like spreading routines, this is not the case. A full network-wide infection, including network shares and sometimes operation-critical software, can prove to be a much bigger issue to deal with than a single trojanized workstation.</p>
<p>This means detection and removal are still an issue for antivirus software. As an example, this blog entry discusses the removal of the Almanahe virus that appeared in 2007 in different variants. Almanahe is a polymorphic virus that infects Windows executable (PE) files on the local system and spreads via network shares. It has also rootkit capabilities to hide its presence on the infected system. The variant covered here is detected by AntiVir as W32/Alman.BB.</p>
<p>When infecting an executable file, the virus performs the following modifications to the host file:<br />
It overwrites parts of the original code section (about 1400 bytes) and redirects the entry point to the start of the injected virus code. The original code, which has been overwritten, is compressed using a run-length encoding algorithm (RLE) and is appended to the last section, along with the dropped  component, which is also compressed (roughly 36 kB in size). It modifies the PE header to reflect the changes made to the file. Since most of the virus code is encrypted, it also sets the writable flag on the code section, so the virus can decrypt itself when it is started. To prevent multiple infection of the same file, the virus inserts an infection marker into the MZ header.</p>
<div id="attachment_428" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2008/12/01-bild-mzheader.png"><img class="size-medium wp-image-428" title="01-bild-mzheader" src="http://techblog.avira.com/wp-content/uploads/2008/12/01-bild-mzheader-300x137.png" alt="Layout of infected PE file" width="300" height="137" /></a><p class="wp-caption-text">Layout of infected PE file</p></div>
<p>In order to disinfect a file infected by this virus, the following steps must be performed:<br />
First, the original code, which has been appended to the last section, must be located and decompressed. Then, the original code can be restored by overwriting the virus code in the code section. The entry point has to be redirected to its original location. The data appended to the file is cut from the file and the original size of the last section is restored. Last but not least, the header values need to be adjusted and the infection marker is removed.</p>
<p>Doing this is not as trivial as it may sound at first, because the data is encrypted/compressed and the offsets and sizes are different for each file. So let&#8217;s have a closer look on how disinfection works:</p>
<p>The virus entry point code starts with about 200 bytes of randomly generated junk instructions in order to prevent detection by a simple signature. At the end of this non-encrypted block, there is a simple decryption loop that decrypts the remainder of the virus code injected into the code section upon execution of the file. The decryption scheme is a simple SUB, ADD, or XOR operation with a single byte key. So as a first step, we need to decrypt this code.</p>
<p>The decrypted code contains the decompression routine for the data appended to the last section. In the next step, we locate the code where the decompression routine is called:</p>
<div id="attachment_427" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2008/12/calldec.png"><img class="size-medium wp-image-427" title="calldec" src="http://techblog.avira.com/wp-content/uploads/2008/12/calldec-300x234.png" alt="Call(s) of decompression routine" width="300" height="234" /></a><p class="wp-caption-text">Call(s) of decompression routine</p></div>
<p>As we can see, the decompression routine is called twice. With the first call, only the first part of the data appended to the last section is extracted, which is the original code from the code section. In the second call, the dropped file is extracted (which is static). What we need to do is to locate the first call and extract the parameters for the decompression routine. That is the relative start offset (<code>0xFA00h</code>) and the decoding length in bits (<code>0x27AAh</code>).</p>
<p>As already mentioned before, the (de)compressor is some kind of run-length encoder (RLE). If there are recurring byte sequences, only the position and the length of the (previous) byte sequence is stored in the encoded data. When decoding the data, a single bit signals whether the next byte is directly extracted from the encoded data or if an already extracted byte sequence must be copied to the current position in the destination buffer. In the latter case, only the position and the length are encoded in the input stream. The following picture illustrates the decoding mechanism:</p>
<div id="attachment_429" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2008/12/03-bild-decoding-mechanism.png"><img class="size-medium wp-image-429" title="03-bild-decoding-mechanism" src="http://techblog.avira.com/wp-content/uploads/2008/12/03-bild-decoding-mechanism-300x93.png" alt="Decoding mechanism (output stream)" width="300" height="93" /></a><p class="wp-caption-text">Decoding mechanism (output stream)</p></div>
<p>Now that we have located the offset and size of the compressed original code, we can restore it by decompressing the first part of the data appended to the last section. We write it to its original location in the code section, and thus overwrite the virus code.</p>
<p>We still need to restore the original entry point RVA, which we can also extract from the decrypted virus code:</p>
<div id="attachment_426" class="wp-caption alignnone" style="width: 310px"><a href="http://techblog.avira.com/wp-content/uploads/2008/12/entryrva.png"><img class="size-medium wp-image-426" title="entryrva" src="http://techblog.avira.com/wp-content/uploads/2008/12/entryrva-300x181.png" alt="RVA of original entry point" width="300" height="181" /></a><p class="wp-caption-text">RVA of original entry point</p></div>
<p>In the next step, we truncate the file to its original size by cutting off the appended data and adjusting the size of the last section. We also adjust the header values to the appropriate values where possible. Unfortunately, not all header values can be restored to the original values since some information is irretrievably lost. Therefore it is not guaranteed that all repaired executables will run again, although most will. This is particularly the case if the integrity of the binary is checked using a checksum or digital signatures. Finally, the infection marker in the MZ header is removed.</p>
<p>After performing these steps, all parts of the virus code are removed and the original contents of the file are restored except for some of the mentioned header values. Of course, the other modifications to the system caused by the virus, like dropped files or registry entries, must also be revoked. This, however, is beyond the scope of this blog entry.</p>
<p>Although antivirus software today is fairly sophisticated, it should be mentioned that it is not always possible to completely restore a system to its pre-infection state. In general, it&#8217;s always recommended to reinstall the system from scratch after a virus infection has been discovered.</p>
<p style="text-align: right;">Markus Hinderhofer<br />
Engine Core R&amp;D</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.avira.com/2008/12/19/cleaning-polymorphous-infected-files/en/feed/en/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
