I'm wondering if it is possible to block/reject emails with .doc or .docx containing macro?
Is there any solution for postfix
to be used in order to reject this kind of attachments?
Today I just received file which is type of ransomware - containing macro:
Meanwile I have cheked with olevba.py
olevba 0.46 - http://decalage.info/python/oletools
Flags Filename
----------- -----------------------------------------------------------------
OpX:MASIHB-- /home/user/Desktop/490141.doc
===============================================================================
FILE: /home/user/Desktop/490141.doc
Type: OpenXML
-------------------------------------------------------------------------------
VBA MACRO ThisDocument.cls
in file: word/vbaProject.bin - OLE stream: u'VBA/ThisDocument'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
That will be a great thing if it is possible to achieve.
Edit: As this is security relevant, I'm adding this here: Please see the below comment that one should block docm
as well.