Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: On sandboxes, and why you should care |
|---|---|
| Date: | Fri, 31 Mar 2006 14:59:02 +0700 |
Hi Dinis,
<snip>
Also remember that more and more we will have to deal with malicious
developers, or with malicious attackers that are able to inject
malicious code into a website via:
- a library used by a developer
- a compromised developer account details (which tend to be sent by
email)
- a compromised developer computer (infected via Spyware) which
allows the malicious attacker to control remotely that computer and
(for example) path Eclipse or Visual Studio in memory so that every
time a piece of code its submitted (checked-in) , the malicious
payloads are inserted.
If you add up the number of people that have the capability to put one line of malicious code on a web server, you will see that this is a very large number indeed.
<snip> A couple more examples of ways malicious code can be uploaded to the server: SQL Injection, XSS (payload deployed to the admin section), authorization vulnerabilities which allow the editing of files on the server (via for example the CMS (content management system)), manipulating params which control which method is executed (when Reflection is used to perform late binding on method calls based on the commands received) ,Social engineering, etc...
Sometimes you will even find CMS (Content Management Systems) that provide power users (or 'area x' admins) with powerful customization features which when exploited (or not, depending if this is a 'feature') allow the injection of code.
Do you really think that it is a good idea to have your entire data center security and CIA (Confidentiality, Integrity and Availability) depended on such extraordinary set of circumstances?
So the first main security benefit that we have with using Sandboxes is: Containment, Damage Limitation, and Risk Reduction (you went from full data center compromise to a local and limited problem)
<snip>
So let's look at another application (App B) which has the same functionality but, is executed in three Sandboxes:
- Sandbox A) 450,000 lines of code executed in very restricted Sandbox (let's say Asp.Net Low Trust)
- Sandbox B) 48,000 lines of code executed in secure Sandbox (let's say customized version of Asp.Net Medium Trust)
- Sandbox C) 2,000 lines of code executed in a Sandbox which allows calls to unmanaged code.
Given the same 1 week, you (as the security consultant auditing this application) will spend most of your time in Sandbox C) code, less on Sandbox B) code and even less on Sandbox A) code. Why? because only a vulnerability in Sandbox C) would allow the compromise of the entire App / Server / Datacenter.
cheers,
-- Stephen de Vries Corsaire Ltd E-mail: stephen@corsaire.com Tel: +44 1483 226014 Fax: +44 1483 226068 Web: http://www.corsaire.com
------------------------------------------------------------------------- This List Sponsored by: SpiDynamics
https://download.spidynamics.com/1/ad/web.asp?Campaign_ID=701300000003gRl --------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Full-disclosure] Re: [Owasp-dotnet] RE: 4 Questions: Latest IEvulnerability, Firefox vs IE security, User vs Admin risk profile,and browsers coded in 100% Managed Verifiable code, Joe Ciechanowski |
|---|---|
| Next by Date: | Black Hat Call for Papers and Registration now open, Jeff Moss |
| Previous by Thread: | On sandboxes, and why you should care, Dinis Cruz |
| Next by Thread: | SSL Ciphers, pagvac |
| Indexes: | [Date] [Thread] [Top] [All Lists] |