Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 2.65 KB

README.md

File metadata and controls

43 lines (30 loc) · 2.65 KB

capa2yara

Rules from Fireeyes https://github.com/fireeye/capa-rules converted to YARA using capa2yara.py (will probaly end up on https://github.com/fireeye/capa/blob/master/scripts/capa2yara.py).

Advantages:

Disadvantages:

  • These are less rules than capa (because not all fit into YARA, see stats below) and is less precise because e.g. capas function scopes are applied to the whole file.
  • Some rules are incomplete because an optional branch was not supported by YARA. These rules are marked in a comment in meta: (search for "incomplete").

Stats

  • Converted rules : 403
  • Among those are incomplete : 20
  • Unconverted rules : 149

Meta data

Rule authors and license stay the same.

att&ck and MBC tags are put into YARA rule tags. All rules are tagged with "CAPA" for easy filtering.

The date = in meta: is the date of converting (there is no date in capa rules).

Minimum YARA version is 3.8.0 plus PE module.

TODO

All rules which couldn't be converted are in here

These are technically possible but not done yet:

Author

arnim rupp