mirror of
https://github.com/mandiant/capa-rules.git
synced 2026-10-12 02:18:39 +00:00
Add nursery rules for Linux kernel rootkit techniques (#1136)
* Add nursery rules for Linux kernel rootkit techniques * Address review comments: update scopes, namespace, and authors
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
rule:
|
||||
meta:
|
||||
name: escalate privileges via commit_creds on Linux
|
||||
namespace: host-interaction/process/modify
|
||||
authors:
|
||||
- aryanyk
|
||||
description: detect Linux kernel modules that escalate privileges using prepare_kernel_cred and commit_creds, a technique commonly used by rootkits
|
||||
scopes:
|
||||
static: function
|
||||
dynamic: span of calls
|
||||
att&ck:
|
||||
- Privilege Escalation::Exploitation for Privilege Escalation [T1068]
|
||||
references:
|
||||
- https://inferi.club/post/the-art-of-linux-kernel-rootkits
|
||||
- https://www.kernel.org/doc/html/latest/security/credentials.html
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- api: prepare_kernel_cred
|
||||
- api: commit_creds
|
||||
@@ -0,0 +1,21 @@
|
||||
rule:
|
||||
meta:
|
||||
name: register Netfilter hook on Linux
|
||||
namespace: host-interaction/network
|
||||
authors:
|
||||
- aryanyk
|
||||
description: kernel rootkits can register Netfilter hooks to inspect or modify packet flow
|
||||
scopes:
|
||||
static: instruction
|
||||
dynamic: call
|
||||
att&ck:
|
||||
- Defense Evasion::Impair Defenses [T1562]
|
||||
references:
|
||||
- https://inferi.club/post/the-art-of-linux-kernel-rootkits
|
||||
- https://www.kernel.org/doc/html/latest/networking/netfilter.html
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- api: nf_register_net_hook
|
||||
- api: nf_register_hook
|
||||
Reference in New Issue
Block a user