CertForums


Go Back   CertForums > Computing Support Forums > Software


XP logs off right after logging in(virus)

Reply
 
Thread Tools Display Modes
  #31  
Old 07-Feb-2010, 04:29 PM
miflandia's Avatar
miflandia miflandia is offline
Registered Member
Posts: 97
 
Reputation
Points: 0 miflandia has no points
Power: 1
Awards
None
Profile
Join Date: 15 Sep 2009
Location: Uxbridge, Uk
Certifications: Comptia A+
WIP: Comptia N+
Rep Power: 1
miflandia has no points
Lightbulb

Quote:
Originally Posted by zr79 View Post
A challenge is not the issue, if a user has say 50+ apps installed, some of them needing license keys(yes you can dig out the keys before you format etc, and some of these apps are older, they are no longer being distributed, and the user has say lost a couple of cds, there goes those apps. That will be a lot of work, building the system back to where it was, and unless you image the drive with the OS, you are looking at a full install + updates + tweaking and then as i said reinstalling dozens of apps, that could be 6 hours work all going well. Now with a good knowledge of the registry you should be able to kill any viruses from starting from the registry, possibly 10mins work. I don't think this way is harder, just some once off ground work to do to understand various keys.
(not virus-wise)
As others mentioned, and i agree(i do it with my own pc), every OS need to be rebuilt depends on the usage( i do mine every 6months)
So even if you find the flu, i would get all those keys, data, etc, etc and re-build the system, and when it is ready make a copy of the system and find a good data backup solution.
So this work seems to be unavoidable to me.


(expire:?????)
 
Reply With Quote
  #32  
Old 07-Feb-2010, 04:39 PM
beaumontdvd's Avatar
beaumontdvd beaumontdvd is offline
Valued Member
Posts: 380
 
Reputation
Points: 264 beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Power: 6
Awards
None
Profile
Join Date: 14 Dec 2009
Location: Basingstoke
Age: 20
Certifications: 070-271, 070-272, (MCDST)Level 1,2,3 NVQ
WIP: 070-270, A+, N+, S+,MCDST 7 Upgrade
Rep Power: 6
beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Quote:
Originally Posted by miflandia View Post
(not virus-wise)
As others mentioned, and i agree(i do it with my own pc), every OS need to be rebuilt depends on the usage( i do mine every 6months)
So even if you find the flu, i would get all those keys, data, etc, etc and re-build the system, and when it is ready make a copy of the system and find a good data backup solution.
So this work seems to be unavoidable to me.
I agree 100%


Level 1,2,3 NVQ IT USERS (ITQ) Passed
271 - Passed
272 - Passed
(MCDST) (MCP)
270 - Currently Studying - Finish by middle of March
A+ - Finish by June
N+ - Finish by August
 
Reply With Quote
  #33  
Old 07-Feb-2010, 05:33 PM
dmarsh dmarsh is offline
Lifetime Member
Posts: 2,374
 
Reputation
Points: 8023 dmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 points
Power: 109
Awards
None
Profile
Join Date: 24 May 2007
Certifications: One or two...
Rep Power: 109
dmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 pointsdmarsh has over 4000 points
Quote:
Originally Posted by zr79 View Post
Funnily enough i did actually start writing an AV application in VB6 but i realised it was going to be too slow to compete against anything mainstream, in saying that though Microsoft's AntiSpyware(now abandonware) was actually written in VB6, which was quite impressive considering the speed it scanned at, so maybe still possible. I did even look into coding it is assembler but i gave up after a while as it is not the nicest language to work with and hard to find any decent documentation for this specific task.

Actually the engine of an AV scanner is not too difficult, it is fairly standard to write a recursive search algo. You then need to open each file in memory and check for a signature which you would have set.

Lot of work involved maintaining updates and signature definitions may have another go though!
Yeah sounds really easy ! Assembler is not hard, loads decent stuff on 80x86 assembler on the net, most people no longer write programs 100% in assembler, the main portion would be in C/C++ and a small amount of either inline asm or they would link to an object file or library from an assembler.

Writing a production ready virus scanner is reasonably hard and would likely take one person 6+ months, and thats without the millions man hours that must go into building a signature database and creating removal plans.

Did you look at Autoruns ? Its designed to show all the common reg keys that launch apps, there are like 200+ such keys. Its a user friendly app for people that just want to see the horrendous mess the registry can be !

Registry viewing and export tools normally conform to a subset of the full API functionality, therefore there are ways people can store hidden keys or hidden suffixes on keys.

Viruses can adopt other tactics as well, they can attach themselves to pucker executables, therefore they need not change the registry at all ! If its a pucker executable that runs regularly then the trojan can get into memory and start executing and doing what it wants. If the executable is not monitored by system restore and the virus signature is not in the AV then you're gonna get pwned !

Rootkits can alter filesystem drivers and make themselves totally invisible to any program that uses standard OS call's to read the filesystem! They don't just rely on the registry autorun functionality, they could change a bootsector etc.

They could load a fake driver or service, yes this would appear in the registry, but possibly not where you expect, they could even share a service host with legitimate services.

Wow, VB6 programmer, you must be l33t !


Last edited by dmarsh; 08-Feb-2010 at 01:26 AM.
 
Reply With Quote
  #34  
Old 07-Feb-2010, 07:34 PM
zr79 zr79 is offline
Valued Member
Posts: 198
 
Reputation
Points: 162 zr79 has over 100 pointszr79 has over 100 points
Power: 5
Awards
None
Profile
Join Date: 15 Dec 2008
Location: UK
Certifications: A+
Rep Power: 5
zr79 has over 100 pointszr79 has over 100 points
Quote:
Originally Posted by dmarsh View Post
Yeah sounds really easy ! Assembler is not hard, loads decent stuff on 80x86 assembler on the net, most people no longer write programs 100% in asssembler, the main portion would be in C/C++ and a small amount of either inline asm or they would link to an object file or library from an assembler.

Writing a production ready virus scanner is reasonably hard and would likely take one person 6+ months, and thats without the millions man hours that must go into building a signature database and creating removal plans.

Did you look at Autoruns ? Its designed to show all the common reg keys that launch apps, there are like 200+ such keys. Its a user friendly apps for people that just wanna see the horrendous mess the registry can be !

Registry viewing and export tools normally conform to a subset of the full API functionality, therefore there are ways people can store hidden keys or hidden suffixes on keys.

Viruses can adopt other tactics as well, they can attach themselves to pucker executables, therefore they need not change the registry at all ! If its a pucker executable that runs regularly then the trojan can get into memory and start executing and doing what it wants. If the executable is not monitored by system restore and the virus signature is not in the AV then you're gonna get pwned !

Rootkits can alter filesystem drivers and make themselves totally invisible to any program the uses standard OS call's to read the filesystem! They don't just rely on the registry autorun functionality, they could change a bootsector etc.

They could load a fake driver or service, yes this would appear in the registry, but possibly not where you expect, they could even share a service host with legitimate services.

Wow, VB6 programmer, you must l33t !
Good answer.

I should have known about viruses injecting themselves into the memory space of valid executables such as explorer or internet explorer.

Been a while since i used to look into this in depth, actually about 6 years ago.

I used to digg up the source code of well know viruses and learn how the worked.

Also as you say patching valid dlls is another method, and there will be many more exploits. Just seems a pain that by being able to remove a file or two and a registry key or two you save yourselves a lot of unnecessary trouble.

Ok thanks for disscussion, been a good help.

 
Reply With Quote
  #35  
Old 08-Feb-2010, 04:21 PM
BosonMichael's Avatar
BosonMichael BosonMichael is offline
Lifetime Member
Posts: 16,908
 
Reputation
Points: 12045 BosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 points
Power: 296
Awards
None
Profile
Join Date: 02 Nov 2006
Location: near Nashville, TN
Age: 40
Certifications: MCSE+I, MCSE: Securi.. huh? out of room?
WIP: Just about everything!
Rep Power: 296
BosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 points
Quote:
Originally Posted by dmarsh View Post
Viruses can adopt other tactics as well, they can attach themselves to pucker executables, therefore they need not change the registry at all ! If its a pucker executable that runs regularly then the trojan can get into memory and start executing and doing what it wants. If the executable is not monitored by system restore and the virus signature is not in the AV then you're gonna get pwned !

Rootkits can alter filesystem drivers and make themselves totally invisible to any program that uses standard OS call's to read the filesystem! They don't just rely on the registry autorun functionality, they could change a bootsector etc.

They could load a fake driver or service, yes this would appear in the registry, but possibly not where you expect, they could even share a service host with legitimate services.
Yep, this is similar to what I was going to say in response to the comment that it can ONLY be due to a registry key. It can absolutely be any of these things. Repped.


BosonMichael
MCSE+I, MCSE: Security, MCSE: Messaging, MCDST, MCDBA, MCTS, OCP, CCNP, CCDP, CCNA Security, CCNA Voice, CNE, SCSA, Security+, Linux+, Server+, Network+, A+
Served proudly, US Army, 98C Intelligence Analyst, '89-'92
Everyone else is posting their blog... guess I will too!
 
Reply With Quote
  #36  
Old 08-Feb-2010, 06:22 PM
zr79 zr79 is offline
Valued Member
Posts: 198
 
Reputation
Points: 162 zr79 has over 100 pointszr79 has over 100 points
Power: 5
Awards
None
Profile
Join Date: 15 Dec 2008
Location: UK
Certifications: A+
Rep Power: 5
zr79 has over 100 pointszr79 has over 100 points
Quote:
Originally Posted by Sparky View Post
You might want to try a repair install of the OS to replace\repair explorer.exe. Also have youi tried a system restore? This *may* put the registry back to condition where you can at least log on.
There were no system restore points, which also added to the burden.

 
Reply With Quote
  #37  
Old 08-Feb-2010, 06:43 PM
pete.grant's Avatar
pete.grant pete.grant is offline
Registered Member
Posts: 62
 
Reputation
Points: 125 pete.grant has over 100 pointspete.grant has over 100 points
Power: 4
Awards
None
Profile
Join Date: 12 Dec 2008
Location: Nottingham, UK
Age: 24
Certifications: See Signature
Rep Power: 4
pete.grant has over 100 pointspete.grant has over 100 points
Why is it reading this guys posts I get the impression he is just trying to impress!? In the time it has taken to follow and reply to posts on this thread he could have done what everyone has advised three times over - backup and re-image.

dmarsh - love your l33t comment!


A+ IT Technician, CCENT, CEH, CPTS, CIW Security Analyst, ITIL v3 Foundation, Master CIW Administrator, MBCS, MCSA:Security on Windows Server 2003, MCTS on Windows Server 2008 (AD, NI & Virtualization), Network+, SCNS, Security+, Server+

Last edited by pete.grant; 08-Feb-2010 at 06:44 PM.
 
Reply With Quote
  #38  
Old 08-Feb-2010, 06:45 PM
beaumontdvd's Avatar
beaumontdvd beaumontdvd is offline
Valued Member
Posts: 380
 
Reputation
Points: 264 beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Power: 6
Awards
None
Profile
Join Date: 14 Dec 2009
Location: Basingstoke
Age: 20
Certifications: 070-271, 070-272, (MCDST)Level 1,2,3 NVQ
WIP: 070-270, A+, N+, S+,MCDST 7 Upgrade
Rep Power: 6
beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Quote:
Originally Posted by pete.grant View Post
Why is it reading this guys posts I get the impression he is just trying to impress!? In the time it has taken to follow and reply to posts on this thread he could have done what everyone has advised three times over - backup and re-image.
Agreed, I had that impression too. Maybe it wasn't even a question he just wanted to gloat about programming skills


Level 1,2,3 NVQ IT USERS (ITQ) Passed
271 - Passed
272 - Passed
(MCDST) (MCP)
270 - Currently Studying - Finish by middle of March
A+ - Finish by June
N+ - Finish by August
 
Reply With Quote
  #39  
Old 08-Feb-2010, 10:06 PM
zr79 zr79 is offline
Valued Member
Posts: 198
 
Reputation
Points: 162 zr79 has over 100 pointszr79 has over 100 points
Power: 5
Awards
None
Profile
Join Date: 15 Dec 2008
Location: UK
Certifications: A+
Rep Power: 5
zr79 has over 100 pointszr79 has over 100 points
No gloating here, i haven't programmed for a few years and most of the code i used was from free code sites i just modified the code here and there.

Anyway i came up with a better solution, obvious as it is, and that would be to remove the drive and add it to another system as a secondary drive, instead of having to reset registries etc to allow me to even boot in.

This still means i have to digg through the regsitry to remove the bad stuff, but it should make the process a bit quicker.

The is an app called regmon which may help out here.

 
Reply With Quote
  #40  
Old 08-Feb-2010, 10:19 PM
Sparky's Avatar
Sparky Sparky is offline
I`ll have a pint...
Posts: 7,959
 
Reputation
Points: 7314 Sparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 points
Power: 160
Awards
None
Profile
Join Date: 15 Dec 2005
Location: Scotland
Certifications: MSc MCSE MCSA:M MCITP:EA MCTS(x4) N+ A+
WIP: Feels like everything : )
Rep Power: 160
Sparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 points
Quote:
Originally Posted by zr79 View Post
The is an app called regmon which may help out here.
As the drive is a second drive the registry wont actually be doing anything here, the main drive will have the live registry so to speak.

 
Reply With Quote
  #41  
Old 08-Feb-2010, 10:29 PM
zebulebu's Avatar
zebulebu zebulebu is offline
Miserable old git
Posts: 3,177
 
Reputation
Points: 12150 zebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 points
Power: 159
Awards
Profile
Join Date: 07 Aug 2006
Location: Croydon - arsehole of the universe
Age: 36
Certifications: A few
WIP: None - f*** 'em
Rep Power: 159
zebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 pointszebulebu has over 4000 points
Quote:
Originally Posted by zr79 View Post
Anyway i came up with a better solution, obvious as it is, and that would be to remove the drive and add it to another system as a secondary drive, instead of having to reset registries etc to allow me to even boot in.
Wow - you came up with that yourself... after me and at least one other person on this thread suggested the exact same thing, like, two days ago?

Kudos.





You brought two too many
 
Reply With Quote
  #42  
Old 08-Feb-2010, 10:33 PM
Sparky's Avatar
Sparky Sparky is offline
I`ll have a pint...
Posts: 7,959
 
Reputation
Points: 7314 Sparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 points
Power: 160
Awards
None
Profile
Join Date: 15 Dec 2005
Location: Scotland
Certifications: MSc MCSE MCSA:M MCITP:EA MCTS(x4) N+ A+
WIP: Feels like everything : )
Rep Power: 160
Sparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 points
Just a quick point, does the customer not want his\her laptop back yet mate?

 
Reply With Quote
Reply

Go Back   CertForums > Computing Support Forums > Software

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem - Logging in Windows 2003 Angry Dog Software 3 30-Sep-2009 11:30 AM
Question about router logs. johnd Routing & Switching 2 10-Jul-2009 04:52 AM
ASA logging morph Network Security 3 29-Jan-2009 02:17 PM
logging onto server 2003 domain wireless - GP? rockstar6181 Software 2 03-May-2008 10:45 PM
logging on interactively V logging on locally mjtibbs Server Exams 5 07-Mar-2007 01:30 PM


All times are GMT +1. The time now is 05:15 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2009 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Lunarpages.com Web Hosting