// MITRE ATT&CK

T1546.018 · Python Startup Hooks

🎯 Persistence LinuxmacOSWindows Sub-técnica

Sub-técnica de T1546 · Event Triggered Execution.

Adversaries may achieve persistence by leveraging Python’s startup mechanisms, including path configuration (`.pth`) files and the `sitecustomize.py` or `usercustomize.py` modules. These files are automatically processed during the initialization of the Python interpreter, allowing for the executi...

¿Cómo detectarlo y mitigarlo?

La detección de Python Startup Hooks parte de la telemetría de tu SIEM/EDR. Escribe una regla de detección con el generador Sigma, analiza logs sospechosos en el analizador de logs y sitúa la técnica en tu cobertura con la matriz ATT&CK.

Técnicas relacionadas

Fuente: MITRE ATT&CK®. ATT&CK es una marca registrada de The MITRE Corporation. Contenido con fines educativos.