Check Point · Vendor blog

Breaking the Seal: Static Deobfuscation of JSCeal’s Compiled V8 Bytecode

Published · Source: Check Point

4 entities4 ATT&CK behaviors137 indicators14 claims

Entities & attribution

  • Artifact

    winpty-agent.exe

    “winpty-agent.exe – an agent for a hidden Windows console ( open source )”

    Page 1 · Paragraph 25

  • Artifact

    winpty.dll

    “winpty.dll – a module that allows interaction with the hidden console …”

    Page 1 · Paragraph 26

  • Artifact

    node.exe

    “.\node.exe -r .\preflight.js .\app.jsc (the option -r forces Node to r…”

    Page 1 · Paragraph 32

  • Artifact

    chrome.exe

    “…ull, "serviceKeys": null, "msi": null} r8["executable"] = "chrome.exe" r9 = r1["join"] r8["userData"] = r9("AppData", "Local", …”

    Page 1 · Paragraph 359

MITRE ATT&CK behaviors

  • T1071.001 · Web Protocols

    Command and Control · C2 over HTTPS

    “…on, including keylogging, browser and credential theft, and HTTPS traffic interception through a local MITM proxy.”

    Page 1 · Paragraph 8

  • T1059.001 · PowerShell

    Execution · PowerShell execution

    “… that began with malvertising and were followed by multiple PowerShell scripts. The complete flow is illustrated below:”

    Page 1 · Paragraph 20

  • T1574.002 · DLL Side-Loading

    Defense Evasion · DLL sideloading

    “winpty.dll – a module that allows interaction with the hidden console …”

    Page 1 · Paragraph 26

  • T1055 · Process Injection

    Privilege Escalation · Process injection

    “…ugh byte-oriented printable-character handling, which could inject malformed output into string literals and break View8 downs…”

    Page 1 · Paragraph 46

Indicators of compromise

Claims & evidence

  • Reported Claim

    Breaking the Seal: Static Deobfuscation of JSCeal’s Compiled V8 Bytecode exhibits C2 over HTTPS (T1071.001)

    “…on, including keylogging, browser and credential theft, and HTTPS traffic interception through a local MITM proxy.”

    Page 1 · Paragraph 8

  • Reported Claim

    Breaking the Seal: Static Deobfuscation of JSCeal’s Compiled V8 Bytecode exhibits PowerShell execution (T1059.001)

    “… that began with malvertising and were followed by multiple PowerShell scripts. The complete flow is illustrated below:”

    Page 1 · Paragraph 20

  • Reported Claim

    Breaking the Seal: Static Deobfuscation of JSCeal’s Compiled V8 Bytecode exhibits DLL sideloading (T1574.002)

    “winpty.dll – a module that allows interaction with the hidden console …”

    Page 1 · Paragraph 26

  • Reported Claim

    Breaking the Seal: Static Deobfuscation of JSCeal’s Compiled V8 Bytecode exhibits Process injection (T1055)

    “…ugh byte-oriented printable-character handling, which could inject malformed output into string literals and break View8 downs…”

    Page 1 · Paragraph 46

  • Inferred Relationship

    C2 over HTTPS precedes PowerShell execution

    “… that began with malvertising and were followed by multiple PowerShell scripts. The complete flow is illustrated below:”

    Page 1 · Paragraph 20

  • Inferred Relationship

    PowerShell execution precedes DLL sideloading

    “winpty.dll – a module that allows interaction with the hidden console …”

    Page 1 · Paragraph 26

  • Inferred Relationship

    DLL sideloading precedes Process injection

    “…ugh byte-oriented printable-character handling, which could inject malformed output into string literals and break View8 downs…”

    Page 1 · Paragraph 46

  • Reported Claim

    10.2.154.26 used as network infrastructure

    “…in this research used a bundled Node.js runtime based on V8 10.2.154.26-node.25 . The distributed app.jsc was Brotli-compressed; af…”

    Page 1 · Paragraph 44

  • Reported Claim

    127.0.0.1 used as network infrastructure

    “"address" close "listen" "127.0.0.1" "createServer" pki rsa "generateKeyPair" "createCerti…”

    Page 1 · Paragraph 158

  • Reported Claim

    1.1.1.1 used as network infrastructure

    “…bal_n2() r1 = j7e["setServers"] r3 = new [0, 0] r3[0] = "1.1.1.1" r3[1] = "8.8.8.8" ACCU = r1(r3) ACCU = global_Soe(__fil…”

    Page 1 · Paragraph 231

  • Reported Claim

    8.8.8.8 used as network infrastructure

    “…"setServers"] r3 = new [0, 0] r3[0] = "1.1.1.1" r3[1] = "8.8.8.8" ACCU = r1(r3) ACCU = global_Soe(__filename) if (global_…”

    Page 1 · Paragraph 231

  • Reported Claim

    console.info used as network infrastructure

    “for (password of recoveredPasswords) { console.info("Trying password " + password)”

    Page 1 · Paragraph 409

  • Reported Claim

    resources.live.ledger.app used as network infrastructure

    “… handler intercepts /public_resources/analytics.min.js from resources.live.ledger.app and substitutes a generated script that hides the existing …”

    Page 1 · Paragraph 444

  • Lore Hypothesis

    Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant

    “…on, including keylogging, browser and credential theft, and HTTPS traffic interception through a local MITM proxy.”

    Page 1 · Paragraph 8