Sponsored by Hudson Rock Use Hudson Rock's free cybercrime intelligence tools to learn how Infostealer infections are leading to ransomware attacks

Enjoying ransomware.live? Help us keep tracking ransomware gangs and shipping new features. Support us

YARA Rule: lockbit.yar

Group: Lockbit
Valid Rule

/*
LockBit ransomware (v1)
*/

rule LockBit_Ransomnote
{
    meta:
        author = "ransomware.live"
        family = "ransomware.lockbit"
        description = "Detects LockBit v1 ransom note (RESTORE-MY-FILES.txt)"
        date = "2026-05-04"
        severity = 7
        score = 70

    strings:
        $note = "RESTORE-MY-FILES.txt" ascii nocase
        $brand = "LockBit Ransomware" ascii nocase
        $ext = ".abcd" ascii

    condition:
        2 of them
}

rule LockBit_PE
{
    meta:
        author = "ransomware.live"
        family = "ransomware.lockbit"
        description = "Detects LockBit v1 ransomware executable"
        date = "2026-05-04"
        severity = 9
        score = 90

    strings:
        $s1 = "RESTORE-MY-FILES" ascii wide
        $s2 = "LockBit" ascii wide
        $s3 = "\x00--path\x00" ascii

    condition:
        uint16(0) == 0x5A4D and 2 of them
}