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

Issue 440753002: The incident reporting service now calls VerifyModule. (Closed)

Created:
6 years, 4 months ago by krstnmnlsn
Modified:
6 years, 4 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

The incident reporting service now calls VerifyModule. The modules ntdll.dll, chrome.dll and chrome_elf.dll are checked, their status (unknown, unmodified, modified) is added to the report, along with any potentially modified exports. BUG=401854 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288517

Patch Set 1 : #

Total comments: 16

Patch Set 2 : #

Total comments: 29

Patch Set 3 : #

Patch Set 4 : the unittest_util files are back! #

Total comments: 4

Patch Set 5 : #

Total comments: 10

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -46 lines) Patch
M chrome/browser/safe_browsing/environment_data_collection_win.h View 1 2 5 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/environment_data_collection_win.cc View 1 2 3 4 5 3 chunks +39 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc View 1 2 3 4 5 2 chunks +50 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/module_integrity_unittest_util_win.h View 1 2 3 4 5 6 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/module_integrity_verifier_win.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/module_integrity_verifier_win_unittest.cc View 1 2 3 4 5 6 7 chunks +9 lines, -15 lines 0 comments Download
D chrome/browser/safe_browsing/verifier_test/verifier_test_dll.def View 1 2 3 4 5 6 1 chunk +0 lines, -8 lines 0 comments Download
A + chrome/browser/safe_browsing/verifier_test/verifier_test_dll_1.def View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/safe_browsing/verifier_test/verifier_test_dll_2.def View 1 2 3 4 5 6 1 chunk +8 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/verifier_test/verifier_unittest.gyp View 1 2 3 4 5 6 1 chunk +19 lines, -11 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/unit_tests.isolate View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
krstnmnlsn
Aiming to land this after https://codereview.chromium.org/406043003/ Thanks!
6 years, 4 months ago (2014-08-05 14:38:05 UTC) #1
csharp
https://codereview.chromium.org/440753002/diff/80001/chrome/browser/safe_browsing/module_integrity_verifier_win.cc File chrome/browser/safe_browsing/module_integrity_verifier_win.cc (right): https://codereview.chromium.org/440753002/diff/80001/chrome/browser/safe_browsing/module_integrity_verifier_win.cc#newcode17 chrome/browser/safe_browsing/module_integrity_verifier_win.cc:17: const wchar_t* test_dll_names[kTestDllsMaxCount] = { Same comment about test ...
6 years, 4 months ago (2014-08-05 15:46:33 UTC) #2
grt (UTC plus 2)
very cool! https://codereview.chromium.org/440753002/diff/80001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/440753002/diff/80001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode110 chrome/browser/safe_browsing/environment_data_collection_win.cc:110: for (int i = 0; modules_to_verify[i] != ...
6 years, 4 months ago (2014-08-05 16:04:54 UTC) #3
krstnmnlsn
Thanks chris and greg for all the feedback so far! https://codereview.chromium.org/440753002/diff/80001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/440753002/diff/80001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode110 ...
6 years, 4 months ago (2014-08-05 23:07:26 UTC) #4
grt (UTC plus 2)
looking great https://codereview.chromium.org/440753002/diff/80001/chrome/common/safe_browsing/csd.proto File chrome/common/safe_browsing/csd.proto (right): https://codereview.chromium.org/440753002/diff/80001/chrome/common/safe_browsing/csd.proto#newcode416 chrome/common/safe_browsing/csd.proto:416: optional uint32 modified_state = 2; On 2014/08/05 ...
6 years, 4 months ago (2014-08-06 01:28:11 UTC) #5
robertshield
couple of minor drive by nits. Looks great :-) https://codereview.chromium.org/440753002/diff/100001/chrome/browser/safe_browsing/environment_data_collection_win.h File chrome/browser/safe_browsing/environment_data_collection_win.h (right): https://codereview.chromium.org/440753002/diff/100001/chrome/browser/safe_browsing/environment_data_collection_win.h#newcode23 chrome/browser/safe_browsing/environment_data_collection_win.h:23: ...
6 years, 4 months ago (2014-08-06 13:00:51 UTC) #6
krstnmnlsn
Thanks for all the comments guys. https://codereview.chromium.org/440753002/diff/100001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/440753002/diff/100001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode133 chrome/browser/safe_browsing/environment_data_collection_win.cc:133: RecordModuleVerificationData(modules_to_verify, process); On ...
6 years, 4 months ago (2014-08-06 21:55:12 UTC) #7
csharp
https://codereview.chromium.org/440753002/diff/160001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc File chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc (right): https://codereview.chromium.org/440753002/diff/160001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc#newcode209 chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc:209: for (int i = 0; i < process_report.module_state_size(); ++i) ...
6 years, 4 months ago (2014-08-07 17:22:12 UTC) #8
krstnmnlsn
Rebased + Chris' changes. https://codereview.chromium.org/440753002/diff/160001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc File chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc (right): https://codereview.chromium.org/440753002/diff/160001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc#newcode209 chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc:209: for (int i = 0; ...
6 years, 4 months ago (2014-08-07 21:21:22 UTC) #9
csharp
lgtm
6 years, 4 months ago (2014-08-07 21:32:56 UTC) #10
grt (UTC plus 2)
https://codereview.chromium.org/440753002/diff/240001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/440753002/diff/240001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode31 chrome/browser/safe_browsing/environment_data_collection_win.cc:31: NULL, remove NULL https://codereview.chromium.org/440753002/diff/240001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode120 chrome/browser/safe_browsing/environment_data_collection_win.cc:120: int modified = VerifyModule(modules_to_verify[i], ...
6 years, 4 months ago (2014-08-08 01:08:52 UTC) #11
krstnmnlsn
Now only modified and 'unknown' modules are sent back. Thanks for the feedback greg! https://codereview.chromium.org/440753002/diff/240001/chrome/browser/safe_browsing/environment_data_collection_win.cc ...
6 years, 4 months ago (2014-08-08 13:18:08 UTC) #12
grt (UTC plus 2)
LGTM w/ const nit. https://codereview.chromium.org/440753002/diff/260001/chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc File chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc (right): https://codereview.chromium.org/440753002/diff/260001/chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc#newcode16 chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc:16: size_t kTestDllNamesCount = arraysize(kTestDllNames); const ...
6 years, 4 months ago (2014-08-08 13:55:00 UTC) #13
noelutz
lgtm
6 years, 4 months ago (2014-08-08 16:26:08 UTC) #14
krstnmnlsn
The CQ bit was checked by krstnmnlsn@chromium.org
6 years, 4 months ago (2014-08-08 21:22:52 UTC) #15
krstnmnlsn
The CQ bit was unchecked by krstnmnlsn@chromium.org
6 years, 4 months ago (2014-08-08 21:22:56 UTC) #16
krstnmnlsn
Final touches! https://codereview.chromium.org/440753002/diff/260001/chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc File chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc (right): https://codereview.chromium.org/440753002/diff/260001/chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc#newcode16 chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc:16: size_t kTestDllNamesCount = arraysize(kTestDllNames); On 2014/08/08 13:55:00, ...
6 years, 4 months ago (2014-08-08 21:23:07 UTC) #17
krstnmnlsn
The CQ bit was checked by krstnmnlsn@chromium.org
6 years, 4 months ago (2014-08-08 21:23:19 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/krstnmnlsn@chromium.org/440753002/340001
6 years, 4 months ago (2014-08-08 21:26:05 UTC) #19
commit-bot: I haz the power
6 years, 4 months ago (2014-08-09 05:47:57 UTC) #20
Message was sent while issue was closed.
Change committed as 288517

Powered by Google App Engine
This is Rietveld 408576698