Open mr-tz opened 5 months ago
Dear @mr-tz ,
I found errors that brought me back to this page. The errors are these:
ERROR:capa.features.extractors.cape.extractor:capa currently only supports PE target files, this target file's type is: 'Composite Document File V2 Document, Little Endian, Os: Windows, Version 10.0, MSI Installer, Security: 0, Code page: 1252, Revision Number: {61446857-88E0-42BA-9333-2C1F5E61F834}, Number of Words: 10, Subject: scrapper, Author: scrapper, Name of Creating Application: scrapper, Template: ;1033, Title: Installation Database, Keywords: Installer, MSI, Database, Create Time/Date: Wed Feb 21 01:46:35 2024, Last Saved Time/Date: Wed Feb 21 01:46:35 2024, Last Printed: Wed Feb 21 01:46:35 2024, Number of Pages: 450'. feb 23 10:43:44 capev2sandbox python3[45107]: Please report this at: https://github.com/mandiant/capa/issues/1933 feb 23 10:43:44 capev2sandbox python3[45107]: 2024-02-23 10:43:44,275 [Task 10] [capa.features.extractors.cape.extractor] ERROR: capa currently only supports PE target files, this target file's type is: 'Composite Document File V2 Document, Little Endian, Os: Windows, Version 10.0, MSI Installer, Security: 0, Code page: 1252, Revision Number: {61446857-88E0-42BA-9333-2C1F5E61F834}, Number of Words: 10, Subject: scrapper, Author: scrapper, Name of Creating Application: scrapper, Template: ;1033, Title: Installation Database, Keywords: Installer, MSI, Database, Create Time/Date: Wed Feb 21 01:46:35 2024, Last Saved Time/Date: Wed Feb 21 01:46:35 2024, Last Printed: Wed Feb 21 01:46:35 2024, Number of Pages: 450'. feb 23 10:43:44 capev2sandbox python3[45107]: Please report this at: https://github.com/mandiant/capa/issues/1933
do you know how the problem can be solved?
Hey, thanks for the info! There's a few architectural/plumbing changes we have to make to support more file types. Supporting documents could be an interesting research project as part of this. Unfortunately, currently I think it's not a quick fix we can provide unless someone from the community steps up to work on this.
Hi, I'm using CAPEv2 and I've this error: [capa.features.extractors.cape.extractor] ERROR: capa currently only supports PE target files, this target file's type is: 'EICAR virus test files'.
.
Does this means that I can only analyze PE files?
That is correct.
The current dynamic extractor focuses on PEs, CAPE sandbox supports other types which should be added down the road.
There's several requirements on the target file type, including:
capa.features.extractors.cape.global_.extract_format
capa.features.extractors.cape.global_.extract_arch
capa.features.extractors.cape.file.extract_import_names
(and many more here)reference: https://github.com/mandiant/capa/issues/1880