Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Issue 1821193002: Added a policy option to restrict the default DACL for tokens. (Closed)

Created:
4 years, 9 months ago by forshaw
Modified:
4 years, 8 months ago
Reviewers:
Will Harris
CC:
chromium-reviews, darin-cc_chromium.org, jam, rickyz+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added a policy option to restrict the default DACL for tokens. This patch modified the way the default DACL is calculated for new restricted tokens to remove certain rights. This blocks processes being able to open other processes at the same or lower security level. BUG=596862 Committed: https://crrev.com/cfcbe0af3076ba9c23d65bbc92d63e74c7188759 Cr-Commit-Position: refs/heads/master@{#384522}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed nits and added integration test. #

Patch Set 3 : Moved integration test to a more suitable place. #

Patch Set 4 : Initialize lockdown default dacl value #

Patch Set 5 : Reverted sandbox_win changes #

Patch Set 6 : Added access mask to open process test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -45 lines) Patch
M sandbox/win/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/sandbox_win.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/src/acl.h View 1 1 chunk +9 lines, -3 lines 0 comments Download
M sandbox/win/src/acl.cc View 1 4 chunks +23 lines, -3 lines 0 comments Download
M sandbox/win/src/restricted_token.h View 2 chunks +6 lines, -0 lines 0 comments Download
M sandbox/win/src/restricted_token.cc View 1 2 3 3 chunks +18 lines, -5 lines 0 comments Download
A sandbox/win/src/restricted_token_test.cc View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download
M sandbox/win/src/restricted_token_unittest.cc View 2 chunks +52 lines, -29 lines 0 comments Download
M sandbox/win/src/restricted_token_utils.h View 1 chunk +4 lines, -0 lines 0 comments Download
M sandbox/win/src/restricted_token_utils.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M sandbox/win/src/sandbox_policy.h View 1 chunk +5 lines, -0 lines 0 comments Download
M sandbox/win/src/sandbox_policy_base.h View 2 chunks +2 lines, -0 lines 0 comments Download
M sandbox/win/src/sandbox_policy_base.cc View 4 chunks +12 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (6 generated)
forshaw
wfh@ can you PTAL.
4 years, 9 months ago (2016-03-22 16:04:16 UTC) #2
Will Harris
thanks for doing this I'd quite like to see an sbox_integration_test where you verify that ...
4 years, 9 months ago (2016-03-27 01:20:05 UTC) #5
forshaw
Fixed nits and added an integration test. PTAL.
4 years, 8 months ago (2016-03-28 14:31:06 UTC) #6
forshaw
Really really should be done now :-) PTAL. https://codereview.chromium.org/1821193002/diff/1/sandbox/win/src/acl.h File sandbox/win/src/acl.h (right): https://codereview.chromium.org/1821193002/diff/1/sandbox/win/src/acl.h#newcode33 sandbox/win/src/acl.h:33: bool ...
4 years, 8 months ago (2016-03-28 16:40:31 UTC) #7
Will Harris
This looks good. I like your test. my only comment would be to land the ...
4 years, 8 months ago (2016-03-30 20:02:24 UTC) #8
forshaw
On 2016/03/30 20:02:24, Will Harris wrote: > This looks good. I like your test. > ...
4 years, 8 months ago (2016-03-31 09:54:49 UTC) #9
Will Harris
lgtm. thanks for this.
4 years, 8 months ago (2016-04-01 03:47:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821193002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821193002/100001
4 years, 8 months ago (2016-04-01 07:12:04 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-01 08:45:28 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 08:47:01 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/cfcbe0af3076ba9c23d65bbc92d63e74c7188759
Cr-Commit-Position: refs/heads/master@{#384522}

Powered by Google App Engine
This is Rietveld 408576698