Commit Graph

9846 Commits (38fe8b69a074d51eddf2024bf7cd7c20a324bd0c)
 

Author SHA1 Message Date
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 e2e36c9f01 bcomp - updating documentation to account for new byte extraction options and comma separated comparisons 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
Mickey Sola 4617e707c9 bcomp - adding ac_chklsig verification to fix reference subsig match checking; fixing double result print when using all match; fix to ensure extracted binary bytes retain their signedness 7 years ago
Mickey Sola 70170a6600 bcomp - updating messaging output to be consistent across the matcher file 7 years ago
Mickey Sola 178d030380 bcomp - updating and fixing binary extraction based on Micah's suggested solution; adding ability to compare and extract negative values 7 years ago
Mickey Sola b7001d680e bcomp - revamping option parsing; adding binary byte extraction; adding exact byte length matching option 7 years ago
Mickey Sola 2b6c456a1b bcomp - updates and fixes following code review 7 years ago
Mickey Sola f662034bc1 bcomp - adding initial sigtool support for byte compare signatures 7 years ago
Mickey Sola 17360f03be scan_options - fixing up segfault caused by zeroed out scan_options struct when using sigtool to test signatures 7 years ago
Mickey Sola 88567a4291 bcomp - adding best effort matching when no offset is found for a referenced subsigid 7 years ago
Mickey Sola efad2ac142 bcomp - updating signatures.md with byte compare info 7 years ago
Mickey Sola d2f48a2c68 bcomp - updating SCAN_ALL to comply with new SCAN_ALLMATCHES check 7 years ago
Mickey Sola dfa92896d2 bcomp - general fixups and cleanup for byte compare code 7 years ago
Mickey Sola 18ff502920 refactoring byte compare functionality as a subsig; adding loader and matchers for bytecompare subsig 7 years ago
Mickey Sola 9e408e7658 bb4007 - adding pcre byte sequence comparison functions 7 years ago
Mickey Sola ecbdd3864f bb4007 - adding pcre flag for byte sequence comparison 7 years ago
Micah Snyder (micasnyd) f3fd2ac2e3 Adjustment to Zip extraction logic to make Z_BUF_ERROR error code non-fatal, allowing scans of partially decompressed files. 7 years ago
Micah Snyder (micasnyd) 9a54f5ccd7 Documentation improvements regarding ClamAV installation, initial setup. 7 years ago