-
Notifications
You must be signed in to change notification settings - Fork 177
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
akh7177
wants to merge
8
commits into
mandiant:master
Choose a base branch
from
akh7177:rename-arch-specific-rules
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
1217201
Rename architecture-specific rules and update rule names inside YAML …
akh7177 a87eb3e
Revert non-x86-specific rules to original names and correctly mark x8…
akh7177 85bb79d
Fix rule logic for get-ntoskrnl-base-address-via-x86-assembly.yml
akh7177 f091b61
Merge branch 'mandiant:master' into rename-arch-specific-rules
akh7177 654180d
Rename architecture-specific rules and fix logic for get-ntoskrnl-bas…
akh7177 ec3e955
Rename architecture-specific rules and fix logic for get-ntoskrnl-bas…
akh7177 aa5764f
Merge branch 'mandiant:master' into rename-arch-specific-rules
akh7177 5f55ee4
Rename architecture-specific rules and update rule name and match fea…
akh7177 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ction/check-for-peb-ntglobalflag-flag.yml → ...eb-ntglobalflag-flag-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...tection/check-for-trap-flag-exception.yml → ...-trap-flag-exception-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...n/execute-anti-debugging-instructions.yml → ...bugging-instructions-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...asm/64-bit-execution-via-heavens-gate.yml → ...ion-via-heavens-gate-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...ackets-callback-function-via-wsaioctl.yml → ...unction-via-wsaioctl-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...ksum/adler32/compute-adler32-checksum.yml → ...ute-adler32-checksum-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...yption/rc4/encrypt-data-using-rc4-ksa.yml → ...t-data-using-rc4-ksa-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...ption/rc4/encrypt-data-using-rc4-prga.yml → ...-data-using-rc4-prga-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...t-data-using-rsa-via-embedded-library.yml → ...via-embedded-library-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hardware/cpu/get-number-of-processors.yml → ...number-of-processors-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
namespace: host-interaction/hardware/cpu | ||
authors: | ||
- [email protected] | ||
|
2 changes: 1 addition & 1 deletion
2
...eraction/process/get-process-filename.yml → ...get-process-filename-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...action/process/get-process-heap-flags.yml → ...t-process-heap-flags-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
.../process/get-process-heap-force-flags.yml → ...ess-heap-force-flags-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...calculate-modulo-256-via-x86-assembly.yml → ...256-via-x86-assembly-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
2 changes: 1 addition & 1 deletion
2
lib/contain-pusha-popa-sequence.yml → ...-pusha-popa-sequence-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
2 changes: 1 addition & 1 deletion
2
...g/runtime-linking/access-peb-ldr_data.yml → .../access-peb-ldr_data-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...ime-linking/get-kernel32-base-address.yml → ...ernel32-base-address-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...untime-linking/get-ntdll-base-address.yml → ...t-ntdll-base-address-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
nursery/execute-syscall.yml → nursery/execute-syscall-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ery/hook-routines-via-dlsym-rtld_next.yml → ...-via-dlsym-rtld_next-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
2 changes: 1 addition & 1 deletion
2
...ence-processor-manufacturer-constants.yml → ...nufacturer-constants-via-x86-assembly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad! I oversaw the last statement. Will revert it back