LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Closed Thread
  Search this Thread
Old 02-12-2011, 02:49 PM   #1
Jackp27
LQ Newbie
 
Registered: Feb 2011
Posts: 12

Rep: Reputation: 0
Trojan in my RAM


Hi, I am new to Linux and noobed out to the max. Now I have 7 in my home computers totally unusable. When I disconnect my hard drives and boot only from the Ubuntu CD, I can see the script run as they take over my system and render any connection to the outside world useless. My BIOS has been compromised from the looks of it. I am sending this from a Kinko's. I ran rkhunter last night from a CD and it said i had xibitz but the TRK was a couple of versions old. The embarassing thing is - I don't know how to restore my systems back to normal? I formatted all my hard drives and the thing keeps coming back...even without an in internet connection. If someone could help I would very much appreciate it. Many thanks. Since I don't have access to the internet I cannot post any logs. cheers to all - Jack
 
Old 02-12-2011, 03:17 PM   #2
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
is this cosmicbrat? lol

first of all , RAM dies after shutdown. There can't live any script.


I'm wondering, how can you see the script? is it just that you don't have a internet connection after boot?

what wireless card do uhave? do u use ethernet?give us more input.. c'mon...
 
Old 02-12-2011, 04:53 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by Jackp27
When I disconnect my hard drives and boot only from the Ubuntu CD, I can see the script run as they take over my system and render any connection to the outside world useless.
You need to provide details about how you are seeing the script run. And since you can see it, you should be able to provide information about what the script is. And what do you mean by rendering the connection useless?

Quote:
Originally Posted by Jackp27
My BIOS has been compromised from the looks of it.
The way this forum works is that you provide evidence rather than speculating. We follow facts here.

Quote:
Originally Posted by Jackp27
Many thanks. Since I don't have access to the internet I cannot post any logs
You mean you have no way to copy the logs to some other medium like a thumb drive or CD?

So if you want to post facts about what you're seeing we'll help you.
 
3 members found this post helpful.
Old 02-12-2011, 05:26 PM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
(Failed subtle attempt at humor redacted)

Last edited by xeleema; 02-12-2011 at 06:15 PM. Reason: Because someone's funny-bone seems to be busted. :)
 
0 members found this post helpful.
Old 02-12-2011, 05:33 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
@xeleema,

Please, we handle potential security issues a bit differently than other problems, so if you don't have anything helpful to post, please don't.
 
Old 02-12-2011, 06:14 PM   #6
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by Hangdog42 View Post
@xeleema,
Please, we handle potential security issues a bit differently than other problems, so if you don't have anything helpful to post, please don't.
Apologies. Unhelpful post has been removed.

@Jackp27
Greetingz and Welcome to LQ!
Quote:
Originally Posted by Jackp27 View Post
...I have 7 in my home computers totally unusable. When I disconnect my hard drives and boot only from the Ubuntu CD, I can see the script run as they take over my system and render any connection to the outside world useless.
That's a rather strange problem...something I haven't seen mentioned yet would be the use of the "Pause" (aka "Break") button on your keyboard while one of the affected systems is booting up.

This should "freeze" the system temporarily, allowing you to write-down (or photograph) any anomolies on the screen. To resume operation, you can typically press the spacebar or the enter key.

Quote:
Originally Posted by Jackp27 View Post
My BIOS has been compromised from the looks of it.
Although not impossible, this is a bit on the unlikely side. If you could collect additional information, I think that would benefit everyone in assisting you.

Quote:
Originally Posted by Jackp27 View Post
I ran rkhunter last night from a CD and it said i had xibitz but the TRK was a couple of versions old. The embarassing thing is - I don't know how to restore my systems back to normal?
I'm curious, what is xibitz? Doing a Google search with "site:linuxquestions.org xibitz", only 10 posts come back (and most/all have that word as a username...). The RootKit Hunter site doesn't mention it either as a detectable root-kit...

Quote:
Originally Posted by Jackp27 View Post
I am sending this from a Kinko's....Since I don't have access to the internet I cannot post any logs.
I hope you're able to return to Kinko's soon and check this thread for updates.

Last edited by unSpawn; 02-12-2011 at 06:37 PM. Reason: //Let's not propagate the wrong RKH URI
 
