May 2, 2016 By Larry Loeb 2 min read

McAfee Labs security researcher Craig Schmugar has posted a warning about how one malware called Dynamer uses Windows “God Mode,” which has been present since the days of Vista, to achieve persistence.

This undocumented God Mode allows a user to create a special kind of folder that will act as a shortcut to Windows settings. The shortcut can also link to other special folders such as Control Panel, My Computer or Printers. These do not open like normal folders, but rather redirect the user to a fresh program.

These files are often inaccessible via other readily available settings or tools, so creating a shortcut makes sense for the user. But this behavior can be exploited by malware looking to gain persistence or control over a machine.

More About the Malware

Dynamer has learned how to exploit Windows God Mode. First, it will install itself in a folder inside of the %AppData% directory. This will then create a registry run key that will persist across reboots.

The actual executable name for the malware is dynamic. Regardless, the folder redirects to the RemoteApp and Desktop Connections Control Panel item when it is opened.

Because of the given name of that folder — it begins with com4 — Windows considers it a device. This means that Windows Explorer or the typical console commands do not work when trying to delete it.

McAfee outlined a series of steps for defeating this exploit. The first step is to terminate the malware using Task Manager or other standard tools that are available on Windows. Next, run this crafted command from the command prompt: (cmd.exe): > rd “\\.\%appdata%\com4.{241D7C96-F8BF-4F85-B01F-E2B043341A4B}” /S /Q”.

Avoiding Windows God Mode

Dynamer shows how malware will take advantage of any quirks in an OS to gain a foothold. According to SecurityWeek, it was first recognized several years ago, and by now, most security tools should be able to detect it, including Windows Defender for Windows 10 and Windows 8.1, or Microsoft Security Essentials for Windows 7 and Windows Vista.

Microsoft has previously tried to mitigate the potential effects of the Windows God Mode. When Enhanced Mitigation Experience Toolkit (EMET) 5.2 was released last March, for example, Microsoft tried to eliminate the exposed VBScript God Mode exploitation technique. But as the Dynamer malware shows, this effort remains ongoing.

More from

FYSA – Adobe Cold Fusion Path Traversal Vulnerability

2 min read - Summary Adobe has released a security bulletin (APSB24-107) addressing an arbitrary file system read vulnerability in ColdFusion, a web application server. The vulnerability, identified as CVE-2024-53961, can be exploited to read arbitrary files on the system, potentially leading to unauthorized access and data exposure. Threat Topography Threat Type: Arbitrary File System Read Industries Impacted: Technology, Software, and Web Development Geolocation: Global Environment Impact: Web servers running ColdFusion 2021 and 2023 are vulnerable Overview X-Force Incident Command is monitoring the disclosure…

What does resilience in the cyber world look like in 2025 and beyond?

6 min read -  Back in 2021, we ran a series called “A Journey in Organizational Resilience.” These issues of this series remain applicable today and, in many cases, are more important than ever, given the rapid changes of the last few years. But the term "resilience" can be difficult to define, and when we define it, we may limit its scope, missing the big picture.In the age of generative artificial intelligence (gen AI), the prevalence of breach data from infostealers and the near-constant…

Airplane cybersecurity: Past, present, future

4 min read - With most aviation processes now digitized, airlines and the aviation industry as a whole must prioritize cybersecurity. If a cyber criminal launches an attack that affects a system involved in aviation — either an airline’s system or a third-party vendor — the entire process, from safety to passenger comfort, may be impacted.To improve security in the aviation industry, the FAA recently proposed new rules to tighten cybersecurity on airplanes. These rules would “protect the equipment, systems and networks of transport…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today