Commit Graph

113 Commits (9f407d83b3dd2f18b2ffb764da71ccd992f16872)

Author SHA1 Message Date
Andrew 1306d100ee Support SHA256-based .cat files and related improvements/bugfixes 4 years ago
Andrew b383f245d0 Beginnings of Authenticode RFC3161 timestamp support 4 years ago
Micah Snyder 0255f29a72 Blacklist & Whitelist verbiage 4 years ago
Micah Snyder (micasnyd) b9ca6ea103 Update copyright dates for 2021 4 years ago
Micah Snyder 206dbaefe8 Update copyright dates for 2020 5 years ago
Andrew 431fc22439 Handle two more Authenticode parsing edge cases 6 years ago
Andrew a0980389a7 Fix uninitialized memory usage in PE cert parsing 6 years ago
Micah Snyder 97a0647e88 Additional variable type changes for correctness and to silence warnings. A handful of other minor changes to silence warnings. Corrected a number of function definitions so they return cl_error_t rather than int. 6 years ago
Micah Snyder ee40795fe2 Converted mpool calls to macros when USE_MPOOL is defined to clearly differentiate between function and macro behavior. 6 years ago
Micah Snyder 737ec1ef21 Corrections to freshclam logging initialization. Added notation to --help output for --stdout option to indicate that debug messages will not be redirected. Changing direct calls to cli_dbgmsg_internal to use cli_dbgmsg, as cli_dbgmsg_internal always prints, even when --debug is not enabled. 6 years ago
Andrew e8169c7053 Multiple blacklist sigs can now match with allmatch 6 years ago
Andrew a96756b0b6 Copy cert name for debug prints; fail better 6 years ago
Andrew 3cf1b1c58d Add ability to whitelist leaf certificates 6 years ago
Andrew 92088f91f1 Add support for cert blacklisting and whitelisting upfront 6 years ago
Andrew 7ba310e605 PE parsing code improvements, db loading bug fixes 6 years ago
Micah Snyder 52cddcbcfd Updating and cleaning up copyright notices. 6 years ago
Micah Snyder 72fd33c8b2 clang-format'd using new .clang-format rules. 6 years ago
Micah Snyder 38fe8b69a0 Added .clang-format style rules, clam-format script to automate formatting of ClamAV code, and preparing select files so that clang-format does not alter carefully formatted sections. 6 years ago
Micah Snyder ebea41ed64 Moving variable declaration to top of function because ‘for’ loop initial declarations are only allowed in C99 mode. 7 years ago
Andrew 7f46503595 Allow the NULL to be missing on all AlgorithmIds 7 years ago
Andrew 64ecd1099c Fix support for authenticode signatures from external .cat files 7 years ago
Andrew 50d1a0b6e9 Make --dumpcerts be more consistent, improve cert processing 7 years ago
Andrew db39ba2a4d Add debug message in the case where a seemingly useless cert is detected 7 years ago
Andrew 5df252e7cd Set the certSign flag for certificates without a KeyUsage 7 years ago
Andrew b1c135393b Allow x509 certs with v1 TBSCertificate sections in the timestamp chain 7 years ago
Andrew 0bbf4e13a6 Fix a bug causing nested signatures to trigger the no-countersignature case 7 years ago
Andrew d28779ec6a Allow for the timestampToken OID in place of pkcs7-data OID in the countersignature 7 years ago
Andrew 796cf4ced9 Allow '0' as a counterSignature version 7 years ago
Andrew 0973eb97be Add more support for SHA384/SHA512 7 years ago
Andrew 15c54ab6ba Allow <hashtype>WithRSAEncryption OIDs when expecting <hashtype> OIDs 7 years ago
Andrew ecae7f1976 Fix bug in how ptrs to file data are used for computing Authenticode hash 7 years ago
Andrew a9a7122b1a Add more complete support for SHA384, SHA512 hashes 7 years ago
Andrew c714559526 Add support for MD5 and SHA256 hash-based validation of the exe code 7 years ago
Andrew 604cc8edd1 Allow the countersignature to exist anywhere in unauthAttrs 7 years ago
Andrew a2bb4cdf28 Add support for signatures without unauthAttr section and add more dbg msgs 7 years ago
Andrew b851a649af Skip invalid x509 certificates instead of bailing out completely 7 years ago
Andrew 0a2492de87 Add more debugging messages for fail cases in Authenticode ASN1 parsing 7 years ago
Andrew 144148f1d2 Add minimal support for parsing MD2RSA, RSA, and SHA512RSA certs 7 years ago
Andrew 4cd3d28491 Add minimal support for parsing SHA384-based certificates 7 years ago
Andrew 5ee2fc533f [WIP] Add support for SHA256 signatures 7 years ago
Andrew 8df3fab24f Fix an issue causing the public key to be incorrectly printed with --dumpcerts sometimes 7 years ago
Andrew 7438ffdd6c Fix issue where certificate verification fails if nested sigs present 7 years ago
Andrew 1b5c9f72e3 [WIP] Add support for SHA256 signatures 7 years ago
Andrew 12341e15de Add more debug messages in fail cases, more comments, minor changes 7 years ago
Andrew ee769cc765 Replace (most) ASN1 magic values with #defines 7 years ago
Andrew 937c42e113 Fix white space formatting, replace tabs with spaces 7 years ago
Josh Soref 7cd9337a70 Spelling Adjustments (#30) 7 years ago
Kevin Lin 616c0259c4 libclamav: prints raw certificate metadata 9 years ago
Kevin Lin 1c87b8f345 bb#11003 - divide out dumpcerts output for better readability 9 years ago
Kevin Lin 5eaf0b320a bb#11003 - fix dconf and option handling for nocert and dumpcert 9 years ago