Old 02-12-2011, 07:00 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by xeleema View Post
I'm curious, what is xibitz? Doing a Google search with "site:linuxquestions.org xibitz", only 10 posts come back (and most/all have that word as a username...). The RootKit Hunter site doesn't mention it either as a detectable root-kit...
Yes it does (RKH URI corrected BTW, let's not propagate the wrong site): Xzibit is an old kit (think LRK-ish) that installs trojaned binaries and creates dirs and files in /dev like dsx, caca and ida. While I don't like speculating (I'd rather see logs) if he got warnings it's most likely due to the "hdparm" string (false positive).
 
2 members found this post helpful.
Old 02-12-2011, 07:26 PM   #8
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by unSpawn View Post
Yes it does (RKH URI corrected BTW, let's not propagate the wrong site): Xzibit is an old kit (think LRK-ish) that installs trojaned binaries and creates dirs and files in /dev like dsx, caca and ida. While I don't like speculating (I'd rather see logs) if he got warnings it's most likely due to the "hdparm" string (false positive).
Thanks for the catch! Didn't think I had the wrong site... as for Xzibit, the mispelling explains it!
 
Old 02-13-2011, 04:29 AM   #9
Jackp27
LQ Newbie
 
Registered: Feb 2011
Posts: 12

Original Poster
Rep: Reputation: 0
Hey sorry I haven't returned to you sooner. I bought a new computer to see if it would die as well and it did, quickly.
I've written copious notes and conducted similar research; the fact seems to be if you have a rootkit with a user (or 50) logged in you should re-format your drive. Except it doesn't help. The trojan loads immediately on startup even if your hard disks are physically disconnected.

I booted off a blackbuntu install disk and ran a shell immediately and the same notifications came up: usbhid, udevd daemon, Internet keyboard, and so on. This rootkit is in the hardware.

I ran chkrootkit and rkhunter - they both confirmed the presence of a rootkit. There's a reference to *uckit also. And not suckit. Security apps do ok at detection but not eradication. As a noob every instruction manual is somewhat Greek. No one seems to have a 'remove rootkit' button. Not sure why.

Anyhow I know you can't read my computer without logs but if someone can tell me how to zap the video ram on my geForce 6150SE card and blank my bios (HPa6000n) that might be a start. Just to get the init out of startup...as soon as I power on I'm doomed...thanks all. Appreciate it
 
Old 02-13-2011, 04:48 AM   #10
Jackp27
LQ Newbie
 
Registered: Feb 2011
Posts: 12

Original Poster
Rep: Reputation: 0
It's not a false positive when your hard drives are formatted automatically and your drivers are emasculated so you have no Internet access. I have 7 dead computers here. I can't get one of them revived. This rootkit is serious business that is costing me money.

From looking at syslogs, they emulate a video card, use Pam to get your password by working with a USB-configured device that captures your sudo password, they make 122 new groups that include your username (group added to /etc/gshadow: name=sammyj) and then change my name (sammyj) to "group floppy/25" "group tape/26"..."group sambashare/122)

There's a lot of mentions of X.org

I can't get rid of it
 
Old 02-13-2011, 04:49 AM   #11
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Did you try to remove the backup battery and leaf it out for a few minutes.
Flushing you're BIOS I suggest visit the manufacture website
Some manufacture provide a tool to do so and load the new BIOS program
But please do it correct way
 
Old 02-13-2011, 04:56 AM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Jackp27 View Post
I know you can't read my computer without logs but
You're new to Linux. You are interpreting whatever it is you think you are seeing wrongly. That is a problem we can correct.
However it does not make sense to ask questions that will lead some here off on a treasure hunt.
So please stop asking questions and concentrate on answering questions posted here or ask how you can get us the information we need to help you.
 
1 members found this post helpful.
Old 02-13-2011, 05:13 AM   #13
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by ronlau9 View Post
Did you try to remove the backup battery and leaf it out for a few minutes.
This would certainly not be the first advice I'd give any user and please be careful not to follow the OP on his treasure hunt. He hasn't provided any evidence so far, no "copious notes", no specific log messages, no tangible data from which we can discard false positives and chances are he's interpreting events wrongly. At this point the OP should only post when he's willing to cooperate our way.

Last edited by unSpawn; 02-13-2011 at 05:14 AM.
 
1 members found this post helpful.
Old 02-13-2011, 06:54 AM   #14
Jackp27
LQ Newbie
 
Registered: Feb 2011
Posts: 12

Original Poster
Rep: Reputation: 0
Yes I removed my battery. I removed my hard drives. I removed my ram and my lithium battery. I had to put some ram back for the computer to start. I flashed my bios. I've tried everything. Even without hard drives the script runs. A little keyboard on the top left corner of my windows machine pops up. It's a light something keyboard. My notes are furiously scribbled and handwritten - sp sorry. No other alternative. On my Linux box the bios is shadowed and the video ram is shadowed. If I am lucky enough to open a shell ifconfig shows eth0 up even though the inboard LAN is disabled. A message pops up asking me to verify my video settings every 45 seconds. I wish I knew what to ask you to help me solve this. Apparently my router is fine because my tv works but I can't login to it with any device or computer. Meanwhile chkrootkit says there are 12 confirmed TTY connections active.
 
Old 02-13-2011, 07:10 AM   #15
Jackp27
LQ Newbie
 
Registered: Feb 2011
Posts: 12

Original Poster
Rep: Reputation: 0
There's a udevd daemon that installs --not sure what that is-- and then a raid replaces my hard drives and then I have no bootmgr or way to use my hard drives. All of my gear is in pieces since I took out the wireless cards, batteries and all other devices that could be harboring the persistent code. Some of you sound like you think I am making this up. I've been trying to fix this for a week. I have a new library of Linux and python manuals to my name. Ps -ef shows an extraordinarily large nvidia entry and usbhid before the drive turns into a RAID. A few days ago I went and bought another copy of ubuntu 10.04 and tried to reinstall it on a newly formatted laptop with no battery or wireless card or any software for that matter. Somehow on a separate computer that I was trying to install ubuntu
Server it knew via dmesg or syslog that a raid on the desktop ubuntu was in progress the thing is, the networking was totally off on both machines and they were not connected in any way

The wireless cards were turned off because I had physically removed them. It's as if when a computer just has power it is vulnerable. That's what happened to my new computer today. First run and BAM - rootkit detected and every port open. It took me 2 hours to close them all in windows 7 to no avail.
 
  


Closed Thread



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
Gatecrasher trojan....or is it? GeorgeR Linux - Security 5 06-13-2006 01:18 PM
Trojan Horse Hugh Jass LinuxQuestions.org Member Intro 4 02-13-2005 09:58 AM
lkm trojan nullpt Linux - Security 3 12-26-2003 06:42 PM
Possible Trojan ! FreeFox Linux - General 4 08-03-2003 08:52 PM
Help..... !! a Trojan horse raz Linux - Security 1 04-27-2001 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:29 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