I need to parse a PE file to extract all signature details in it:
- Version
- Issuer
- Serial number
- Digest algorithm
- Digest encryption algorithm
- Authenticated attributes
+ Content Type
+ 1.3.6.1.4.1.311.2.1.11
+ Message Digest
+ 1.3.6.1.4.1.311.2.1.12
- Unauthenticated attributes
+ 1.3.6.1.4.1.311.3.3.1
But I didn't find any solution yet. I think all the solution that I found can't extract complete information that I need.
I used AnalyzePESig. I think it was the most complete tools that I found.But the out put of this tools is as follow:
- Issuer
- Serial number
- Digest algorithm
- Digest encryption algorithm
and I can't find :
- Authenticated attributes
+ Content Type
+ 1.3.6.1.4.1.311.2.1.11
+ Message Digest
+ 1.3.6.1.4.1.311.2.1.12
- Unauthenticated attributes
+ 1.3.6.1.4.1.311.3.3.1
I also used osslsigncode, Disitool,signtool and Mark’s sigcheck
could you please help me to find an appropriate solution ?