Clam 571 sigtool vba extraction improvements#852
Merged
val-ms merged 1 commit intoCisco-Talos:mainfrom Mar 30, 2023
Merged
Conversation
e372a80 to
06cdd46
Compare
Contributor
|
In testing I tried using the |
c000ec8 to
aed8895
Compare
Contributor
Author
|
Good catch, just pushed an update |
070fabc to
67ddb36
Compare
val-ms
requested changes
Mar 22, 2023
32b4737 to
5801dfb
Compare
ragusaa
commented
Mar 23, 2023
val-ms
requested changes
Mar 23, 2023
258ac87 to
49592f1
Compare
9314e36 to
f4c21fb
Compare
53db585 to
d6796d0
Compare
Add a new cl_engine_set_clcb_vba() function to set a cb_vba callback function and add clcb_generic_data handler prototype to the clamav.h public API. The cb_vba callback function will be run whenever VBA is extracted from office documents. The provided data will be a normalized copy of the original VBA. This callback is added to support Sigtool so it can use the same VBA extraction logic as when scanning documents. Change the Sigtool temp directory creation for any commands that use temp directories so that you can select a custom temp directory with the `--tempdir=PATH` option, and can retain the temp files with the `--leave-temps` option. Added `--tempdir` and `--leave-temps` to the Sigtool `--help` output. Added `--tempdir` and `--leave-temps` to the Sigtool manpage.
d6796d0 to
4747786
Compare
val-ms
approved these changes
Mar 30, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR deduplicates some vba extraction logic so sigtool works the same way libclamav does, and so it can extract more things.