oneumyvakin

AMD uProf services failed to start because "Windows cannot verify the digital signature for this file"

Discussion created by oneumyvakin on Apr 15, 2018
Latest reply on Apr 17, 2018 by swarup

AMDuProf-1.1.667.exe

Windows 10 version 1709 Build 16299.371

 

Problem:

AMD uProf can't start profiling. (Maybe after windows update)

 

Trying to run:

C:\Program Files\AMD\AMDuProf\bin\AMDuProfCLI.exe collect --system-wide --config power --duration 40 --output C:\Users\oneumyvakin\Desktop\output

Failed to load driver.

If you have recently upgraded or installed AMD uProf, please reboot and try again.

Trying to open the driver (C:\WINDOWS\system32\drivers\AMDPcore) returned error 0.

 

If it runned from other program it appears as:

Failed to initialize the driver. Check if driver is installed and running (error code 0x8000ffff).

 

UI Error:

"Failed to load driver."

 

In EventLog:

event#1The AMDPcore service failed to start due to the following error:

Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.

\??\C:\WINDOWS\system32\drivers\AMDPcore.sys failed to load

 

event#2

A service was installed in the system.

 

Service Name:  AMDPcore

Service File Name:  C:\WINDOWS\system32\drivers\AMDPcore.sys

Service Type:  kernel mode driver

Service Start Type:  demand start

Service Account: 

 

event#3

The AMDPowerProfiler service failed to start due to the following error:

Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.

\??\C:\WINDOWS\system32\drivers\AMDPowerProfiler.sys failed to load

 

event#4

A service was installed in the system.

 

Service Name:  AMDPowerProfiler

Service File Name:  C:\WINDOWS\system32\drivers\AMDPowerProfiler.sys

Service Type:  kernel mode driver

Service Start Type:  demand start

Service Account: 

 

event#5

\??\C:\WINDOWS\system32\drivers\AMDCpuProfiler.sys failed to load

 

event#6

A service was installed in the system.

 

Service Name:  AMDCpuProfiler

Service File Name:  C:\WINDOWS\system32\drivers\AMDCpuProfiler.sys

Service Type:  kernel mode driver

Service Start Type:  demand start

Service Account: 

 

 

Checking signature:

 

signtool.exe verify /pa /a /v C:\WINDOWS\system32\drivers\AMDPcore.sys

 

Verifying: C:\WINDOWS\system32\drivers\AMDPCore.sys

Unable to verify this file using a catalog.

Signature Index: 0 (Primary Signature)

Hash of file (sha1): 182AEDA6AF967C352D1D1C2CBAD92A46A8DC95CF

 

Signing Certificate Chain:

    Issued to: VeriSign Class 3 Public Primary Certification Authority - G5

    Issued by: VeriSign Class 3 Public Primary Certification Authority - G5

    Expires:   Thu Jul 17 06:59:59 2036

    SHA1 hash: 4EB6D578499B1CCF5F581EAD56BE3D9B6744A5E5

 

        Issued to: Symantec Class 3 SHA256 Code Signing CA

        Issued by: VeriSign Class 3 Public Primary Certification Authority - G5

        Expires:   Sun Dec 10 06:59:59 2023

        SHA1 hash: 007790F6561DAD89B0BCD85585762495E358F8A5

 

            Issued to: Advanced Micro Devices Inc.

            Issued by: Symantec Class 3 SHA256 Code Signing CA

            Expires:   Fri Apr 05 06:59:59 2019

            SHA1 hash: 64772021B955BD834214828156CFE0BFDD1C36DB

 

The signature is timestamped: Wed Feb 21 16:18:41 2018

Timestamp Verified by:

    Issued to: Thawte Timestamping CA

    Issued by: Thawte Timestamping CA

    Expires:   Fri Jan 01 06:59:59 2021

    SHA1 hash: BE36A4562FB2EE05DBB3D32323ADF445084ED656

 

        Issued to: Symantec Time Stamping Services CA - G2

        Issued by: Thawte Timestamping CA

        Expires:   Thu Dec 31 06:59:59 2020

        SHA1 hash: 6C07453FFDDA08B83707C09B82FB3D15F35336B1

 

            Issued to: Symantec Time Stamping Services Signer - G4

            Issued by: Symantec Time Stamping Services CA - G2

            Expires:   Wed Dec 30 06:59:59 2020

            SHA1 hash: 65439929B67973EB192D6FF243E6767ADF0834E4

 

 

Successfully verified: C:\WINDOWS\system32\drivers\AMDPCore.sys

 

Number of files successfully Verified: 1

Number of warnings: 0

Number of errors: 0

 

Checking signature without "/pa":

 

signtool.exe verify /a /v C:\WINDOWS\system32\drivers\AMDPcore.sys

 

Verifying: C:\WINDOWS\system32\drivers\AMDPCore.sys

