Skip to content

add "capa diff" to compare capability deltas between two samples #2957

@akshat4703

Description

@akshat4703

Comparing two binaries with capa currently requires manual output comparison. For malware variant analysis and regression checks, this is slow and easy to get wrong.

Could we add a capa diff workflow that compares two samples (or two JSON outputs) and reports capabilities that were added/removed, with optional ATT&CK/MBC deltas when available? A v1 could focus on normalized capability-name deltas only, with text and JSON output.

Example UX:

  • capa diff old.bin new.bin
  • capa diff old.json new.json --from-json

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions