mirror of
https://github.com/vee1e/capa-rules.git
synced 2026-09-03 11:57:25 +00:00
* 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 <mike.hunhoff@gmail.com> * Update anti-analysis/anti-vm/vm-detection/check-for-windows-sandbox-via-device.yml Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com> * Update collection/get-geographical-location.yml Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com> * Update collection/file-managers/gather-classicftp-information.yml Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com> * Update collection/database/wmi/reference-wmi-statements.yml Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com> * Update collection/database/sql/reference-sql-statements.yml Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com> --------- Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
31 lines
994 B
YAML
31 lines
994 B
YAML
rule:
|
|
meta:
|
|
name: get networking interfaces
|
|
namespace: host-interaction/network/interface
|
|
authors:
|
|
- moritz.raabe@mandiant.com
|
|
- joakim@intezer.com
|
|
- anushka.virgaonkar@mandiant.com
|
|
scopes:
|
|
static: function
|
|
dynamic: span of calls
|
|
att&ck:
|
|
- Discovery::System Network Configuration Discovery [T1016]
|
|
examples:
|
|
- B7841B9D5DC1F511A93CC7576672EC0C:0x1000EBF0
|
|
features:
|
|
- or:
|
|
- and:
|
|
- os: windows
|
|
- api: iphlpapi.GetIfTable
|
|
- api: iphlpapi.GetAdaptersInfo
|
|
- and:
|
|
- os: linux
|
|
- api: getifaddrs
|
|
- and:
|
|
- or:
|
|
- api: System.Net.NetworkInformation.NetworkInterface::GetIPProperties
|
|
- api: System.Net.NetworkInformation.NetworkInterface::GetIPStatistics
|
|
- api: System.Net.NetworkInformation.NetworkInterface::GetIPv4Statistics
|
|
- optional:
|
|
- api: System.Net.NetworkInformation.NetworkInterface::GetAllNetworkInterfaces
|