<?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> &#187; Injection</title>
	<atom:link href="http://www.megapanzer.com/tag/injection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.megapanzer.com</link>
	<description></description>
	<lastBuildDate>Fri, 23 Dec 2011 13:02:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Things to do for the next days &#8230;</title>
		<link>http://www.megapanzer.com/2010/10/01/things-to-do-for-the-next-days/</link>
		<comments>http://www.megapanzer.com/2010/10/01/things-to-do-for-the-next-days/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 11:27:33 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[DLL]]></category>
		<category><![CDATA[DLL injection]]></category>
		<category><![CDATA[Eavesdropping]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[skypetap]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=4166</guid>
		<description><![CDATA[I&#8217;m still struggling to make SkypeTap (skype interception module) work on Win7. This week things just don&#8217;t go as smoothly as expected :/ As soon as I have a result (may it be positive or negative) I&#8217;ll let you know. If it works I think a further post would be appropriate that shows in detail [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.megapanzer.com/wp-content/uploads/trojan_horse.jpeg" alt="" title="trojanhorse" width="100" height="96" class="alignright size-full wp-image-2132" />I&#8217;m still struggling to make <strong>SkypeTap </strong>(skype interception module) work on Win7. This week things just don&#8217;t go as smoothly as expected :/ As soon as I have a result (may it be positive or negative) I&#8217;ll let you know.</p>
<p>If it works I think a further post would be appropriate that shows in detail how to inject <strong>*something*</strong> into a process and what different approches exist to do that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2010/10/01/things-to-do-for-the-next-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting PHP injection</title>
		<link>http://www.megapanzer.com/2010/09/02/interesting-php-injection/</link>
		<comments>http://www.megapanzer.com/2010/09/02/interesting-php-injection/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 16:45:06 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[News & media]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=3904</guid>
		<description><![CDATA[Read on Sans PHP injection attacks have become increasingly popular lately. If you look at your web server logs I’m pretty sure that you will find dozens of requests for PHP injection, usually by bots that are simply trying some well known (and less known) vulnerabilities. One of our readers, Blake, managed to capture some [...]]]></description>
			<content:encoded><![CDATA[<glossarycode><p><img src="http://www.megapanzer.com/wp-content/uploads/newspaper-150x150.jpg" alt="" title="newspaper" width="75" height="75" class="alignright size-thumbnail wp-image-2595" /><strong>Read on Sans</strong><br />
<br />
PHP injection attacks have become increasingly popular lately. If you look at your web server logs I’m pretty sure that you will find dozens of requests for PHP injection, usually by bots that are simply trying some well known (and less known) vulnerabilities.<br />
One of our readers, Blake, managed to capture some interesting attempts to <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=2563" title="Glossary: Exploit" target="_blank">exploit</a> various PHP injection vulnerabilities on his web site, thanks to installation of mod_security. Contrary to popular PHP injection attempts, where the attacker tries to <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=2563" title="Glossary: Exploit" target="_blank">exploit</a> a variable to get the PHP interpreter to retrieve a remote PHP script, Blake noticed that the attacker tried to <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=2563" title="Glossary: Exploit" target="_blank">exploit</a> a vulnerability in a PHP script through POST request. The attacker submitted a malicious PHP script (with other data) hoping that the PHP interpreter will execute it – this vulnerability also exist, although not that common. Here is what the attack looked like in log files &#8230;</p>
<p>Read more <a href="http://isc.sans.edu/diary.html?storyid=9478" target="_blank">here</a>.</p></glossarycode>]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2010/09/02/interesting-php-injection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trj/Casper.A sources.</title>
		<link>http://www.megapanzer.com/2010/02/15/trjcasper-a-sources/</link>
		<comments>http://www.megapanzer.com/2010/02/15/trjcasper-a-sources/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 07:12:30 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[RAT sources]]></category>
		<category><![CDATA[Tools & sources]]></category>
		<category><![CDATA[Casper]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[RAT]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[trojan]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=3468</guid>
		<description><![CDATA[&#160; &#160; &#160; Name Trj.Casper &#160; Type RAT &#160; &#160; Author Unknown &#160; &#160; Written in C &#160; &#160; Description This sourcecode dates back to 2004. It is quite old and its functionality is rather limited. The intresting part in this source code is the injection section which represents the biggest part of it. It [...]]]></description>
			<content:encoded><![CDATA[<table border="0" width="100%">
<tbody>
<tr valign="top">
<td width="30%">&nbsp;</td>
<td width="50%">&nbsp;</td>
<td width="20%">&nbsp;</td>
</tr>
<tr valign="bottom">
<td><strong>Name</strong></td>
<td>Trj.Casper</td>
<td rowspan="5">
<img src="http://www.megapanzer.com/wp-content/uploads/trojan_horse.jpeg" alt="RAT" title="RAT" width="100" height="96" class="alignright size-full wp-image-2132" />
</td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr valign="bottom">
<td><strong>Type</strong></td>
<td>RAT</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr valign="bottom">
<td><strong>Author</strong></td>
<td>Unknown</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr valign="bottom">
<td><strong>Written in</strong></td>
<td>C</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr valign="top">
<td><strong>Description</strong></td>
<td colspan="2">
This sourcecode dates back to 2004. It is quite old and its functionality is rather limited. The intresting part in this source code is <strong>the injection section</strong> which represents the biggest part of it. It contains an injection function based on the <strong>CreateRemoteThread</strong> call and all required functions to make it completely run in a remote process. You can use it as a basic example and extend it with your own functionality.
</td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr valign="top">
<td><strong>Questions</strong></td>
<td colspan="2">Do you have a question about this RAT/bot/worm? At the bottom of this post you find the box where you can type and send your message.</td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr valign="top">
<td><strong>Downloads</strong></td>
<td colspan="2"><a href="http://www.megapanzer.com/wp-content/uploads/casper.zip">Source</a></td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
</tbody>
</table>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2010/02/15/trjcasper-a-sources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Watching encrypted Skype traffic with SkypeDLLInjector</title>
		<link>http://www.megapanzer.com/2009/08/04/watching-encrypted-skype-traffic-with-skypedllinjector/</link>
		<comments>http://www.megapanzer.com/2009/08/04/watching-encrypted-skype-traffic-with-skypedllinjector/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 12:30:22 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Tools & sources]]></category>
		<category><![CDATA[DLL]]></category>
		<category><![CDATA[Eavesdropping]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[Skype]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=2471</guid>
		<description><![CDATA[Tool name : SkypeDLLInjector version 0.1 &#160; Description : SkypeDLLInjector is a tool to demonstrate how DLL injection works. In this proof of concept it is applied to the Skype application. It consists of a loader application which remains running in the background and a DLL which will be injected into every newly started program [...]]]></description>
			<content:encoded><![CDATA[<table border="0" width="100%">
<tbody>
<tr valign="top">
<td width="30%"></td>
<td width="70%"></td>
</tr>
<tr valign="top">
<td><strong>Tool name</strong> :</td>
<td>SkypeDLLInjector version 0.1</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr valign="top">
<td><strong>Description</strong> :</td>
<td>SkypeDLLInjector is a tool to demonstrate how DLL injection works. In this proof of concept it is applied to the Skype application. It consists of a loader application which remains running in the background and a DLL which will be injected into every newly started program via a system wide Windows hook.<br />
All what this tool does is interception the function calls recv() and send() to inspect the network data skype is sending and receiving. Because Skype traffic is encrypted only a small portion of the traffic is readable. But it could inspire you to create your own tools which eavesdrop other calls to intercept sensitive data (as the username and password for example).
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr valign="top">
<td><strong>Tested on</strong> :</td>
<td>Windows XP</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td><strong>Feedback</strong> :</td>
<td>In case you encounter any problems with the tool, you have suggestions to improve it, or you tested it with a Windows version i&#8217;ve not yet tested please drop me an <a href="http://www.megapanzer.com/contact/">email</a>.</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr valign="top">
<td><strong>Downloads</strong> :</td>
<td><a href="http://www.megapanzer.com/wp-content/uploads/skypedllinjector_binary.zip">Binary</a> | <a href="http://www.megapanzer.com/wp-content/uploads/skypedllinjector_source.zip" target="_blank">Source</a></td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/08/04/watching-encrypted-skype-traffic-with-skypedllinjector/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DLL injection by modifying an executable file.</title>
		<link>http://www.megapanzer.com/2009/07/03/dll-injection-by/</link>
		<comments>http://www.megapanzer.com/2009/07/03/dll-injection-by/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 16:43:53 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Reading material]]></category>
		<category><![CDATA[DLL]]></category>
		<category><![CDATA[Infection]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[PE]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=2236</guid>
		<description><![CDATA[This is a newer document from 2009 that explains DLL injection. Instead of using the often used Windows hooking method to inject a DLL into a running process in this example the author modifies the binary itself and loads the DLL when starting the executable file. Download it here.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.megapanzer.com/wp-content/uploads/books-150x150.jpg" width="75" height="75" class="alignright size-thumbnail wp-image-2238" />This is a newer document from 2009 that explains DLL injection. Instead of using the often used Windows hooking method to inject a DLL into a running process in this example the author modifies the binary itself and loads the DLL when starting the executable file.<br />
<br />
Download it <a href="http://www.megapanzer.com/wp-content/uploads/pe-infection_by_dll_injection.pdf" target="_blank">here</a>.<br />
<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/07/03/dll-injection-by/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nine ways how hackers propagate malware (2 of 2)</title>
		<link>http://www.megapanzer.com/2009/05/06/nine_ways_how_hackers_propagate_malware_one/</link>
		<comments>http://www.megapanzer.com/2009/05/06/nine_ways_how_hackers_propagate_malware_one/#comments</comments>
		<pubDate>Wed, 06 May 2009 23:44:05 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[MITM]]></category>
		<category><![CDATA[Proxy server]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=942</guid>
		<description><![CDATA[In the first part of this series I wrote about the different ways how attackers propagate malware by sending an infectious executable file or an USB memory stick to their victims or let them pick up an infected file in a file sharing network like emule or bittorrent. In this article, as promised in the [...]]]></description>
			<content:encoded><![CDATA[<glossarycode><glossarycode><glossarycode><glossarycode><glossarycode><glossarycode><p><img src="http://www.megapanzer.com/wp-content/uploads/injection-150x150.jpg" alt="injection" title="injection" width="150" height="150" class="alignright size-thumbnail wp-image-1728" />In the <a href="http://www.megapanzer.com/2009/03/24/nine_ways_how_hackers_propagate_malware_one-2/">first part</a> of this series I wrote about the different ways how attackers propagate <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> by sending an infectious executable file or an USB memory stick to their victims or let them pick up an infected file in a file sharing network like emule or bittorrent.<br />
In this article, as promised in the first part,  I want to explain how to propagate and inject <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> by taking over a victims data stream.<br />
<span id="more-942"></span><br />
There are two ways how to take over a data stream. From the inside of the victims network (LAN) or from the outside (the Internet). Both of these tactics have their advantages, disadvantages and methods how to proceed which I will explain in the following paragraphs. I wont go too deep into details and technical aspects. Otherwise I had to split this article again in a second and a third part because it would blow it up overly. I will explain the technical aspects in an other article independent from this series and will add example tools and source code where possible.</p>
<p><strong>Attacking the victims home LAN</strong></p>
<p>Beside the fact that home Internet routers are generally weaker protected than corporate Internet access appliances one of the weak links in home routers is often the integrated wireless access point. Sometimes the Internet routers are delivered with the WLAN module activated and only protected by the default settings. Other times the owner activates the WLAN himself and chooses an insecure password or an insecure protection standard like <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1319" title="Glossary: WEP" target="_blank">WEP</a> or nowadays also <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1322" title="Glossary: WPA" target="_blank">WPA</a> has its weakness. If one of these preconditions is the case chances are good an attacker will overcome the protection mechanisms. Once he is connected with the victims local network over the WLAN several not too complicated scenarios exists to take over the data stream.</p>
<p><strong>Method 5 : Taking over the DNS</strong></p>
<p>The Internet doesn&#8217;t understand host names like www.megapanzer.com. Instead it uses IP addresses like 194.208.66.33. And because we are to lazy to remember these irritating IP addresses and prefer the significant hostnames instead the DNS maps between this addressing conventions. Everytime you want to connect to the megapanzer server www.megapanzer.com your computer has to ask a DNS server under which IP address this server is reachable. It doesn&#8217;t take too much imagination taking over the DNS service in a victims LAN is the key to the power. Once an attacker controls the DNS, for example by injecting faked DNS response, he controls where the data stream is directed. Traffic destined for ebanking.ubs.com can easily be redirected to an attackers server.</p>
<p><strong>Method 6 : Acting as default gateway</strong></p>
<p>The computers in an ethernet based LAN don&#8217;t communicate by IP their addresses. IP addresses are used in the Internet but not inside a small, ethernet based home LAN. Ethernet is using MAC addresses. So every network adapter connected to a computer was assigned once a unique MAC address by its manufacturer. The computers in a LAN constantly tell each other what MAC address and what IP address they have and they keep this information in their memory for a while. Also WLAN adapters support the ethernet standard and have therefore MAC addresses. The only difference between wired and wireless network adapters is the medium (air and copper) they are using, the first layer in the OSI model. From layer 2 on they work exactly the same way.<br />
This situation allows an attacker to spread wrong information inside a LAN and telling every computer HIS computer is the router that leads to the Internet. Afterwards every computer sends its data packets to the attacker instead to the real Internet router. The attacker takes over the data stream and can do with it whatever he wants. Relaying, modifying, blocking &#8230;</p>
<p>To give you an idea how this two examples lead to a successful data injection just imagine you as a victim want to download an executable file via your browser. You click on a specific link and are expecting the browser will download this file. An attacker can intercept your request and instead of sending back the real executable the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1214" title="Glossary: Trojan horse" target="_blank">trojan horse</a> will be injected and disguised to make it look unsuspicious. Even if sceptics think you could check the <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Hash" target="_blank">hash</a> checksum also them know only a small percentage really does it and the check sums are not provided everytime.</p>
<p><strong>Method 7 : Intruding the victims Internet router</strong></p>
<p>As you saw in the previous examples the Internet access router is the central point. These attacks were conducted from the internal part of the network. There is also an external part of the network which attackers can reach and attack over the Internet.<br />
Still a big number of home Internet routers are accessible over the Internet and offer a user interface for administration purposes. Often over HTTP/HTTPS and also Telnet and SSH. But private users are not known for having a IT security policy they have to respect. So you can think of several situations you encounter when connecting to a home router:</p>
<ul>
<li>The admin interface acces is blocked</li>
<li>The admin interface access is open but unprotected</li>
<li>The admin interface access is open and protected with the default account settings</li>
<li>The admin interface access is  open and protected with a new password</li>
</ul>
<p>These sittuations invite an attacker to invest some time and trying to crack the password by a bruteforce or <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1682" title="Glossary: Dictionary attack" target="_blank">dictionary attack</a>.<br />
Once this obstacle was overcome by an attacker he has the control over the appliance, the place where all the data passes to and from the Internet. As an example how the stream can be controled by the attacker think of the DNS service from the two previous examples. The attacker can configure the Internet router that way to redirect all the DNS requests to a DNS server that is controlled by the attacker.</p>
<p><strong>Method 8 : Anonymizing proxy server data injection</strong></p>
<p>TOR and I2P, to mention the most famous amongst them, are quite popular anonymizing services. You install the proxy software on your computer, customize your browser a little and you surf the net anonymously. But the anonymizing services have the problem when the data stream reenters the regular Internet again you don&#8217;t know if and who is reading or maybe even manipulating your data stream.<br />
At least in the open and anonymizing proxy chains it is an easy game to infiltrate other peoples data stream, to read it, to manipulate it and to inject data they never requested (read <a href="http://www.megapanzer.com/2009/04/09/one-week-with-the-spammers-and-hackers-day-three/">here</a>).</p>
<p><strong>Method 9 : DNS cache poisoning</strong></p>
<p>I would consider DNS cache poisoning as a rather esotherical method that maybe worked one day. But then I remember just too good when Dan Kaminsky discovered and published the DNS poisoning vulnerability. But as with TCP/IP spoofing, the Sendmail Debug or CGI/PHF vulnerabilities, it just doesn&#8217;t happen anymore.</p>
<p>DNS cache poisoning is a technique to convince for example a big ISPs DNS server, like the one from Bluewin (the biggest access provider in Switzerland), a hostname outside of their domain like ebanking.ubs.com is reachable under the IP address 192.168.1.1. Of course this is the wrong IP address but all the Bluewin users who ask this DNS server for the IP address of ebanking.ubs.com will see this answer. by using DNS cache poisoning an attacker could redirect the data packets from the Bluewin users to a destination of his choice. He controls the stream.</p></glossarycode></glossarycode></glossarycode></glossarycode></glossarycode></glossarycode>]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/05/06/nine_ways_how_hackers_propagate_malware_one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nine ways how hackers propagate malware (1 of 2)</title>
		<link>http://www.megapanzer.com/2009/03/24/nine_ways_how_hackers_propagate_malware_one-2/</link>
		<comments>http://www.megapanzer.com/2009/03/24/nine_ways_how_hackers_propagate_malware_one-2/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 13:01:11 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[propagate]]></category>
		<category><![CDATA[Proxy server]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=656</guid>
		<description><![CDATA[Malware propagation is one of the most fascinating parts of the attackers activities and is attracting, besides the anger of the affected people, the most attention. It is the part where all the magic of infection and intrusion happens, where attackers release the malicious software to the wild and try to infect new victim systems [...]]]></description>
			<content:encoded><![CDATA[<glossarycode><glossarycode><glossarycode><glossarycode><p><a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">Malware</a> propagation is one of the most fascinating parts of the attackers activities and is attracting, besides the anger of the affected people, the most attention. It is the part where all the magic of infection and intrusion happens, where attackers release the malicious software to the wild and try to infect new victim systems as quickly or as targeted as possible; their victims are left wondering how the heck that could have happened.<br />
<span id="more-656"></span><br />
The goal of this article is to give you an overview how and where attackers release <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a>. It will show you an overview about the common infection points where people get in first contact with <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> and what action the software has to execute to initiate the infection process.</p>
<p><strong>Method 1 :  Sending the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1214" title="Glossary: Trojan horse" target="_blank">Trojan horse</a> as email attachment</strong><img class="alignright size-full wp-image-949" src="http://www.megapanzer.com/wp-content/uploads/email.jpg" alt="email" width="112" height="74" /></p>
<p>One of the oldest but still very effective ways people get infected is via email, by opening an attached file. Email is the most used way people communicate over the Internet. Almost everyone owns an email address and is using it regularly. It is easy to use, it&#8217;s accessible from everywhere where you have Internet access. Today, most email services are for free too.</p>
<p>As already mentioned sending <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> as an email attachment was already a propagation method in the early days. The attacker prepared the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1214" title="Glossary: Trojan horse" target="_blank">Trojan horse</a>, sent it to all the recipients on his list and waited until the infected systems connected back. Simple and straightforward. The only thing the recipient (the victim) had to do was to double-click the attachment to initiate the infection process. Back in the days anti virus software was not that wide spread as it is nowadays, the people were not that cautious and sensitised to this kind of threat. Many email users were only a double-click away from the infection.<br />
Today as AV software is installed on virtually every computer and people are aware of the threat, that way of propagation still works surprisingly well. But things turn out slightly more difficult. An AV software doesn&#8217;t accept *.exe *.com *.bat or *.pif files anymore and it also checks archives like *.zip or *.rar files for executable files. If they contain files with suspicious file name extensions it rises a warning and interrupts the execution. But because there is still a big mass of potential victims among the email users that are obstinately ignoring any kind of warnings the infection rate is still high and for an attacker this archaic means is still promising and valuable.</p>
<p><strong>Method 2 : Infection via browser <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Bug" target="_blank">bugs</a></strong> <img class="alignright size-full wp-image-979" title="browsers" src="http://www.megapanzer.com/wp-content/uploads/browsers.jpg" alt="browsers" width="104" height="97" /></p>
<p>The browser is doubtlessly the most used application on a computer. We use it to surf the Internet, to check our mails of course, to chat and many programs people had once installed locally on the computer is now loaded into the browser and ready to use, as for example text processing programs or spreadsheets. Browsers have a big importance and over the years their functionality and extensions grew and changed its usage enormously. With its quick development and the possibility to install plugins also the attack vector grew. Code reviews were conducted more often and not only on the browsers but also on the plugins what revealed many critical and also not so critical <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Bug" target="_blank">bugs</a>. These circumstances also attracted the attackers attention and allowed them new ways to spread their <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a>. By leading a victim to a site that contains malicious HTML, scripting or plugin code an attacker can force the victims browser to execute hidden actions, force it to download and install the damage routine of the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1214" title="Glossary: Trojan horse" target="_blank">Trojan horse</a> and to infect the system that way.<br />
This is much more convenient than the variant with the infected attachment. An email containing a simple link to a homepage doesn&#8217;t seem suspicious and additionally it is a one-click-infection (instead of a double-click).</p>
<p><strong>Method 3 : Removable data storage devices</strong><img class="alignright size-full wp-image-982" title="usb-memory-stick" src="http://www.megapanzer.com/wp-content/uploads/usb-memory-stick.jpg" alt="usb-memory-stick" width="142" height="59" /></p>
<p>There was once a time where the classic <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=3304" title="Glossary: Computer virus" target="_blank">computer viruses</a> propagation happened by sharing infected floppy discs and executing program files. To share and to execute was simply the only method. Even if floppy disks are not in use as data storage device anymore (maybe you&#8217;re still using it as boot device) the method itself is still in use. In the meantime CD-ROMs and USB memory sticks replaced the floppy discs almost completely and Microsoft introduced the Autorun feature that executes commands automatically when a newly connected data storage device is connected. This combination of removable storage devices and autoexecution revived the ancient propagation method and the USB memory sticks and CD-ROMs/DVDs served beside being data storage medium also as host to infect computers with <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a>.</p>
<p>Here is an example how the file autorun.inf has to look like :</p>
<div style="text-align: left;" dir="ltr">
<pre class="source-ini" style="padding-left: 30px;"><span class="re0"><span class="br0">[</span>autorun<span class="br0">]</span></span>
<span class="re1">open</span>=<span class="re2">installMegapanzer.exe</span>
<span class="re1">icon</span>=<span class="re2">myIcon.ico</span></pre>
</div>
<p>This way of <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> propagation was used a lot in the past and Microsoft and also other installed 3rd party software will trigger an alert if a data storage device is using the autorun feature. So this method is not that reliable anymore and has its restrictions.</p>
<p>Additionally and worth mentioning: A <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1214" title="Glossary: Trojan horse" target="_blank">Trojan horse</a> itself can, once running on a victims system, infect other writable USB data storage devices and so propagate in the old known manner as it happened with the floppy disks.  Ancient but proven.</p>
<p><strong>Method 4 : File sharing networks</strong></p>
<p>Another common way to propagate <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> is using the different internet based filesharing networks like Bittorrent, Emule, Limewire etc. An attacker tries to get hold of a new release of a popular software and injects his malicious code into the genuine software packet. After the initial infection the attacker offers the infected file to other users for download.<br />
There are two advantages coming with this method:</p>
<ul>
<li>If a victim downloads the infected file he&#8217;s &#8220;expecting&#8221; an executable file and doesn&#8217;t become suspicious just because of its file extension. He &#8220;will&#8221; execute it after downloading.</li>
<li>Once the file is downloaded by the first victim the availability of the file doubled. Two people offer the infected file now for download. What the attacker has to do is only to make sure he is using a popular software and the propagation will advance in a fast pace.</li>
</ul>
<p><strong>What&#8217;s coming up in the second article</strong></p>
<p>The goal of the first part was to describe the methods how attackers propagate their <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> by distributing it in an active way, by sending &#8220;something&#8221; to the victims expecting they have execute an action with this &#8220;something&#8221;. These ways are well known to all of us because the media permanently informs about the threats we are exposed to, the latest incidents that happend and is giving us the relevant background information. In the next article I will give you an understanding of how to inject the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> in a victims browsing session by taking over and controlling his data stream. More subliminal, more state-of-the-art, stay tuned.</p></glossarycode></glossarycode></glossarycode></glossarycode>]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/03/24/nine_ways_how_hackers_propagate_malware_one-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

