mirror of
https://github.com/mandiant/capa-rules.git
synced 2026-10-12 02:18:39 +00:00
* add new linux rules to nursery * file file name * Update nursery/get-current-process-command-line.yml * Update nursery/get-current-process-file-path.yml * Update nursery/hook-routines-via-dlsym-rtld_next.yml
23 lines
631 B
YAML
23 lines
631 B
YAML
rule:
|
|
meta:
|
|
name: hook routines via dlsym RTLD_NEXT
|
|
namespace: linking/hooking
|
|
authors:
|
|
- [email protected]
|
|
scopes:
|
|
static: basic block
|
|
dynamic: call
|
|
references:
|
|
- https://stackoverflow.com/questions/71695007/hook-library-function-using-custom-method-using-dlsym
|
|
- https://liveoverflow.com/hooking-on-linux-with-ld_preload-pwn-adventure-3/
|
|
features:
|
|
- and:
|
|
- api: dlsym
|
|
- or:
|
|
- and:
|
|
- arch: i386
|
|
- number: 0xFFFFFFFF = RTLD_NEXT
|
|
- and:
|
|
- arch: amd64
|
|
- number: 0xFFFFFFFFFFFFFFFF = RTLD_NEXT
|