Search: Advanced search |
Browse by category: |
| Malecious Random JavaScript Rootkit | |||||||||||||
Malecious Random JavaScript
Rootkit
Affected Binary Packages
/sbin/fsck /sbin/route /bin/basename /bin/cat /bin/mount /bin/touch The Rootkit renames these system binary packages by adding a random set of characters at the end of the file name. Additionally, a 0 byte file with a different set of random characters is created based upon the target binary package's name. For example:
/sbin/routeGnAxnt168fMJAxHiru22 These files are hidden on the live filesystem of an affected system. In order to view these files, the system must be rebooted to a safe environment such as a system rescue CD. How a Rootkit works
The JavaScript file is dynamically created and will have a random five character filename. This JavaScript will begin exploiting several known vulnerabilities within Windows, QuickTime and Yahoo Messenger on the web visitor's PC. Keep in mind that the JavaScript is not served on every request. It is injected into a small percentage of requests at random. How do I know my server has been infected with this JS Rootkit ? If you feel your server is being compromised, you can run the tests below to confirm. The easiest test is to attempt to create a directory with a numerical name such as:
If your system returns the following error: [root\@server ~]# mkdir 1 Your system has been compromised. This is not always true in older variants of a Rootkit . To make sure that your server is not compromised, run the following command for 3-5 minutes in order to sniff packets: tcpdump -nAs 2048 src port 80 | grep "[a-zA-Z]\{5\}\.js'" If your server is infected, the system will return the following result:
root@server log]# tcpdump -nAs 2048 src port 80 | grep "[a-zA-Z]\{5\}\.js'"
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on eth0, link-type EN10MB (Ethernet), capture size 2048 bytes
1311 packets captured
2627 packets received by filter
0 packets dropped by kernel
Additional detection methods require an in-depth knowledge of Kernel debugging. Solution Keep in mind that this is a root compromise. Until the point of entry is determined and closed, the server can continue to be compromised without proper security practices in place. We highly recommended that you do the following:
June 26th, 2008: Read the Latest findings about the Random JavaScript Rootkit Click here if you wish to protect your server against IFrame JS code with "ServerTune IFrame Shield" More information about Kernel Rootkits (To view this page, your browser must support in-line frames.) |
|||||||||||||
Targeted Systems