Chrome Version: 2de90794289b9 (70.0.3509.0)
OS: Win10
What steps will reproduce the problem?
(1) dumpbin /imports chrome_elf.dll
What is the expected result?
just KERNEL32.dll, VERSION.dll, dbghelp.dll
What happens instead?
KERNEL32.dll, VERSION.dll, dbghelp.dll and also:
WINMM.dll - timeGetTime
ADVAPI32.dll - SystemFunction036
I'm not sure if either of these is needed. The WINMM one is more concerning because it pulls in a load of dependencies including but not limited to winhttp.dll, which means we can be hijacked by bin-planting in Chrome's executable directory. I don't care as much about the advapi32.dll.
WINMM.dll!timeGetTime is called via:
timeGetTime
timeGetTimeWrapper
RolloverProtectedNow
InitializeNowFunctionPointer
InitialNowFunction
base::TimeTicks::Now
base::debug::ThreadActivityTracker::PushActivity
base::debug::ScopedLockAcquireActivity::ScopedLockAcquireActivity
base::internal::LockImpl::Lock
crashpad::CrashpadClient::DumpWithoutCrash
https://cs.chromium.org/chromium/src/third_party/crashpad/crashpad/client/crashpad_client_win.cc?l=740
ADVAPI32.dll!SystemFunction036 is called via:
SystemFunction036
base::RandBytes
crashpad::UUID::InitializeWithNew
https://cs.chromium.org/chromium/src/third_party/crashpad/crashpad/util/misc/uuid.cc?l=104
also, there is another path:
SystemFunction036
base::RandBytes
base::RandInt
crashpad::RandomString
crashpad::anon::CreatePipe
crashpad::CrashpadClient::StartHandler
https://cs.chromium.org/chromium/src/third_party/crashpad/crashpad/client/crashpad_client_win.cc?l=282
Comment 1 by wfh@chromium.org
, Aug 2