Click Here to Install Silverlight*
United StatesChange|All Microsoft Sites
Microsoft
Security 

Malicious Software Encyclopedia: WinNT/F4IRootkit

Published: December 7, 2005

WinNT/F4IRootkit is a kernel-mode rootkit used for copy protection on certain Sony BMG audio CDs. There are several versions of this rootkit. The rootkit hides certain Windows system resources, including files, processes, and registry settings. The rootkit can be used by attackers to hide malicious content on the computer.

**

Related Links

Glossary Terms

Click the term to get the definition from our Security Glossary.

**
On This Page
Threat OverviewThreat Overview
Technical AnalysisTechnical Analysis
How to Prevent InfectionHow to Prevent Infection
How to Tell If Your Computer Is InfectedHow to Tell If Your Computer Is Infected
How to Recover from InfectionHow to Recover from Infection
Transmission MethodsTransmission Methods
Payload InformationPayload Information
Modified Registry EntriesModified Registry Entries
Changed ServicesChanged Services
Dropped FilesDropped Files

Threat Overview

Class/typeTrojan - Rootkit-Stealth
DiscoveredOctober 31, 2005
CirculatingYes
Affected operating systemsWindows 2000
Windows XP
Windows Server 2003
Affected software Not specified
Infection ratingMedium
Recovery difficultyModerate
Damage ratingMedium
Transmission ratingMedium

Technical Analysis

WinNT/F4IRootkit is a kernel-mode rootkit distributed on certain Sony BMG audio CDs. These CDs use the Extended Copy Protection (XCP) technology developed by First 4 Internet Ltd (F4i).
 
To install the software that is on the CD, the user must be logged on to the computer with an account that has administrator privileges. When the user first inserts the CD and accepts the license agreement, the installer creates a service called $sys$aries and creates the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\$sys$aries. The installer creates a directory named $sys$filesystem under %windir%\System32 and drops a driver named aries.sys in the $sys$filesystem directory.
 
WinNT/F4IRootkit hides certain Windows system resources that begin with "$sys$". This includes names of files, directories, processes, and registry settings. For example, the rootkit would hide a file with a name like $sys$myfile.exe. 
 
The rootkit hides Windows resources by intercepting certain Windows NT kernel-mode API calls. This includes calls to the following APIs: NtCreateFile, NtQueryDirectoryFile, NtQuerySystemInformation, NtOpenKey, and NtEnumerateKey. The rootkit scans the results returned by these API calls and removes any entry in the result that has the $sys$ prefix in the name. For example, if a user lists the contents of %windir%\System32, the rootkit examines the result returned from NtQueryDirectoryFile and removes any directory or file entry that begins with $sys$, so that the entry is not visible to the user.
 
Although WinNT/F4IRootkit was originally intended to help prevent CD duplication, attackers can use the rootkit in other ways. For example, when the backdoor Trojan Win32/Ryknos infects a computer, it uses WinNT/F4IRootkit to hide if the rootkit is already installed on the computer. For more information, see the encyclopedia entry for Win32/Ryknos.

How to Prevent Infection

To avoid infection by WinNT/F4IRootkit, do not install software from CDs that are known to include the rootkit. Consult Sony BMG and First 4 Internet Ltd for more information.

How to Tell If Your Computer Is Infected

There are no readily apparent indications of infection by WinNT/F4IRootkit. However, your computer is probably infected by this rootkit if the file aries.sys is in a folder named $sys$filesystem under the Windows system directory.
To check for the presence of aries.sys
  1. Click Start, and click Run.
  2. In the Open text box, type: cmd
  3. Click OK. A command-line shell appears.
  4. At the command prompt, type: dir %windir%\System32\$sys$filesystem\aries.sys
  5. Press Enter. The system displays the name aries.sys if the file is present. Otherwise, the system displays "File Not Found".

How to Recover from Infection

Automatic Recovery
To attempt to automatically remove this threat, run one of the following removal tools:

Manual Recovery

It is best to use up-to-date antivirus software to remove WinNT/F4IRootkit from your computer. You can scan your computer for WinNT/F4IRootkit and other malicious software from the Windows Live Safety Center Web site. 
To scan your computer for malicious software from the Windows Live Safety Center
  1. Open an Internet Explorer browser window.
  2. In the address bar, enter the following URL: http://safety.live.com/site/en-US/default.htm
  3. Click Full Service Scan.
  4. Accept the Service Agreement if you are prompted to do so.
  5. Click Install Now.
  6. Select Quick Scan or Complete Scan.
 
Alternatively, after December 13, 2005, you can use the Microsoft Malicious Software Removal Tool to remove WinNT/F4IRootkit from your computer. For more information about using the Malicious Software Removal Tool, visit http://www.microsoft.com/security/malwareremove/default.mspx.

Transmission Methods

MethodDescription
File CopyRootkit is copied to the computer when a user logged on with administrator privileges inserts a Sony BMG audio CD containing the rootkit and accepts the license agreement.

Payload Information

Payload typeTriggerDescription
Compromises Security
A user logged on with administrator privileges inserts a Sony BMG audio CD containing the rootkit and then accepts the license agreement.
Hides certain Windows system resources that begin with "$sys$", such as names of files, directories, processes, and registry settings.
Creates files
A user logged on with administrator privileges inserts a Sony BMG audio CD containing the rootkit and then accepts the license agreement.
Drops aries.sys at %windir%\System32\$sys$filesystem\aries.sys.

Modified Registry Entries

Added registry entries
Key
Value name

Changed Services

Added services$sys$aries

Dropped Files

Path%windir%\System32\$sys$filesystem\aries.sys


© 2009 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy Statement