Tuesday, August 24th 2021
Hack a PC? Plug in a Razer Mouse with Automatic Synapse Installation
Over the past few generations, Razer has automated the download and installation of the Razer Synapse software by having it start the first time to plug in a Razer peripheral on your computer (mouse, keyboard, USB headset, etc.). This may be well-intentioned, but comes with a glaring security flaw, according to a LifeHacker report citing a security discovery by @j0nh4t on Twitter. Apparently, plugging in a Razer peripheral causes the Razer Synapse installer to prompt download and installation using a privileged Windows process (using Windows Update).
Once you download and run the installer, you can choose a custom installation folder for the application. This spawns a Windows Explorer dialog that is privileged and can access folders regular users probably don't have access to, as per an organization's group policy. Once in this dialog, you can simply shift+right-click on a folder, and click on "open PowerShell window here," to spawn a privileged PowerShell at that location, and knock yourself out with whatever it is you want to do to the machine. Visit the source link below for a video demo on how this hack works.
Sources:
j0nh4t (Twitter), LifeHacker
Once you download and run the installer, you can choose a custom installation folder for the application. This spawns a Windows Explorer dialog that is privileged and can access folders regular users probably don't have access to, as per an organization's group policy. Once in this dialog, you can simply shift+right-click on a folder, and click on "open PowerShell window here," to spawn a privileged PowerShell at that location, and knock yourself out with whatever it is you want to do to the machine. Visit the source link below for a video demo on how this hack works.
61 Comments on Hack a PC? Plug in a Razer Mouse with Automatic Synapse Installation
While everyone forgets, Razer Synapse also automatically installs from WU during installations and build upgrades, without your consent to opt in or out.
I've filed a suggestion in M$ Feedback Hub to get rid of it, but as usual it got lost...
Next we'll have OHSHIT.sys deleted posts....
Does this work in safe mode ?
If it does, you can disable Windows Defender on any machine you can plug your peripherical into and put everything you want on your targets' computers.
You just have to modify the registry in safe mode like this :
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecurityHealthService]
"Start"=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend]
"Start"=dword:00000004
Those ones will be reverted to default if you didn't disable the SecurityHealthService in safe mode :
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001
"DisableRealtimeMonitoring"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection]
"DisableBehaviorMonitoring"=dword:00000001
"DisableOnAccessProtection"=dword:00000001
"DisableScanOnRealtimeEnable"=dword:00000001
Other than that. I cannot think anyone, but Microsoft has to act and put limits. Creating a ticket and mass voting it as a community until someone notices it. Linux has OpenRazer project, that is like best thing since sliced bread.
Best teacher.
That's why I asked for the safe mode, to disable the security health service completly until people find out there is no protection anymore. There will be no warning nowhere without this service.
Tardian
Something like this is often needed for the further good. Shake up some IT department arses to start working like they should. Often the legal ways of telling, hey something is bad or wrong are slow or ineffective, so going nuclear ain't always a bad thing in my books.
en.wikipedia.org/wiki/Security_through_obscurity don't put your signature into posts, go to this page, to set it properly: www.techpowerup.com/forums/account/signature
Also it brings back the question of why they never bothered to put drivers at a lower privilege level than the kernel
Goddamnit Razer.