BleepingComputer.com: Userinit.exe accidentally deleted? [Moved]

Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Forum Rules

When posting your problem, do not run and post a ComboFix log. ComboFix is a tool that should only be run under the supervision of someone who has been trained in its use. Using it on your own can cause problems with your computer. Any posts containing CF Logs will be ignored.

To receive help, you should instead provide a detailed description of your problem, detailed word-for-word error messages that you are receiving, screenshots of strange behaviour, and your operating system. This information is much more useful to our helpers than a ComboFix log.


If you have not received help after three days, please post a link to your topic HERE.
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

Userinit.exe accidentally deleted? [Moved]

#1 User is offline   Armie Kim 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 30-April 09

Posted 06 July 2009 - 12:03 PM

I accidentally deleted my Userinit.exe from my registry thinking it was a virus. Now my computer starts with a "Logon" screen that logs me off at least 3 times, before loading my settings to let me use my computer.
I heard that you can replace Userinit.exe into your registry, but I forgot which registry to input it, where it's supposed to belong.
Is there a way to get it back?

Note: I'm quite sure i deleted it from HKEY_LOCAL_MACHINE\ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion

#2 User is offline   Budapest 

  • Bleepin' Cynic
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 21,852
  • Joined: 11-November 06
  • Gender:Male

Posted 06 July 2009 - 06:23 PM

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon.

In the right pane under Userinit, Change the key to read:

C:\Windows\System32\Userinit.exe,

Make sure you include the comma.
The power of accurate observation is commonly called cynicism by those who haven't got it.

—George Bernard Shaw

#3 User is offline   Armie Kim 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 30-April 09

Posted 06 July 2009 - 09:35 PM

I looked in the registry folder, but I can't find "Userinit" anywhere!!
I really don't think I have my installation CD either...

#4 User is offline   joseibarra 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 805
  • Joined: 28-May 09
  • Gender:Male
  • Location:Downstairs

Posted 06 July 2009 - 09:45 PM

If you do not see it where Budapest said, you may need to create the missing variable in Winlogon and then set the value appropriately - that is, if you deleted the whole variable.

Take a look at your system that works properly if you can. You want to make/add your registry userinit section look like a system that is working.

This post has been edited by joseibarra: 07 July 2009 - 07:24 AM

Jose

#5 User is offline   Armie Kim 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 30-April 09

Posted 07 July 2009 - 09:19 AM

It's very strange. At some times, I can find Userinit.exe in my registry, like yesterday night. I rewrote the key the way Budapest told me to, and the Logon screen didn't come up (fortunately!)
But now, I can't go into Safe Mode because the Logon screen appears again (even in Safe Mode...) but this time, it just logs me off constantly.
And now, I can't find Userinit.exe in my registry...again....

This post has been edited by Armie Kim: 07 July 2009 - 09:32 AM


#6 User is offline   joseibarra 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 805
  • Joined: 28-May 09
  • Gender:Male
  • Location:Downstairs

Posted 07 July 2009 - 10:54 AM

If you are not deleting it, something is doing it for you - and userinit components are a popular taget for malicious software. There are worse userinit problems to have!

I would suggest you start with these free scanning programs.

Download, install, update and do a full scan with these malware detection programs:

Malwarebytes (MBAM): http://malwarebytes.org/
SUPERAntiSpyware: (SAS): http://www.superantispyware.com/

Of course there are many scanning softwares and opinions available, but this would be a good start.

Not to be scary, but if you do not have a bootable XP installation CD handy, you might try to come up with one in case things deteriorate later and you find yourself needing one. Everyone should really have one anyway.
Jose

#7 User is offline   Armie Kim 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 30-April 09

Posted 07 July 2009 - 10:07 PM

I will give in the Malwarebytes FULL scan as soon as possible...but right now, my computer's becoming slow..
I just checked my registry, and I found Userinit.exe (mysteriously appeared again) The key data is: "C:\WINDOWS\system32\userinit.exe,"
When I try to modify the data to match Budapest's, since the data change stopped restarting albeit temporarily, it says: "Cannot edit Userinit: Error reading the value's contents"

I am also aware that a Malwarebytes Quick scan just detected a Rootkit agent in one of my files....

Malwarebytes' Anti-Malware 1.38
Database version: 2389
Windows 5.1.2600 Service Pack 3

7/7/2009 10:10:50 PM
mbam-log-2009-07-07 (22-10-49).txt

Scan type: Quick Scan
Objects scanned: 91355
Time elapsed: 13 minute(s), 33 second(s)

