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

Issue 444123002: Adding a new delayed analysis that verify binaries signature. (Closed)

Created:
6 years, 4 months ago by pmonette
Modified:
6 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@grt
Project:
chromium
Visibility:
Public.

Description

Adding a new delayed analysis that verifies the signatures of Chrome's binaries BUG=402455 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289703

Patch Set 1 : #

Total comments: 33

Patch Set 2 : First round of comments #

Total comments: 28

Patch Set 3 : Second round of comments #

Total comments: 4

Patch Set 4 : Adding UMA stat, fixing trybot errors, responding to more comments #

Patch Set 5 : Fixing failures on trybots #

Patch Set 6 : StringToLowerASCII is now in the base namespace #

Patch Set 7 : Sync with trunk #

Total comments: 6

Patch Set 8 : Revert case conversion. #

Patch Set 9 : Removing signed dll #

Patch Set 10 : Fix the download protection service unit tests #

Patch Set 11 : Adding OVERRIDE decorator #

Patch Set 12 : Last minute nit fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+469 lines, -2 lines) Patch
A chrome/browser/safe_browsing/binary_integrity_analyzer.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/binary_integrity_analyzer.cc View 1 2 3 4 5 6 7 1 chunk +93 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/binary_integrity_analyzer_win.cc View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/binary_integrity_analyzer_win_unittest.cc View 1 2 3 4 5 6 7 1 chunk +134 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/binary_integrity_incident_handlers.h View 1 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/binary_integrity_incident_handlers.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/binary_integrity_incident_handlers_unittest.cc View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting_service.cc View 1 2 5 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/test/data/safe_browsing/README View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/unit_tests.isolate View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
pmonette_google.com
Added mattm for owners review. Take a look please! This adds a process-wide analysis for ...
6 years, 4 months ago (2014-08-06 21:23:54 UTC) #1
grt (UTC plus 2)
Very cool! I've just taken a very cursory look so far. I'm not sure about ...
6 years, 4 months ago (2014-08-07 02:12:46 UTC) #2
robertshield
Looks awesome, just minor nits from me. https://codereview.chromium.org/444123002/diff/40001/chrome/browser/safe_browsing/binary_integrity_service.h File chrome/browser/safe_browsing/binary_integrity_service.h (right): https://codereview.chromium.org/444123002/diff/40001/chrome/browser/safe_browsing/binary_integrity_service.h#newcode19 chrome/browser/safe_browsing/binary_integrity_service.h:19: // Registers ...
6 years, 4 months ago (2014-08-07 14:57:24 UTC) #3
mattm
https://codereview.chromium.org/444123002/diff/40001/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/444123002/diff/40001/chrome/browser/browser_process_impl.cc#newcode1047 chrome/browser/browser_process_impl.cc:1047: safe_browsing::RegisterBinaryIntegrityAnalysis(); Agree about avoiding adding more stuff here, maybe ...
6 years, 4 months ago (2014-08-07 20:16:01 UTC) #4
pmonette_google.com
Added the modification to the incident reporting service to support the BINARY_INTEGRITY incident type. I ...
6 years, 4 months ago (2014-08-07 21:29:29 UTC) #5
mattm
https://codereview.chromium.org/444123002/diff/40001/chrome/common/safe_browsing/csd.proto File chrome/common/safe_browsing/csd.proto (right): https://codereview.chromium.org/444123002/diff/40001/chrome/common/safe_browsing/csd.proto#newcode355 chrome/common/safe_browsing/csd.proto:355: optional string file = 1; On 2014/08/07 21:29:29, pmonette ...
6 years, 4 months ago (2014-08-07 22:18:30 UTC) #6
mattm
https://codereview.chromium.org/444123002/diff/80001/chrome/browser/safe_browsing/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting_service.cc (right): https://codereview.chromium.org/444123002/diff/80001/chrome/browser/safe_browsing/incident_reporting_service.cc#newcode101 chrome/browser/safe_browsing/incident_reporting_service.cc:101: COMPILE_ASSERT(TRACKED_PREFERENCE + 2 == NUM_INCIDENT_TYPES, change to BINARY_INTEGRITY + ...
6 years, 4 months ago (2014-08-07 23:08:47 UTC) #7
grt (UTC plus 2)
looking really nice. +asvitkine: please see my question aimed at you in the comments below. ...
6 years, 4 months ago (2014-08-08 02:23:06 UTC) #8
grt (UTC plus 2)
oh, in cl description: "verify binaries signature" -> "verifies the signatures of Chrome's binaries" also, ...
6 years, 4 months ago (2014-08-08 02:26:08 UTC) #9
pmonette_google.com
Take another look please. grt: I'm still waiting on asvitkine's input for the UMA_HISTOGRAM_TIMES. https://codereview.chromium.org/444123002/diff/40001/chrome/browser/browser_process_impl.cc ...
6 years, 4 months ago (2014-08-08 15:05:43 UTC) #10
Alexei Svitkine (slow)
https://codereview.chromium.org/444123002/diff/80001/chrome/browser/safe_browsing/binary_integrity_analyzer.cc File chrome/browser/safe_browsing/binary_integrity_analyzer.cc (right): https://codereview.chromium.org/444123002/diff/80001/chrome/browser/safe_browsing/binary_integrity_analyzer.cc#newcode41 chrome/browser/safe_browsing/binary_integrity_analyzer.cc:41: binary_feature_extractor->CheckSignature(binary_path, signature_info.get()); On 2014/08/08 02:23:05, grt (no reviews Aug ...
6 years, 4 months ago (2014-08-08 15:14:59 UTC) #11
grt (UTC plus 2)
lgtm with downcase. asvitkine's suggestion for the histogram sounds good to me. he's your captain ...
6 years, 4 months ago (2014-08-08 15:29:06 UTC) #12
grt (UTC plus 2)
https://codereview.chromium.org/444123002/diff/160001/chrome/browser/safe_browsing/binary_integrity_analyzer_win.cc File chrome/browser/safe_browsing/binary_integrity_analyzer_win.cc (right): https://codereview.chromium.org/444123002/diff/160001/chrome/browser/safe_browsing/binary_integrity_analyzer_win.cc#newcode19 chrome/browser/safe_browsing/binary_integrity_analyzer_win.cc:19: FILE_PATH_LITERAL("chrome.dll"), FILE_PATH_LITERAL("chrome_elf.dll"), please add "chrome_child.dll" to this list
6 years, 4 months ago (2014-08-08 18:08:01 UTC) #13
robertshield
I think you are about to get bitten by the thing Kristina got bitten by, ...
6 years, 4 months ago (2014-08-08 18:16:50 UTC) #14
pmonette_google.com
Adding UMA stat for the time it takes to verify each binary and fixing trybot ...
6 years, 4 months ago (2014-08-08 18:57:00 UTC) #15
grt (UTC plus 2)
https://codereview.chromium.org/444123002/diff/280001/chrome/browser/safe_browsing/binary_integrity_analyzer.cc File chrome/browser/safe_browsing/binary_integrity_analyzer.cc (right): https://codereview.chromium.org/444123002/diff/280001/chrome/browser/safe_browsing/binary_integrity_analyzer.cc#newcode28 chrome/browser/safe_browsing/binary_integrity_analyzer.cc:28: static const char* kHistogramName = "SBIRS.VerifyBinaryIntegrity."; nit: static const ...
6 years, 4 months ago (2014-08-08 20:37:25 UTC) #16
Alexei Svitkine (slow)
histograms.xml lgtm
6 years, 4 months ago (2014-08-11 13:51:54 UTC) #17
mattm
lgtm
6 years, 4 months ago (2014-08-11 23:29:15 UTC) #18
pmonette_google.com
https://codereview.chromium.org/444123002/diff/280001/chrome/browser/safe_browsing/binary_integrity_analyzer.cc File chrome/browser/safe_browsing/binary_integrity_analyzer.cc (right): https://codereview.chromium.org/444123002/diff/280001/chrome/browser/safe_browsing/binary_integrity_analyzer.cc#newcode28 chrome/browser/safe_browsing/binary_integrity_analyzer.cc:28: static const char* kHistogramName = "SBIRS.VerifyBinaryIntegrity."; On 2014/08/08 20:37:24, ...
6 years, 4 months ago (2014-08-13 15:31:31 UTC) #19
pmonette_google.com
The CQ bit was checked by pmonette@google.com
6 years, 4 months ago (2014-08-14 15:17:48 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmonette@google.com/444123002/480001
6 years, 4 months ago (2014-08-14 15:22:07 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-14 19:49:15 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 19:57:55 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/4339)
6 years, 4 months ago (2014-08-14 19:57:56 UTC) #24
pmonette_google.com
csharp@ : Need owners lgtm for chrome/unit_tests.isolate.
6 years, 4 months ago (2014-08-14 21:08:39 UTC) #25
csharp
lgtm
6 years, 4 months ago (2014-08-14 21:11:17 UTC) #26
pmonette_google.com
The CQ bit was checked by pmonette@google.com
6 years, 4 months ago (2014-08-14 21:12:30 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmonette@google.com/444123002/480001
6 years, 4 months ago (2014-08-14 21:16:12 UTC) #28
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 21:29:06 UTC) #29
Message was sent while issue was closed.
Committed patchset #12 (480001) as 289703

Powered by Google App Engine
This is Rietveld 408576698