mandiant / capa-rules

Standard collection of rules for capa: the tool for enumerating the capabilities of programs
https://github.com/mandiant/capa/
Apache License 2.0
531 stars 160 forks source link

discussion: organizing Android/mobile focused capa rules #850

Open mike-hunhoff opened 11 months ago

mike-hunhoff commented 11 months ago
          Collecting my thoughts here but happy to spin off separate issues/discussions.

related discussion: https://github.com/mandiant/capa/discussions/701 (Rule organization for multiple file types PE and ELF)

Originally posted by @mr-tz in https://github.com/mandiant/capa-rules/issues/824#issuecomment-1757162927

williballenthin commented 11 months ago

for (2), the files would be placed in the existing directories but the namespaces would not exactly match the directory?

williballenthin commented 11 months ago

as we discuss here, let's keep in mind there are other dimensions as well, like arch and format. these are probably less selective/important than OS, but i wonder if conceptually they're the same, or we should give more stock to OS (such as by codifying its location in the namespace).

mr-tz commented 11 months ago

Hm, interesting idea to use the namespace here more. Alternatively, we could add a new meta field (or fields) that specify os/format/arch? Like windows/pe/i386 or android/elf/amd64...