Sponsored by Hudson Rock – Use Hudson Rock's free cybercrime intelligence tools to learn how Infostealer infections are leading to ransomware attacks
pysa.yar/*
PYSA / Mespinoza ransomware
*/
rule PYSA_Ransomnote
{
meta:
author = "ransomware.live"
family = "ransomware.pysa"
description = "Detects PYSA / Mespinoza ransom note"
date = "2026-05-04"
severity = 7
score = 70
strings:
$s1 = "readme.README" ascii nocase
$s2 = "PYSA" ascii
$s3 = "camplejohn@tutamail" ascii nocase
$s4 = "hello@pysa" ascii nocase
$s5 = ".pysa" ascii
condition:
any of them
}
rule PYSA_PE
{
meta:
author = "ransomware.live"
family = "ransomware.pysa"
description = "Detects PYSA ransomware executable"
date = "2026-05-04"
severity = 9
score = 90
strings:
$s1 = "PYSA" ascii wide
$s2 = "Mespinoza" ascii nocase
$s3 = "readme.README" ascii
condition:
uint16(0) == 0x5A4D and 2 of them
}