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

Add dynamic capa rules #816

Closed
wants to merge 1 commit into from
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-av
authors:
- jakub.jozwiak@mandiant.com
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Impair Defenses::Disable or Modify Tools [T1562.001]
mbc:
Expand Down
4 changes: 3 additions & 1 deletion anti-analysis/anti-av/check-for-sandbox-and-av-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-av
authors:
- "@_re_fox"
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Virtual Machine Detection [B0009]
- Anti-Behavioral Analysis::Sandbox Detection [B0007]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-av
authors:
- jakub.jozwiak@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Impair Defenses::Indicator Blocking [T1562.006]
mbc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-av
authors:
- jakub.jozwiak@mandiant.com
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Impair Defenses::Disable or Modify Tools [T1562.001]
mbc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ rule:
authors:
- michael.hunhoff@mandiant.com
- anushka.virgaonkar@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::CheckRemoteDebuggerPresent [B0001.002]
- Anti-Behavioral Analysis::Debugger Detection::WudfIsAnyDebuggerPresent [B0001.031]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::Hardware Breakpoints [B0001.005]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection [B0001]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::OutputDebugString [B0001.016]
examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- moritz.raabe@mandiant.com
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::Process Environment Block BeingDebugged [B0001.035]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- moritz.raabe@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::Process Environment Block NtGlobalFlag [B0001.036]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::SetHandleInformation [B0001.024]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::Software Breakpoints [B0001.025]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::Timing/Delay Check GetTickCount [B0001.032]
examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::Timing/Delay Check QueryPerformanceCounter [B0001.033]
examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection [B0001]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::Memory Write Watching [B0001.010]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection [B0001]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- michael.hunhoff@mandiant.com
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::NtQueryInformationProcess [B0001.012]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-debugging/debugger-detection
authors:
- moritz.raabe@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Behavioral Analysis::Debugger Detection::Anti-debugging Instructions [B0001.034]
examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ rule:
authors:
- michael.hunhoff@mandiant.com
- jakub.jozwiak@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Debugger Evasion [T1622]
mbc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ rule:
authors:
- awillia2@cisco.com
description: Looks for instructions related to executing 64-bit code from a 32-bit process (Heaven's Gate)
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Defense Evasion::Disable or Evade Security Tools::Heavens Gate [F0004.008]
references:
Expand Down
4 changes: 3 additions & 1 deletion anti-analysis/anti-disasm/contain-anti-disasm-techniques.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-disasm
authors:
- moritz.raabe@mandiant.com
scope: file
scopes:
static: file
dynamic: unspecified # rule hasn't been migrated yet
mbc:
- Anti-Static Analysis::Disassembler Evasion [B0012]
examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-emulation/wine
authors:
- "@_re_fox"
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-forensic/clear-logs
authors:
- michael.hunhoff@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Indicator Removal::Clear Windows Event Logs [T1070.001]
examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-forensic
authors:
- michael.hunhoff@mandiant.com
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Impair Defenses::Disable Windows Event Logging [T1562.002]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ rule:
authors:
- awillia2@cisco.com
description: Looks for Windows API calls associated with reading and then writing file version information of executables on disk. Malware can use these calls to overwrite its own version information with that of a legitimate executable on the system (for instance, explorer.exe) to make it appear to be a legitimate application.
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Indicator Removal [T1070]
references:
Expand Down
4 changes: 3 additions & 1 deletion anti-analysis/anti-forensic/patch-process-command-line.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ rule:
authors:
- william.ballenthin@mandiant.com
- "@_re_fox"
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Process Injection [T1055]
mbc:
Expand Down
4 changes: 3 additions & 1 deletion anti-analysis/anti-forensic/self-deletion/self-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ rule:
authors:
- michael.hunhoff@mandiant.com
- "@mr-tz"
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Indicator Removal::File Deletion [T1070.004]
mbc:
Expand Down
4 changes: 3 additions & 1 deletion anti-analysis/anti-forensic/spoof-parent-pid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ rule:
namespace: anti-analysis/anti-forensic
authors:
- michael.hunhoff@mandiant.com
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Access Token Manipulation::Parent PID Spoofing [T1134.004]
references:
Expand Down
4 changes: 3 additions & 1 deletion anti-analysis/anti-forensic/timestomp/timestomp-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-forensic/timestomp
authors:
- moritz.raabe@mandiant.com
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Indicator Removal::Timestomp [T1070.006]
examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ rule:
authors:
- ervin.ocampo@mandiant.com
description: Detect usage of GetForegroundWindow and Sleep APIs to check if there is any foreground window switch. Typically, sandboxes do not switch the foreground window like a user would in a normal environment.
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::User Activity Based Checks [T1497.002]
references:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-vm/vm-detection
authors:
- "@_re_fox"
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ rule:
authors:
- "@_re_fox"
- "echernofsky@google.com"
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion [T1497]
mbc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-vm/vm-detection
authors:
- BitsOfBinary
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::User Activity Based Checks [T1497.002]
mbc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-vm/vm-detection
authors:
- "@_re_fox"
scope: basic block
scopes:
static: basic block
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rule:
namespace: anti-analysis/anti-vm/vm-detection
authors:
- "@_re_fox"
scope: function
scopes:
static: function
dynamic: unspecified # rule hasn't been migrated yet
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
Expand Down
Loading