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 dotnet limitation rule for dynamic samples #983

Merged
merged 4 commits into from
Feb 4, 2025
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions internal/limitation/dynamic/internal-dotnet-file-limitation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
rule:
meta:
name: (internal) .NET file limitation
namespace: internal/limitation/dynamic
authors:
- "@v1bh475u"
description: |
This dynamic analysis trace describes a .NET file.

capa rules are not yet tuned for the .NET runtime,
so its analysis may be incomplete or misleading.
scopes:
static: unsupported
dynamic: file
examples:
- 2f8a79b12a7a989ac7e5f6ec65050036588a92e65aeb6841e08dc228ff0e21b4_min_archive.zip
features:
- or:
- format: dotnet
- import: mscoree._CorExeMain
- import: mscoree._corexemain
- import: mscoree._CorDllMain
- import: mscoree._cordllmain
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rule:
meta:
name: (internal) autohotkey file limitation
namespace: internal/limitation/file
namespace: internal/limitation/static
authors:
- "@mr-tz"
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rule:
# capa will detect dozens of capabilities for AutoIt samples,
# but these are due to the AutoIt runtime, not the payload script.
# so, don't confuse the user with FP matches - bail instead
namespace: internal/limitation/file
namespace: internal/limitation/static
authors:
- william.ballenthin@mandiant.com
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rule:
meta:
name: (internal) .NET single file deployment limitation
namespace: internal/limitation/file
namespace: internal/limitation/static
authors:
- sara.rincon@mandiant.com
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ rule:
name: (internal) installer file limitation
# capa will likely detect installer specific functionality.
# this is probably not what the user wants.
namespace: internal/limitation/file
namespace: internal/limitation/static
authors:
- william.ballenthin@mandiant.com
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rule:
meta:
name: (internal) packer file limitation
namespace: internal/limitation/file
namespace: internal/limitation/static
authors:
- william.ballenthin@mandiant.com
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rule:
meta:
name: (internal) Visual Basic file limitation
namespace: internal/limitation/file
namespace: internal/limitation/static
authors:
- "@mr-tz"
description: |
Expand Down
Loading