OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/common/sandbox_win.h" | 5 #include "content/common/sandbox_win.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/base_switches.h" | 9 #include "base/base_switches.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 namespace content { | 36 namespace content { |
37 namespace { | 37 namespace { |
38 | 38 |
39 // The DLLs listed here are known (or under strong suspicion) of causing crashes | 39 // The DLLs listed here are known (or under strong suspicion) of causing crashes |
40 // when they are loaded in the renderer. Note: at runtime we generate short | 40 // when they are loaded in the renderer. Note: at runtime we generate short |
41 // versions of the dll name only if the dll has an extension. | 41 // versions of the dll name only if the dll has an extension. |
42 const wchar_t* const kTroublesomeDlls[] = { | 42 const wchar_t* const kTroublesomeDlls[] = { |
43 L"adialhk.dll", // Kaspersky Internet Security. | 43 L"adialhk.dll", // Kaspersky Internet Security. |
44 L"acpiz.dll", // Unknown. | 44 L"acpiz.dll", // Unknown. |
| 45 L"aswjsflt.dll", // Avast Antivirus. |
45 L"avgrsstx.dll", // AVG 8. | 46 L"avgrsstx.dll", // AVG 8. |
46 L"babylonchromepi.dll", // Babylon translator. | 47 L"babylonchromepi.dll", // Babylon translator. |
47 L"btkeyind.dll", // Widcomm Bluetooth. | 48 L"btkeyind.dll", // Widcomm Bluetooth. |
48 L"cmcsyshk.dll", // CMC Internet Security. | 49 L"cmcsyshk.dll", // CMC Internet Security. |
49 L"cmsetac.dll", // Unknown (suspected malware). | 50 L"cmsetac.dll", // Unknown (suspected malware). |
50 L"cooliris.dll", // CoolIris. | 51 L"cooliris.dll", // CoolIris. |
51 L"dockshellhook.dll", // Stardock Objectdock. | 52 L"dockshellhook.dll", // Stardock Objectdock. |
52 L"easyhook32.dll", // GDIPP and others. | 53 L"easyhook32.dll", // GDIPP and others. |
53 L"googledesktopnetwork3.dll", // Google Desktop Search v5. | 54 L"googledesktopnetwork3.dll", // Google Desktop Search v5. |
54 L"fwhook.dll", // PC Tools Firewall Plus. | 55 L"fwhook.dll", // PC Tools Firewall Plus. |
(...skipping 29 matching lines...) Expand all Loading... |
84 L"rooksdol.dll", // Trustware Rapport. | 85 L"rooksdol.dll", // Trustware Rapport. |
85 L"rpchromebrowserrecordhelper.dll", // RealPlayer. | 86 L"rpchromebrowserrecordhelper.dll", // RealPlayer. |
86 L"r3hook.dll", // Kaspersky Internet Security. | 87 L"r3hook.dll", // Kaspersky Internet Security. |
87 L"sahook.dll", // McAfee Site Advisor. | 88 L"sahook.dll", // McAfee Site Advisor. |
88 L"sbrige.dll", // Unknown. | 89 L"sbrige.dll", // Unknown. |
89 L"sc2hook.dll", // Supercopier 2. | 90 L"sc2hook.dll", // Supercopier 2. |
90 L"sdhook32.dll", // Spybot - Search & Destroy Live Protection. | 91 L"sdhook32.dll", // Spybot - Search & Destroy Live Protection. |
91 L"sguard.dll", // Iolo (System Guard). | 92 L"sguard.dll", // Iolo (System Guard). |
92 L"smum32.dll", // Spyware Doctor version 6. | 93 L"smum32.dll", // Spyware Doctor version 6. |
93 L"smumhook.dll", // Spyware Doctor version 5. | 94 L"smumhook.dll", // Spyware Doctor version 5. |
| 95 L"snxhk.dll", // Avast Antivirus. |
94 L"ssldivx.dll", // DivX. | 96 L"ssldivx.dll", // DivX. |
95 L"syncor11.dll", // SynthCore Midi interface. | 97 L"syncor11.dll", // SynthCore Midi interface. |
96 L"systools.dll", // Panda Antivirus. | 98 L"systools.dll", // Panda Antivirus. |
97 L"tfwah.dll", // Threatfire (PC tools). | 99 L"tfwah.dll", // Threatfire (PC tools). |
98 L"wblind.dll", // Stardock Object desktop. | 100 L"wblind.dll", // Stardock Object desktop. |
99 L"wbhelp.dll", // Stardock Object desktop. | 101 L"wbhelp.dll", // Stardock Object desktop. |
100 L"winstylerthemehelper.dll" // Tuneup utilities 2006. | 102 L"winstylerthemehelper.dll" // Tuneup utilities 2006. |
101 }; | 103 }; |
102 | 104 |
103 // Adds the policy rules for the path and path\ with the semantic |access|. | 105 // Adds the policy rules for the path and path\ with the semantic |access|. |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 } | 717 } |
716 | 718 |
717 return false; | 719 return false; |
718 } | 720 } |
719 | 721 |
720 bool BrokerAddTargetPeer(HANDLE peer_process) { | 722 bool BrokerAddTargetPeer(HANDLE peer_process) { |
721 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; | 723 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; |
722 } | 724 } |
723 | 725 |
724 } // namespace content | 726 } // namespace content |
OLD | NEW |