Archive for the 'Network & Security' Category

A Windows Family Tree: Security Profile

Win9X/ME

  • No user or security infrasturcture (largely obsolete)

WinNT

  • Highly buggy RPC libraries make owning RPC services easy — RPC data structures are not verified by default the way they are in Win2K, so almost any bad data will make them crash.
  • Doesn’t support some NTLMv2 and other authentication options, making sniffing nicer.
  • IIS 4.0 runs entirely as system and doesn’t restart after it crashes.

Win2K

  • NTLMv2 makes headway among entirely Win2K installation bases.
  • RPC libraries much less buggy that NT 4.0 (which isn’t saying much).
  • SP4 — Exception registers are cleared.
  • IIS 5.0 runs as system, but most URL handlers don’t run as system (with the exception of FrontPage, WebDav, and the like).

WinXP

  • Addition of Vectored Exception Handling makes things easier for heap overflows.
  • SP1–Exception registers are cleared.
  • IIS 5.1–URLs are limited to a reasonable size.
  • SP2 introduces firewall, heavily modifies RPC, introduces Data Execution Prevention (DEP), SafeSEH makes exploiting exception handlers harder, various other miscellaneous security improvements.

Windows 2003 Server

  • Entire OS compiled with stack canary, including kernel.
  • Parts of IIS moved into the kernel.
  • IIS 6.0 still written in C++, now runs under an entirely different setup with a management process and a bunch of managed processes, each of which can serve port 80/443 from particular URLs and virtual hosts.
  • Can finally detach from a process without it crashing. In previous versions of Win32, if you attached to a process with the debugger, detaching would forcefully kill it. This was useful sometimes, but mostly just annoying.

Windows Vista

  • Everything compiled with a modified, better version of the / GS stack canary.
  • ASLR (Address Space Layout Randomisation) makes most exploits slightly harder; can be serious difficulty when combined with DEP.
  • Firewall now filters outbound traffic.

Source: The Shellcoder’s Handbook 2nd Edition.

Apple Bugs’ Hunting

comp_bug.jpg“Month of Apple Bugs” project. Its interesting and helpful read.
http://projects.info-pull.com/moab/

Some individual bugs that have been published, some with epxploits, that can help illustrate tehcniques and also help to demonstrate the way the Apple security community is thingking. One finding by Dino Zaovi, as in the links below,
Matasano Link 1, Matasano Link 2

An interesting format string bug in the launchd daemon was used by Kevin Finisterre (”Non Executable Stack Lovin on OSX86″ at:http://www.digitalmunition.com/NonExecutableLovin.txt ) to illustrate a technique to bypass the nonexecutable stack feature of OS X on intel.
http://www.digitalmunition.com/dma.html
http://osvdb.org/search?request=apple

Ija van Sprundel found a vulnerability in the ping and traceroute programs in OS X that can allow a local user to obtain root access:
http://www.suresec.org/advisories/adv8.pdf
http://www.suresec.org/advisories/adv10.pdf
http://www.suresec.org/advisories/adv11.pdf

Common Vulnerabilities and Exposures (CVE) entries for Apple Bugs:
http://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=apple




IKIBLOGKU is Digg proof thanks to caching by WP Super Cache!