LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Reply
  Search this Thread
Old 01-17-2002, 12:59 AM   #1
skarlet
LQ Newbie
 
Registered: Jan 2002
Location: Canada
Distribution: Suse 7.3
Posts: 2

Rep: Reputation: 0
Question My Suse box is acting strange, hack or just traffic?


I'm running a webpage on my server (Suse7.3) which at the same time I use as a firewall between my LAN and the internet (ipmasq).

My server has been slowing down a lot recently. I'd reboot, it would run fine and then get progressively slower when responding to http requests or a telnet login (takes 1min to get a telnet prompt). And my server logs (http and message logs) are getting huge.

My access_log has *tons* of entries like the following:
24.152.10.130 - - [11/Dec/2001:11:02:41 -0800] "GET /scripts/root.exe?/ ...

So does the error_log and they are from many different addresses but they are all 24.x.x.x...

I am thinking worms (in my unqualified opinion )...

What should I do?

Maybe just grab all the addresses and put them in some kind of hosts.deny file or something?

Help is very appreciated!
 
Old 01-17-2002, 06:19 AM   #2
piranha
Member
 
Registered: Jan 2002
Distribution: Gentoo Linux 1.4
Posts: 52

Rep: Reputation: 15
it's most likely a virus, code red or a variant

http://www.linuxquestions.org/questi...threadid=11817

Last edited by piranha; 01-17-2002 at 06:20 AM.
 
Old 01-17-2002, 02:22 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quite correct stating it's either a code-red like worm (or human scanning), but it doesn't explain your Linux box slowing down to a crawl.

! BTW, ditch telnet. It's *insecure*, please install and use ssh. If you're not convinced attach tcpdump to your eth interface and log in. That should show you login authentication and other telnet traffic is in *clear text format*, so sniffable.

If your Linux box is slowing down cuz some runaway process is leaking memory you could use something like Memprof (GPL I think). This loads a library and has a GUI, and you don't need to recompile any apps to use it. OTOH its quite specialistic in its setup (at least from my POV) and you need to have a hunch which is the offending app to check...

You could also do an hourly/quarterly cronjob have a shellscript like
"ps -eo %mem,pid,user,args --sort %mem > /tmp/ps-$(/bin/date +%d%m-%H:%S).log"
but this requires you to check the data which longrunning processes hog memory.

If your Linux box is slowing down cuz of something else, like network related, there's usually some performance tweaks (Im thinking net.core.rmem*), but I think if you don't want to serve anything in the 24.0.0.0/8 range (on tcp port 80), add that to your firewall (and /etc/hosts.deny) and see if that will help.
 
Old 01-17-2002, 03:34 PM   #4
skarlet
LQ Newbie
 
Registered: Jan 2002
Location: Canada
Distribution: Suse 7.3
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks guys, I'll start using ssh from now on...

The thing is that my Linux box does not slow down but the times to connect to it (telnet etc) are sometimes very long. Once connected it's running at full speed though.

I'll add some addresses to my hosts.deny to hopefully cut down on those worm attacks...

Thanks!
 
  


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
Avidemux2 acting strange alitrix Linux - Software 0 12-15-2004 10:55 AM
vim acting strange littlemidget Debian 6 09-17-2004 11:52 AM
suse 9.1 acting strange ozzytx Linux - General 1 08-29-2004 09:41 PM
need help help please with fedora .. Is my box being hack? golpemortal Linux - Software 7 07-25-2004 12:39 PM
cgi script acting funny? possible hack? lonny Linux - Software 8 12-10-2003 11:51 PM

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

All times are GMT -5. The time now is 09:33 PM.

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