Reply to post: What a BusKill... for Windows

Rowhammer rides again as FPGA attack, RSA again reportedly up for sale, anti-theft kit to nuke laptops, etc


What a BusKill... for Windows

I was curious if that Buskill would work on Windows, and it turns out, it does!

1) Open Event Viewer, and drill down to "Application and Service Logs - Microsoft - Windows - DriverFrameworks-UserMode"

2) We need the "Operational" log which is disabled; to enable, right click -> Properties, tick "Enable Logging", OK

3) Find a spare memory stick of a make/model that you don't otherwise use. Plug it in, wait a few seconds and unplug.

4) Refresh the view, then open the latest entry with EventID 2102

5) Switch to the "Details" tab, then "XML View". You will need the the data from the "InstanceID" field

6) Paste the following XML into your editor of choice (you can remove the extra white lines; the forum inserts those automatically on line-breaks):

***Begin XML***


<Query Id="0" Path="Microsoft-Windows-DriverFrameworks-UserMode/Operational">

<Select Path="Microsoft-Windows-DriverFrameworks-UserMode/Operational">*[System[(EventID=2102)]]


*[UserData/UMDFHostDeviceRequest/InstanceId="Your Instance ID"]






***End XML***

Replace "Your Instance ID" with your InstanceID data from the event log, then replace all special characters with their ASCII hex codes. For example, my InstanceID of:




7) Copy your completed XML. Open Task Scheduler, create a new task. Create a new "Trigger" and from the "Begin the Task" drop-down, select "On an event", Select "Custom" and click the new event filter button. Switch to the XML tab and tick the "Edit query manually box". Paste in your XML from above.

8) OK back out a couple of times, and finish setting up your task. I set my Action to lock my computer: Action: start a program; program: "rundll32.exe"; Add arguments: "user32.dll, LockWorkStation"

9) Tweak final settings, mainly allowing the task to run if not on AC power, and you're done :)

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon


Biting the hand that feeds IT © 1998–2020