Saturday, May 13, 2000
MICROSOFT SECURITY FLAW?
Silent delivery and installation of an executable on a target computer. No
client input other than opening an email or newsgroup post.
1. Using the following this can be accomplished with the default
installation of Windows 95 and 98 and Internet Explorer 5 browsers and
accompanying mail/news clients
2. The key component from Georgi Guninski
http://www.nat.bg/~joro/wordpad-desc.html
3. Secondary component comprises a pre-installed ActiveX control directly
from Microsoft. This control and a variety of similar demonstrations have
been shown to Microsoft over 18 months ago
What to do:
A
(a) Manufacture a *.chm file. The following kit from Microsoft is free and
very easy to use Microsoft=AE HTML Help:
http://msdn.microsoft.com/library/tools/htmlhelp/wkshp/download.htm
(b) Construct a new *.chm file inputting the ActiveX link control as
follows:
(c) The control itself is quite sensitive to manipulation, the above
represents the bare minimum to run.
(d) Input the path of the executable you intend to run as in PARAM
name=3D"Item1" above. In order to disguise the running of the executable it=
is
suggested to not to give it a silly name, rather something that is familiar
to the operating system e.g. microsoftagent.exe etc.
(e) While constructing the *.chm, it is possible to both minimise and offse=
t
the location of the *.chm file once opened. For example while under
construction you can set the size of the help window and its location -
using the auto resizer in Microsoft=AE HTML Help, drag the sizer to the
smallest possible size. Although setting the size requires clicking OK
inside the autosizer, dragging to minimal size and hitting ENTER will
register the setting. Secondly offset the location of the file by inputting
say 2000 , 2000, this should suffice in it opening off-screen on any size
monitor.
(f) Once you have compiled the *.chm test its functionality by placing the
executable in your temp file and open the *.chm - it should run the
executable.
Now how do we place this on the target computer?
B.
(a) Simply by opening an email message or newsgroup post. The client does
nothing. They receive an email open it or read a newsgroup post and that i=
s
all. Both the *.exe and *.chm are transferred silently and immediately to
the temp folder once the email or newsgroup post is open.
How so?
(b) It is possible to embed almost anything in both html email and html
news. Current versions of Outlook Express 5 inspect what is being embedded
is in fact the correct file e.g. will not embed becau=
se
a *.doc is obviously not an image file. Internet Explorer 4 and accompanyin=
g
Outlook Express 4 does allow for this, similarly Netscape Messenger also
allows for this. Nevertheless, through proprietary JavaScript and VBscript,
it is possible to deliver an intact file to the target computer's temp
folder, however with a file name given by the computer e.g. 000321.doc. Thi=
s
does not serve the purpose of running the *.chm with the file name explicit
as above.
(c) The Microsoft Active Movie Control (AMC) pre-registered and
pre-installed on all Internet Explorer 5 computers does. The very simple
scripting to do this is as follows: