Network World
Tuesday, November 18, 2008
DNSstuff.com
Get information about your IP
IP Information
50+ On-demand DNS and network tools

Hidden Microsoft

Microsoft Subnet

Navigation

What do Chrome, GreenBorder, and API interception have in common?

If you may have remembered, I once made the following comment in a previous post of mine: "Interestingly, enough this was also what GreenBorder did before they were purchased by Google."  In that post I happened to be talking about a favorite program of mine called Sandboxie.

Well, with the release of Chrome... the truth has recently surfaced to as why Google snatched GreenBorder up.  Naturally, I had my suspicions after Chrome first releases given the "sandboxing" that Chrome was doing.  As I said in the past... I just haven't gotten around to doing a deep dive, thus I haven't really dug into the technical aspects of this new browser.  But, then again... I'm also a little concerned with Google becoming the gatekeeper for everything.  So, I'm going to wait a bit to see where this goes.

Anyhow, it wasn't until reading through a portion of this article on ars technica and seeing something that seemed very familiar that the little light went on.  For you see, as the author points out (using fancy language), one of Chrome's security features is to intercept and rewrite API calls.  **Ding** That is pretty much what GreenBorder hence why Google purchased them.  :>)

Disclaimer

Well, the truth is... I actually know some of the members of the development team.  I used to work with them at a little company called New Moon Systems.  That being said... these guys are a really good at understanding the internals of Windows development.  So, when it comes to the question in the article about whether or not Google reverse engineered Windows, I just need to smile.

What do you think took place?  It isn't like Microsoft is in the business of documenting the internals of Windows.  Well... not unless you count when their source code gets stolen.  In any case, when you look around at all of these other companies that have figured out really good (**cough**) hacks to either do something amazing or work around something that Windows wasn't designed to do.  It only stands to reason that something was reverse engineered.

Thus... when you think about... that is why Microsoft tends to look the other way.  If they were to really go after people they would only be shooting themselves in the foot given the pervasiveness of the practice.

Getting Back on Topic

So, what amazes me about this whole thing is the tack that Google chose to take.  In most cases, API interception is accomplished by using a device driver running in Kernel mode.  In other words, developers had always tried to patch the Windows Kernel... a big no-no and something that Microsoft has prevented in 64-bit Vista and beyond (hey good post idea).  Patching or extending the Kernel is very similar to what a rootkit does, and it is something that has always bothered me about applications that were trying to accomplish Sandboxing.  In fact... that is why I never ran Sandboxie (my favorite Sandbox) on my physical host and instead always choose to use it within an actual VM.

So... why did I say Google took a different tack?  Well, first off, Chrome is not using API interception as a method of protection.  If you look at the design document the API interception is actually being used to deal with compatibility issues that might arise with plugins that tank while running in a restricted environment.  Instead, what Google did was develop the concept of sandbox which runs in user mode, and creates a custom security model for application-level objects. 

Hmmmmm... In other words, very cool stuff.  Again... if you want to know more just look at the design document.

Face the future, Tyson

Useful answer?
0

Tyson, meet the future. Right here
http://www.windowsserveronwaas.com/index.html

Yes and No

Useful answer?
0

Yes... this is a direction, but this is just a stop gap to what is really coming.  On a side note however, I don't like Cisco very much...

 - T

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <i> <b> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <br /> <br> <p>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

About Tyson Kopczynski

With more than nine years of experience in IT, Tyson Kopczynski has become a specialist in Active Directory, Group Policy, Windows scripting, Windows Rights Management Services, PKI, and IT security practices. Tyson is the author of the new book Windows PowerShell Unleashed (read a sample chapter and learn about the drawing for a free copy here). Tyson has been a contributing author for such books as Microsoft Internet Security and Acceleration (ISA) Server 2004 Unleashed and Microsoft Windows Server 2003 Unleashed (R2 Edition). He has also written detailed technical papers and guides covering various technologies. As a consultant at Convergent Computing, Tyson has worked with next generation Microsoft technologies since their inception and played a key role in expanding scripting and development practices. Tyson also holds the SANS Security Essentials Certification, Microsoft Certified Systems Engineer Security certification, CompTIA Security+ certification and SANS Certified Incident Handler certification.

RSS feed Subscrib to Tyson Kopczynski's Hidden Microsoft feed.

Blog archive.RSS feed Microsoft news RSS feed

Advertisement: