Elastic high stable eql
Unusual Library Load via Python
Detects when a Python process loads an unusual library from within the user's home directory where the file is not a standard .so or .dylib file. This technique has been observed in APT campaigns by the Lazarus Group and Slow Pisces to load malicious payloads.
Detection Logic
library where host.os.type == "macos" and event.action == "load" and
dll.path like "/Users/*" and
process.name like "python*" and
not dll.name like ("*.so", "*.dylib", "Python", "*.*_extension", "*.dylib.*") and
not dll.path like ("*/site-packages/*/Qt*/lib/Qt*.framework/Versions/*/Qt*",
"/Users/*/.pyenv/versions/*/lib/python*/site-packages/*") Field Validations
Loading…
Comments (0)
Loading comments...