LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-11-2009, 01:02 AM   #1
cylarz
Member
 
Registered: Aug 2005
Location: California
Distribution: CentOS 5
Posts: 54

Rep: Reputation: 15
strange logwatch security entry


I use LogWatch on my system. I found the following entry:

--------------------- httpd Begin ------------------------

10.66 MB transferred in 89 responses (1xx 0, 2xx 80, 3xx 1, 4xx 8, 5xx 0)
27 Images (10.37 MB),
60 Content pages (0.29 MB),
2 Other (0.00 MB)

Attempts to use known hacks by 1 hosts were logged 2 time(s) from:
80.154.35.16: 2 Time(s)
passwd$ 1 Time(s)
/\.\./\.\./\.\./ 1 Time(s)

A total of 1 sites probed the server
80.154.35.16

----------------------
What's this? Ok, so I'm guessing he used a port scanner on me - that's what "probed" means, right? (My server is behind a router and its firewall blocks all ports except 80.)

But what the hell is "passwd$" and "/\.\./\.\./\.\./"? I tried looking in /etc/httpd/log to get more information, but it appears that the system has already deleted the logfile which might have contained entries from this date. (Yeah, I know I need to stay on top of this stuff better.) Is there another way to tell if there was a successful intrusion here?

By seeing the words "known hacks," can I assume that my HTTP daemon is already wise to the tricks that the blackhat was using, and therefore that it successfully blocked him?

Thanks in advance.

Last edited by cylarz; 08-11-2009 at 01:06 AM.
 
Old 08-11-2009, 03:36 PM   #2
rfelsburg
Member
 
Registered: Nov 2008
Posts: 52

Rep: Reputation: 18
Someone is trying to run a well known exploit, that attempts to use a misconfigured web server, and it backs out of the current dir using '../..' in an attempt to get to the root dir.

They're attempting to get a list of your user by grabbing passwd by backing up in the hierarchy.

Many web servers are already configured to not allow this, but if you're worried about it, you can look into apache's security options, and mod_security


-Rob
 
  


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
Strange Bugzilla Entry... bornhj General 2 10-01-2004 11:56 PM
Curious Logwatch entry zepplin611 Linux - Security 2 08-09-2004 09:41 PM
strange iptables entry jimieee Linux - Networking 2 11-10-2003 10:31 AM
LogWatch vs. LogSentry (and security) Cynthia Blue Linux - Newbie 1 12-19-2002 03:04 PM
Strange Log Watch entry magyartoth Linux - General 4 06-07-2002 10:46 AM

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

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