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

How will the Merck settlement affect the insurance industry?

3 min read - A major shift in how cyber insurance works started with an attack on the pharmaceutical giant Merck. Or did it start somewhere else?In June 2017, the NotPetya incident hit some 40,000 Merck computers, destroying data and forcing a months-long recovery process. The attack affected thousands of multinational companies, including Mondelēz and Maersk. In total, the malware caused roughly $10 billion in damage.NotPetya malware exploited two Windows vulnerabilities: EternalBlue, a digital skeleton key leaked from the NSA, and Mimikatz, an exploit…

3 Strategies to overcome data security challenges in 2024

3 min read - There are over 17 billion internet-connected devices in the world — and experts expect that number will surge to almost 30 billion by 2030.This rapidly growing digital ecosystem makes it increasingly challenging to protect people’s privacy. Attackers only need to be right once to seize databases of personally identifiable information (PII), including payment card information, addresses, phone numbers and Social Security numbers.In addition to the ever-present cybersecurity threats, data security teams must consider the growing list of data compliance laws…

ICS CERT predictions for 2024: What you need to know

4 min read - As we work through the first quarter of 2024, various sectors are continuously adapting to increasingly complex cybersecurity threats. Sectors like healthcare, finance, energy and transportation are all regularly widening their digital infrastructure, resulting in larger attack surfaces and greater risk exposure.Kaspersky just released their ICS CERT Predictions for this year, outlining the key cybersecurity challenges industrial enterprises will face in the year ahead. The forecasts emphasize the persistent nature of ransomware threats, the increasing prevalence of cosmopolitical hacktivism, insights…

Topic updates

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