CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
spacer spacer

Run Antispyware as the System account!

 
Post new topic   Reply to topic       All -> FavForums -> AntiSpyware [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
davismccarn
Warnings : 2

Captain
Captain


Joined: Feb 23, 2005
Posts: 527
Location: USA

PostPosted: Wed Feb 23, 2005 1:20 pm    Post subject: Run Antispyware as the System account!
Reply with quote

Spyware Hunters, Put Some Teeth In Your Attacks!
Thanks to a very old trick I found in Microsoft's knowledgebase for Windows NT 4, you can now add far greater power and effectiveness to your hunts for malware by logging on as the SYSTEM account before running your favorite spyware removal tools. Because the account supercedes all user accounts on the system, including the administrator, this technique will reveal and remove things that otherwise would not be seen.

First, open a command prompt ( Start -> Run -> CMD<enter> )
Second, type at 19:30 /interactive cmd.exe<enter> ( the time should be in 24 hour format and 2 minutes in the future of the clock on the system )
Wait until the new command window appears and notice that it says "svchost.exe". You are now logged onto the SYSTEM account.
Right-click on the icon for the program you want to run and left-click on properties. Highlight the text within the Target box on the Shortcut tab and pres ctrl-c to copy.Click back into your svchost.exe window, right-click on the small icon in the upper left hand corner, then left-click on Edit and Paste. Something like "C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" should appear.
Press enter and Spybot ( or whatever ) will run; but, with the very real difference that you will be running it as SYSTEM.
Typing taskmgr<enter> will run the task manager; regedt32<enter> will run the registry editor; though (rats), for some reason explorer still runs as your user account. If you know your commands, any of these will also work and, if you know the explicit entry to run for any of your programs, you don't have to use the copy and paste method.

At any rate, I have already seen several systems which said they were clean when Spybot was run as the user or the administrator; but, using this trick, several more items appeared.


_________________
Computer service for over 30 years! http://www.Computer-Help.Net
Back to top
View users profile Send private message Send email Visit posters website
Prince_Serendip

Site Moderator


Joined: Sep 07, 2002
Posts: 17542

1st Responders MIRT Moderators MVP Premium RootKit Detection Hosts Rootkit Experts Rootkit Responders

PostPosted: Wed Feb 23, 2005 5:21 pm    Post subject:
Reply with quote

Hi davismccarn,

Thanks for sharing this with us. Your post/thread have just been "stickied." Thumbs Up


Best regards

Back to top
View users profile Send private message
Mister2

SRT Team Lead
SRT Team Lead
Premium Member

Joined: Oct 28, 2004
Posts: 7325

Moderators MVP Premium SRT Team F@H

PostPosted: Wed Feb 23, 2005 6:36 pm    Post subject:
Reply with quote

Cooool!!!!!!!!

What's the difference between system and admin account? (In simple terms Smile)


_________________
Never stop learning
Back to top
View users profile Send private message
quietman7

1st Responder Mentor
1st Responder Mentor

Joined: Sep 30, 2004
Posts: 3566
Location: Virginia, USA
1st Responder Mentors 1st Responders MVP Premium Rootkit Experts Security Experts

PostPosted: Mon Feb 28, 2005 3:48 pm    Post subject:
Reply with quote

The system account an internal account [that does not show up] and is used by the OS system and by services that run under Windows.

See details here:
http://support.microsoft.com/kb/120929
http://support.microsoft.com/kb/q132679/

The Administrator account is a member of the Administrators group and it is the one you use when first setting up a workstation or member server. It is used to create an account for yourself.

DickT - Just the Facts

"THE BAD GUYS DON'T NEED A SEARCH WARRANT. ARE YOU PROTECTED?"

MODUS OPERANDIS: "Knowledge and the ability to use it is the best defensive tool anyone could have. An uninformed user can be his or her own worst enemy."



Last edited by quietman7 on Sat May 07, 2005 11:48 am, edited 1 time in total
Back to top
View users profile Send private message
Mister2

SRT Team Lead
SRT Team Lead
Premium Member

Joined: Oct 28, 2004
Posts: 7325

Moderators MVP Premium SRT Team F@H

PostPosted: Mon Feb 28, 2005 8:16 pm    Post subject:
Reply with quote

Thanks for that - I've learned something new Smile


_________________
Never stop learning
Back to top
View users profile Send private message
Bill_Bright

General
General
Premium Member

Joined: Jan 16, 2004
Posts: 9027
Location: Nebraska, USA
MVP Premium

PostPosted: Mon Feb 28, 2005 9:33 pm    Post subject:
Reply with quote

Nice tip! And since XP is based on the XP core, it works nicely in XP too. WinMe/98/98SE/95 may be a different story.

Be sure you type exit at the command prompt to close those windows (you don't have to wait for the SpyBot to complete).


_________________
image Bill, AFE7Ret
Freedom is NOT Free!

image
Back to top
View users profile Send private message
quietman7

1st Responder Mentor
1st Responder Mentor

Joined: Sep 30, 2004
Posts: 3566
Location: Virginia, USA
1st Responder Mentors 1st Responders MVP Premium Rootkit Experts Security Experts

PostPosted: Mon Feb 28, 2005 11:05 pm    Post subject:
Reply with quote

Here is a step by step guide I put together so other users could better understand davismccarn's instructions. He already looked it over in another post but I forgot where we were discussing this.

Running Spyware Scans as the system account:

The command "at xx:xx /interactive cmd.exe<enter>" [where the xx:xx is the time two minutes in the future from the displayed system time] will open a CMD window labeled svchost.exe at that time, logged on as the SYSTEM account. From this command prompt you can launch almost any program by typing or pasting its full TARGET PATH. Any program selected will run as the SYSTEM account and, as such, have far greater permissions and power.

EXAMPLE - To schedule a task or program to run:

1. At the command prompt type: "at 19:30 /interactive cmd.exe" [without quotes]

It should look like this:

C:\>at 19:30 /interactive cmd.exe

2. Press enter [and directly below this line you should receive]:
Added a new job ID = 1 (or 2 if there is another command pending)

It should look like this:

C:\>at 19:30 /interactive cmd.exe
Added a new job ID = 1 (or 2 if there is another command pending)

3. Close the command prompt and after a couple minutes if you are using Winpatrol, Scotty will alert you that a new task has been added. When opening Scheduled Tasks in Win Patrol there will be an At1 entry identifying the program and scheduled run time. The command can be removed from Scheduled Tasks by Win Patrol.

4. Wait until the new command window appears [starts] at the scheduled time and you will notice that it says C:\Windows\System32\scvhost.exe at the top and the command prompt says:

Microsoft Windows XP [Version 5.1.2600]
<C> Copyright 1985-2001 Microsoft Corp.

C:\Windows\system32>

[You are now logged onto the SYSTEM account.]

5. In the Start Menu or right-click on the icon for the program you want to run and left-click on properties.

6. Highlight the text within the Target box on the Shortcut tab and press ctrl-c to copy or right-click and select copy.

7. Go back to the svchost.exe window and right-click on the small prompt icon in the upper left hand corner to the left of C:\Windows\System32\scvhost.exe.

8. From the drop down box choose EDIT > PASTE [the full target path] or simply right-click and paste the path next to the command prompt line C:\Windows\system32>

It should look like this:

C:\Windows\system32>"C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe"

C:\Windows\system32>

9. Press enter and Spybot [or any other selected program] will run; but, with the difference that you will be running it as SYSTEM function.

NOTE: Also Typing taskmgr<enter> will run the task manager; regedt32<enter> will run the registry editor; though for some reason explorer still runs as your user account.

If you know your commands, any of these will also work and, if you know the explicit entry to run for any of your programs, you don't have to use the copy and paste method.



Last edited by quietman7 on Thu May 05, 2005 10:25 am, edited 1 time in total
Back to top
View users profile Send private message
MechaMozilla

Private
Private


Joined: Sep 10, 2005
Posts: 39
Location: USA

PostPosted: Thu Sep 15, 2005 8:02 am    Post subject:
Reply with quote

How does this compare to running SPYBOT (or whatever) in safe mode?

Back to top
View users profile Send private message
njonsey

Cadet
Cadet
Premium Member

Joined: May 27, 2005
Posts: 1
Location: USA
Premium

PostPosted: Fri Sep 23, 2005 6:00 pm    Post subject: Thanks For the INFO
Reply with quote

Thanks for the info.

Back to top
View users profile Send private message MSN Messenger
Aiur850

Cadet
Cadet


Joined: Jan 03, 2007
Posts: 3
Location: USA

PostPosted: Wed Jan 03, 2007 6:04 am    Post subject:
Reply with quote

Actually, this method does not actually "log into" the system account. It only simulates an interactive windows of the system account with it's privilages. If you actually want to "log into" the system account, follow the steps above, except when the scvhost.exe window pops up at the time you command it to, kill explorer.exe process in the task manager while leaving the command prompt window open, then type explorer.exe in the command prompt window left open.

This will actually log into the system account and you can move about windows as a true system account privilaged user. You will find it much easier to run scans and manage things from this account instead of having to cut and past commands into the command prompt. To be sure you successfully logged into the account, click the start menu. If you have XP configured a certain way near default, it should say "system" at the top, indicating that your logged in as the system account user. I find this very useful in manually cleaning out files or removing certain registry keys that sometimes will not delete even under the administrator account. Enjoy.

Mike

Back to top
View users profile Send private message
Aiur850

Cadet
Cadet


Joined: Jan 03, 2007
Posts: 3
Location: USA

PostPosted: Wed Jan 03, 2007 6:09 am    Post subject:
Reply with quote

Double posted accidentley, Deleted message.

Back to top
View users profile Send private message
r2baruch

Sergeant
Sergeant


Joined: Dec 30, 2004
Posts: 116


PostPosted: Fri Feb 16, 2007 10:37 am    Post subject:
Reply with quote

That is very interesting, but is this procedure necessary for programs that are active in all accounts such as antivirus and antispyware programs?


_________________
I use WinXP-SP2-Home, AVG-Free, WinPatrol, Comodo firewall, Spyware Guard, Spyware Blaster, IESpyads, Mailwasher Free, Windows Defender
Back to top
View users profile Send private message
Oldfrog

Special Response Team


Joined: Jun 27, 2004
Posts: 8576
Location: Deep in the Heart of Texas
Moderators MVP Premium SRT

PostPosted: Sun Feb 18, 2007 11:18 pm    Post subject:
Reply with quote

It will vary depending on the application. Some recent releases of top tier applications already run under the system account so those would not require this procedure (Counterspy 2.1 is an example).

To determine whether your apps need it or not simply open Task Manager (while the app is running) and click on the Processes tab. If the application's process shows System under User Name then it is operating under the system account already. Note that SpywareBlaster and IESpyads do not actually run so you can forget about checking them.


_________________
image MS MVP Security 2006-2008
Back to top
View users profile Send private message Send email Visit posters website MSN Messenger
Montalvo

Trooper
Trooper


Joined: Nov 22, 2005
Posts: 16
Location: USA

PostPosted: Wed Sep 19, 2007 3:08 am    Post subject:
Reply with quote

I was curious about what might turn up using the system account so I ran a full scan with AdAware from my admin account and I found 15 innocuous files, which I left intact. Then I immediately ran it again using the system account and found 14 (one less) files.

Why would the number of hits be LESS using the system account?

Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> AntiSpyware All times are GMT
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer