Re: Circumventing quarantine control in Windows 2003 and ISA 2004



Memet Anwar <mmta.gm@xxxxxxxxx> wrote:
[bypassing Windows 2003 Network Access Quarantine Control by manipulating
scripts or programs used to verify the baseline]
==========
MSRC repeatedly stressed that according to ISA 2004 online help, the
quarantine control 'is not a security feature'.

They are right. Client side checks can never be a bulletproof security
feature. They can be a way to remind benevolent users to adhere to the
security guidelines and a way to catch lazily written malware, but not
much more.


If we are expecting an infected or otherwise malicious client, you can't
expect it to answer truthfully to the "are you a bad guy" question.

Your findings show, that is is very easy to circumvent this particular
mechanism. However, even if it were improved to check integrity of the
scripts or similar, this won't help much.

After all, you are only looking at network traffic from the possibly
malicious client. The client must know how to generate this traffic, if
it is in uncompromised state.

So the only way to reliably detect if it is compromised would be, if any
kind of compromise would destroy something in this state that makes it
impossible to generate such traffic.

This is not quite possible. At worst, put the uncompromised machine into
a virtual machine and after all checks went well, manipulate it from the
host system. However usually much simpler rootkit stealth techniques
will suffice.

After all: Who cares, if the virus definitions are current, if the
scanner can't read the infected files, as they are cleaned on the fly
in the manipulated OS calls?


Security feature or not, it certainly not working as many admins would
expect.

This expectation is, what needs to be corrected.


What's the purpose of having a quarantine control, if by-design, it
can be circumvented ? ;)

Angel on the left: To remind lazy users to adhere to the security policy.
Devil on the right: Marketing?


Kind regards,

Andreas Beck

--
Andreas Beck
http://www.bedatec.de/



Relevant Pages

  • Re: Secure shared web hosting using MAC Framework
    ... run the web server and web users shell in a jail, ... Those rights should have priority on any traditional unix file ... This directive allows you to disable certain functions for security reasons. ... Web users and executed web scripts shouldn't be able to read ...
    (FreeBSD-Security)
  • RE: Techniques for Vulneability discovery
    ... "Art & Science of Computer Security" to be published ... to run scripts and nmap (swell..$2-4k to learn this ... hint hint, E&Y, hint hint.. ... How do experts discover vulnerabilities in a ...
    (Vuln-Dev)
  • RE: Techniques for Vulneability discovery
    ... "Art & Science of Computer Security" to be published ... to run scripts and nmap (swell..$2-4k to learn this ... hint hint, E&Y, hint hint.. ... How do experts discover vulnerabilities in a ...
    (Security-Basics)
  • Re: Security overview
    ... side I don't want to release a "security" weak solution. ... good input validation is a prereq - but there is more ... input into script blocks - this won't help you. ... Anyway I still don't understand why MS advise you in the online help ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Microsoft Strategic Technology Protection Program
    ... servers and workstations through GPOs. ... that it's impossible for users to inadvertently execute worm scripts. ... and other security patches using startup scripts written in JScript. ...
    (NT-Bugtraq)