EPM - Windows and macOS publisher verification method
Question
Question 1: How does Windows EPM Agent ensure that the file is not tampered with by any unknown method?
For example, the set administrator has created an Allow policy for publisher Adobe Inc.
If the unknown file's signature is tampered with and changed from Test Inc. to Adobe Inc., will the Allow policy be applied to this unknown file?
Question 2: How does macOS EPM Agent verify the publisher too?
Environment
24.4;24.5;24.6;24.7;24.8;24.9 EPM EPM Agent
Answer
Answer 1: In general, Windows EPM Agent uses standard Windows publisher verification method winverifytrust.
https://learn.microsoft.com/en-us/windows/win32/api/wintrust/nf-wintrust-winverifytrust
Additional info on how it works exactly could be found on Microsoft resources.
If someone could circumvent the whole system of trust on Windows, it would be a worldwide issue that affects everyone.
Answer 2: For macOS devices, macOS Agent verifies the publisher of the applications via Gatekeeper.
Please refer to this Apple document for more information:
https://support.apple.com/en-sg/guide/security/sec5599b66df/web