News for hackers. Stuff that matters.
Re:Microsoft finds privilege escalation vulnerability in Hua... by codeinstyle on Wednesday April 03, 2019 @07:59PM (#19568258)
>...because it’s the hardware management service and if it goes down you’re no longer managing the hardware?

I’m no expert on device drivers but to my knowledge, Windows already allows you to manage devices and install drivers through Device Managers.

Then if drivers are already installed for the various devices and hardware components, what exactly is the hardware management service managing on top of the individual drivers?

I am asking this as the only plausible reason to be doing this (at least for me) is if Windows isn’t providing enough tools for device management that needs coordination between the hardware components on the machine, so I would appreciate someone with more knowledge to shed some light on the subject.

Re:Microsoft finds privilege escalation vulnerability in Hua... by monocasa on Wednesday April 03, 2019 @08:13PM (#19568329)
Device Manager only handles kernel drivers. Best practice is to put as much as possible into a highly privileged, but still user mode process so it can crash without bluescreening your system. If you assume that this code can crash (hence why it was delegated to user mode in the first place) it makes sense to code in a resurrection capability.
Re:Microsoft finds privilege escalation vulnerability in Hua... by zaphirplane on Thursday April 04, 2019 @01:58AM (#19569681)
Windows services have a restart if I crash mode, why wouldn’t that be used instead. This seems about making sure the user can’t stop it from starting
Re:Microsoft finds privilege escalation vulnerability in Hua... by monocasa on Thursday April 04, 2019 @12:09PM (#19573976)
It's a huge pain on the ass to setup right. Soft faults where the process is still running but is deadlocked don't get restarted for instance.
Re:Microsoft finds privilege escalation vulnerability in Hua... by zaphirplane on Friday April 05, 2019 @05:34AM (#19580999)
Same problem if you write your own supervisor except you are writing a process supervisor
Re:Microsoft finds privilege escalation vulnerability in Hua... by monocasa on Sunday April 07, 2019 @12:36PM (#19597924)
Well, no, because you can write your supervisor in a way that does protect against that. In fact that's hat they're doing here.