Skip to content

Commit aded675

Browse files
Adding jscrambler npm supply chain attack detection case
1 parent bc43378 commit aded675

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
title: Execution Of Binary Dropped By Compromised Jscrambler Npm Package
2+
id: dcfc9d76-da69-4119-a39c-c92de13ebb45
3+
status: experimental
4+
description: |
5+
Detects execution of the binary dropped (infostealer) by the compromised
6+
jscrambler npm package. The loader (dist/setup.js) decompresses a
7+
platform-matched payload from dist/intro.js into a randomly named with a
8+
.exe suffix inside the OS temp directory and launches it.
9+
references:
10+
- https://socket.dev/blog/jscrambler-supply-chain-attack
11+
author: thereisnobackup
12+
date: 2026-07-18
13+
tags:
14+
- attack.initial-access
15+
- attack.t1195.001
16+
- attack.execution
17+
- attack.t1059.007
18+
- attack.stealth
19+
- attack.t1027.009
20+
- detection.emerging-threats
21+
logsource:
22+
category: process_creation
23+
product: windows
24+
detection:
25+
selection:
26+
ParentImage|contains: '\node'
27+
ParentCommandLine|contains: 'dist/setup.js'
28+
CommandLine|endswith: '.exe'
29+
CommandLine|contains: '\AppData\Local\Temp\'
30+
condition: selection
31+
falsepositives:
32+
- Unlikely
33+
level: high
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
title: Binary Executed From A Temporal Directory By Node
2+
id: f01212bd-5f6c-4d99-acad-d088456e8fee
3+
status: experimental
4+
description: |
5+
Generic pattern inspired by the jscrambler npm supply chain
6+
compromise: detects a .exe launched from a temp directory by a
7+
node-related parent process.
8+
references:
9+
- https://socket.dev/blog/jscrambler-supply-chain-attack
10+
author: thereisnobackup
11+
date: 2026-07-18
12+
tags:
13+
- attack.initial-access
14+
- attack.t1195.001
15+
- attack.execution
16+
- attack.t1059.007
17+
- attack.stealth
18+
- attack.t1027.009
19+
- detection.threat-hunting
20+
logsource:
21+
category: process_creation
22+
product: windows
23+
detection:
24+
selection:
25+
ParentImage|contains: '\node'
26+
CommandLine|endswith: '.exe'
27+
CommandLine|contains:
28+
- '\AppData\Local\Temp\'
29+
- '\Windows\Temp\'
30+
condition: selection
31+
falsepositives:
32+
- Unknown
33+
level: medium

0 commit comments

Comments
 (0)