Cybersecurity news

Jessica Doner

Back to the list

PowerShell Malware Abuses Registry and DNS TXT Records to Deploy XMRig Crypto Miner

GBHackers,

A cryptomining campaign used hidden PowerShell code in registry entries, DNS records, and media files to deploy a miner.

Malware and ransomwareNetworks and the web

Overview

A sophisticated cryptominingRunning heavy math calculations on a computer to generate cryptocurrency campaign used multiple layers of obfuscationScrambling or tangling code on purpose so humans and security scanners have a hard time reading it to hide malicious PowerShell payloadsThe part of an attack or malware file that carries out the harmful action on the target and deploy an XMRig-based cryptocurrencyDigital money tracked on a public ledger using cryptography instead of a central bank miner. The attackers concealed the malwareSoftware built to steal data, spy on users, lock files, or take control of a computer inside Windows RegistryA central database of system settings on a computer or a public catalog that hosts software packages entries, DNS TXT recordsA free-form text entry in a domain's DNS settings used to verify domain ownership or email rules, PNG images, and WAV audio files to avoid detection. The initial execution command launched PowerShell with specific options to retrieve code stored in a Registry value. The scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application then queried DNSThe internet directory service that translates human-readable domain names into numerical IP addresses TXT records to reconstruct a URLThe full web address used to locate a specific page, file, or resource on the internet pointing to a PNG image that acted as a covert payload containerA lightweight software package that runs an application isolated from other programs on the same host kernel. The malware extracted data from the image's red pixel channel to execute further instructions and establish command-and-controlThe remote servers and channels an attacker uses to send instructions to infected computers communication. It then downloaded a ZIP archive containing files disguised as audio tracks, which included encoded malicious scripts and .NET payloads.

Terms in this story

cryptomining
Running heavy math calculations on a computer to generate cryptocurrency. When attackers break into a cloud account or server, they often install unauthorized cryptomining software that maxes out the processors and runs up huge electricity or cloud bills. Security+ objective 2.4 lists the term
obfuscation
Scrambling or tangling code on purpose so humans and security scanners have a hard time reading it. Attackers use obfuscation by renaming variables to gibberish, splitting strings, and wrapping scripts in layers of encoding so analysts cannot easily see what the program does. Security+ objective 1.4 lists the term
payloads
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
cryptocurrency
Digital money tracked on a public ledger using cryptography instead of a central bank. Cryptocurrency appears constantly in cybersecurity news because ransomware gangs demand payment in digital coins and hackers target online exchanges and digital wallets directly.
Malware
Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
Registry
A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.
DNS TXT Records
A free-form text entry in a domain's DNS settings used to verify domain ownership or email rules. System administrators publish email security policies and domain verification codes inside a DNS TXT record, while malware sometimes queries TXT records on an attacker's domain to fetch hidden commands.
DNS
The internet directory service that translates human-readable domain names into numerical IP addresses. Whenever you type a web address into a browser, DNS looks up the server's IP address, and attackers who hijack DNS settings can silently steer visitors to a fake server. Security+ objective 2.4 lists the term
script
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
URL
The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
container
A lightweight software package that runs an application isolated from other programs on the same host kernel. Cloud teams package web services inside containers so they start in seconds, and security stories warn about container escape bugs that let an attacker break out onto the host server.
command-and-control
The remote servers and channels an attacker uses to send instructions to infected computers. Once malware infects a laptop, it quietly checks in with a command and control server to receive new orders or upload stolen files.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.

Read the full article on GBHackers (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related