SlideShare a Scribd company logo
Google Chrome Security d0c_s4vage
Sandbox ,[object Object],[object Object],[object Object],[object Object]
broker ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Broker
broker - The IPC service is used to “ forward certain windows API calls from the target to the broker ” - Calls are evaluated against the policy - If all is good, calls are then executed by the  broker , and results are returned over the same IPC - The  interception manager should patch windows API calls that should be forwarded from the IPC to the  broker
target - Renderers are  always  target processes
target
target - interceptions == hooks, how windows API calls are forwarded to the  broker  via IPC -  broker  chooses to run the calls or fail them - **NOTE** “ The interception + IPC mechanism does not provide security; it is designed to provide compatibility when code inside the sandbox cannot be modified to cope with sandbox restrictions.”
 
Sandbox Security - restricted token - windows job object - windows desktop object - integrity levels (Vista only [ and Windows 7?])
Sandbox Security - token - The renderer runs with this token: Regular Groups Logon SID : mandatory All other SIDs : deny only, mandatory Restricted Groups S-1-0-0 : mandatory Privileges None - Nearly all resources the renderer uses were acquired by the  broker /browser and duplicated into the renderer process
Sandbox Security – token - Mounted FAT or FAT32 volumes “ The security descriptor on them is effectively null. Malware running in the target can read and write to these volumes as long it can guess or deduce their paths.” - TCP/IP “ The security of TCP/IP sockets in Windows 2000 and Windows XP (but not in Vista) is effectively null. It might be possible for malicious code in the target to send and receive network packets to any host.”
Sandbox Security – Job object - Forbid using SystemParametersInfo() - Forbid the creation or switch of Desktops - Forbid changes to the per-user display configuration - No read or write to the clipboard - Forbid Windows message broadcasts - Forbid using SetWindowsHookEx() - Forbid access to the global atoms table - Forbid access to USER handles created outside the Job object - One active process limit (disallows creating child processes)
Sandbox Security - desktop - processes with the same token and same job object are effectively in the same security context - BUT, programs that have windows in the same desktop are also in the same security context - WHY? Sending + receiving windows messages in the same desktop is not subject to security checks
Sandbox - desktop - Default windows XP has 2 desktops: logon screen and regular desktop - Sandbox creates another desktop for all of the  target  processes, so they can't snoop on what the user is doing elsewhere
Chrome Sandbox
Chrome Sandbox
Other Attack Surfaces - All network-related IO functions run on a separate thread in the main browser process (no sandbox) - recent DoS PoC via malformed ftp responses on exploit-db ( http://www.exploit-db.com/exploits/12011 ) - Issue where IO thread got hosed, crashed entire browser  http://code.google.com/p/chromium/issues/detail?id=42267
Debugging Google Chrome Startup Options - --no-sandbox --single-process --wait-for-debugger-children --wait-for-debugger --js-flags=”--trace-exception --heap-stats” --js-flags="--h" --safe-plugins Chrome has its own symbol server:   http://build.chromium.org/buildbot/symsrv
Google Chrome Security Issues - Chromium Security Bugs (not always latest) http://www.chromium.org/Home/chromium-security/chromium-security-bugs - Severity ratings  http://sites.google.com/a/chromium.org/dev/developers/severity-guidelines - Security Issues by Rating - Critical: http://www.google.com/search?q=SecSeverity-Critical+inurl:chromium+inurl:issues+site:code.google.com - High: http://www.google.com/search?q=SecSeverity-High+inurl:chromium+inurl:issues+site:code.google.com - Medium: http://www.google.com/search?q=SecSeverity-Medium+inurl:chromium+inurl:issues+site:code.google.com - Low: http://www.google.com/search?q=SecSeverity-Low+inurl:chromium+inurl:issues+site:code.google.com
Ideas - Under Windows, there is no practical way to prevent code in the sandbox from calling a system service - Since use of Windows TCP/IP sockets (XP) isn't restricted, download exe, guess USB path ( F:,  G:,  H:, etc. on Windows), save to USB, create autorun.inf on USB - Find vulnerabilities in valid messages the renderer  can  pass to the  broker  ( check out this issue: http://code.google.com/p/chromium/issues/detail?id=29828)
Ideas - Insert hooks into UI events and snoop on whatever the user does in the same tab, even on different sites? - Could upload/download files to/from USB - Could be used as a pivot point (or a proxy) to be able to gain access into a network, since TCP/IP security “ is effectively null”
References Google Chrome Sandbox http://www.chromium.org/developers/design-documents/sandbox Windows Tokens http://msdn.microsoft.com/en-us/library/aa374909(VS.85).aspx What is a Token http://alt.pluralsight.com/wiki/default.aspx/Keith.GuideBook/WhatIsAToken.htm Windows Jobs http://www.microsoft.com/msj/0399/jobkernelobj/jobkernelobj.aspx

More Related Content

What's hot

Faza de testare (II)
Faza de testare (II)Faza de testare (II)
Faza de testare (II)
Florin Leon
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Naga Dinesh
 
Penetration Testing Tutorial | Penetration Testing Tools | Cyber Security Tra...
Penetration Testing Tutorial | Penetration Testing Tools | Cyber Security Tra...Penetration Testing Tutorial | Penetration Testing Tools | Cyber Security Tra...
Penetration Testing Tutorial | Penetration Testing Tools | Cyber Security Tra...
Edureka!
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
 
JWT: jku x5u
JWT: jku x5uJWT: jku x5u
JWT: jku x5u
snyff
 
Sahi Web Automation and Testing Tool
Sahi Web Automation and Testing ToolSahi Web Automation and Testing Tool
Sahi Web Automation and Testing Tool
Tyto Software
 
Owasp zap
Owasp zapOwasp zap
Automated Security Analysis of Android & iOS Applications with Mobile Securit...
Automated Security Analysis of Android & iOS Applications with Mobile Securit...Automated Security Analysis of Android & iOS Applications with Mobile Securit...
Automated Security Analysis of Android & iOS Applications with Mobile Securit...
Ajin Abraham
 
Getting Started With Cypress
Getting Started With CypressGetting Started With Cypress
Getting Started With Cypress
Knoldus Inc.
 
Offzone | Another waf bypass
Offzone | Another waf bypassOffzone | Another waf bypass
Offzone | Another waf bypass
Дмитрий Бумов
 
Selenium web driver
Selenium web driverSelenium web driver
Selenium web driver
Sun Technlogies
 
Webdriver io presentation
Webdriver io presentationWebdriver io presentation
Webdriver io presentation
João Nabais
 
Robot framework en Browser Library
Robot framework en Browser LibraryRobot framework en Browser Library
Robot framework en Browser Library
christiantester
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla Rozental
 
Secure Code Review 101
Secure Code Review 101Secure Code Review 101
Secure Code Review 101
Narudom Roongsiriwong, CISSP
 
Ethical Hacking & Penetration Testing
Ethical Hacking & Penetration TestingEthical Hacking & Penetration Testing
Ethical Hacking & Penetration Testing
ecmee
 
ISACA SV Chapter: Securing Software Supply Chains
ISACA SV Chapter: Securing Software Supply ChainsISACA SV Chapter: Securing Software Supply Chains
ISACA SV Chapter: Securing Software Supply Chains
Jim Bugwadia
 
Selenium
SeleniumSelenium
Bootloaders
BootloadersBootloaders
Bootloaders
Anil Kumar Pugalia
 
DAIS19: On the Performance of ARM TrustZone
DAIS19: On the Performance of ARM TrustZoneDAIS19: On the Performance of ARM TrustZone
DAIS19: On the Performance of ARM TrustZone
LEGATO project
 

What's hot (20)

Faza de testare (II)
Faza de testare (II)Faza de testare (II)
Faza de testare (II)
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Penetration Testing Tutorial | Penetration Testing Tools | Cyber Security Tra...
Penetration Testing Tutorial | Penetration Testing Tools | Cyber Security Tra...Penetration Testing Tutorial | Penetration Testing Tools | Cyber Security Tra...
Penetration Testing Tutorial | Penetration Testing Tools | Cyber Security Tra...
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
JWT: jku x5u
JWT: jku x5uJWT: jku x5u
JWT: jku x5u
 
Sahi Web Automation and Testing Tool
Sahi Web Automation and Testing ToolSahi Web Automation and Testing Tool
Sahi Web Automation and Testing Tool
 
Owasp zap
Owasp zapOwasp zap
Owasp zap
 
Automated Security Analysis of Android & iOS Applications with Mobile Securit...
Automated Security Analysis of Android & iOS Applications with Mobile Securit...Automated Security Analysis of Android & iOS Applications with Mobile Securit...
Automated Security Analysis of Android & iOS Applications with Mobile Securit...
 
Getting Started With Cypress
Getting Started With CypressGetting Started With Cypress
Getting Started With Cypress
 
Offzone | Another waf bypass
Offzone | Another waf bypassOffzone | Another waf bypass
Offzone | Another waf bypass
 
Selenium web driver
Selenium web driverSelenium web driver
Selenium web driver
 
Webdriver io presentation
Webdriver io presentationWebdriver io presentation
Webdriver io presentation
 
Robot framework en Browser Library
Robot framework en Browser LibraryRobot framework en Browser Library
Robot framework en Browser Library
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Secure Code Review 101
Secure Code Review 101Secure Code Review 101
Secure Code Review 101
 
Ethical Hacking & Penetration Testing
Ethical Hacking & Penetration TestingEthical Hacking & Penetration Testing
Ethical Hacking & Penetration Testing
 
ISACA SV Chapter: Securing Software Supply Chains
ISACA SV Chapter: Securing Software Supply ChainsISACA SV Chapter: Securing Software Supply Chains
ISACA SV Chapter: Securing Software Supply Chains
 
Selenium
SeleniumSelenium
Selenium
 
Bootloaders
BootloadersBootloaders
Bootloaders
 
DAIS19: On the Performance of ARM TrustZone
DAIS19: On the Performance of ARM TrustZoneDAIS19: On the Performance of ARM TrustZone
DAIS19: On the Performance of ARM TrustZone
 

Viewers also liked

Presentatie LSV Joeri van Steenhoven
Presentatie LSV Joeri van SteenhovenPresentatie LSV Joeri van Steenhoven
Presentatie LSV Joeri van SteenhovenEveline van der Grift
 
Matei elena 2009-10_ esercizio 3
Matei elena 2009-10_ esercizio 3Matei elena 2009-10_ esercizio 3
Matei elena 2009-10_ esercizio 3ElenaMatei
 
Data 3
Data 3Data 3
Data 3
imcelina
 
Fall11
Fall11Fall11
What Works in B2B Marketing
What Works in B2B MarketingWhat Works in B2B Marketing
What Works in B2B Marketing
MarketingProfs
 
Redes
RedesRedes
Thomas hobbes
Thomas hobbesThomas hobbes
Thomas hobbes
babbarella
 
20 Questions to Ask Yourself Before Adding Social Media to Your Marketing
20 Questions to Ask Yourself Before Adding Social Media to Your Marketing20 Questions to Ask Yourself Before Adding Social Media to Your Marketing
20 Questions to Ask Yourself Before Adding Social Media to Your Marketing
MarketingProfs
 

Viewers also liked (8)

Presentatie LSV Joeri van Steenhoven
Presentatie LSV Joeri van SteenhovenPresentatie LSV Joeri van Steenhoven
Presentatie LSV Joeri van Steenhoven
 
Matei elena 2009-10_ esercizio 3
Matei elena 2009-10_ esercizio 3Matei elena 2009-10_ esercizio 3
Matei elena 2009-10_ esercizio 3
 
Data 3
Data 3Data 3
Data 3
 
Fall11
Fall11Fall11
Fall11
 
What Works in B2B Marketing
What Works in B2B MarketingWhat Works in B2B Marketing
What Works in B2B Marketing
 
Redes
RedesRedes
Redes
 
Thomas hobbes
Thomas hobbesThomas hobbes
Thomas hobbes
 
20 Questions to Ask Yourself Before Adding Social Media to Your Marketing
20 Questions to Ask Yourself Before Adding Social Media to Your Marketing20 Questions to Ask Yourself Before Adding Social Media to Your Marketing
20 Questions to Ask Yourself Before Adding Social Media to Your Marketing
 

Similar to Google chrome sandbox

Derbycon Bromium Labs: Sandboxes
Derbycon Bromium Labs: SandboxesDerbycon Bromium Labs: Sandboxes
Derbycon Bromium Labs: Sandboxes
Bromium Labs
 
Aci dp
Aci dpAci dp
Aci dp
Zchabar Jhie
 
Lab-10 Malware Creation and Denial of Service (DoS) In t.docx
Lab-10 Malware Creation and Denial of Service (DoS)        In t.docxLab-10 Malware Creation and Denial of Service (DoS)        In t.docx
Lab-10 Malware Creation and Denial of Service (DoS) In t.docx
pauline234567
 
CI / CD / CS - Continuous Security in Kubernetes
CI / CD / CS - Continuous Security in KubernetesCI / CD / CS - Continuous Security in Kubernetes
CI / CD / CS - Continuous Security in Kubernetes
Sysdig
 
Buffer overflows
Buffer overflowsBuffer overflows
Buffer overflows
Sandun Perera
 
Security in serverless world
Security in serverless worldSecurity in serverless world
Security in serverless world
Yan Cui
 
Window Shopping Browser - Bug Hunting in 2012
Window Shopping Browser - Bug Hunting in 2012Window Shopping Browser - Bug Hunting in 2012
Window Shopping Browser - Bug Hunting in 2012
Roberto Suggi Liverani
 
"Hidden difficulties of debugger implementation for .NET WASM apps", Andrii R...
"Hidden difficulties of debugger implementation for .NET WASM apps", Andrii R..."Hidden difficulties of debugger implementation for .NET WASM apps", Andrii R...
"Hidden difficulties of debugger implementation for .NET WASM apps", Andrii R...
Fwdays
 
Serverless security: defence against the dark arts
Serverless security: defence against the dark artsServerless security: defence against the dark arts
Serverless security: defence against the dark arts
Yan Cui
 
I got 99 trends and a # is all of them
I got 99 trends and a # is all of themI got 99 trends and a # is all of them
I got 99 trends and a # is all of them
Roberto Suggi Liverani
 
Serverless security: defense against the dark arts
Serverless security: defense against the dark artsServerless security: defense against the dark arts
Serverless security: defense against the dark arts
Yan Cui
 
They Ought to Know Better: Exploiting Security Gateways via Their Web Interfaces
They Ought to Know Better: Exploiting Security Gateways via Their Web InterfacesThey Ought to Know Better: Exploiting Security Gateways via Their Web Interfaces
They Ought to Know Better: Exploiting Security Gateways via Their Web Interfaces
michelemanzotti
 
Project Malware AnalysisCS 6262 Project 3Agenda.docx
Project Malware AnalysisCS 6262 Project 3Agenda.docxProject Malware AnalysisCS 6262 Project 3Agenda.docx
Project Malware AnalysisCS 6262 Project 3Agenda.docx
briancrawford30935
 
Learn Electron for Web Developers
Learn Electron for Web DevelopersLearn Electron for Web Developers
Learn Electron for Web Developers
Kyle Cearley
 
1.3. (In)security Software
1.3. (In)security Software1.3. (In)security Software
1.3. (In)security Software
defconmoscow
 
Security in serverless world
Security in serverless worldSecurity in serverless world
Security in serverless world
Yan Cui
 
DevSecCon London 2018: Security in the serverless world
DevSecCon London 2018: Security in the serverless worldDevSecCon London 2018: Security in the serverless world
DevSecCon London 2018: Security in the serverless world
DevSecCon
 
Kunal - Introduction to BackTrack - ClubHack2008
Kunal - Introduction to BackTrack - ClubHack2008Kunal - Introduction to BackTrack - ClubHack2008
Kunal - Introduction to BackTrack - ClubHack2008
ClubHack
 
Kunal - Introduction to backtrack - ClubHack2008
Kunal - Introduction to backtrack - ClubHack2008Kunal - Introduction to backtrack - ClubHack2008
Kunal - Introduction to backtrack - ClubHack2008
ClubHack
 
Workshop on BackTrack live CD
Workshop on BackTrack live CDWorkshop on BackTrack live CD
Workshop on BackTrack live CD
amiable_indian
 

Similar to Google chrome sandbox (20)

Derbycon Bromium Labs: Sandboxes
Derbycon Bromium Labs: SandboxesDerbycon Bromium Labs: Sandboxes
Derbycon Bromium Labs: Sandboxes
 
Aci dp
Aci dpAci dp
Aci dp
 
Lab-10 Malware Creation and Denial of Service (DoS) In t.docx
Lab-10 Malware Creation and Denial of Service (DoS)        In t.docxLab-10 Malware Creation and Denial of Service (DoS)        In t.docx
Lab-10 Malware Creation and Denial of Service (DoS) In t.docx
 
CI / CD / CS - Continuous Security in Kubernetes
CI / CD / CS - Continuous Security in KubernetesCI / CD / CS - Continuous Security in Kubernetes
CI / CD / CS - Continuous Security in Kubernetes
 
Buffer overflows
Buffer overflowsBuffer overflows
Buffer overflows
 
Security in serverless world
Security in serverless worldSecurity in serverless world
Security in serverless world
 
Window Shopping Browser - Bug Hunting in 2012
Window Shopping Browser - Bug Hunting in 2012Window Shopping Browser - Bug Hunting in 2012
Window Shopping Browser - Bug Hunting in 2012
 
"Hidden difficulties of debugger implementation for .NET WASM apps", Andrii R...
"Hidden difficulties of debugger implementation for .NET WASM apps", Andrii R..."Hidden difficulties of debugger implementation for .NET WASM apps", Andrii R...
"Hidden difficulties of debugger implementation for .NET WASM apps", Andrii R...
 
Serverless security: defence against the dark arts
Serverless security: defence against the dark artsServerless security: defence against the dark arts
Serverless security: defence against the dark arts
 
I got 99 trends and a # is all of them
I got 99 trends and a # is all of themI got 99 trends and a # is all of them
I got 99 trends and a # is all of them
 
Serverless security: defense against the dark arts
Serverless security: defense against the dark artsServerless security: defense against the dark arts
Serverless security: defense against the dark arts
 
They Ought to Know Better: Exploiting Security Gateways via Their Web Interfaces
They Ought to Know Better: Exploiting Security Gateways via Their Web InterfacesThey Ought to Know Better: Exploiting Security Gateways via Their Web Interfaces
They Ought to Know Better: Exploiting Security Gateways via Their Web Interfaces
 
Project Malware AnalysisCS 6262 Project 3Agenda.docx
Project Malware AnalysisCS 6262 Project 3Agenda.docxProject Malware AnalysisCS 6262 Project 3Agenda.docx
Project Malware AnalysisCS 6262 Project 3Agenda.docx
 
Learn Electron for Web Developers
Learn Electron for Web DevelopersLearn Electron for Web Developers
Learn Electron for Web Developers
 
1.3. (In)security Software
1.3. (In)security Software1.3. (In)security Software
1.3. (In)security Software
 
Security in serverless world
Security in serverless worldSecurity in serverless world
Security in serverless world
 
DevSecCon London 2018: Security in the serverless world
DevSecCon London 2018: Security in the serverless worldDevSecCon London 2018: Security in the serverless world
DevSecCon London 2018: Security in the serverless world
 
Kunal - Introduction to BackTrack - ClubHack2008
Kunal - Introduction to BackTrack - ClubHack2008Kunal - Introduction to BackTrack - ClubHack2008
Kunal - Introduction to BackTrack - ClubHack2008
 
Kunal - Introduction to backtrack - ClubHack2008
Kunal - Introduction to backtrack - ClubHack2008Kunal - Introduction to backtrack - ClubHack2008
Kunal - Introduction to backtrack - ClubHack2008
 
Workshop on BackTrack live CD
Workshop on BackTrack live CDWorkshop on BackTrack live CD
Workshop on BackTrack live CD
 

Recently uploaded

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 

Recently uploaded (20)

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 

Google chrome sandbox

  • 2.
  • 3.
  • 5. broker - The IPC service is used to “ forward certain windows API calls from the target to the broker ” - Calls are evaluated against the policy - If all is good, calls are then executed by the broker , and results are returned over the same IPC - The interception manager should patch windows API calls that should be forwarded from the IPC to the broker
  • 6. target - Renderers are always target processes
  • 8. target - interceptions == hooks, how windows API calls are forwarded to the broker via IPC - broker chooses to run the calls or fail them - **NOTE** “ The interception + IPC mechanism does not provide security; it is designed to provide compatibility when code inside the sandbox cannot be modified to cope with sandbox restrictions.”
  • 9.  
  • 10. Sandbox Security - restricted token - windows job object - windows desktop object - integrity levels (Vista only [ and Windows 7?])
  • 11. Sandbox Security - token - The renderer runs with this token: Regular Groups Logon SID : mandatory All other SIDs : deny only, mandatory Restricted Groups S-1-0-0 : mandatory Privileges None - Nearly all resources the renderer uses were acquired by the broker /browser and duplicated into the renderer process
  • 12. Sandbox Security – token - Mounted FAT or FAT32 volumes “ The security descriptor on them is effectively null. Malware running in the target can read and write to these volumes as long it can guess or deduce their paths.” - TCP/IP “ The security of TCP/IP sockets in Windows 2000 and Windows XP (but not in Vista) is effectively null. It might be possible for malicious code in the target to send and receive network packets to any host.”
  • 13. Sandbox Security – Job object - Forbid using SystemParametersInfo() - Forbid the creation or switch of Desktops - Forbid changes to the per-user display configuration - No read or write to the clipboard - Forbid Windows message broadcasts - Forbid using SetWindowsHookEx() - Forbid access to the global atoms table - Forbid access to USER handles created outside the Job object - One active process limit (disallows creating child processes)
  • 14. Sandbox Security - desktop - processes with the same token and same job object are effectively in the same security context - BUT, programs that have windows in the same desktop are also in the same security context - WHY? Sending + receiving windows messages in the same desktop is not subject to security checks
  • 15. Sandbox - desktop - Default windows XP has 2 desktops: logon screen and regular desktop - Sandbox creates another desktop for all of the target processes, so they can't snoop on what the user is doing elsewhere
  • 18. Other Attack Surfaces - All network-related IO functions run on a separate thread in the main browser process (no sandbox) - recent DoS PoC via malformed ftp responses on exploit-db ( http://www.exploit-db.com/exploits/12011 ) - Issue where IO thread got hosed, crashed entire browser http://code.google.com/p/chromium/issues/detail?id=42267
  • 19. Debugging Google Chrome Startup Options - --no-sandbox --single-process --wait-for-debugger-children --wait-for-debugger --js-flags=”--trace-exception --heap-stats” --js-flags="--h" --safe-plugins Chrome has its own symbol server: http://build.chromium.org/buildbot/symsrv
  • 20. Google Chrome Security Issues - Chromium Security Bugs (not always latest) http://www.chromium.org/Home/chromium-security/chromium-security-bugs - Severity ratings http://sites.google.com/a/chromium.org/dev/developers/severity-guidelines - Security Issues by Rating - Critical: http://www.google.com/search?q=SecSeverity-Critical+inurl:chromium+inurl:issues+site:code.google.com - High: http://www.google.com/search?q=SecSeverity-High+inurl:chromium+inurl:issues+site:code.google.com - Medium: http://www.google.com/search?q=SecSeverity-Medium+inurl:chromium+inurl:issues+site:code.google.com - Low: http://www.google.com/search?q=SecSeverity-Low+inurl:chromium+inurl:issues+site:code.google.com
  • 21. Ideas - Under Windows, there is no practical way to prevent code in the sandbox from calling a system service - Since use of Windows TCP/IP sockets (XP) isn't restricted, download exe, guess USB path ( F:, G:, H:, etc. on Windows), save to USB, create autorun.inf on USB - Find vulnerabilities in valid messages the renderer can pass to the broker ( check out this issue: http://code.google.com/p/chromium/issues/detail?id=29828)
  • 22. Ideas - Insert hooks into UI events and snoop on whatever the user does in the same tab, even on different sites? - Could upload/download files to/from USB - Could be used as a pivot point (or a proxy) to be able to gain access into a network, since TCP/IP security “ is effectively null”
  • 23. References Google Chrome Sandbox http://www.chromium.org/developers/design-documents/sandbox Windows Tokens http://msdn.microsoft.com/en-us/library/aa374909(VS.85).aspx What is a Token http://alt.pluralsight.com/wiki/default.aspx/Keith.GuideBook/WhatIsAToken.htm Windows Jobs http://www.microsoft.com/msj/0399/jobkernelobj/jobkernelobj.aspx