Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old March 18th, 2004, 03:29 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Strange Apache Log Entries

So I was browsing my Apache logs and I found some strange entries...

The first was:

Access.log

Code:
24.xxx.xxx.xxx - - [17/Mar/2004:07:01:20 -0500] "SEARCH /\x90\x02\xb1\x02\xb1\x02\xb1\x02\xb1\x02\xb1\x02\x  b1\x02\xb1\x02\xb1\x02\xb1\x02\xb1\x02\xb1\x02\xb1  \x02\xb1\x02\xb1\x02\xb1\x90\x90\" 414 271


The entry is much larger, in fact its 34,000 characters long...

After a little research, it seems this is a Webdav exploit... This is tried on port 80 if port 135 is disabled... Perhaps someone else could back me up on my research? =)

For the record, I h ad at least 30 of these entries which caused the size of my log file to be larger than necessary!


The other log entry has me baffled...

Error.log

Code:
Terminating on signal SIGTERM(15)
[Thu Mar 18 15:31:27 2004] [error] [client 24.xxx.xxx.xxx] request failed: URI too long


The second line is related to my discovery in the access.log file, however its the first line that gets me... No IP or date... I figured it was caused by my machine rebooting, but another friend told me his logs have nothing like this (and I know his machine reboots quite frequently)... This message appears multiple times in my log.

Hopefully someone has some insight on these entries...

Reply With Quote
  #2  
Old March 18th, 2004, 03:55 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
I'll have to trust you on your webdav research, though it sounds like your explanation is probably reasonable (except that webdav runs on port 80, period, as far as I know).

I don't have the precise SIGTERM error you've got in your logs, but I do have stuff like this:

Code:
[Wed Mar 17 16:18:07 2004] [warn] child process 1620 still did not exit, sending a SIGTERM
[Wed Mar 17 16:18:13 2004] [notice] caught SIGTERM, shutting down


The SIGTERM(15) I would take to mean that somebody sent a "kill -15 <pid>" at the command line to get rid of a runaway or defunct apache process. As it's a system log line, I wouldn't expect to see an IP address. I can't explain the lack of a timestamp.

Actually, I just ran a test on my laptop. I started apache up, tailed the error log, and sent a kill -15. I got something more like what appears in my code above than in yours. Weird. A google search of both the web and groups for the exact error string turns up only a German forum page (http://translate.google.com/translate?hl=en&sl=de&u=http://www.sachen-fuer-webmaster.de/forum/index.php%3Fshowtopic%3D1881%26view%3Dgetnewpost&prev=/search%3Fq%3D%2522Terminating%2Bon%2Bsignal%2BSIGT ERM(15)%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26sa%3DG) that, translated and at a quick glance, makes me wonder if the webdav thing is sending too much stuff over (maybe an attempt at a buffer overrun?) and that apache's dropping because of it.
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
  #3  
Old March 18th, 2004, 06:01 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
The SIGTERM entries i've seen before, regardless of this huge Webdav buffer overflow attempt... i haven't seen the webdav thing until four days ago...

The SIGTERM I've noticed before, but didn't pay much attention to it until now.
The only things I could find relate to Unix's signaling... As you've mentioned, signal 15 is the terminating signal...

The peculiar thing is, this particular log is from a Windows machine... luckily its only a testinng environment, so i'm not that worried about it... but I still wouldn't mind getting down to the bottom of it... I just find it strange...

On a midly unrelated rant, I hate when IIS exploits show up in my apache logs =)

Reply With Quote
  #4  
Old March 18th, 2004, 06:38 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
From memory, that log entry looks like ye 'ol Nimda or Code Red buffer overflow exploit.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Strange Apache Log Entries


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway