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]

Re: possible regedit bulk key deletion vulnerability (Revised)

Subject: Re: possible regedit bulk key deletion vulnerability (Revised)
Date: Tue, 16 Nov 2004 09:01:35 -0500
At 11:08 PM 11/15/2004, you wrote:
It would not take someone with a lot of smarts to misuse this simple
incomplete key (which regedit appearently interprets as a global delete of
all the keys). Malware or a virus could simply dynamically build a .reg file
or copy one (say malware.reg for example) with the above delete key
specification, and place an item under the
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key with the value of
"regedit malware.reg /s". Using this example the machine can be rendered
useless when it was restarted.

Far easier for the malware to use the API that Microsoft thoughtfully provided for just that purpose:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/shlwapi/registry/shdeletekey.asp

begging the point that maybe regedit should also only allowed to run by
administrators.

Of course, only an administrator could have deleted HKLM anyway...

--
Editor's Note: The 43rd Most Powerful Person in Networking says...

Register today to take the TruSecure ICSA exam by 12/31/04  at
<http://www.2test.com> ,  use promo code "CT1204" and you will pay just
$221.25 US Dollars for domestic exam delivery and  $296.25 US Dollars
for international delivery.

Visit <https://ticsa.trusecure.com>  for complete details regarding the
TICSA credential and to take the free sample exam.

--

<Prev in Thread] Current Thread [Next in Thread>