Python Function Execution Security Warning Disabled In Excel

 Original Source: [Sigma source]
Title: Python Function Execution Security Warning Disabled In Excel
Status: test
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.
References:
  -https://support.microsoft.com/en-us/office/data-security-and-python-in-excel-33cc88a4-4a87-485e-9ff9-f35958278327
Author: @Kostastsale
Date: 2023-08-22
modified:None
Tags:
  • -'attack.defense-impairment'
  • -'attack.t1685'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  selection:
    CommandLine|contains|all:
      -'\Microsoft\Office\'
      -'\Excel\Security'
      -'PythonFunctionWarnings'

    CommandLine|contains: ' 0'
  condition:selection
Falsepositives:
  -Unknown
Level: high