- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Something ugly is going on. DOS attack.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 04:39 PM
12-15-2004 04:39 PM
Something ugly is going on. DOS attack.
I get to my private office and its whack city. The web server is unresponsive. A ton of httpd processes are out there with PPID 1 and can't be killed.
Pretty much looks like the kernel (Linux, not relavent) is whacked.
I'm forced to boot. To some degree its going on with apache 2.0.x on all servers, hp9000 and linux.
I see a lot of strange entries in the httpd access_log log.
220.160.43.32 - - [15/Dec/2004:23:30:12 -0600] "GET http://www.blazerunner.com/ppc/search.php?keywords=Nutrition+supplement&username=robertWyatt HTTP/1.0" 404 5926
222.135.120.122 - - [15/Dec/2004:23:30:13 -0600] "GET http://bee-search.com/search.php?AID=25&q=blackjack HTTP/1.0" 404 5871
60.208.230.145 - - [15/Dec/2004:23:30:14 -0600] "GET http://hpcgi1.nifty.com/trino/ProxyJ/prxjdg.cgi HTTP/1.0" 404 5893
I see the following in a tcpdump with the -f option for foreign addresses.
ip addresses are altered.
170 is httpd
168 is httpd
167 is supposedly mail.
23:22:22.923839 61.42.141.170.http > 220.160.43.32.3702: . 3848796859:3848798291(1432) ack 2301109696 win 6432 (DF)
23:22:22.976771 222.51.105.105.2420 > 61.42.141.168.http: S 2580438232:2580438232(0) win 16384
23:22:22.976813 61.42.141.168.http > 222.51.105.105.2420: S 4050721642:4050721642(0) ack 2580438233 win 5840
23:22:23.042141 220.160.43.32.1405 > 61.42.141.167.http: F 1:1(0) ack 1432 win 65535 (DF) [tos 0x20]
23:22:23.042175 61.42.141.167.http > 220.160.43.32.1405: . 1432:2864(1432) ack 1 win 6432 (DF)
23:22:23.042182 61.42.141.167.http > 220.160.43.32.1405: . ack 2 win 6432 (DF)
23:22:23.042187 61.42.141.167.http > 220.160.43.32.1405: . 2864:4296(1432) ack 2 win 6432 (DF)
23:22:23.303848 61.42.141.168.http > 220.160.43.32.1480: . 0:1432(1432) ack 1 win 6432 (DF)
23:22:23.454348 220.160.43.32.1215 > 61.42.141.168.http: R 2382819377:2382819377(0) win 0 (DF) [tos 0x20]
Here is the interesting part.
The IP addresses are blocked on the firewall. I've checked the configuration a few times and my response programs updated it properly. Yet the activity continues.
Questions:
does 220.160.43.32.1215
in tcpdump mean the traffic came in on 220.160.43.32 port 1215.
I hope not, becasue that port is blocked on the firewall and I have verified that from the outside.
I'm kind of wondering whats going on and how to deal with it. Hardening the firewall configuration seems to have slowed but not stopped the problem. The configuration was pretty solid before.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 12:12 AM
12-16-2004 12:12 AM
Re: Something ugly is going on. DOS attack.
What is meant in this line
23:22:23.454348 220.160.43.32.1215 > 61.42.141.168.http: R 2382819377:2382819377(0) win 0 (DF) [tos 0x20]
if that 220.160.43.32 send a request to 61.42.141.168. But this is quite normal. If I understand, 61.42.141.168 is your public address. And 220.160.43.32 is the client. It accesses your server on port "http" (probably 80) and its local port is 1215. But that doesn't mean your 1215 port is oppened.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 01:04 AM
12-16-2004 01:04 AM
Re: Something ugly is going on. DOS attack.
I did nslookup for all those ips, and did not get anything.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 01:51 AM
12-16-2004 01:51 AM
Re: Something ugly is going on. DOS attack.
In your apache conf files you should also verify that the "MaxSpareServers" setting is as low as resonably possible. The out-of-the box setting is like 15 or 20; perhaps change it to be equal to the "MinSpareServers" value and then make sure that is set as low as practically possible. This won't prevent a DDOS attack, but at least it doesn't give hackers as much to work with.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 03:09 AM
12-16-2004 03:09 AM
Re: Something ugly is going on. DOS attack.
I use ipfilter on the hp-ux apache server and iptables on the Linux one. 61.42.141.167 address is a public address but i picked it at random. Some of the inbound traffic is cominng in with my ip address hardcoded inside and I'm not in the mood to provide any assistance to these persons.
More details coming as time permits.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 03:09 AM
12-16-2004 03:09 AM
Re: Something ugly is going on. DOS attack.
I've no experience in this kind of situations but when you wrote "after a quick fiber card swap on an rp5450" I remembered one basic principle I apply everytime I have a new problem:
Until when it was fine and what did I changed since that time??
Hope this will help you because I've no other ideas about your issue since I'm not an expert in security...
Kindest Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 03:27 AM
12-16-2004 03:27 AM
Re: Something ugly is going on. DOS attack.
http://somesite.com/sproxy.php?ip= 61.42.141.168&port=80
I tried that myself in a browser. It did not go to my webserver and displayed some useless information about what ip addresss I'm at where I am currently sitting.
Does anyonw know why or how such stuff could be getting into my apache logs? I see a lot junk as it is, but this is impacting my servers reliability.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 03:54 AM
12-16-2004 03:54 AM
Re: Something ugly is going on. DOS attack.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 04:06 AM
12-16-2004 04:06 AM
Re: Something ugly is going on. DOS attack.
Its my ip.
I have changed all the records i post to confuse future hackers.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 04:13 AM
12-16-2004 04:13 AM
Re: Something ugly is going on. DOS attack.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 04:21 AM
12-16-2004 04:21 AM
Re: Something ugly is going on. DOS attack.
I don't know where the get is coming from or how its triggered.
the tcpdump data should not be happening because the ip address is blocked.
I would say not voluntary to that questions.
I checked out some of the sites. blazerunner.com is a spyware laden cheap search engine. They don't have the url referenced in the log. Interestingly enough in the DNS realm, the name will not resolve by my browser is able to connect to the site no problem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 04:27 AM
12-16-2004 04:27 AM
Re: Something ugly is going on. DOS attack.
It will : you're not using the same DNS as the client does.
If the http client wants to access this site (blazerunner.com) and the DNS he refers to gives him your IP for this site, he will try to connect, issue the GET statement and you will have those logs. If you want to do the same, you can't, as long as you use a good DNS, refering your site as your correct IP (It's probably your DNS).
Fact is you should find DNS this IP uses. And that is probably a real challenge :-(
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 04:38 AM
12-16-2004 04:38 AM
Re: Something ugly is going on. DOS attack.
The junk should show up in the log, but no more information will travel to that website.
This is but one of a dozen sites attempting the same type of abuse. So far all it seems to do is open up lots of extra httpd processes, which I control by restarting the httpd server.
Still there is a whole somewhere that needs to be plugged.
I may need to somehow limit where I accept DNS requests from. This is tricky because public websites must resolve their names.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 10:23 AM
12-16-2004 10:23 AM
Re: Something ugly is going on. DOS attack.
The firewall was not configured properly.
A tiny little mistake while doing an system upgrade left the firewall database blocking ip addresses input from the internal network instead of the external network.
eth0 needed to be changed to eth1
lan0 needed to be lan1
So that explains why measures against the input were failing. They were not blocking on the correct NIC.
Will update and possbily close later.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 08:01 PM
12-16-2004 08:01 PM
Re: Something ugly is going on. DOS attack.
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 05:15 AM
12-28-2004 05:15 AM
Re: Something ugly is going on. DOS attack.
Detected the activity was coming in on port 80.
Blocked output on the attempted outbound ports.
Wrote a program to detect and add blocking entries to ipfilter and iptables to firewall configuration files.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 05:38 AM
12-28-2004 05:38 AM
Re: Something ugly is going on. DOS attack.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com