lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <FA2FB2C7664945648F67B4003F644AF0@localhost>
Date: Fri, 10 Sep 2010 00:35:25 +0200
From: "Stefan Kanthak" <stefan.kanthak@...go.de>
To: <security@...ossecurity.com>, <bugtraq@...urityfocus.com>,
	<NTBUGTRAQ@...TSERV.NTBUGTRAQ.COM>, <cert@...t.org>,
	<si-cert@...es.si>
Subject: Re: Binary Planting Goes "EXE"

"ACROS Security Lists" wrote:

> For everyone interested in binary planting vulnerabilities, here's some new
> information on the EXE vector from our research.
>
> http://blog.acrossecurity.com/2010/09/binary-planting-goes-exe.html

Tell news!

1) There is an equivalent to "SafeDLLSearchPath" for executables: see
   <http://support.microsoft.com/kb/905890>, to be turned on with

   [HKLM\System\CurrentControlSet\Control\Session Manager]
   "SafeProcessSearchMode"=dword:01


2) You missed %HomeDrive%%HomePath% a.k.a. BASE directory: see
   <http://support.microsoft.com/kb/246061>, to be turned off with either

   [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
   "StartRunNoHomePath"=dword:01

   or

   [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
   "StartRunNoHomePath"=dword:01


3) Planting a rogue executable C:\Program.{exe,com,...} (yes, this needs
   administrative rights in the first place) may still work, even on
   Windows 7 x64: just take a look at

   [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{37efd44d-ef8d-41b1-940d-96973a50e9e0}\Shell\Open\Command]
   @=expand:"%ProgramFiles%\Windows Sidebar\sidebar.exe /showGadgets"

   [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DesktopBackground\Shell\Gadgets\command]
   @="C:\Program Files\Windows Sidebar\sidebar.exe /showGadgets"

   [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\NetworkExplorerPlugins\urn:schemas-upnp-org:device:MediaServer:1\shell\Open Media
Player\command]
   @=expand:"C:\Program Files\Windows Media Player\wmplayer.exe"

   [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Windows.gadget\shell\open\command]
   @=expand:"%ProgramFiles%\Windows Sidebar\Sidebar.exe"

   [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Media\Windows Media Player\shell\open\command]
   @=expand:"%ProgramFiles(x86)%\Windows Media Player\wmplayer.exe"

   [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell\open\command]
   @="C:\Program Files (x86)\Internet Explorer\iexplore.exe"


   Yes, even more than 15 years after introduction of "long" filenames
   some developers still don't know how to properly quote command lines,
   and their QA seems sound asleep!


Stefan Kanthak

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