🤲🏼 NEW | abuse.ch Community Hub! Earn recognition 🏅 for the malware intelligence you share, climb the leaderboards 📈, and connect with like-minded contributors who share your hunting focus 🤝. Ready to unlock your profile? Go to the Community Hub →

YARAhub

You are currently viewing the YARAhub entry of the YARA rule SRLabs_PLR_JS_Payload_AnyVariant. Depending on the TLP classification of this YARA rule chosen by the author, further information about this YARA rule is available below.

YARA Rule Details: SRLabs_PLR_JS_Payload_AnyVariant


Rule name:SRLabs_PLR_JS_Payload_AnyVariant
Author:Nicolas Sprenger (Security Research Labs)
Description:Detects generic stealer.
Reference MD5: 2c1e5d6cade39b965275ac1b72e4d823
Likes: 0
Reference Link :n/a
Malpedia Family :n/a
Date added:2026-11-09
Rule Matching TLP :TLP:WHITE
Rule Sharing TLP :TLP:WHITE
License : https://creativecommons.org/licenses/by/4.0/
UUID: b5533d09-aa37-4cda-bba0-5e4ff1f5719f
Static hits:0
Unpacker hits:0

YARA Rule Content


The content of the YARA rule is shown below.

rule SRLabs_PLR_JS_Payload_AnyVariant {
    meta:
    name        = "SRLabs_PLR_JS_Payload_AnyVariant"
    category    = "Malware"
    description = "Detects generic stealer."
    author      = "Nicolas Sprenger (Security Research Labs)"
    date        = "2026-11-09"
    yarahub_license = "CC BY 4.0"
    yarahub_reference_md5 = "2c1e5d6cade39b965275ac1b72e4d823"
    yarahub_uuid = "b5533d09-aa37-4cda-bba0-5e4ff1f5719f"
    yarahub_rule_matching_tlp = "TLP:WHITE"
    yarahub_rule_sharing_tlp = "TLP:WHITE"

    strings:
    $hdr = " - build cache manifest. Restore from package-lock if corrupted. rev " ascii
    $rev = /rev [0-9]{4,5}\.[0-9][ \t\r\n]/ ascii nocase
    $xor_struct = /\];const _0x[0-9a-f]+=0x[0-9a-f]{2};const _0x[0-9a-f]+=\{\}/ ascii
    $atob = "atob(" ascii
    $gate = /if\(\(\d{2,3}\*\d{2,3}\)>=0\)\{/ ascii
        $dead_while = /let _0x[0-9a-f]+=\d{2,4};while\(_0x[0-9a-f]+>[0-9]{3,4}\)\{_0x[0-9a-f]+--;/ ascii
            $dead_map = /\[\d+,\d+,\d+\]\.map\(x=>x\^\d+\)\.filter\(x=>\(x&1\)===0\)\.length\+\d+/ ascii
            $padding = /rev [0-9]{4,5}\.[0-9][ \t\r\n][ ]{200,}const / ascii

            condition:
            filesize > 50KB and filesize < 400KB and
            $hdr and $rev and $xor_struct and $atob and $gate and
            (1 of ($dead_while, $dead_map, $padding))
        }
  

YARA Rule Matches


The following table shows the most recent files matching this particular YARA rule.

First seen (UTC)SHA256 hashStatic matchesUnpacker matches