Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

‘Frebniis’ Malware Hijacks Microsoft IIS Function to Deploy Backdoor

The Frebniis malware abuses a Microsoft IIS feature to deploy a backdoor and monitor all HTTP traffic to the system.

A recently identified malware family is abusing Microsoft Internet Information Services (IIS) to deploy a backdoor and monitor all HTTP traffic to the infected system, Symantec reports.

Dubbed Frebniis, the malware injects code into a DLL that an IIS feature called Failed Request Event Buffering (FREB) uses when troubleshooting failed requests.

FREB collects data about the tracked requests, including HTTP headers with cookies, originating IP address and port, and more.

As part of the observed Frebniis attacks, the malware first ensures that FREB is in use, after which it accesses the IIS process to retrieve information on where the targeted FREB DLL (iisfreb.dll) is loaded.

According to Symantec, “the authors of Frebniis have determined that a particular function pointer within iisfreb.dll is called by iiscore.dll whenever any HTTP request is made to IIS from a web client.”

The malware then proceeds to inject code into the IIS process to hijack the function by replacing its pointer with its own malicious code.

“This hijack point allows Frebniis to stealthily receive and inspect every HTTP request to the IIS server before returning to the original function,” Symantec notes.

By hijacking the IIS function, the HTTP backdoor remains completely stealthy on the system, while being able to inspect all HTTP requests to identify specially formatted ones.

Frebniis parses all requests for /logon.aspx or /default.aspx with a specific parameter password, which allows it to decrypt and execute .NET code when a password match is found.

The code provides proxying and remote code execution capabilities, which allows the malware operators to communicate with internal resources typically blocked from accessing the internet, as well as to execute code directly in memory using crafted HTTP requests.

“These requests allow remote code execution and proxying to internal systems in a stealthy manner. No files or suspicious processes will be running on the system, making Frebniis a relatively unique and rare type of HTTP backdoor seen in the wild,” Symantec concludes.

The cybersecurity company says that Frebniis has been used by an unknown threat actor in attacks targeting entities in Taiwan.

Related: Microsoft: Attackers Increasingly Using IIS Extensions as Server Backdoors

Related: New Python-Based Backdoor Targeting VMware ESXi Servers

Related: ‘IceApple’ Post-Exploitation Framework Created for Long-Running Operations

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

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 this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.

Register

Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.

Register

Expert Insights

Related Content

Cybercrime

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

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

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...

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.

Cybercrime

More than 3,800 servers around the world have been compromised in recent ESXiArgs ransomware attacks, which also include an improved process.

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.

Malware & Threats

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