Skip to content

Feature request: Add an option to disable/remove the ftrace hook at launch #352

@mnrkbys

Description

@mnrkbys

Modern LKM rootkits use ftrace to hook syscalls.
Therefore, disabling ftrace early after UAC starts can be effective for collecting more accurate artifacts.
This can be done as follows:

echo 0 > /proc/sys/kernel/ftrace_enabled

or

sysctl kernel.ftrace_enabled=0

However, I have not been able to determine to what extent this might affect EDRs or other security features.
I believe it would be beneficial for UAC. What do you think?

reference: https://tmpout.sh/4/10.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions