Windows XP Service Pack 2 Security Problems

I read on the heise c't magazine security list some security issues with the Service Pack 2 for Windows XP. The article talks about the zone identifier in the NTFS file. If you download a file from the internet the file will be marked with a ZoneIdentifier in a NTFS stream. This stream will be used to decide to show a warning dialog. The warning dialog will allow you to decide wether you want to start this file or not.

Now, if you start the file indirectly with the Windows command shell you will not be asked:

cmd /c evil.exe

The second problem will occur because of the internal file cache. If you copy a safety file (f.e. notepad.exe) to a new destionation, start this "new" notepad, copy a new file to the same location,... then the warning dialog will not appear:

copy c:\windows\notepad.exe c:\test.exe
call c:\test.exe
copy evil.exe c:\test.exe
call c:\test.exe

If you restart your explorer.exe (kill process in task manager) then the correct ZoneIdentifier will be used and you will see the warning dialog.

To check a ZoneIdentifier from a NTFS file you can use notepad evil.exe:Zone.Identifier.

For more details: http://www.heise.de/security/artikel/50046/1

Published Wednesday, August 18, 2004 10:34 PM by Michael Schwarz

Comments

# Windows XP SP2 Security Issues?

Wednesday, August 18, 2004 1:07 PM by TrackBack

# re: Windows XP Service Pack 2 Security Problems

Wednesday, August 18, 2004 5:19 PM by Larry Osterman
So this is an SP2 vulnerability? You can't also do this on SP1? Or NT4?

# re: Windows XP Service Pack 2 Security Problems

Thursday, August 19, 2004 12:30 AM by Michael Schwarz
You cannot do this with SP1 or NT4/2000 because there is no ZoneIdentifier Stream for downloaded files.

# Windows XP SP2 Security Issues?

Tuesday, November 13, 2007 1:11 AM by Justin's Development Adventures

This post was recovered from archive.org . It was origionally posted on Wednesday, August 18, 2004 Michael

# Windows XP SP2 Security Issues?

Tuesday, November 13, 2007 1:43 AM by Justin Long's Blog

This post was recovered from archive.org . It was origionally posted on Wednesday, August 18, 2004 Michael