Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 847 Bytes

YaraSearch.md

File metadata and controls

30 lines (17 loc) · 847 Bytes

YaraSearch.py

This Ghidra script provides a YARA search. It will place a PRE_COMMENT at the location of each match. It will set bookmarks for each match.

Dependencies

Issues

  • If matches are found in code which are not at instruction boundaries a comment can not be set; bookmark for match is still set, though

Usage

Just run the script and select a YARA rule file (.yar). Get some rules from:

Example:

Load your systems local libcrypt.so and scan it with https://github.com/Yara-Rules/rules/blob/master/Crypto/crypto_signatures.yar

Example of YaraSearch.py annotation in Ghidra