Process injected into another process
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
Goal
Detect usage of the ptrace systemcall to inject code into another process.
Strategy
The ptrace system call provides a means for one process to observe and control the execution of another process. This system call allows a process to modify the execution of another process, including changing memory and register values. Malicious actors have been observed using ptrace to inject code into another process, for the purposes of defense evasion and privilege escalation.
Triage and response
- Check the name of the process doing the injection (the tracer).
- Identify if the file doing the injection (the tracer) is authorized.
- If the tracer is not authorized in this environment, or is not normally known to use the ptrace syscall, contain the host or container and roll back to a known good configuration. Initiate the incident response process.
Requires Agent version 7.35 or greater