Add a new field about an injection method in the third-party-module ping
Categories
(Firefox :: Launcher Process, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: toshi, Assigned: toshi)
References
Details
Attachments
(4 files)
It would be useful if we can collect how a third-party module was injected into our process. Especially we need modules which use IAT modification because blocking those modules block process launch. Before enabling pre-spawn CIG, we need to whitelist them,
Assignee | ||
Comment 1•5 years ago
|
||
This patch adds a new optional field isDependent
the third-party-modules ping
which indicates the module is loaded via the executable's Import Directory Table.
It's important to collect this information because blocking such modules break
process launch.
This patch also partially reverts Bug 1587539, moving a logic to detect Import
Directory tampering to PEHeaders
's ctor. With this, we can skip generating
a map of the executable's dependent modules if no tampering is detected.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
This patch adds an optional boolean field isDependent
to the third-party-modules ping whose value is copied
from ProcessedModuleLoadEvent::mIsDependent
.
Depends on D66274
Assignee | ||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b1e328341851
https://hg.mozilla.org/mozilla-central/rev/6f7df44940a5
Description
•