mirror of
https://github.com/Yara-Rules/rules
synced 2026-06-08 12:58:40 +00:00
add pyinstaller rule
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user