Bug 11436 - clamscan OLE2BlockMAcros option
clamscan OLE2BlockMAcros option
Status: CLOSED FIXED
Product: ClamAV
Classification: ClamAV
Component: clamscan
0.99-beta
x86_64 Windows
: P3 normal
: 0.99.2
Assigned To: Steven Morgan
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-23 11:26 EST by Steve Basford
Modified: 2020-02-19 09:44 EST (History)
2 users (show)

See Also:
QA Contact:


Attachments
Add --block-macros option to clamscan (3.06 KB, patch)
2016-03-10 05:42 EST, Kai Risku
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Basford 2015-11-23 11:26:34 EST
In clamd.conf you have an option to block ALL OLE2BlockMAcros

# With this option enabled OLE2 files with VBA macros, which were not
# detected by signatures will be marked as "Heuristics.OLE2.ContainsMacros".
# Default: no
#OLE2BlockMacros no

Can't seem to find a clamscan version of this..

eg...

--block-OLE2Macros[=yes/no(*)]
Comment 1 Steven Morgan 2015-11-23 15:15:40 EST
Verified this to the case - no code to set macro blocking in clamscan.
Comment 2 Kai Risku 2016-03-10 05:42:38 EST
Created attachment 7079 [details]
Add --block-macros option to clamscan

The attached patch adds support for a --block-macros=yes/no option to clamscan.
Comment 3 Steven Morgan 2016-03-10 18:29:54 EST
Thanks for sending the patch! Applied in commit c18363244bdcfc70d4983cfcadaa43054c36bdb4.