![]() |
|
Porsche, and the Porsche crest are registered trademarks of Dr. Ing. h.c. F. Porsche AG.
This site is not affiliated with Porsche in any way. Its only purpose is to provide an online forum for car enthusiasts. All other trademarks are property of their respective owners. |
|
![]() |
SirAndy |
![]() ![]()
Post
#1
|
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,245 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
sooo, on one (actually 2) of our servers running IIS, we get a lot of hack attempts lately. they're all of the same type, buffer overflow attacks on port 80.
i have all the latest security patches (Windows NT 4) and they are NOT compromising the box, that's the good news. the bad news is, that lately, the type of attack has slightly changed and now they succeed in crashing IIS! so here's the problem: this box (or 2) run important eCommerce websites for me so closing port 80 or moving to another port is NOT an option. moving to another OS is NOT an option. banning IP's is NOT a option (most of those kids are on dialup DSL, so i would have to block a whole range, most likely cutting out legit customers) how can i run those websites without having IIS die on me a couple of times a day? the only thing i can think of is to implement some sort of content filtering that removes malicious code before it gets to the web-server. anyone here who has a running example of a setup like that? what (good) firewalls have that sort of filtering and how much do they cost? i'm at the end of the rope here ... (IMG:style_emoticons/default/fighting19.gif) Andy |
![]() ![]() |
boxsterfan |
![]()
Post
#2
|
914's are kewl ![]() ![]() ![]() Group: Members Posts: 1,776 Joined: 6-June 03 From: San Ramon, CA Member No.: 791 Region Association: Northern California ![]() |
There are several tricks, but some copies of the IISlogs to see exactly what they are doing would be helpful.
1. Run IISLockdown 2. Remove any of the defaults installed with IIS (default web site, etc..) 3. File permissions 4. Install a Host-based IDS 5. Install AntiVirus 6. Have enough RAM? 7. Are you sure you have all the patches on? 8. Upgrade to WIN2K with IIS 5.0 (much more stable web server, but still requires patching) I work in the financial industry. http://www.visa.com/cisp has many requirements to help lock down systems. Do you have a custom ISAPI DLL crashing the box? Need more info on your setup. |
SirAndy |
![]()
Post
#3
|
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,245 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
nope, it's a simple HTTP request that has way too many characters (buffer overflow attack) ...
and IIS just stops working. no other harm done. 1. Run IISLockdown how would that help? 2. Remove any of the defaults installed with IIS (default web site, etc..) done 2 years ago when the machine was first installed 3. File permissions huh? how would that help? 4. Install a Host-based IDS how would that help? 5. Install AntiVirus i do have norton antivirus software, but that won't help cause there's no VIRUS transmitted. 6. Have enough RAM? yes, plenty of ram, why? 7. Are you sure you have all the patches on? positive 8. Upgrade to WIN2K with IIS 5.0 (much more stable web server, but still requires patching) that might be a option, but are you sure IIS5 doesn't have the same problem? 9. Do you have a custom ISAPI DLL crashing the box? nope, it's a buffer overflow attack from the OUTSIDE (IMG:style_emoticons/default/headbang.gif) Andy |
mikester |
![]()
Post
#4
|
Member ![]() ![]() Group: Members Posts: 326 Joined: 18-June 03 From: CA Member No.: 837 ![]() |
Couple of questions...
What version of IIS? I'm assuming NT4 = IIS4 but I'm not positive. The IIS Lockdown tool is a microsoft tool to evaluate you're IIS server for vulerabilities. It will tell you if something is not right according to microsoft (consider the source). If you haven't run it - you should. If you have, it probably won't help but it also won't hurt. Other than that - a log message from the event log would help a great deal in troubleshooting. Otherwise what steps have you actually taken to fix the problem? |
boxsterfan |
![]()
Post
#5
|
914's are kewl ![]() ![]() ![]() Group: Members Posts: 1,776 Joined: 6-June 03 From: San Ramon, CA Member No.: 791 Region Association: Northern California ![]() |
Could you post a log of the buffer overflow attack from the IISLogs?
|
KaptKaos |
![]()
Post
#6
|
Family ![]() ![]() ![]() ![]() Group: Members Posts: 4,009 Joined: 23-April 03 From: Near Wausau Member No.: 607 Region Association: Upper MidWest ![]() |
On a long term basis, I think you are best served by moving to W2k/w2k3. Nt4 is no longer supported by MS and there will be no more patching. As attacks come out, MS will not be doing anything to help you, so you are on your own.
Host based intrusion detection is a good idea, however, you may run into support issues because you are still using NT4. |
brians914 |
![]()
Post
#7
|
Newbie ![]() Group: Members Posts: 31 Joined: 16-March 04 From: Minnesota Member No.: 1,805 ![]() |
(IMG:style_emoticons/default/agree.gif) Move on man!
|
SirAndy |
![]()
Post
#8
|
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,245 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
here's some stuff from the logs, the XXXXXXXX is where my hostname and IP would be. (IMG:style_emoticons/default/wink.gif)
normal valid request: 195.219.183.5, -, 5/25/04, 1:36:41, W3SVC11, XXXXXXXX, XXXXXXXX, 0, 497, 0, 200, 0, GET, /index.asp, -, hack attempt that doesn't cause any problems: (i have been seeing those for quite a while now) 142.176.139.196, -, 5/25/04, 3:02:03, W3SVC11, XXXXXXXX, XXXXXXXX, 0, 59, 0, 500, 87, GET, /scripts/..%5c%5c../winnt/system32/cmd.exe, /c+dir, this is new, causes IIS to crash! 66.131.233.237, -, 5/25/04, 3:54:58, W3SVC11, XXXXXXXX, XXXXXXXX, 0, 65623, 280, 501, 50, SEARCH, /±±±±± [... more here, i cut the rest out, too long ...] now what? upgrade to win2k advanced? anyone got any leads on a firewall with a good active filtering system? Andy |
boxsterfan |
![]()
Post
#9
|
914's are kewl ![]() ![]() ![]() Group: Members Posts: 1,776 Joined: 6-June 03 From: San Ramon, CA Member No.: 791 Region Association: Northern California ![]() |
Looks like a WEBDAV hack attempt. IIS4 does not support WEBDAV, but it does have the vulnerability in the ntddl.dll.
Have you appplied MS03-007 for NT4.0? MS03-007 Patch |
KaptKaos |
![]()
Post
#10
|
Family ![]() ![]() ![]() ![]() Group: Members Posts: 4,009 Joined: 23-April 03 From: Near Wausau Member No.: 607 Region Association: Upper MidWest ![]() |
QUOTE now what? upgrade to win2k advanced? anyone got any leads on a firewall with a good active filtering system? I do not think you need advanced server, unless you want to cluster (not recommended in W2k btw). If you are going to upgrade, go to W2k3 anyway. As for a firewall, you need to allow port 80 traffic in, regardless of what's inside it, so that will be tough. A Host INtrusion Detection System (HIDS) is a good way to go. Be careful, the HIDS can sometimes make change management on the IIS difficult. |
dinomium |
![]()
Post
#11
|
Git on a chair son, all the good stuff is goin over yer head! ![]() ![]() ![]() ![]() Group: Benefactors Posts: 2,777 Joined: 2-January 03 From: Bremerton, WA Member No.: 74 Region Association: Pacific Northwest ![]() ![]() |
If you cant upgrade right now, I would start at SSL and work backwards to be sure everything is locked down and patched...
http://support.microsoft.com/default.aspx?...s;iis&x=11&y=11 and for the complete list: http://search.microsoft.com/search/results...u=iis+4.0&na=54 We run a lot of NT4 legacy here and it is a MAJOR pain keeping it all safe... |
aircooledboy |
![]()
Post
#12
|
Sweet Pea's 1st ride in daddy's "vroom -vroom" ![]() ![]() ![]() Group: Members Posts: 1,672 Joined: 4-February 04 From: Rockford, IL Member No.: 1,629 Region Association: Upper MidWest ![]() |
These guys are all wet Andy. Clearly, your flux capacitor needs new dilithium crystals. Either that, or the muffler bearings are bad.
No thanks necessary. (IMG:style_emoticons/default/smilie_pokal.gif) |
SirAndy |
![]()
Post
#13
|
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,245 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
(IMG:style_emoticons/default/headbang.gif) (IMG:style_emoticons/default/hanged.gif)
sooo, i go and get the latest version of IIS-Lockdown. newer is better, right? on MickeySoft's website it says it's compatible with NT4, so i install it. all goes well, i make sure the URLScan ini file has the right settings, restart the box AND: nothing works anymore! (IMG:style_emoticons/default/fighting19.gif) turns out, the version of IIS-Lockdown i just installed applied Win2k type security settings to ALL my folders and NT4 can't read it! (IMG:style_emoticons/default/ar15.gif) i'm going to jump out of the window now, you guys all have a nice day ... Andy |
boxsterfan |
![]()
Post
#14
|
914's are kewl ![]() ![]() ![]() Group: Members Posts: 1,776 Joined: 6-June 03 From: San Ramon, CA Member No.: 791 Region Association: Northern California ![]() |
SirAndy,
QUOTE this is new, causes IIS to crash! 66.131.233.237, -, 5/25/04, 3:54:58, W3SVC11, XXXXXXXX, XXXXXXXX, 0, 65623, 280, 501, 50, SEARCH, /±±±±± [... more here, i cut the rest out, too long ...] What is the HTTP Status code returned at the end of this IISlog? 200, 403, 500, etc...??? |
JWest |
![]()
Post
#15
|
Senior Member ![]() ![]() ![]() Group: Members Posts: 1,663 Joined: 6-January 03 From: Fort Worth, TX Member No.: 97 Region Association: None ![]() ![]() |
Maybe you dropped a valve.
Have you checked for rust in the longs? What about the round realy - try switching those out. Could be fuse #9. Try a helicoil on the exhaust stud. Your MPS is leaking. Replace your fuel lines before you have a fire. |
fiid |
![]()
Post
#16
|
Turbo Megasquirted Subaru Member ![]() ![]() ![]() ![]() Group: Members Posts: 2,827 Joined: 7-April 03 From: San Francisco, CA Member No.: 530 Region Association: Northern California ![]() |
One option is to install a server side proxy server like squid or apache on a linux box.
Make everyone talk to the linux box and let it decide what traffic is valid to be sent on to the Windows box. It can be set up so it is 100% transparent to the legitimate end user, but you should be able to block anything that is not a GET or a POST, or that contains anything iffy (like excessively large request bodies). Just a thought - happy to help setting it up. Email me though - since I am only checking the board every couple of days at the moment. l8r, Fiid. |
davep |
![]()
Post
#17
|
914 Historian ![]() ![]() ![]() ![]() ![]() Group: Benefactors Posts: 5,289 Joined: 13-October 03 From: Burford, ON, N0E 1A0 Member No.: 1,244 Region Association: Canada ![]() ![]() |
For firewalls you could try Smoothwall on a separate box; I believe a 486 will do fine. Was going to try that, but have not had the time. http://www.smoothwall.org/
I do use Zonealarm on several boxes; it is a free utility, but the Pro version may be better in your application. http://www.zonelabs.com/store/content/home.jsp I firmly believe that everyone should be running both a firewall and an antivirus product. Better, possibly, if they are from the same source. Both Zonelabs and Symantec offer these packages. |
mikester |
![]()
Post
#18
|
Member ![]() ![]() Group: Members Posts: 326 Joined: 18-June 03 From: CA Member No.: 837 ![]() |
Ouch, I see those log messages all day long on my Windows box running apache.
Doesn't even phase it. A Host based intrusion system can filter those bad requests out or you can use a proxy with some filtering capacity and use a regexpression to filter out those bad requests. We had to do that here in a different situation. The thing is, those devices that are capable of the filtering you need (Cisco Caching engines, blue coat, websense, etc) are not low dollar items. Your best bet I think is to get your OS and Web server up to a supportable level. Sorry to say that of course. Damn, Ms sucks. Though, I'm really happy with how well apache is performing on my xp Pro box... A PIX could negate embryonic connections but not much else. You might be able to do a context based access list via a Cisco IOS device or possibly a PIX but I've never used it to block this type of request and I'd be afraid of it blocking legitimate stuff. |
mightyohm |
![]()
Post
#19
|
Advanced Member ![]() ![]() ![]() ![]() Group: Benefactors Posts: 2,277 Joined: 16-January 03 From: Seattle, WA Member No.: 162 Region Association: Pacific Northwest ![]() ![]() |
Andy, did you get the permissions issue fixed?
Sorry to have misled you. Just trying to help. (IMG:style_emoticons/default/unsure.gif) |
Gint |
![]()
Post
#20
|
Mike Ginter ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 16,096 Joined: 26-December 02 From: Denver CO. Member No.: 20 Region Association: Rocky Mountains ![]() ![]() |
I've told ya before Andy, I'm no Windoze 'spert, but ditch IIS. If I'm not mistaken, you can load Apache on NT can't ya? At least that way you have a snowball's chance in hell of getting updates at least for your web server.
Good luck man! |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 6th July 2025 - 10:26 AM |
All rights reserved 914World.com © since 2002 |
914World.com is the fastest growing online 914 community! We have it all, classifieds, events, forums, vendors, parts, autocross, racing, technical articles, events calendar, newsletter, restoration, gallery, archives, history and more for your Porsche 914 ... |