Commit Graph

4319 Commits (e766303b2f6c96297c3c3bed17a0915538d6c1d0)

Author SHA1 Message Date
Micah Snyder e766303b2f Removing final references to libmspack-0.5alpha, preventing make dist. 7 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
Micah Snyder 311c3501e4 Autojunk'd 7 years ago
Micah Snyder 420426dd5f Incrementing the libclamav version numbers to 9.0.0 and setting the version strings to 0.101.0-beta. 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 b9b4c36c8b Update tbshash to have enough space for SHA512 hashes 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 4ef79cfcbf Fix a memory leak that occurs when a PE is whitelisted due to a valid signature 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 1094264f41 Ignore section information when computing Authenticode sig 7 years ago
Andrew 6c8ca96b9e Fix actual authenticode hash computation for header overlap case 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 d3440d856b Add more support for SHA384-based certificates 7 years ago
Andrew 50873c8a58 Replace tabs with spaces in pe.c and crtmgr.c, move debug message 7 years ago
Andrew b851a649af Skip invalid x509 certificates instead of bailing out completely 7 years ago
Andrew 5130fddd7f Allow signature whitelisting for binaries that violate MS13-098 7 years ago
Andrew e1a08b60a4 Fix authenticode hash computation regression (must hash data not contained in a section) 7 years ago
Andrew 18a813afb6 Update PE parsing code related to Authenticode verification 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
Micah Snyder (micasnyd) 9280b4ea0f Fix for 3 pdf parsing bugs introduced with the addition of object stream parsing, identified in regression testing. 7 years ago
Mickey Sola 821b1f5182 bcomp - fixing issue where whitespace normalization buffer wasn't being freed, fixing issue where little endian normalization was being done on the file buffer and not the normalized whitepsace buffer, fixed issue where auto detection wasn't being done on normalized whitespace buffer 7 years ago
Mickey Sola 4bc3b6c3c1 bcomp - fixing issue with little-endian odd-nibble hex evaluation where the normalized numbered of bytes were not being read via strntoul 7 years ago
Mickey Sola ad94912c86 bcomp - fixing issue where autodetect would not identify decimals when bytelen was less than 3, fixing issue with little endian hex normalization where unwanted nibbles were being evaluated 7 years ago
Mickey Sola 371d43083d bcomp - fixing issue with whitespacing padding, fixing issue with little endian extraction of odd nibbled hex sequences, refactoring hex/decimal auto checking and hex buffer normalization code, fixing issue with normalization where it was possible to evaluate unwanted hex bytes, fixing issue with big endian conversion of decimal extracted sequence values after use of cli_strntoul 7 years ago
Mickey Sola 6ad41ab25f bcomp - fixing case where automatic detection would fail against little endian hex values; removing code for little endian decimal support; fixing some clang warnings; fixes for hexidecimal detection in sli_strnto functions; updating documentation 7 years ago
Mickey Sola 65a6842272 bcomp - normalizing buffer for little endian hex comparison and simplifying automatic hex or decimal checks 7 years ago
Mickey Sola 85f528e8aa bcomp - adding option for automatic detection and extraction of decimal or hex values from the buffer 7 years ago
Mickey Sola d7d58a5847 bcomp - changing map to use original scan buffer to account for normalization offset discrepancies--patch based on suggested solution by Micah 7 years ago
Mickey Sola dc3b273fbc bcomp - adding comma seperated comparison statement evaluations for single subsigs 7 years ago