# cursor-0-day-allows-arbitrary-code-execution-by-simply-opening-a — KQL variant (derived from cursor-0-day-allows-arbitrary-code-execution-by-simply-opening-a.sigma via sigma convert)
# source-sha256: bc0e0c7ece410f6cbf9e6afc885172314d9c5751b4cf908d26d411c8a7e77875 v1
(Image endswith "\\git.exe" and (not((Image startswith "C:\\Program Files\\Git" or Image startswith "C:\\Program Files (x86)\\Git")))) or (Image endswith "\\hatch.exe" and (not((Image startswith "C:\\Users*\\AppData\\Local\\pipx" or Image startswith "C:\\Users*\\AppData\\Roaming\\Python"))))
