[NT] Firewall Bypassing With BHO and MSIE

From: SecuriTeam (support_at_securiteam.com)
Date: 07/21/03

  • Next message: SecuriTeam: "[TOOL] Windows Script Decoder"
    To: list@securiteam.com
    Date: 21 Jul 2003 18:28:28 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    Beyond Security in Canada

    Toronto-based Sunrays Technologies is now Beyond Security's representative in Canada.
    We welcome ISPs, system integrators and IT systems resellers
    to promote the most advanced vulnerability assessment solutions today.

    Contact us at 416-482-0038 or at canadasales@beyondsecurity.com

    - - - - - - - - -

      Firewall Bypassing With BHO and MSIE
    ------------------------------------------------------------------------

    SUMMARY

    "Internet Explorer is just like any other Win32-based program with its own
    memory space to preserve. With Browser Helper Objects you can write
    components specifically, in-process Component Object Model (COM)
    components that Internet Explorer will load each time it starts up. Such
    objects run in the same memory context as the browser and can perform any
    action on the available windows and modules. For example, a BHO could
    detect the browser's typical events, such as GoBack, GoForward, and
    DocumentComplete; access the browser's menu and toolbar and make changes;
    create windows to display additional information on the currently viewed
    page; and install hooks to monitor messages and actions. In short, a BHO
    works as a spy sent to infiltrate the browser's land."

    Due to the way BHO works, it is possible to use it to send possibly
    sensitive information via the coperate Firewall in a covert maner.

    DETAILS

    BHO is a great way to send information to the Internet under the name of
    IEXPLORER:
    When IEXPLORER is started, our BHO opens a new MSIE window via the script
    command ("window.open"). That new IE window will also be controlled by our
    BHO. We then hide this new window. Then the hidden window can be used to
    send information out by utilizing simple HTML form information posting.

    Of course, this trick can also be used to receive commands from a Trojan
    planter.

    Example:
    A BHO sample that pops up a window whenever MSIE is started and show all
    the events (source code included):
    <http://www.euromind.com/iedelphi/ie5tools/bho.htm>
    http://www.euromind.com/iedelphi/ie5tools/bho.htm

    ADDITIONAL INFORMATION

    Information supplied by Liu Die Yu.

    All mentioned resources can be found at <http://umbrella.mx.tc>
    http://umbrella.mx.tc

    A BHO guide from Microsoft:
    <http://www.microsoft.com/mind/0598/browhelp.asp> Controlling Internet
    Explorer 4.0 with Browser Helper Objects

    For more information on BHO:
    <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebgen/html/bho.asp> Browser Helper Objects: The Browser the Way You Want It.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[TOOL] Windows Script Decoder"

    Relevant Pages

    • Re: getting bho reference from iwebbrowser2
      ... You can send registered windows message to the window returned by IOleWindow ... You can subclass the window in your BHO to handle registered messages. ... to get a pointer/reference to my BHO's class from the IWebBrowser2 ...
      (microsoft.public.inetsdk.programming.webbrowser_ctl)
    • other pop-up blocking bhos cancelling my navigation.
      ... from inside my BHO I'm trying to open a link in a new ... I'm doing this via initiating a Navigate2 command with either ... On this new window I'm initiall hiding it, ... Fooling popup blockers. ...
      (microsoft.public.inetsdk.programming.webbrowser_ctl)
    • Re: Can not bring IE6 window to front
      ... legitimate BHO can cause problems. ... >> New program window appears behind all other open windows ... >>> user accounts I set up on this computer. ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • BHO Hangs IE in a specific case
      ... I am attaching My Events to DocumentComplete and ... I can close the popped up IE window after IE hangs. ... BHO both work fine. ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: internet explorer problem
      ... The offender may simply be a BHO BHO Demon 2.0 from ... It's a busy forum. ... > Now whenever I launch Internet Explorer. ... > which in turn affects the virtual memory and message of low virtual memory ...
      (microsoft.public.windows.inetexplorer.ie6.browser)