Agent is failing to properly tag Python.exe as a Python Script Interpreter.
The built-in Yara Rule is not properly handling a version wildcard associated with Python DLLs.
This issue was tracked under CRE-21958 and will be resolved with the release of Rules Installer 1.32. In the meantime, customers can use the following workaround steps:
Temporary workaround for CRE-21958. Disable before upgrading to Rules Installer 1.32.
rule PythonScriptInterpreter2: script_interpreter python_interpreter
{
meta:
description = "Additional Rule to identify python interpreters"
extension = "pyc"
condition:
// Note: Python.exe and pythonw.exe both import pythonXX.dll with the version number in its name: e.g. python26.dll
not pe.is_dll() and
pe.imports_regex(/python\d\d+.dll/)
}