Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

PhotoMiner Worm Spreads via Insecure FTP Servers

A worm observed in thousands of attacks this year features sophisticated protection mechanisms that allow it to remain on infected systems for years, GuardiCore security researchers warn.

A worm observed in thousands of attacks this year features sophisticated protection mechanisms that allow it to remain on infected systems for years, GuardiCore security researchers warn.

Dubbed PhotoMiner, the worm spreads through infecting websites that are hosted on FTP servers, and brings its authors money by mining for the Monero crypto-currency. According to researchers, the worm has a unique multi-stage infection mechanism, has a modular design, and registers itself as a startup program to achieve persistence.

The infection chain starts with insecure FTP servers being attacked and websites hosted alongside them being compromised to infect their visitors with the malware. Once present on the end-user machine, the worm not only starts mining for crypto-currency, but also attempts to infect additional FTP servers and systems in local networks.

Attackers are brute forcing random IP addresses and, by working off a user/password dictionary, they manage to compromise poorly protected FTP servers. Next, they upload a copy of the malware to each writeable server, and each file that helps infecting the user is injected with a specific string of code. The worm is served to end users in the form of a download that pops up in vulnerable browsers, researchers say.

PhotoMiner also leverages built-in Windows systems tools to scan the local network segment, after which is attempts to brute force a connection over the Server Message Block (SMB) Protocol. When successful, it attempts to drop copies of itself into every accessible remote startup location and uses Windows Management Instrumentation (WMI) scripting to execute local copies.

First observed in December last year, when it included the core miner and basic propagation abilities, the worm has already seen a series of updates, and researchers have already identified two different variants over a dozen versions of the malware to date. However, all versions follow the same order of operations, starting with achieving persistence and collecting configuration data for the miner.

For persistence, the malware registers as a startup program, after which it connects via HTTP to a list of predefined hostnames to acquire the configuration data. At the moment, the configuration file, which is scrambled using a basic reverse-dictionary, includes a list of Monero pools and wallets, and the malware picks a random one from there. The worm also connects to the command and control (C&C) server to send system information and to report on its progress.

GuardiCore researchers also say that the attackers have built a resilient backend that is spread over multiple domain names and that they are using virtual private servers across different hosting providers. However, they are reusing servers and IP addresses, which allowed researchers to tie together different campaigns.

Advertisement. Scroll to continue reading.

The researchers also say that, after initialization, the malware “spins off” the miner as a separate process, while it continues to focus on spreading itself. Courtesy of this approach, the malware ensures that the miner is safe from antivirus programs even if the worm is detected and countered. The mining module is a packed version of BitMonero, the core implementation of the Monero worker, thus a legitimate program that might not attract a lot of attention.

Non-secure services facing the Internet, such as unprotected FTP servers, represent one of the most common ways of infiltrating an organization. “Infecting websites through unprotected FTP servers is a classic attack that seems to be gaining popularity once again. By creating an infection that is hard to disrupt, the writers of PhotoMiner have created a botnet that is undoubtedly here to stay,” GuardiCore researchers conclude.

Related: Improved Qbot Worm Targets Public Institutions

Related: Worm Capabilities Added to FighterPOS Malware

Written By

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Bill Dunnion has joined telecommunications giant Mitel as Chief Information Security Officer.

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

More People On The Move

Expert Insights

Related Content

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Malware & Threats

Cisco is warning of a zero-day vulnerability in Cisco ASA and FTD that can be exploited remotely, without authentication, in brute force attacks.