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

NIST’s role in the global tech race against AI

4 min read - Last year, the United States Secretary of Commerce announced that the National Institute of Standards and Technology (NIST) has been put in charge of launching a new public working group on artificial intelligence (AI) that will build on the success of the NIST AI Risk Management Framework to address this rapidly advancing technology.However, recent budget cuts at NIST, along with a lack of strategy implementation, have called into question the agency’s ability to lead this critical effort. Ultimately, the success…

Researchers develop malicious AI ‘worm’ targeting generative AI systems

2 min read - Researchers have created a new, never-seen-before kind of malware they call the "Morris II" worm, which uses popular AI services to spread itself, infect new systems and steal data. The name references the original Morris computer worm that wreaked havoc on the internet in 1988.The worm demonstrates the potential dangers of AI security threats and creates a new urgency around securing AI models.New worm utilizes adversarial self-replicating promptThe researchers from Cornell Tech, the Israel Institute of Technology and Intuit, used what’s…

Passwords, passkeys and familiarity bias

5 min read - As passkey (passwordless authentication) adoption proceeds, misconceptions abound. There appears to be a widespread impression that passkeys may be more convenient and less secure than passwords. The reality is that they are both more secure and more convenient — possibly a first in cybersecurity.Most of us could be forgiven for not realizing passwordless authentication is more secure than passwords. Thinking back to the first couple of use cases I was exposed to — a phone operating system (OS) and a…

Topic updates

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