This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos 9's Buffer Overflow Protection System (BOPS) and Internet Explorer 8

Hi,

Just wondering if anyone else has noticed any odd behavior of Internet Explorer since upgrading from Sophos 7 to Sophos 9?

We've found that on a substantial portion of our machines (Windows XP, Windows Server 2003, and possibly even Windows 7) suffer from a reproducible but statistical-in-nature deadlock in Internet Explorer.

I originally reported the problem on Microsoft's Technet forums (http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/ef0a7af9-26b9-45b5-a05e-0cfd88c42aee) however it soon became clear that the culprit was Sophos_detoured.dll, part of the BOPS in Sophos 9 (and the timeline of the problem occurred very shortly after upgrading substantial portions of our machines to Sophos 9 from the original Sophos 7 clients they had installed.)

I notice someone else on the MS forums said they had the same problem, so I thought I'd post this here to achieve two things:

1. If other people experience this problem, they may know what's causing it instead of tearing their hair out about it

and

2. Perhaps other people have suggestions or advice

I should point out that we have an open ticket with Sophos about this at the moment [#2345512], and I've discovered at least two workarounds (which are both effectively the same workaround from different directions), so I'm not necessarily after assistance, just healthy discussion and information sharing.

As an aside, after I posted about this issue in a similar way on our internal forums, another IT staff member from a completely unrelated area responded along the lines of "Ahhh! That's what's causing it! We've just been reformatting and re-installing windows since we were stumped by the problems, and we never connected it with the recent upgrade to 9!"

And finally, the easiest workaround to the problem is to disable BOPS and reboot. There's a reghack that achieves effectively the same thing involving the AppInit_DLLs key (see the referenced microsoft forum post for details if you're brave.)

Cheers,

Jon.

:3208


This thread was automatically locked due to age.
Parents
  • From what is posted in this thread here and the the MS thread, this all sounds very familiar and we dealt with it already last year using SAV7 and XP SP2 (x86), but in our case JAVA 1.5.x was involved. We had to remove Sophos_Detoured.dll from AppInit key as it was causing IE7 to crash randomly. Though Sophos_detoured.dll was NOT causing the problem it was somehow involved. I forgot the exact details, but i think it was the Jinitiator/JRE crapping out causing all the grief. This is what it seems at that time.

    Single-Core and MultiCore CPUs is a good hint as well as the order the AppInit entries are loaded. I've seen in your example that you have the Google Update Service appear first!

    Here's our case no and more information: #1368523

    Problem/Issue:

    Customers are reporting that when they try to initialize an object heap of 1GB+ in the Sun Java client an error now occurs as of 7.6.10, when Detoured is removed from AppInit_DLLs the problem stops.

    Sophos product and version:

    SAV for Windows 2000/XP/2003 7.6.10


    Operating system:

    Windows XP
    Windows 2003

    Technical Information:

    When Java VM tries to reserve a contiguous block of memory bigger than 1.2gb it cannot because Sophos_Detoured.dll is located in the middle of that address range, reducing the memory reservation size to 1.2gb or lower does resolve the problem. The fix involves rebasing (relocating) the DLL in memory so that it does not get in the way of an application trying to reserve 1.2gb+ in one contiguous block

    Actions/What to do:

    This issue is scheduled to be fixed in the Sophos Anti-Virus 7.6.11 release due for release in late August 2009

    There are two workarounds in place:

    a) Remove Detoured from the registry (Disables BOPS):


    1. Backup the registry key

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows

    2. Remove C:\PROGRA~1\Sophos\SOPHOS~1\SOPHOS~1.DLL from

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs

    3. Log off and back on


    (Restore the backup and log off and back on to restore detoured (BOPS))

    b) Initialize Java with a value under 1GB

    example

    java -mx512M -ms512M -XX:MaxPermSize=512MB -version

    :3914
Reply
  • From what is posted in this thread here and the the MS thread, this all sounds very familiar and we dealt with it already last year using SAV7 and XP SP2 (x86), but in our case JAVA 1.5.x was involved. We had to remove Sophos_Detoured.dll from AppInit key as it was causing IE7 to crash randomly. Though Sophos_detoured.dll was NOT causing the problem it was somehow involved. I forgot the exact details, but i think it was the Jinitiator/JRE crapping out causing all the grief. This is what it seems at that time.

    Single-Core and MultiCore CPUs is a good hint as well as the order the AppInit entries are loaded. I've seen in your example that you have the Google Update Service appear first!

    Here's our case no and more information: #1368523

    Problem/Issue:

    Customers are reporting that when they try to initialize an object heap of 1GB+ in the Sun Java client an error now occurs as of 7.6.10, when Detoured is removed from AppInit_DLLs the problem stops.

    Sophos product and version:

    SAV for Windows 2000/XP/2003 7.6.10


    Operating system:

    Windows XP
    Windows 2003

    Technical Information:

    When Java VM tries to reserve a contiguous block of memory bigger than 1.2gb it cannot because Sophos_Detoured.dll is located in the middle of that address range, reducing the memory reservation size to 1.2gb or lower does resolve the problem. The fix involves rebasing (relocating) the DLL in memory so that it does not get in the way of an application trying to reserve 1.2gb+ in one contiguous block

    Actions/What to do:

    This issue is scheduled to be fixed in the Sophos Anti-Virus 7.6.11 release due for release in late August 2009

    There are two workarounds in place:

    a) Remove Detoured from the registry (Disables BOPS):


    1. Backup the registry key

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows

    2. Remove C:\PROGRA~1\Sophos\SOPHOS~1\SOPHOS~1.DLL from

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs

    3. Log off and back on


    (Restore the backup and log off and back on to restore detoured (BOPS))

    b) Initialize Java with a value under 1GB

    example

    java -mx512M -ms512M -XX:MaxPermSize=512MB -version

    :3914
Children
No Data