Created
January 6, 2022 10:33
-
-
Save tlansec/4be4e92cbbd3354cf53386ef6edf0676 to your computer and use it in GitHub Desktop.
Use with -D flag to dump PE metadata about a file, I have an alias of "pe_yara=yara -D $*" so I can just run "pe_yara -D foo.bin"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "pe" | |
rule always_false | |
{ | |
condition: | |
false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment