mirror of
https://github.com/Yara-Rules/rules
synced 2026-06-08 12:58:40 +00:00
18 lines
533 B
Plaintext
18 lines
533 B
Plaintext
/*
|
|
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
|
|
}
|