TROJ_RANSOM.NA

 Analysis by: Sabrina Lei Sioting
 Modified by: Roland Marco Dela Paz

 ALIASES:

Trojan.Ransomlock.L (Symantec); Ransom-AI (Mcafee)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware

Upon execution, this Trojan displays the following fake Adobe error:

This Trojan arrives as an attachment to email messages spammed by other malware/grayware or malicious users.

It disables Task Manager, Registry Editor, and Folder Options.

It connects to certain websites to send and receive information.

  TECHNICAL DETAILS

File Size:

67,072 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

25 Apr 2012

Payload:

Connects to URLs/IPs

Arrival Details

This Trojan arrives as an attachment to email messages spammed by other malware/grayware or malicious users.

Installation

This Trojan drops the following copies of itself into the affected system:

  • %User Profile%\Application Data\Realtec\Realtecdriver.exe
  • %User Profile%\Application Data\{random}\{random}.exe
  • %System%\{random}.exe

(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.. %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)

It creates the following folders:

  • %User Profile%\Application Data\Realtec
  • %User Profile%\Application Data\{random}

(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)

Autostart Technique

This Trojan adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Realtecdriver = "%User Profile%\Application Data\Realtec\Realtecdriver.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{random} = "%User Profile%\Application Data\{random}\{random}.exe"

It modifies the following registry entry(ies) to enable its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
Userinit = "%System%\userinit.exe,%System%\{random}.exe,"

(Note: The default value data of the said registry entry is %System%\userinit.exe,.)

Other System Modifications

This Trojan creates the following registry entry(ies) to disable Task Manager, Registry Tools and Folder Options:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
msconfig.exe
Debugger = "P9KDMF.EXE"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
regedit.exe
Debugger = "P9KDMF.EXE"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
taskmgr.exe
Debugger = "P9KDMF.EXE"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableRegistryTools = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableRegedit = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
system
DisableTaskMgr = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
system
DisableRegedit = "1"

It deletes the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\SafeBoot

Other Details

This Trojan connects to the following website to send and receive information:

  • http://{BLOCKED}a.com/a.php
  • http://{BLOCKED}fo.com/a.php
  • http://{BLOCKED}-w.com/a.php

NOTES:

Upon execution, this Trojan displays the following fake Adobe error:

It encyrpts all files in the local drives. It then renames the file name of encrypted files to locked-{file name of encrypted file}.{4 random characters}, such as a file named file.txt is renamed to locked-file.txt.bdhj when encrypted.

It may also lock the desktop of an infected user by displaying a ransomware page which it downloads from its C&C server.

  SOLUTION

Minimum Scan Engine:

9.200

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Identify and delete files detected as TROJ_RANSOM.NA using the Recovery Console

[ Learn More ]

Step 3

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %User Profile%\Application Data\Realtec
  • %User Profile%\Application Data\{random}

Step 4

To enable Registry Editor, Task Manager, and Folder options:

  1. Open Notepad. To do this, click Start>Run, type Notepad in the text box provided, then press Enter.
  2. Copy and paste the following script:
  3. Save this file as C:RESTORE.VBS.
  4. Click Start>Run again, type C:RESTORE.VBS in the text box provided, then press Enter.
  5. Click Yes at the prompt of the message box to execute the .VBS file.

Step 5

Delete this registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • Realtecdriver = "%User Profile%\Application Data\Realtec\Realtecdriver.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {random} = "%User Profile%\Application Data\{random}\{random}.exe"

Step 6

Restore this modified registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    • From: Userinit = "%System%\userinit.exe,%System%\{random}.exe,"
      To: Userinit = "%System%\userinit.exe,"

Step 7

Scan your computer with your Trend Micro product to delete files detected as TROJ_RANSOM.NA. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.

Step 8

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

    Restore encrypted files from backup

NOTES:

Restoring Deleted Safe Mode Registry Keys

