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

Is the water safe? The state of critical infrastructure cybersecurity

4 min read - On September 25, CISA issued a stark reminder that critical infrastructure remains a primary target for cyberattacks. Vulnerable systems in industrial sectors, including water utilities, continue to be exploited due to poor cyber hygiene practices. Using unsophisticated methods like brute-force attacks and leveraging default passwords, threat actors have repeatedly managed to compromise operational technology (OT) and industrial control systems (ICS).Attacks on the industrial sector have been particularly costly. The 2024 IBM Cost of a Data Breach report found the average total…

Cybersecurity trends: IBM’s predictions for 2025

4 min read - Cybersecurity concerns in 2024 can be summed up in two letters: AI (or five letters if you narrow it down to gen AI). Organizations are still in the early stages of understanding the risks and rewards of this technology. For all the good it can do to improve data protection, keep up with compliance regulations and enable faster threat detection, threat actors are also using AI to accelerate their social engineering attacks and sabotage AI models with malware.AI might have…

Cloud threat report: Why have SaaS platforms on dark web marketplaces decreased?

3 min read - IBM’s X-Force team recently released the latest edition of the Cloud Threat Landscape Report for 2024, providing a comprehensive outlook on the rise of cloud infrastructure adoption and its associated risks.One of the key takeaways of this year’s report was focused on the gradual decrease in Software-as-a-Service (SaaS) platforms being mentioned across dark web marketplaces. While this trend potentially points to more cloud platforms increasing their defensive posture and limiting the number of exploits or compromised credentials that are surfacing,…

Topic updates

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