惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
博客园_首页
量子位
博客园 - 三生石上(FineUI控件)
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
T
The Blog of Author Tim Ferriss
博客园 - 聂微东
V
Visual Studio Blog
J
Java Code Geeks
宝玉的分享
宝玉的分享
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
D
Docker
大猫的无限游戏
大猫的无限游戏
Y
Y Combinator Blog
H
Help Net Security
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale

Threat Walkthroughs – ThreatDown by Malwarebytes

Fake Booking.com emails target hotels Phishers go “interplanetary” to get company login credentials “Enhanced Bonus” QR code phish steals Microsoft credentials USB worms: Still wriggling on to under-protected computers after all these years Analyzing a Mispadu Trojan’s attack chain How a clipboard hijacker delivers Lumma Stealer - ThreatDown by Malwarebytes Web shop spreads SocGolish malware and steals credit cards Clipboard hijacker tries to install a Trojan Watch out! Mobidash Android adware spread through phishing and online links
A visit to a print shop put a password stealer on a co-wo...
Pieter Arntz · 2024-10-01 · via Threat Walkthroughs – ThreatDown by Malwarebytes
USB stick

Old-school malware distribution methods have a habit of hanging around long after people stop talking about them.

A remote co-worker was recently reminded that old-school malware distribution methods have a habit of hanging around long after people stop talking about them. In this case, the reminder came in the form of an infected USB stick.

The co-worker needed to have a document printed, and their own printer refused to do the job. Since it was urgent, they stored the document on a clean USB stick and went to the local print shop.

The document was printed, so mission accomplished. But when they got home and inserted their USB stick for another transfer a few days later, they found two new shortcuts titled “Documents” and “System Volume Information”.

Clicking on the shortcuts triggered a malware detection for Trojan.PasswordStealer.JS. (The print shop likely had some malware on its systems that it was unaware of, and was dropping a password stealer on every USB drive that was plugged in to it.)

Malwarebytes warning for Trojan.PasswordStealer.JS
Malwarebytes warning for Trojan.PasswordStealer.JS

After some investigation, they discovered that the shortcuts ran a malicious JavaScript file called rrrnqu.js before opening the Documents and System Volume Information folders, using the commands below:

C:\WINDOWS\system32\cmd.exe /c start rrrnqu.js&start explorer Documents&exit

C:\WINDOWS\system32\cmd.exe /c start rrrnqu.js&start explorer System" "Volume" "Information&exit

Some of the more complex functions in the JavaScript file followed a two-layer obfuscation pattern, presumably in an attempt to hide what they do from static analysis. The complex functions’ code was stored in large base64-encoded strings, which were decoded and then passed through a custom decoding function that output more base64-encoded text, which was decoded again, and then executed.

The decoded functions gathered system information, elevated the script’s permissions, tried to uninstall antivirus software, and tried to steal passwords stored in the Chrome browser, as well as credentials for remote monitoring and management tools like UltraVNC and the Windows Remote Desktop Protocol (RDP).

Credentials for remote desktop applications like UltraVNC and RDP allow criminals to log into a computer and use it from anywhere in the world, as if they were sat at the keyboard, and the credentials stolen by rrrnqu.js might be just what an Initial Access Broker (IAB) would love to build out and sell to a Ransomware-as-a-Service (RaaS) group.

Despite the use of an old and unfashionable technique, if this infection had happened on an unprotected machine in a business environment, it could have been catastrophic.

function that looks for passwords stored in Chrome
function that looks for passwords stored in Chrome

The bottom line is that old techniques don’t care if people are talking about them or writing articles about them—they will hang around until they no longer work. And that means you need to keep protections in place to keep them at bay, even if you don’t hear about them very often. Protect your USB drives and think twice before inserting them in an unknown system.

The ThreatDown user agent detects Trojan.PasswordStealer.JS and can clean infected USB drives.