add pyinstaller rule

This commit is contained in:
Jose Vila
2016-05-16 08:28:00 +02:00
parent 0a8b5c9ef7
commit 0fb0bb7ae3
+17
View File
@@ -0,0 +1,17 @@
/*
This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as long as you use it under this license.
*/
import "pe"
rule PE_File_pyinstaller
{
meta:
author = "Didier Stevens (https://DidierStevens.com)"
description = "Detect PE file produced by pyinstaller"
reference = "https://isc.sans.edu/diary/21057"
strings:
$a = "pyi-windows-manifest-filename"
condition:
pe.number_of_resources > 0 and $a
}