use "span of calls" scope (#973)

* use sequence scope instead of thread scope for "static: function" rules

* use sequence scope instead of thread scope for "static: basic block" rules

* make runtime linking rules more concise

* doc: describe sequence scope

* rename "sequence" scope to "span of calls" scope

* Update anti-analysis/anti-av/check-for-sandbox-and-av-modules.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update anti-analysis/anti-vm/vm-detection/check-for-windows-sandbox-via-device.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update collection/get-geographical-location.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update collection/file-managers/gather-classicftp-information.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update collection/database/wmi/reference-wmi-statements.yml

Co-authored-by: Mike Hunhoff <[email protected]>

* Update collection/database/sql/reference-sql-statements.yml

Co-authored-by: Mike Hunhoff <[email protected]>

---------

Co-authored-by: Mike Hunhoff <[email protected]>
This commit is contained in:
Willi Ballenthin
2025-01-29 10:27:13 +01:00
committed by GitHub
co-authored by Mike Hunhoff
parent b4e0c8cdf8
commit c1d20764ad
364 changed files with 438 additions and 410 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Execution::Command and Scripting Interpreter::Windows Command Shell [T1059.003]
mbc:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: basic block
dynamic: thread
dynamic: call
mbc:
- Anti-Behavioral Analysis::Virtual Machine Detection [B0009]
- Anti-Behavioral Analysis::Sandbox Detection [B0007]
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Impair Defenses::Disable or Modify Tools [T1562.001]
mbc:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Impair Defenses::Disable or Modify Tools [T1562.001]
mbc:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Impair Defenses::Disable or Modify Tools [T1562.001]
mbc:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: basic block
dynamic: thread
dynamic: span of calls
mbc:
- Anti-Behavioral Analysis::Debugger Detection::OutputDebugString [B0001.016]
examples:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
mbc:
- Anti-Behavioral Analysis::Debugger Detection::SetHandleInformation [B0001.024]
references:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
mbc:
- Anti-Behavioral Analysis::Debugger Detection::Timing/Delay Check QueryPerformanceCounter [B0001.033]
examples:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
mbc:
- Anti-Behavioral Analysis::Debugger Detection [B0001]
references:
@@ -7,7 +7,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Debugger Evasion [T1622]
mbc:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Indicator Removal::Clear Windows Event Logs [T1070.001]
examples:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: basic block
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Impair Defenses::Disable Windows Event Logging [T1562.002]
references:
@@ -7,7 +7,7 @@ rule:
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.
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Indicator Removal [T1070]
references:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Indicator Removal::File Deletion [T1070.004]
mbc:
@@ -7,7 +7,7 @@ rule:
- "@mr-tz"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Indicator Removal::File Deletion [T1070.004]
mbc:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Indicator Removal::Timestomp [T1070.006]
examples:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
@@ -7,7 +7,7 @@ rule:
- "[email protected]"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion [T1497]
mbc:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: basic block
dynamic: thread
dynamic: call
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
@@ -7,7 +7,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
@@ -7,7 +7,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Defense Evasion::Virtualization/Sandbox Evasion::System Checks [T1497.001]
mbc:
@@ -7,7 +7,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores::Windows Credential Manager [T1555.004]
examples:
@@ -7,7 +7,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores::Credentials from Web Browsers [T1555.003]
examples:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: call
att&ck:
- Collection::Data from Information Repositories [T1213]
examples:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: call
att&ck:
- Collection::Data from Information Repositories [T1213]
examples:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: call
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
examples:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
examples:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
examples:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
examples:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
examples:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Credential Access::Credentials from Password Stores [T1555]
references:
+1 -1
View File
@@ -8,7 +8,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: call
att&ck:
- Discovery::System Location Discovery [T1614]
examples:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Discovery::Group Policy Discovery [T1615]
examples:
+1 -1
View File
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Collection::Input Capture::Keylogging [T1056.001]
examples:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Collection::Audio Capture [T1123]
examples:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: basic block
dynamic: thread
dynamic: span of calls
att&ck:
- Discovery::System Network Configuration Discovery [T1016]
examples:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Discovery::Network Sniffing [T1040]
references:
+1 -1
View File
@@ -7,7 +7,7 @@ rule:
- "[email protected]"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Discovery::System Network Configuration Discovery [T1016]
examples:
@@ -6,7 +6,7 @@ rule:
- johnk3r
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Discovery::Domain Trust Discovery [T1482]
examples:
@@ -8,7 +8,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Discovery::System Information Discovery [T1082]
references:
@@ -6,7 +6,7 @@ rule:
- "@_re_fox"
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Collection::Screen Capture [T1113]
mbc:
+1 -1
View File
@@ -8,7 +8,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Collection::Screen Capture [T1113]
mbc:
+1 -1
View File
@@ -6,7 +6,7 @@ rule:
- johnk3r
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Collection::Video Capture [T1125]
examples:
@@ -7,7 +7,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Command and Control::Ingress Tool Transfer [T1105]
mbc:
@@ -7,7 +7,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
mbc:
- Execution::Install Additional Program [B0023]
examples:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Execution::Command and Scripting Interpreter::Unix Shell [T1059.004]
mbc:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Execution::Command and Scripting Interpreter::Windows Command Shell [T1059.003]
mbc:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Execution::Command and Scripting Interpreter::Windows Command Shell [T1059.003]
references:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
att&ck:
- Execution::Command and Scripting Interpreter::Unix Shell [T1059.004]
examples:
@@ -7,7 +7,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
mbc:
- Communication::FTP Communication::Send File [C0004.001]
- Communication::FTP Communication::WinINet [C0004.002]
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
mbc:
- Communication::HTTP Communication::Connect to Server [C0002.009]
examples:
+1 -1
View File
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
mbc:
- Communication::HTTP Communication::Open URL [C0002.004]
examples:
@@ -7,7 +7,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
mbc:
- Communication::HTTP Communication::Create Request [C0002.012]
examples:
@@ -6,7 +6,7 @@ rule:
- [email protected]
scopes:
static: function
dynamic: thread
dynamic: span of calls
mbc:
- Communication::HTTP Communication::Get Response [C0002.017]
examples:

Some files were not shown because too many files have changed in this diff Show More