
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
github.com/thisistrivial/wifi-comms-handler
Handler for commands sent over LAN via TCP
src/comms/comms.json
to include an array of json objects with attributes in
(wifi command) and out
(local command)go run src/handler.go PORT
quit
- exit the program[
{
"in": "scan",
"out": "/home/gelos/.scripts/scanner.sh %s"
}
]
scan
command maps to running a bash script scanner.sh
carrying over 1 string arg %s
#!/bin/bash
if [ "$#" -eq 1 ]
then
scanimage --device escl:http://10.0.0.249:80 --format=png > ~/Downloads/$1.png
else
echo "wrong number of arguments supplied"
fi
bash script runs scanner and outputs to file in ~/Documents
with arg name
import socket
import sys
# Create a TCP/IP socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_address = ('localhost', 2222)
print(sys.stderr, 'connecting to %s port %s' % server_address)
socket.connect(server_address)
socket.sendall(b'scan output-file\n')
while True:
print(sock.recv(128))
client source code run after server start with name output-file
(line 11)
$ go run handler.go 2222
creating connection with [127.0.0.1:54468]
[127.0.0.1:54468] /home/gelos/.scripts/scanner.sh [output-file]
$ ls | grep output-file
output-file.png
scanned image saved to ~/Downloads
folder
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.