Files
mandiant-capa-rules/nursery/invoke-dotnet-assembly-method.yml
Yacine Elhamer 0aea484e04 updated rules
2023-08-21 19:14:45 +02:00

29 lines
881 B
YAML

rule:
meta:
name: invoke .NET assembly method
namespace: load-code/dotnet
authors:
- anushka.virgaonkar@mandiant.com
scopes:
static: function
dynamic: process
att&ck:
- Defense Evasion::Reflective Code Loading [T1620]
features:
- and:
- or:
- api: System.Reflection.Assembly::GetType
- api: System.Reflection.Assembly::GetTypes
- api: System.Object::GetType
- or:
- api: System.Type::GetMethod
- api: System.Type::GetMethodImpl
- api: System.Type::GetMethods
- or:
- api: System.Delegate::DynamicInvoke
- api: System.Delegate::DynamicInvokeImpl
- api: System.Reflection.MethodBase::Invoke
- api: System.Type::InvokeMember
- api: System.Reflection.ConstructorInfo::Invoke
- api: System.Reflection.MethodInfo::Invoke