LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 12-06-2004, 06:44 AM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
(windows question) a virus was running a proxie on my machine.


I run a dual boot machine, Gentoo / windowsXP SP1.
this is a question about windows, but im not asking for windows specific help, just risk assesement.

After my Dad complained that every time he hit the LOGIN button on his banks website, he was automatically forwarded to "dodgey" website with "just numbers in the address", i did the normal virus scan / spyware removeing, and found several virii / trojans / tracking cookies. i put the forwarding down to just Browser hiJacking...

however, it turned out the "just numbers" were 127.0.0.1:8080 a local proxie.
this machine is connected directly to the internet via ethernet broadband box, and there is no LAN.

i found that all my internet programs had been re-configured to use a local proxie,
after removing all the trojan virii, the proxie was gone.

i had not installed a proxie, which leaves me to the conclusion that one of the trojans was running the proxie, and had changed all the internet and email settings.

even outlook express had been re-configured to use 127.0.0.1 as a smtp / pop proxie.
and worked like this for weeks.

The only reason i could think of for running a local proxie, AND setting my machine to use it (which obviously makes the proxie stand out like a saw thumb to anyone who knows anything about networks) woulkd be for packet sniffing without putting the network card in promiscuous mode and without administration access rights.

so basically, i think the trojan was acting as a low access packet sniffer.... just an educated guess, but hey....

ANYWAYS.... my dad uses the windows machine often to buy from ebay and other online shops. many of which send passwords via email, which have of course passed though the trojan proxie.

i know that all credit card submissions have been encrypted...
however i also know a packet sniffer can catch hashed ssh passwords, and submit them using a modified OpenSSH client to gain access without ever knowing the password.

How much of a risk has he been running by buying online on such a compromised system ?
 
Old 12-06-2004, 11:07 AM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Quite a bit actually. I suggest he change all his passwords he may have used in the recent past, and closely monitor his accounts for any fraudulent transactions. We had a similar proxy-trojan on one of our machines, and a credit card account was compromised. I also highly suggest using spysweeper+adaware+spybot for scanning and spywareblaster for preventing the crud in the first place.
 
Old 12-06-2004, 11:30 AM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
after a re-boot or 2, its back... all settings re-set to 127.0.0.1.
before i clean it again, what forensics can i perform ???
 
Old 12-06-2004, 12:17 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
Virus scanners give the all clear, as does spyware etc etc etc..

HOWEVER..... i think ive been rooted..
a root kit is a virus that modifies the kernel making its own detection impossibly from the local machine.

evidence.....

1) the system32 file ntoskrnl.exe reported am "modifed" by virus scanner
2) firewall is on and set to drop everything.. local port scans fail... a port scan from a linx box on the lan shows the following ports to bo open, and listening for connections..

Code:
135 msrpc
139 netbios-ssn
389 ldap
445 microsoft-DS
1025 NFS or IIS
1720 H.323/Q.931
5000 UPnP
8080 PROXY
ALSO.... outgoing http requests ARE BEING MODIFIED to porn site requests...
every 3rd time i click a hyperlink or load a web page, instead of getting the page i required, i recieve a porn web page.. some of which have suspiciously young girls.. possibly underage porn.

this is not IE hijaccking ! it even does it with telnet..
Code:
telnet yahoo.com 80
GET /
returns yahoo.com 2 out of 3 times... and other porn sites the rest of the time.

its impossible to turn off the proxie.

im going to research what open ports are running... but im certain its a root kit !
 
Old 12-06-2004, 12:39 PM   #5
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Try running trendmicro's online scanner. It seems to be better at detecting trojans and scumware than traditional client-based antivirus software.

The safest way to fix it is unfortunatly to backup-wipe-reinstall, but if that is not an option then you will have to work on it.

What entries do you see in /Winnt/system32/drivers/etc/lmhosts?
 
Old 12-06-2004, 01:03 PM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
nothing... its all commented out.

ill have a google for the trendmicro you speak of. thanX
 
Old 12-06-2004, 03:56 PM   #7
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
http://www.trendmicro.com click on 'scan now' or online-virus scanner.
 
Old 12-06-2004, 04:34 PM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
Quote:
http://www.trendmicro.com click on 'scan now' or online-virus scanner.
i cant.
like i said, my web browsers are set to onnect to the internet via the proxy the virus put up, and this virus proxie is feeding me a DNS error whenever i try to connect to anti-virus home pages...

i can access the pages in linux, but not in the infected windows machine.

if i change the web browser settings to connect directly to the internet (no proxie) it changes itself back instantly.

any other idea's ?

this seems to be a very powerfull virus.

i REEEALY dont want to have to waste all afternoon re-installing widnows... im a student and its coursework / exam time

but im getting very anoyed at all the browser hijacking...

Last edited by qwijibow; 12-07-2004 at 06:15 AM.
 
Old 12-06-2004, 05:55 PM   #9
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
Well then you got yourself a mutation.

These mutations or custumizations tend to be hard to remove.

I can only suggest that you try and run msconfig. And try there to find the programs and remove them from your boot sequence. Perhaps a diagnosic boot and then using the antivirus might work. And write the program names and do a search using regedit. Usually it goes to RunOnce.

You problem is that the virus has multiple backup programs running, so when you fail to delete all of them the virus repair itself. I don't believe you got yourself a rootkit for windows installed. That shouldn't even trigger a AV warning.

It would be quite insteresting if the virus would have pipes between all the processes and for each SIGPIPE would rebuild itself.