To restore deleted Safe Mode registry keys:

  1. Open a text editor like Notepad.
  2. Copy and paste the following and save it as RESTORE.VBS:

    const HKEY_CURRENT_USER = &H80000001
    const HKEY_LOCAL_MACHINE = &H80000002
    strComputer = "."

    Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
    strComputer & "\root\default:StdRegProv")

    strMainKeyPath = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal"

    oReg.CreateKey HKEY_LOCAL_MACHINE,strMainKeyPath

    Dim arrKeyPath(44)
    dim arrValue(44)

    arrKeyPath(0) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{36FC9E60-C465-11CF-8056-444553540000}"
    arrKeyPath(1) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E965-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(2) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E967-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(3) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E969-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(4) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E96A-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(5) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E96B-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(6) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E96F-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(7) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E977-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(8) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E97B-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(9) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E97D-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(10) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{4D36E980-E325-11CE-BFC1-08002BE10318}"
    arrKeyPath(11) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{533C5B84-EC70-11D2-9505-00C04F79DEAF}"
    arrKeyPath(12) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{71A27CDD-812A-11D0-BEC7-08002BE2092F}"
    arrKeyPath(13) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\{745A17A0-74D3-11D0-B6FE-00A0C90F57DA}"
    arrKeyPath(14) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\AppMgmt"
    arrKeyPath(15) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\Base"
    arrKeyPath(16) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\Boot Bus Extender"
    arrKeyPath(17) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\Boot file system"
    arrKeyPath(18) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\CryptSvc"
    arrKeyPath(19) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\DcomLaunch"
    arrKeyPath(20) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\dmadmin"
    arrKeyPath(21) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\dmboot.sys"
    arrKeyPath(22) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\dmio.sys"
    arrKeyPath(23) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\dmload.sys"
    arrKeyPath(24) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\dmserver"
    arrKeyPath(25) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\EventLog"
    arrKeyPath(26) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\File system"
    arrKeyPath(27) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\Filter"
    arrKeyPath(28) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\HelpSvc"
    arrKeyPath(29) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\Netlogon"
    arrKeyPath(30) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\PCI Configuration"
    arrKeyPath(31) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\PlugPlay"
    arrKeyPath(32) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\PNP Filter"
    arrKeyPath(33) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\Primary disk"
    arrKeyPath(34) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\RpcSs"
    arrKeyPath(35) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\SCSI Class"
    arrKeyPath(36) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\sermouse.sys"
    arrKeyPath(37) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\sr.sys"
    arrKeyPath(38) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\SRService"
    arrKeyPath(39) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\System Bus Extender"
    arrKeyPath(40) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\vds"
    arrKeyPath(41) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\vga.sys"
    arrKeyPath(42) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\vgasave.sys"
    arrKeyPath(43) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\WinMgmt"

    arrValue(0) = "Universal Serial Bus controllers"
    arrValue(1) = "CD-ROM Drive"
    arrValue(2) = "DiskDrive"
    arrValue(3) = "Standard floppy disk controller"
    arrValue(4) = "Hdc"
    arrValue(5) = "Keyboard"
    arrValue(6) = "Mouse"
    arrValue(7) = "PCMCIA Adapters"
    arrValue(8) = "SCSIAdapter"
    arrValue(9) = "System"
    arrValue(10) = "Floppy disk drive"
    arrValue(11) = "Volume shadow copy"
    arrValue(12) = "Volume"
    arrValue(13) = "Human Interface Devices"
    arrValue(14) = "Service"
    arrValue(15) = "Driver Group"
    arrValue(16) = "Driver Group"
    arrValue(17) = "Driver Group"
    arrValue(18) = "Service"
    arrValue(19) = "Service"
    arrValue(20) = "Service"
    arrValue(21) = "Driver"
    arrValue(22) = "Driver"
    arrValue(23) = "Driver"
    arrValue(24) = "Service"
    arrValue(25) = "Service"
    arrValue(26) = "Driver Group"
    arrValue(27) = "Driver Group"
    arrValue(28) = "Service"
    arrValue(29) = "Service"
    arrValue(30) = "Driver Group"
    arrValue(31) = "Service"
    arrValue(32) = "Driver Group"
    arrValue(33) = "Driver Group"
    arrValue(34) = "Service"
    arrValue(35) = "Driver Group"
    arrValue(36) = "Driver"
    arrValue(37) = "FSFilter System Recovery"
    arrValue(38) = "Service"
    arrValue(39) = "Driver Group"
    arrValue(40) = "Service"
    arrValue(41) = "Driver"
    arrValue(42) = "Driver"
    arrValue(43) = "Service"

    strValueName = ""
    For i = 0 to 43
    oReg.CreateKey HKEY_LOCAL_MACHINE,arrKeyPath(i)
    oReg.SetStringValue HKEY_LOCAL_MACHINE, arrKeyPath(i), StrValueName, arrValue(i)
    Next

    strMainKeyPath = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network"

    oReg.CreateKey HKEY_LOCAL_MACHINE,strMainKeyPath

    Dim arrNKeyPath(80)
    dim arrNValue(80)

    arrNKeyPath(0) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{36FC9E60-C465-11CF-8056-444553540000}"
    arrNKeyPath(1) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E965-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(2) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E967-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(3) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E969-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(4) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E96A-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(5) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E96B-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(6) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E96F-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(7) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(8) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E973-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(9) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E974-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(10) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E975-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(11) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E977-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(12) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E97B-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(13) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E97D-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(14) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{4D36E980-E325-11CE-BFC1-08002BE10318}"
    arrNKeyPath(15) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{71A27CDD-812A-11D0-BEC7-08002BE2092F}"
    arrNKeyPath(16) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\{745A17A0-74D3-11D0-B6FE-00A0C90F57DA}"
    arrNKeyPath(17) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\AFD"
    arrNKeyPath(18) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\AppMgmt"
    arrNKeyPath(19) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Base"
    arrNKeyPath(20) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Boot Bus Extender"
    arrNKeyPath(21) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Boot file system"
    arrNKeyPath(22) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Browser"
    arrNKeyPath(23) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\CryptSvc"
    arrNKeyPath(24) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\DcomLaunch"
    arrNKeyPath(25) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Dhcp"
    arrNKeyPath(26) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\dmadmin"
    arrNKeyPath(27) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\dmboot.sys"
    arrNKeyPath(28) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\dmio.sys"
    arrNKeyPath(29) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\dmload.sys"
    arrNKeyPath(30) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\dmserver"
    arrNKeyPath(31) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\DnsCache"
    arrNKeyPath(32) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\EventLog"
    arrNKeyPath(33) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\File system"
    arrNKeyPath(34) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Filter"
    arrNKeyPath(35) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\HelpSvc"
    arrNKeyPath(36) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\ip6fw.sys"
    arrNKeyPath(37) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\ipnat.sys"
    arrNKeyPath(38) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\LanmanServer"
    arrNKeyPath(39) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\LanmanWorkstation"
    arrNKeyPath(40) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\LmHosts"
    arrNKeyPath(41) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Messenger"
    arrNKeyPath(42) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\NDIS"
    arrNKeyPath(43) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\NDIS Wrapper"
    arrNKeyPath(44) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Ndisuio"
    arrNKeyPath(45) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\NetBIOS"
    arrNKeyPath(46) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\NetBIOSGroup"
    arrNKeyPath(47) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\NetBT"
    arrNKeyPath(48) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\NetDDEGroup"
    arrNKeyPath(49) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Netlogon"
    arrNKeyPath(50) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\NetMan"
    arrNKeyPath(51) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Network"
    arrNKeyPath(52) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\NetworkProvider"
    arrNKeyPath(53) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\NtLmSsp"
    arrNKeyPath(54) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\PCI Configuration"
    arrNKeyPath(55) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\PlugPlay"
    arrNKeyPath(56) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\PNP Filter"
    arrNKeyPath(57) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\PNP_TDI"
    arrNKeyPath(58) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Primary disk"
    arrNKeyPath(59) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\rdpcdd.sys"
    arrNKeyPath(60) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\rdpdd.sys"
    arrNKeyPath(61) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\rdpwd.sys"
    arrNKeyPath(62) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\rdsessmgr"
    arrNKeyPath(63) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\RpcSs"
    arrNKeyPath(64) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\SCSI Class"
    arrNKeyPath(65) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\sermouse.sys"
    arrNKeyPath(66) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\SharedAccess"
    arrNKeyPath(67) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\sr.sys"
    arrNKeyPath(68) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\SRService"
    arrNKeyPath(69) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Streams Drivers"
    arrNKeyPath(70) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\System Bus Extender"
    arrNKeyPath(71) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Tcpip"
    arrNKeyPath(72) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\TDI"
    arrNKeyPath(73) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\tdpipe.sys"
    arrNKeyPath(74) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\tdtcp.sys"
    arrNKeyPath(75) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\termservice"
    arrNKeyPath(76) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\vga.sys"
    arrNKeyPath(77) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\vgasave.sys"
    arrNKeyPath(78) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\WinMgmt"
    arrNKeyPath(79) = "SYSTEM\CurrentControlSet\Control\SafeBoot\Network\WZCSVC"

    arrNValue(0) = "Universal Serial Bus controllers"
    arrNValue(1) = "CD-ROM Drive"
    arrNValue(2) = "DiskDrive"
    arrNValue(3) = "Standard floppy disk controller"
    arrNValue(4) = "Hdc"
    arrNValue(5) = "Keyboard"
    arrNValue(6) = "Mouse"
    arrNValue(7) = "Net"
    arrNValue(8) = "NetClient"
    arrNValue(9) = "NetService"
    arrNValue(10)= "NetTrans"
    arrNValue(11)= "PCMCIA Adapters"
    arrNValue(12)= "SCSIAdapter"
    arrNValue(13)= "System"
    arrNValue(14)= "Floppy disk drive"
    arrNValue(15)= "Volume"
    arrNValue(16)= "Human Interface Devices"
    arrNValue(17)= "Service"
    arrNValue(18)= "Service"
    arrNValue(19)= "Driver Group"
    arrNValue(20)= "Driver Group"
    arrNValue(21)= "Driver Group"
    arrNValue(22)= "Service"
    arrNValue(23)= "Service"
    arrNValue(24)= "Service"
    arrNValue(25)= "Service"
    arrNValue(26)= "Service"
    arrNValue(27)= "Driver"
    arrNValue(28)= "Driver"
    arrNValue(29)= "Driver"
    arrNValue(30)= "Service"
    arrNValue(31)= "Service"
    arrNValue(32)= "Service"
    arrNValue(33)= "Driver Group"
    arrNValue(34)= "Driver Group"
    arrNValue(35)= "Service"
    arrNValue(36)= "Driver"
    arrNValue(37)= "Driver"
    arrNValue(38)= "Service"
    arrNValue(39)= "Service"
    arrNValue(40)= "Service"
    arrNValue(41)= "Service"
    arrNValue(42)= "Driver Group"
    arrNValue(43)= "Driver Group"
    arrNValue(44)= "Service"
    arrNValue(45)= "Service"
    arrNValue(46)= "Driver Group"
    arrNValue(47)= "Service"
    arrNValue(48)= "Driver Group"
    arrNValue(49)= "Service"
    arrNValue(50)= "Service"
    arrNValue(51)= "Driver Group"
    arrNValue(52)= "Driver Group"
    arrNValue(53)= "Service"
    arrNValue(54)= "Driver Group"
    arrNValue(55)= "Service"
    arrNValue(56)= "Driver Group"
    arrNValue(57)= "Driver Group"
    arrNValue(58)= "Driver Group"
    arrNValue(59)= "Driver"
    arrNValue(60)= "Driver"
    arrNValue(61)= "Driver"
    arrNValue(62)= "Service"
    arrNValue(63)= "Service"
    arrNValue(64)= "Driver Group"
    arrNValue(65)= "Driver"
    arrNValue(66)= "Service"
    arrNValue(67)= "FSFilter System Recovery"
    arrNValue(68)= "Service"
    arrNValue(69)= "Driver Group"
    arrNValue(70)= "Driver Group"
    arrNValue(71)= "Service"
    arrNValue(72)= "Driver Group"
    arrNValue(73)= "Driver"
    arrNValue(74)= "Driver"
    arrNValue(75)= "Service"
    arrNValue(76)= "Driver"
    arrNValue(77)= "Driver"
    arrNValue(78)= "Service"
    arrNValue(79)= "Service"

    strValueName = ""
    For i = 0 to 79
    oReg.CreateKey HKEY_LOCAL_MACHINE,arrNKeyPath(i)
    oReg.SetStringValue HKEY_LOCAL_MACHINE, arrNKeyPath(i), StrValueName, arrNValue(i)
    Next

  3. Execute RESTORE.VBS by double-clicking the file.


Did this description help? Tell us how we did.