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

fix lints #795

Merged
merged 5 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ rule:
- match: link function at runtime on Windows
- or:
- api: kernel32.VirtualProtect
- api: ntdll.NtProtectVirtualMemory
- api: ntdll.ZwProtectVirtualMemory
- api: ntdll.NtProtectVirtualMemory # exported by only ntdll, not ntoskrnl
- api: ZwProtectVirtualMemory # exported by both ntdll and ntoskrnl
- string: "VirtualProtect"
- string: "NtProtectVirtualMemory"
- string: "ZwProtectVirtualMemory"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# generated using capa explorer for IDA Pro
rule:
meta:
name: detect VM via disk hardware WMI queries
name: detect VM via disk hardware WMI queries
namespace: anti-analysis/anti-vm/vm-detection
authors:
- [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ rule:
mbc:
- Defense Evasion::Obfuscated Files or Information::Encoding-Standard Algorithm [E1027.m02]
- Data::Encode Data::XOR [C0026.002]
examples:
- 9176F177BD88686C6BEB29D8BB05F20C:0x180001000
features:
- and:
- match: write file on Windows
Expand Down
2 changes: 0 additions & 2 deletions nursery/encrypt-data-using-aes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ rule:
references:
- https://github.com/JusticeRage/Manalyze/blob/8e77642c911d5d82b5f43b198667ab8c77a88763/bin/yara_rules/findcrypt.yara#L351
- https://github.com/creaktive/tsh/blob/53b822b9a07d8cc65f1f31c915cf834a2944e833/aes.c
examples:
- D6EFF9EFA6F93CDE95E7A4194C1BC6EE:0x180002F50
features:
- or:
- bytes: 63 7c 77 7b f2 6b 6f c5 30 01 67 2b fe d7 ab 76 = AES_SBOX_ENC
Expand Down
Loading