diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c25aaf1b..1cccb2222 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Change Log ## master (unreleased) +- Emit "dotnet" as format to ResultDocument when processing .NET files #2024 @samadpls ### New Features diff --git a/capa/features/extractors/dotnetfile.py b/capa/features/extractors/dotnetfile.py index ca94b26b5..75bf32dcb 100644 --- a/capa/features/extractors/dotnetfile.py +++ b/capa/features/extractors/dotnetfile.py @@ -49,8 +49,8 @@ def extract_file_format(**kwargs) -> Iterator[Tuple[Format, Address]]: - yield Format(FORMAT_PE), NO_ADDRESS yield Format(FORMAT_DOTNET), NO_ADDRESS + yield Format(FORMAT_PE), NO_ADDRESS def extract_file_import_names(pe: dnfile.dnPE, **kwargs) -> Iterator[Tuple[Import, Address]]: