Mail::SpamAssassin::Plugin::OLEVBMacro(3pm) | User Contributed Perl Documentation | Mail::SpamAssassin::Plugin::OLEVBMacro(3pm) |
Mail::SpamAssassin::Plugin::OLEVBMacro - scan Office documents for evidence of OLE Macros or other exploits
loadplugin Mail::SpamAssassin::Plugin::OLEVBMacro ifplugin Mail::SpamAssassin::Plugin::OLEVBMacro body OLEMACRO eval:check_olemacro() describe OLEMACRO Attachment has an Office Macro body OLEOBJ eval:check_oleobject() describe OLEOBJ Attachment has an Ole Object body OLERTF eval:check_olertfobject() describe OLERTF Attachment has an Ole Rtf Object body OLEMACRO_MALICE eval:check_olemacro_malice() describe OLEMACRO_MALICE Potentially malicious Office Macro body OLEMACRO_ENCRYPTED eval:check_olemacro_encrypted() describe OLEMACRO_ENCRYPTED Has an Office doc that is encrypted body OLEMACRO_RENAME eval:check_olemacro_renamed() describe OLEMACRO_RENAME Has an Office doc that has been renamed body OLEMACRO_ZIP_PW eval:check_olemacro_zip_password() describe OLEMACRO_ZIP_PW Has an Office doc that is password protected in a zip body OLEMACRO_CSV eval:check_olemacro_csv() describe OLEMACRO_CSV Malicious csv file that tries to exec cmd.exe detected body OLEMACRO_DOWNLOAD_EXE eval:check_olemacro_download_exe() describe OLEMACRO_DOWNLOAD_EXE Malicious code inside the Office doc that tries to download a .exe file detected body OLEMACRO_URI_TARGET eval:check_olemacro_redirect_uri() describe OLEMACRO_URI_TARGET Uri inside an Office doc body OLEMACRO_MHTML_TARGET eval:check_olemacro_mhtml_uri() describe OLEMACRO_MHTML_TARGET Exploitable mhtml uri inside an Office doc endif
This plugin detects OLE Macros or other exploits inside Office documents attached to emails. It can detect documents inside zip files as well as encrypted documents.
This plugin requires Archive::Zip and IO::String perl modules.
The following options can be used in both site-wide ("local.cf") and user-specific ("user_prefs") configuration files to customize how the module handles attached documents
2023-04-30 | perl v5.36.0 |