Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security NTBugtraq
[Top] [All Lists]

Flaws in SP2 security features, part II

Subject: Flaws in SP2 security features, part II
Date: Tue, 16 Nov 2004 21:45:35 +0100 (CET)
Date: 16.11.2005
Author: Juergen Schmidt, heise Security
Original article: http://www.heise.de/security/artikel/53297
German version: http://www.heise.de/security/news/meldung/53306

Flaws in SP2 security features, part II

With Service Pack 2 Microsoft introduced a couple of new security
features. However, some of them suffer from implementation flaws.

One of the new security features is the restricted access to raw sockets
in SP2. By restricting the ability to send handcrafted packets, Microsoft
wants to "limit the ability of malicious code to create distributed
denial-of-service attacks and limit the ability to send spoofed packets"
(see
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2netwk.mspx#EHAA).

On the downside, a lot of tools, we use for our daily work, do not work
with those restrictions -- or have to use strange workarounds. A lot of
the features of the well known port scanner nmap did not work under
Windows XP SP2 -- until Fyodor came up with writing raw ethernet frames
instead of IP packets (which btw does not help on other transport mediums).

The implementation of those restrictions on raw sockets contains at least
one bug which makes them close to useless. They are coupled in some
mysterious way to the firewall service. Issuing the command

net stop SharedAccess

stops the firewall and opens the access to raw sockets. You can test this
easily by trying half open syn scans:

nmap -sS [somehost]

or spoofing IP adresses of UDP packets like in

nmap -sU -S 1.2.3.4 -e eth0 [somehost]

Neither command works with Windows XP SP2 and firewall enabled, but after
you turn it off, they do.

Microsoft has been informed about the problem and promised:

"Even though we do not consider this a security vulnerability, Microsoft
is committed to fixing this bug as quickly as is possible."

The issue was brought to my attention by Holger Lembke who found it during
his work on "3d traceroute" (http://www.d3tr.com).

bye, ju

--
Juergen Schmidt                 heise Security          www.heisec.de
Heise Zeitschriften Verlag,    Helstorferstr. 7,       D-30625 Hannover
GPG-Key: 0x38EA4970,  5D7B 476D 84D5 94FF E7C5  67BE F895 0A18 38EA 4970

<Prev in Thread] Current Thread [Next in Thread>
  • Flaws in SP2 security features, part II, Juergen Schmidt <=