Unable to verify this file using a catalog.

Signature Index: 0 (Primary Signature)

Hash of file (sha1): 182AEDA6AF967C352D1D1C2CBAD92A46A8DC95CF

 

Signing Certificate Chain:

    Issued to: VeriSign Class 3 Public Primary Certification Authority - G5

    Issued by: VeriSign Class 3 Public Primary Certification Authority - G5

    Expires:   Thu Jul 17 06:59:59 2036

    SHA1 hash: 4EB6D578499B1CCF5F581EAD56BE3D9B6744A5E5

 

        Issued to: Symantec Class 3 SHA256 Code Signing CA

        Issued by: VeriSign Class 3 Public Primary Certification Authority - G5

        Expires:   Sun Dec 10 06:59:59 2023

        SHA1 hash: 007790F6561DAD89B0BCD85585762495E358F8A5

 

            Issued to: Advanced Micro Devices Inc.

            Issued by: Symantec Class 3 SHA256 Code Signing CA

            Expires:   Fri Apr 05 06:59:59 2019

            SHA1 hash: 64772021B955BD834214828156CFE0BFDD1C36DB

 

The signature is timestamped: Wed Feb 21 16:18:41 2018

Timestamp Verified by:

    Issued to: Thawte Timestamping CA

    Issued by: Thawte Timestamping CA

    Expires:   Fri Jan 01 06:59:59 2021

    SHA1 hash: BE36A4562FB2EE05DBB3D32323ADF445084ED656

 

        Issued to: Symantec Time Stamping Services CA - G2

        Issued by: Thawte Timestamping CA

        Expires:   Thu Dec 31 06:59:59 2020

        SHA1 hash: 6C07453FFDDA08B83707C09B82FB3D15F35336B1

 

            Issued to: Symantec Time Stamping Services Signer - G4

            Issued by: Symantec Time Stamping Services CA - G2

            Expires:   Wed Dec 30 06:59:59 2020

            SHA1 hash: 65439929B67973EB192D6FF243E6767ADF0834E4

 

SignTool Error: A certificate chain processed, but terminated in a root

        certificate which is not trusted by the trust provider.

 

Number of files successfully Verified: 0

Number of warnings: 0

Number of errors: 1

 

Checking signature of random driver:

signtool.exe verify /a /v C:\WINDOWS\system32\drivers\AMDPCIDev.sys

 

Verifying: C:\WINDOWS\system32\drivers\AMDPCIDev.sys

File is signed in catalog: C:\WINDOWS\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\oem8.cat

Hash of file (sha1): 967A26C1622346FBD5C9C512D3C3A49BA4DA3633

 

Signing Certificate Chain:

    Issued to: Microsoft Root Certificate Authority 2010

    Issued by: Microsoft Root Certificate Authority 2010

    Expires:   Sun Jun 24 05:04:01 2035

    SHA1 hash: 3B1EFD3A66EA28B16697394703A72CA340A05BD5

 

        Issued to: Microsoft Windows Third Party Component CA 2012

        Issued by: Microsoft Root Certificate Authority 2010

        Expires:   Mon Apr 19 06:58:38 2027

        SHA1 hash: 77A10EBF07542725218CD83A01B521C57BC67F73

 

            Issued to: Microsoft Windows Hardware Compatibility Publisher

            Issued by: Microsoft Windows Third Party Component CA 2012

            Expires:   Sat Jun 02 02:05:29 2018

            SHA1 hash: 5B59739E724EFD3E89DF82376F34FB646F76AF27

 

The signature is timestamped: Tue Oct 10 17:42:10 2017

Timestamp Verified by:

    Issued to: Microsoft Root Certificate Authority 2010

    Issued by: Microsoft Root Certificate Authority 2010

    Expires:   Sun Jun 24 05:04:01 2035

    SHA1 hash: 3B1EFD3A66EA28B16697394703A72CA340A05BD5

 

        Issued to: Microsoft Time-Stamp PCA 2010

        Issued by: Microsoft Root Certificate Authority 2010

        Expires:   Wed Jul 02 04:46:55 2025

        SHA1 hash: 2AA752FE64C49ABE82913C463529CF10FF2F04EE

 

            Issued to: Microsoft Time-Stamp Service

            Issued by: Microsoft Time-Stamp PCA 2010

            Expires:   Sat Sep 08 00:56:54 2018

            SHA1 hash: C9ECBB482D35D994BEB68EF726A9316E8A878E32

 

Successfully verified: C:\WINDOWS\system32\drivers\AMDPCIDev.sys

 

Number of files successfully Verified: 1

Number of warnings: 0

Number of errors: 0

 

 

Workaround:

Disable driver signature enforcement , but i'm not happy with it.

 

Could you please provide any advices what can be cause of this issue?

Outcomes