mirror of
https://github.com/mandiant/capa-rules
synced 2026-06-08 15:41:20 +00:00
c1d20764ad
* 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>
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
rule:
|
|
meta:
|
|
name: create thread
|
|
namespace: host-interaction/thread/create
|
|
authors:
|
|
- moritz.raabe@mandiant.com
|
|
- michael.hunhoff@mandiant.com
|
|
- joakim@intezer.com
|
|
- anushka.virgaonkar@mandiant.com
|
|
scopes:
|
|
static: basic block
|
|
dynamic: span of calls
|
|
mbc:
|
|
- Process::Create Thread [C0038]
|
|
examples:
|
|
- 946A99F36A46D335DEC080D9A4371940:0x10001DA0
|
|
- B5F85C26D7AA5A1FB4AF5821B6B5AB9B:0x408020
|
|
features:
|
|
- or:
|
|
- and:
|
|
- os: windows
|
|
- or:
|
|
- api: kernel32.CreateThread
|
|
- api: _beginthread
|
|
- api: _beginthreadex
|
|
- api: PsCreateSystemThread
|
|
- api: SHCreateThread
|
|
- api: SHCreateThreadWithHandle
|
|
- api: kernel32.CreateRemoteThread
|
|
- api: kernel32.CreateRemoteThreadEx
|
|
- api: RtlCreateUserThread
|
|
- api: ntdll.NtCreateThread
|
|
- api: ntdll.NtCreateThreadEx
|
|
- api: ntdll.ZwCreateThread
|
|
- api: ntdll.ZwCreateThreadEx
|
|
- and:
|
|
- or:
|
|
- os: linux
|
|
- os: android
|
|
- api: pthread_create
|
|
- and:
|
|
- api: System.Threading.Thread::Start
|
|
- optional:
|
|
- api: System.Threading.Thread::ctor
|