Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename architecture-specific rules and update rule names inside YAML files #1011

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: check for PEB NtGlobalFlag flag
name: check for PEB NtGlobalFlag flag via x86 assembly
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: check for trap flag exception
name: check for trap flag exception via x86 assembly
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: execute anti-debugging instructions
name: execute anti-debugging instructions via x86 assembly
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: 64-bit execution via heavens gate
name: 64-bit execution via heavens gate via x86 assembly
namespace: anti-analysis/anti-disasm
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: obtain TransmitPackets callback function via WSAIoctl
name: obtain TransmitPackets callback function via WSAIoctl via x86 assembly
namespace: communication/socket/tcp/send
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: compute adler32 checksum
name: compute adler32 checksum via x86 assembly
namespace: data-manipulation/checksum/adler32
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: encrypt data using RC4 KSA
name: encrypt data using RC4 KSA via x86 assembly
namespace: data-manipulation/encryption/rc4
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: encrypt data using RC4 PRGA
name: encrypt data using RC4 PRGA via x86 assembly
namespace: data-manipulation/encryption/rc4
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: encrypt data using RSA via embedded library
name: encrypt data using RSA via embedded library via x86 assembly
namespace: data-manipulation/encryption/rsa
authors:
- "Ana06"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: get number of processors
name: get number of processors via x86 assembly
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is branch that does not use x86 assembly, please revert.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is branch that does not use x86 assembly, please revert.

My bad! I oversaw the last statement. Will revert it back

namespace: host-interaction/hardware/cpu
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: get process filename
name: get process filename via x86 assembly
namespace: host-interaction/process
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: get process heap flags
name: get process heap flags via x86 assembly
namespace: host-interaction/process
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: get process heap force flags
name: get process heap force flags via x86 assembly
namespace: host-interaction/process
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: calculate modulo 256 via x86 assembly
name: calculate modulo 256 via x86 assembly via x86 assembly
authors:
- [email protected]
lib: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: contain pusha popa sequence
name: contain pusha popa sequence via x86 assembly
authors:
- [email protected]
lib: true
Expand Down
2 changes: 1 addition & 1 deletion lib/peb-access.yml → lib/peb-access-via-x86-assembly.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: PEB access
name: PEB access via x86 assembly
authors:
- [email protected]
lib: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: access PEB ldr_data
name: access PEB ldr_data via x86 assembly
namespace: linking/runtime-linking
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: get kernel32 base address
name: get kernel32 base address via x86 assembly
namespace: linking/runtime-linking
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: get ntdll base address
name: get ntdll base address via x86 assembly
namespace: linking/runtime-linking
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: execute syscall
name: execute syscall via x86 assembly
namespace: anti-analysis
authors:
- "@kulinacs"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
rule:
meta:
name: get ntoskrnl base address
name: get ntoskrnl base address via x86 assembly
namespace: linking/runtime-linking
authors:
- "@mr-tz"
- "@akh7177"
scopes:
static: function
dynamic: unsupported # requires offset features
Expand All @@ -19,9 +20,11 @@ rule:
- description: returns RTL_PROCESS_MODULES structure
- number: 0xB = SystemModuleInformation
- match: get system information on Windows
- and:
- arch: i386
- offset: 0xC = RTL_PROCESS_MODULES.Modules[0].ImageBase
- and:
- arch: amd64
- offset: 0x18 = RTL_PROCESS_MODULES.Modules[0].ImageBase
- or:
- and:
- arch: i386
- offset: 0xC = RTL_PROCESS_MODULES.Modules[0].ImageBase
- and:
- arch: amd64
- offset: 0x18 = RTL_PROCESS_MODULES.Modules[0].ImageBase

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: hook routines via dlsym RTLD_NEXT
name: hook routines via dlsym RTLD_NEXT via x86 assembly
namespace: linking/hooking
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule:
meta:
name: reference processor manufacturer constants
name: reference processor manufacturer constants via x86 assembly
namespace: anti-analysis/anti-vm/vm-detection
authors:
- [email protected]
Expand Down
Loading