Python Function Execution Security Warning Disabled In Excel - Registry
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects changes to the registry value "PythonFunctionWarnings" that would prevent any warnings or alerts from showing when Python functions are about to be executed. Threat actors could run malicious code through the new Microsoft Excel feature that allows Python to run within the spreadsheet.
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Registry value modified" AND (OBJECTNAME contains "\Microsoft\Office" OR (OBJECTNAME endswith "\Microsoft\Office" AND isExist(OBJECTVALUENAME))) AND (OBJECTNAME endswith "\Excel\Security\PythonFunctionWarnings" OR (OBJECTNAME endswith "\Excel\Security" AND OBJECTVALUENAME = "PythonFunctionWarnings")) AND (INFORMATION = "DWORD (0x00000001)" OR (CHANGES = 1 AND NEWTYPE = "REG_DWORD")) select Action1.HOSTNAME,Action1.MESSAGE,Action1.OBJECTNAME,Action1.PROCESSNAME,Action1.PREVVAL,Action1.CHANGES
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Nasreddine Bencherchali (Nextron Systems), @Kostastsale


