Tuesday, August 11, 2026
LIVEThe Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///The Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///
Subscribe
Cyber Security
Independent · Digital
Thehackingpost
CybersecurityAI-assisted

Stealthy Malware Leveraging Variable Functions and Cookies for Evasion

Cybersecurity researchers at Wordfence Threat Intelligence have identified a persistent trend in new malware using sophisticated obfuscation techniques to evade detection.

Cybersecurity researchers at Wordfence Threat Intelligence have identified a persistent trend in new malware using sophisticated obfuscation techniques to evade detection.

Malware often employs obfuscation through variable functions and cookie manipulation to conceal its activities. This report examines these mechanisms and discusses methods for detection and mitigation.

The PHP language feature of executing functions named by variable values is often exploited by attackers. For example, function names like 'eval' and 'base64_decode' are stored in variables and called dynamically, allowing arbitrary code execution on servers.

Cookies, typically used for storing user preferences, are weaponized to carry encoded malicious scripts. The malware assembles function names or code dynamically by concatenating and decoding cookie values, bypassing traditional scanners.

One malware strain utilizes exactly 11 cookies to assemble function names and code segments. It concatenates cookie values to form function names like 'base64_decode' and decodes further cookie data to execute dynamic functions.

Malware often employs obfuscation through variable functions and cookie manipulation to conceal its activities.
Sam Quinlan · Thehackingpost

Another sample uses boolean conditions and str_replace to transform obfuscated strings into function names, executing serialized payloads from cookies.

A third example checks for 22 cookies and uses chained variable function calls to build and execute anonymous functions, adding complexity to detection.

Despite obfuscation, malware exhibits identifiable patterns, including dense obfuscated code, excessive array lookups, and reliance on superglobals like $_COOKIE. Behavioral and heuristic detection of these patterns is effective.

Wordfence premium signatures detect over 99% of variants by targeting these traits. Tools like Wordfence CLI enable deep scanning, even in damaged WordPress installations.

Advertisement

Ongoing updates to threat intelligence databases and collaboration with threat intelligence teams are crucial in combating emerging threats.

Variable functions and cookie manipulation remain effective malware evasion methods, requiring continued vigilance and research from security teams.

Collaborating with threat intelligence teams by sharing samples aids in protecting the community from emerging attacks. The fight against sophisticated malware relies on proactive defenses and community collaboration.

Based on reporting by GBHackers.

AI transparency. This article was produced with the assistance of artificial intelligence and published under human editorial oversight. AI systems can make mistakes. Read how we use AI (EU AI Act, Art. 50).
Related Stories