Memory Processes Infected: 0
Memory Modules Infected: 0
Registry Keys Infected: 0
Registry Values Infected: 0
Registry Data Items Infected: 0
Folders Infected: 0
Files Infected: 1

Memory Processes Infected:
(No malicious items detected)

Memory Modules Infected:
(No malicious items detected)

Registry Keys Infected:
(No malicious items detected)

Registry Values Infected:
(No malicious items detected)

Registry Data Items Infected:
(No malicious items detected)

Folders Infected:
(No malicious items detected)

Files Infected:
c:\documents and settings\owner\local settings\temp\c.exe (Rootkit.Rustock) -> Quarantined and deleted successfully.

#8 User is offline   Orange Blossom 

  • OBleepin Investigator
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 29,394
  • Joined: 14-July 06
  • Gender:Not Telling
  • Location:Bloomington, IN

Posted 07 July 2009 - 10:18 PM

I am moving this topic to the Am I Infected forum for you. ~ OB
Help us help you. If HelpBot replies, you MUST follow step 1 in its reply so we know you need help.

Orange Blossom
An ounce of prevention is worth a pound of cure
SuperAntiSpyware, SpywareBlaster, WinPatrol Plus, ESET Smart Security, Malwarebytes' Anti-Malware, NoScript Firefox ext., Norton noscript

#9 User is offline   Armie Kim 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 30-April 09

Posted 08 July 2009 - 01:52 PM

Thank you, Orange Blossom!

A full Malwarebytes scan detected another Rootkit agent, and my SUPERAntispyware detected a Trojan agent/Gen_downloader

#10 User is offline   Budapest 

  • Bleepin' Cynic
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 21,852
  • Joined: 11-November 06
  • Gender:Male

Posted 08 July 2009 - 04:42 PM

Please download RootRepeal Rootkit Detector and save it to your Desktop.

