a1234567mdy 发表于 2011-12-23 03:28

Morto worm sets a (DNS) record

<a href="http://www.symantec.com/connect/blogs/morto-worm-sets-dns-record" target="_blank">http://www.symantec.com/connect/blogs/morto-worm-sets-dns-record</a><br>Morto worm sets a (DNS) record

<div class="node-posted">
   Created: 31 Aug 2011| Translations available: <a href="http://www.symantec.com/connect/blogs/dns-morto" target="_blank">日本語</a>   </div>

<div class="node-meta clearfix">
    <div class="picture">
<a href="http://www.symantec.com/connect/user/cathal-mullaney" title="View user profile." target="_blank"><img src="http://www.symantec.com/connect/sites/default/files/imagecache/32x32/default_user_new.png" alt="Cathal Mullaney's picture" title="View user profile." class="imagecache imagecache-32x32" height="32" width="32"></a></div>
    <div class="submitted">
      <a href="http://www.symantec.com/connect/user/cathal-mullaney" class="user-level user-level-2" target="_blank">Cathal Mullaney</a>      <div class="user-badge user-role-symantec-employee">Symantec Employee</div>    </div>
    <div class="voting-box">
      
<span id="votes-node-1913341" class="total-votes-thumbs-large">
<span class="neutral total">0</span>
<span class="total-votes-count">0 Votes</span>
</span>
      
<div class="vud-widget vud-widget-thumbs-large" id="widget-node-1913341">
<div class="vud-widget-disabled clearfix">
   
    <span class="up-inactive"></span>
    <span class="down-inactive"></span>      
</div>
</div>
    </div>      
</div>

      

<div class="node-content-pad">   
    <div class="content clearfix">
            <p>&nbsp;</p>
<div>There has been a lot of coverage of the recent RDP capable <a href="http://www.symantec.com/security_response/writeup.jsp?docid=2011-082908-4116-99" target="_blank">W32.Morto</a>
worm, but one of the more interesting aspects of the worm’s behavior
appears to have been overlooked. Most malware that we have seen recently
has some means of communication with a remote Command and Control
(C&amp;C) server. The actual vector of communication tends to vary
between threats. For example, <a href="http://www.symantec.com/security_response/writeup.jsp?docid=2002-070818-0630-99" target="_blank">W32.IRCBot</a> uses Internet Relay Chat channels whereas the recent high profile threat, <a href="http://www.symantec.com/security_response/writeup.jsp?docid=2011-052413-1248-99" target="_blank">Trojan.Downbot</a>,
is capable of reading commands embedded in HTML pages and image files.
W32.Morto has added another C&amp;C communication vector by supplying
remote commands through Domain Name System (<a href="http://www.ietf.org/rfc/rfc1035.txt" target="_blank">DNS</a>) records.</div>
<div>&nbsp;</div>
<div>DNS is primarily used to translate human readable URLs, such as
“Symantec.com”, into numerical network identifiers (216.12.145.20).
Every URL on the Internet is eventually resolved to an associated IP
address using this system, typically using a <a href="http://en.wikipedia.org/wiki/List_of_DNS_record_types" target="_blank">DNS A record</a>
for IPv4. The A record is what we usually think of when we discuss DNS.
These records map domain names to their associated IP addresses with a
PTR record used for the inverse operation of IP to host. But DNS is not
limited to these records types; there are a number of record types that
have been defined in various RFCs over the years to address the changing
needs of the system. The record type that W32.Morto uses for its
communication protocol is the TXT record.&nbsp;</div>
<div>&nbsp;</div>
<div>The DNS TXT record type was originally used to allow human readable text to be stored with a DNS record and <a href="http://tools.ietf.org/html/rfc1464" target="_blank">later </a>evolved
to store machine useable data. To experiment with this, you can use the
Microsoft nslookup.exe tool. By querying the TXT record type for
“Symantec.com” you can retrieve the <a href="http://en.wikipedia.org/wiki/Sender_Policy_Framework" target="_blank">SPF </a>information associated with the Domain.&nbsp;</div>
<div>&nbsp;</div>
<div><img alt="" src="http://www.symantec.com/connect/imagebrowser/view/image/1913331/_original"></div>
<div>&nbsp;</div>
<div>While examining W32.Morto, we noticed that it would attempt to
request a DNS record for a number of URLs that were hard-coded into the
binary. This is by no means unusual or unique, but when we examined the
URLs, we noticed that there were no associated DNS A records returned
from our own DNS requests. On further investigation, we determined that
the malware was actually querying for a DNS TXT record only – &nbsp;not for a
domain to IP lookup – &nbsp;and the values that were returned were quite
unexpected.</div>
<div>&nbsp;</div>
<div><img alt="" src="http://www.symantec.com/connect/imagebrowser/view/image/1913321/_original"></div>
<div>&nbsp;</div>
<div>The threat clearly expected this type of response as it proceeded
to validate and decrypt the returned TXT record. The decrypted record
yielded a customary binary signature and an IP address where the threat
could download a file (typically another malware) for execution.</div>
<div>&nbsp;</div>
<div>/160.rar</div>
<div>&nbsp;</div>
<div>Once downloaded, W32.Morto immediately executes the threat and
waits for a specified timeout before requesting another TXT record.</div>
<div>What is interesting about this method of command propagation is
that there was no A record for these domains, which means that they
existed primarily to serve these commands to the W32.Morto worm. &nbsp;A
number of other domains have been hard-coded into the worm and they all
display the same unusual DNS characteristics.</div>
<div>&nbsp;</div>
<div>W32.Morto has a number of interesting characteristics, including:
the RDP propagation that has been generating much interest of late;
saving encrypted payload code in the system registry; and replacing some
minor system DLLs with its own payload code. The worm’s use of DNS TXT
records is an unusual method of issuing commands to the remote threat
while keeping the C&amp;C vector under the radar.</div>
    </div>
</div>

<div class="terms clearfix">
      <div class="terms-column-1">
      <div class="filed-under item-blog">
      <div class="terms-label">blog entry Filed Under:</div>
      <div class="terms-comma"><a href="http://www.symantec.com/connect/communities/security" rel="tag" title="" target="_blank">Security</a>, <a href="http://www.symantec.com/connect/symantec-blogs/security-response" rel="tag" title="" target="_blank">Security Response</a>, <a href="http://www.symantec.com/connect/products/endpoint-protection" rel="tag" title="" target="_blank">Endpoint Protection (AntiVirus)</a>, <a href="http://www.symantec.com/connect/blog-tags/dns" rel="tag" title="" target="_blank">dns</a>, <a href="http://www.symantec.com/connect/blog-tags/malcode" rel="tag" title="" target="_blank">Malcode</a>, <a href="http://www.symantec.com/connect/blog-tags/rdp" rel="tag" title="" target="_blank">RDP</a>, <a href="http://www.symantec.com/connect/blog-tags/w32morto" rel="tag" title="" target="_blank">W32.Morto</a>, <a href="http://www.symantec.com/connect/blog-tags/worm" rel="tag" title="" target="_blank">Worm</a></div>
      </div>
    </div>
          </div><br><br>
页: [1]
查看完整版本: Morto worm sets a (DNS) record