mirror of
https://github.com/vee1e/capa-rules.git
synced 2026-09-02 03:17:19 +00:00
Merge pull request #892 from mandiant/android-mr
add android OS where applicable
This commit is contained in:
commit
a83ad9d367
19 changed files with 58 additions and 19 deletions
|
|
@ -15,7 +15,9 @@ rule:
|
|||
- 7351f8a40c5450557b24622417fc478d:0x405438
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- and:
|
||||
- match: create or open file
|
||||
|
|
|
|||
|
|
@ -18,4 +18,5 @@ rule:
|
|||
- and:
|
||||
- or:
|
||||
- match: enumerate files on Windows
|
||||
- match: enumerate files on Linux
|
||||
- characteristic: recursive call
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ rule:
|
|||
- 7351f8a40c5450557b24622417fc478d:0x4059AD
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- optional:
|
||||
- match: create or open file
|
||||
- or:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ rule:
|
|||
- 7351f8a40c5450557b24622417fc478d:0x401E14
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- api: fputc
|
||||
- api: fputs
|
||||
|
|
|
|||
|
|
@ -14,11 +14,15 @@ rule:
|
|||
features:
|
||||
- or:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- match: host-interaction/file-system/read
|
||||
- string: "/proc/meminfo"
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- api: system
|
||||
- or:
|
||||
- substring: "/proc/meminfo"
|
||||
|
|
|
|||
|
|
@ -11,5 +11,7 @@ rule:
|
|||
- 294b8db1f2702b60fb2e42fdc50c2cee6a5046112da9a5703a548a4fa50477bc:0x408de0
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- api: sem_init
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ rule:
|
|||
- 7351f8a40c5450557b24622417fc478d:0x40858F
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- api: fcntl
|
||||
- number: 1 = F_WRLCK
|
||||
- number: 6 = F_SETLK
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@ rule:
|
|||
- 294b8db1f2702b60fb2e42fdc50c2cee6a5046112da9a5703a548a4fa50477bc:0x408e40
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- api: sem_wait
|
||||
- api: sem_timedwait
|
||||
|
|
|
|||
|
|
@ -11,5 +11,7 @@ rule:
|
|||
- 294b8db1f2702b60fb2e42fdc50c2cee6a5046112da9a5703a548a4fa50477bc:0x408e40
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- api: sem_post
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ rule:
|
|||
- 7351f8a40c5450557b24622417fc478d:0x40236D
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- api: execve
|
||||
- api: execl
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ rule:
|
|||
- 7351f8a40c5450557b24622417fc478d:0x405438
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- api: geteuid
|
||||
- api: getpwuid
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@ rule:
|
|||
- api: ntdll.ZwCreateThread
|
||||
- api: ntdll.ZwCreateThreadEx
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- api: pthread_create
|
||||
- and:
|
||||
- api: System.Threading.Thread::Start
|
||||
|
|
|
|||
|
|
@ -36,7 +36,9 @@ rule:
|
|||
- api: KeWaitForSingleObject
|
||||
- api: KeDelayExecutionThread
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- api: sleep
|
||||
- api: usleep
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@ rule:
|
|||
- 7351f8a40c5450557b24622417fc478d:0x40236D
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- api: dup2
|
||||
- number: 0 = STDIN
|
||||
- number: 1 = STDOUT
|
||||
|
|
|
|||
|
|
@ -21,7 +21,9 @@ rule:
|
|||
- count(api(kernel32.GetProcAddress)): 5 or more
|
||||
- count(api(ntdll.LdrGetProcedureAddress)): 5 or more
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- match: link function at runtime on Linux
|
||||
- or:
|
||||
- count(api(dlsym)): 5 or more
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ rule:
|
|||
dynamic: call
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- api: getpid
|
||||
- api: getppid
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ rule:
|
|||
dynamic: call
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- api: getpwuid
|
||||
- api: getpwuid_r
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@ rule:
|
|||
- Execution::Shared Modules [T1129]
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- api: dlopen
|
||||
- api: dlmopen
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ rule:
|
|||
dynamic: thread
|
||||
features:
|
||||
- and:
|
||||
- os: linux
|
||||
- or:
|
||||
- os: linux
|
||||
- os: android
|
||||
- or:
|
||||
- api: pthread_setname_np
|
||||
- and:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue