Skip to content

Commit

Permalink
Update PyInstaller.yar
Browse files Browse the repository at this point in the history
  • Loading branch information
bartblaze authored Dec 28, 2023
1 parent f8a9597 commit 6903a4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rules/generic/PyInstaller.yar
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ rule PyInstaller
version = "1.0"
creation_date = "2020-01-01"
first_imported = "2021-12-30"
last_modified = "2021-12-30"
last_modified = "2023-12-28"
status = "RELEASED"
sharing = "TLP:WHITE"
source = "BARTBLAZE"
author = "@bartblaze"
description = "Identifies executable converted using PyInstaller."
category = "MALWARE"
category = "INFO"

strings:
$ = "pyi-windows-manifest-filename" ascii wide
Expand All @@ -24,4 +24,4 @@ rule PyInstaller
condition:
uint16(0)==0x5a4d and any of them or ( for any i in (0..pe.number_of_resources-1) : (pe.resources[i].type==pe.RESOURCE_TYPE_ICON and hash.md5(pe.resources[i].offset,pe.resources[i].length)=="20d36c0a435caad0ae75d3e5f474650c"))
}
}

0 comments on commit 6903a4c

Please sign in to comment.