* Close all programs and temporarily disable your anti-virus, Firewall and any anti-malware real-time protection before performing a scan.
* Click this link to see a list of such programs and how to disable them.
* Create a new folder on your hard drive called RootRepeal (C:\RootRepeal) and extract (unzip) RootRepeal.zip. (click here if you're not sure how to do this. Vista users refer to this link.)
* Open the folder and double-click on RootRepeal.exe to launch it. If using Vista, right-click and Run as Administrator...
* Click on the Files tab, then click the Scan button.
* In the Select Drives, dialog Please select drives to scan: select all drives showing, then click OK.
* When the scan has completed, a list of files will be generated in the RootRepeal window.
* Click on the Save Report button and save it as rootrepeal.txt to your desktop or the same location where you ran the tool from.
* Open rootrepeal.txt in Notepad and copy/paste its contents in your next reply.
* Exit RootRepeal and be sure to re-enable your anti-virus, Firewall and any other security programs you had disabled.

Note: If RootRepeal cannot complete a scan and results in a crash report, try repeating the scan in "Safe Mode".
The power of accurate observation is commonly called cynicism by those who haven't got it.

—George Bernard Shaw

#11 User is offline   Armie Kim 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 30-April 09

Posted 08 July 2009 - 08:47 PM

This is my RootkitRepeal scan report:

ROOTREPEAL © AD, 2007-2009
==================================================
Scan Time: 2009/07/08 21:36
Program Version: Version 1.3.0.0
Windows Version: Windows XP SP3
==================================================

Hidden/Locked Files
-------------------

Does this mean it did not find anything malicious? I just ran Malwarebytes after the scan, and a Quick Scan found nothing....I'm still cautious though!

#12 User is offline   Budapest 

  • Bleepin' Cynic
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 21,852
  • Joined: 11-November 06
  • Gender:Male

Posted 08 July 2009 - 10:06 PM

Please download ATF Cleaner by Atribune & save it to your desktop. alternate download link DO NOT use yet.
Please download and install SUPERAntiSpyware Free
  • Double-click SUPERAntiSypware.exe and use the default settings for installation.
  • An icon will be created on your desktop. Double-click that icon to launch the program.
  • If asked to update the program definitions, click "Yes". If not, update the definitions before scanning by selecting "Check for Updates". (If you encounter any problems while downloading the updates, manually download them from here and unzip into the program's folder.)
  • Under the "Configuration and Preferences", click the Preferences... button.
  • Click the "General and Startup" tab, and under Start-up Options, make sure "Start SUPERAntiSpyware when Windows starts" box is unchecked.
  • Click the "Scanning Control" tab, and under Scanner Options, make sure the following are checked (leave all others unchecked):
    • Close browsers before scanning.
    • Scan for tracking cookies.
    • Terminate memory threats before quarantining.

  • Click the "Close" button to leave the control center screen and exit the program.
  • Do not run a scan just yet.
Reboot your computer in "Safe Mode" using the F8 method. To do this, restart your computer and after hearing your computer beep once during startup (but before the Windows icon appears) press the F8 key repeatedly. A menu will appear with several options. Use the arrow keys to navigate and select the option to run Windows in "Safe Mode".

Double-click ATF-Cleaner.exe to run the program.
  • Under Main "Select Files to Delete" choose: Select All.
  • Click the Empty Selected button.
  • If you use Firefox browser click Firefox at the top and choose: Select All
  • Click the Empty Selected button.
    If you would like to keep your saved passwords, please click No at the prompt.
  • If you use Opera browser click Opera at the top and choose: Select All
  • Click the Empty Selected button.
    If you would like to keep your saved passwords, please click No at the prompt.
  • Click Exit on the Main menu to close the program.
Note: On Vista, "Windows Temp" is disabled. To empty "Windows Temp" ATF-Cleaner must be "Run as an Administrator".

Scan with SUPERAntiSpyware as follows:
  • Launch the program and back on the main screen, under "Scan for Harmful Software" click Scan your computer.
  • On the left, make sure you check C:\Fixed Drive.
  • On the right, under "Complete Scan", choose Perform Complete Scan and click "Next".
  • After the scan is complete, a Scan Summary box will appear with potentially harmful items that were detected. Click "OK".
  • Make sure everything has a checkmark next to it and click "Next".
  • A notification will appear that "Quarantine and Removal is Complete". Click "OK" and then click the "Finish" button to return to the main menu.
  • If asked if you want to reboot, click "Yes" and reboot normally.
  • To retrieve the removal information after reboot, launch SUPERAntispyware again.
    • Click Preferences, then click the Statistics/Logs tab.
    • Under Scanner Logs, double-click SUPERAntiSpyware Scan Log.
    • If there are several logs, click the current dated log and press View log. A text file will open in your default text editor.
    • Please copy and paste the Scan Log results in your next reply.

  • Click Close to exit the program.

The power of accurate observation is commonly called cynicism by those who haven't got it.

—George Bernard Shaw

#13 User is offline   Armie Kim 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 30-April 09

Posted 09 July 2009 - 11:01 AM

I ran ATF Cleaner, but I couldn't delete my Firefox files (it said it didn't delete anything).
I also ran SUPERAntiSpyware, but I couldn't update it in Safe Mode, because it said something was blocking it. I checked my Firewall, but i couldn't connect with settings because it couldn't connect with ICS. My SUPERAntiSpyware found nothing.
My Internet is VERY fast now! I'm kind of surprised...
Also, I found Userinit again and modified the data as you said! Now my computer doesn't do the Logon process again!

But I'll still be careful!

#14 User is offline   Budapest 

  • Bleepin' Cynic
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 21,852
  • Joined: 11-November 06
  • Gender:Male

Posted 09 July 2009 - 04:25 PM

You won't be able to update SUPERAntiSpyware in Safe Mode as you won't have internet access. You have to update it in Normal Mode, then boot into Safe Mode to run the scan.

If you’re clean, you should create a new Restore Point to prevent possible re-infection from an old one.

Go Start > Programs > Accessories > System Tools and click System Restore. Choose the radio button marked Create a Restore Point on the first screen then click Next. Give the Restore Point a name and then click Create. Then use Disk Cleanup to remove all but the most recently created Restore Point. Go Start > Run and type: "Cleanmgr" (without the quotes). Click Ok > More Options tab > Clean Up in the System Restore section to remove all previous restore points except the newly created one.

Also, go Start > Control Panel and double-click Add or Remove Programs. Post back and report any Java entries that you have.
The power of accurate observation is commonly called cynicism by those who haven't got it.

—George Bernard Shaw

#15 User is offline   Armie Kim 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 30-April 09

Posted 09 July 2009 - 10:37 PM

Um...I have a big problem.
Another bug managed to hit my computer again. This time, my computer noted it. I did a quick Malwarebytes scan, but it found nothing. A warning from Windows popped up, and then my computer just restarted. I tried to go back into Safe Mode, but once again, my Userinit was plucked away, so I can't go into Safe Mode.
Right now in Normal Mode, I can't open Malwarebytes or SUPERAntiSpyware. I tried to do System Restore, but the Next button just won't work...

This post has been edited by Armie Kim: 09 July 2009 - 10:38 PM


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users