Home page logo

fulldisclosure logo Full Disclosure mailing list archives

Re: Test your windows OS
From: "Berend-Jan Wever" <skylined () edup tudelft nl>
Date: Tue, 5 Oct 2004 01:08:51 +0200

Anybody wanna try if this shows a popup ? It's 1 line, if it wraps put it back together:
 && %SystemRoot%\system32\grpconv 
Let me know if it works (off-list) and what system you're using. I developed it on win2ken sp4.
Tech stuff:
The string "^N^A^N^A" at the end should be typed "ctrl+N, ctrl+A, ctrl+N, ctrl+A". It works by installing a unicode 
shellcode in the environment string "!!!!!!" at 0x00010000. This should alphabetically be the first string so the 
shellcode should be at 0x0001000e. I overwrite a return address (^N^A=0x0001000e). The unicode shellcode needs to know 
it's own baseaddress, that's why there's "^N^A" twice: the first one is used to return, the second one is poped of by 
the shellcode to get the baseaddress.


----- Original Message ----- 
From: "Berend-Jan Wever" <skylined () edup tudelft nl>
To: <full-disclosure () lists netsys com>
Sent: Monday, October 04, 2004 17:39
Subject: [Full-disclosure] Test your windows OS

Hi all,

Wanna do a quick test to see if the programmers that wrote your windows operating system have any clue as to what 
there doing ? Run these commands from cmd.exe in the system32 directory:

for %i in (*.exe) do start %i %n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n
for %i in (*.exe) do start %i AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.... (type as much "A"-s as cmd.exe allows on 
one line.)

Each command will execute every program in your system32 directory, most of them will either ignore the parameter or 
report an error because the parameter doesn't make sence... But on my win2k system I found 6 programs vulnerable to 
these very simple formatsting and BoF tests.... grpconv even gives EIP 0x00410041, can it be any easier?

These are not vulnerabilities in itself: you cannot gain access or elevate priviledges but I just wanted to let you 
know that these programmers did a sloppy job.


Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]