This detection rule identifies early-stage Pico ransomware activity by monitoring for specific file encryption patterns and process execution anomalies indicative of its initial infection phase. Proactive hunting in Azure Sentinel is essential to validate these low-severity alerts against baseline behavior, ensuring that potential lateral movement or data exfiltration associated with Pico is identified before significant business disruption occurs.
rule pico_ransomware {
meta:
description = "Rule to detect Pico Ransomware"
author = "Marc Rivero | @seifreed"
reference = "https://twitter.com/siri_urz/status/1035138577934557184"
strings:
$s1 = "C:\\Users\\rikfe\\Desktop\\Ransomware\\ThanatosSource\\Release\\Ransomware.pdb" fullword ascii
$s2 = "\\Downloads\\README.txt" fullword ascii
$s3 = "\\Music\\README.txt" fullword ascii
$s4 = "\\Videos\\README.txt" fullword ascii
$s5 = "\\Pictures\\README.txt" fullword ascii
$s6 = "\\Desktop\\README.txt" fullword ascii
$s7 = "\\Documents\\README.txt" fullword ascii
$s8 = "/c taskkill /im " fullword ascii
$s9 = "\\AppData\\Roaming\\" fullword ascii
$s10 = "gMozilla/5.0 (Windows NT 6.1) Thanatos/1.1" fullword wide
$s11 = "AppData\\Roaming" fullword ascii
$s12 = "\\Downloads" fullword ascii
$s13 = "operator co_await" fullword ascii
condition:
( uint16(0) == 0x5a4d and filesize < 700KB ) and all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 13 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the Pico Ransomware detection rule in an enterprise environment, along with suggested filters or exclusions:
Enterprise Backup Agent Scanning Operations
svc-veeam-backup, commvault-agent) and restrict detection to non-business hours if the backup schedule is known, or exclude paths matching standard backup staging directories (e.g., C:\VeeamBackup\ or /mnt/backup_staging).Antivirus Real-Time Scanning and Quarantine
C:\Program Files\CrowdStrike\cs.exe, MsMpEng.exe) and filter out alerts originating from specific “Quarantine” or “Scan” sub-processes that do not involve user-initiated file access.**Scheduled System Maintenance and Patch