Maybe it is easier to just reinstall the system.
 
Old 12-06-2004, 06:00 PM   #10
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
And check the binaries you are running. Like for example explore.exe might just be part of the virus and it might have hidden the real explorer as another file.
 
Old 12-06-2004, 06:58 PM   #11
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I would *STRONGLY* recommend reformatting the system and re-installing from scratch. It can be extremely hard to identify and remove all traces of a compromise on a linux box and it can be even harder to do so on a Windows system. If you are transmitting sensitive info like credit card and bank account info on that system then you should be sure it's absolutely clean. On that note, you should immediately have your father call the bank and cancel any bank/credit cards. There is a time limit on how long the bank will refund any lost/stolen funds, so you could literally be out thousands if you aren't very careful.
 
Old 12-06-2004, 07:00 PM   #12
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Moved: This thread is more suitable in the General forum (it's not a linux question) and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 12-06-2004, 07:32 PM   #13
EnigmaOne
LQ Newbie
 
Registered: Aug 2003
Location: Long Beach, CA - USA
Distribution: Too many to count...
Posts: 28

Rep: Reputation: 15
Disconnect that machine from the Internet...now.

Work on getting rid of the trojaned binaries, and copying all data off the drive that you must absolutely have.

Get a hardware firewall between your machine and the Internet.

Do a zero-fill on the windoze partition and re-write the MBR from a read-only copy of fdisk.

Don't bother re-installing windoze...it'll probably just happen again.

Make a list of all credit cards, online accounts and bank accounts that have been accessed through that machine--ever--and contact all the appropriate institutuions to make account changes. Change all passwords for all online accounts from a secured (Linux) machine.

Get a copy of all transactions from those same institutions for the past 6 months. You might want to have your dad run a credit report on himself now, notifying the reporting agency that he may be the victim of identity theft.
Do another credit report in another 6 months or so.

Don't worry unnecessarily, but keep on top of this. If could come back to bite you later.
 
Old 12-07-2004, 06:15 AM   #14
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
Thanks for the advice...
is this situation realy THAT bad.. a zero fill ? and a credit report !?

i dont have any faith in windows security, but surely Internet explorer SHOULD have encrypted the credit details before the trojan proxy (or is it proxie?) got its hands on them.

Quote:
Don't bother re-installing windoze...it'll probably just happen again.
oh its constantly happening, ill usually find a trojan virus every few weeks,
and my linux firewall shows im constantly being port scanned, ESPECIALLY on port 8080 (quite alot from amstrdam) however this is the first trojan that has been smart enough to dissable the firewall, and turn off the virus scanner.

I dont use windows, but this is a family PC, and the other users have never used a standard Operating System.

Windows has the up 2 date program running constantly, a firewall that SHOULD block all incomming connection attempts, a virus scanner (with automatic updates running).. everything... and its infected with virii and needs to be completely re-installed every few months due to the general degredation of the file system (especially the system32 config files) hands up who desided to make a CONFIG file a central point of failure !?

My Linux system is running an FTP and HTTP web server for shareing files. an SSH server, a CUPS printing server, and a Peer to Peer filesyareing program (giFT)

the firewall is set to Allow incomming connections to these sevices..

and yet in the 3 years ive been using linux, not a single crash, not a single re-install, not a single virus, trojan or anything.

how did Microsoft manage to do such a lame job ! i know windows is just a Cheap Operating system, but cummon !!!! i wouldnt be surprised if the anti-virus company's were paying microsoft to put the securetty holes in delibratly, A whole market.. anti-virus software thats supported by microsofts mistakes.

ANYWAYS... after christmas im planning on resurecting a dead machine, with a few major upgrades,
so i will need to buy a router, i found a good one with all the works, plus a firewall.

will a hardware firewall improve MS-WIndows securetty much ?
i know it will make remote incomming connections impossible, but it wont protect windows from itself (MS internet explorer) will it ?

unless ofcourse i remove all links to IE, and install firefox and thunderbird ???
 
Old 12-07-2004, 09:03 AM   #15
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Rep: Reputation: 30
if it was me i would install firefox and run any web basedvirus scaning though that also if you did find where the infected files are write them all down and go into safe mode change, replace, delete them if you can the ones you canot change alter go back into windows but dont connect to the internet infact even unplug it incase if it tries dialing out byitself! and try deleating the other files and if its windows xp it should detect that a system file hase been changed delaeted and will ask you to put your xp disk in so it can replace them although it night do that in safe mode if you can do it in safe mode otherwise the files may become infected again, reinstall all software that is effected and you could also try putting in your windows xp disk in at boot time and run a repar

but back up your files first just incase

also if you can try running your AV in safe mode it might find it then as in save mode hopefully it shouldnt be a running proccess

this is what i did on my dads computer when it hade a very similar problem and it worked for that machine

hope you get it sorted
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync Syntax Question for Connecting to Remote Windows Machine Linux31 Linux - Networking 3 10-09-2005 02:55 PM
running programs on a windows machine from linux thesnaggle Linux - Networking 7 05-07-2004 01:44 PM
Dual-boot question: Problems with Windows/anti-virus? Ice Dragon Linux - Newbie 6 03-15-2004 07:05 PM
running a program through windows machine sooty Linux - General 2 03-10-2003 04:52 AM
Can't see linux box running Samba from Windows machine RBLynch Linux - Newbie 2 03-21-2002 07:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 04:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration