← Back to context

Comment by unsnap_biceps

5 days ago

For what it's worth, I just checked on my windows 11 install and it was (somewhat) enabled.

Settings -> Bluetooth & Devices -> AutoPlay -> Use AutoPlay for all media and devices

Was set to on, and "Removable drive" was set to "Choose a default", which appears to be equivalent to "Ask me every time".

I don't have anything (that I'm aware of) that auto-runs something, but I presume it will prompt me asking if I want to run setup.exe, which seems somewhat reasonable for new hardware.

And from the malware analysis, https://www.hybrid-analysis.com/sample/e3f57d5ebc882a0a0ca96... , it's signed by "Owner: CN=Microsoft Windows Hardware Compatibility Publisher, O=Microsoft Corporation, L=Redmond, ST=Washington, C=US; Issuer: CN=Microsoft Windows Third Party Component CA 2012, O=Microsoft Corporation, L=Redmond, ST=Washington, C=US" which also looks pretty legit.

I can totally see a lot of folks allowing it to run.

Autoplay is something else. Autorun.inf was a file from the Windows 95 era that could execute an .exe of the publishers choice simply by inserting a usb stick or inserting a CD. It's where the Windows XP era advice to never pick up usb sticks in the parking lot came from. Autoplay is a Windows dialog asking the user what Windows does when media is inserted - automatically import photos, open the folder, etc. It's not capable of running an .exe

  • Microsoft seems to disagree with your assertion.

    > An autorun.inf file is a text file that can be used by the Autorun and AutoPlay components of Microsoft Windows. When a USB drive is plugged into a USB port, an autorun USB dialog appears that prompts you to do certain operations: print images, run Windows Media Players, or open a folder. But what if you have a particular application on the USB drive and want it to be launched from the autorun USB dialog? You can put autorun.inf into the root of the USB drive and edit its commands to get the app started when the USB key is plugged.

    https://answers.microsoft.com/en-us/windows/forum/all/enable...

    > Created on November 17, 2022 > Applies to: Windows / Windows 11 / Files, folders, and storage

    • Thats a Microsoft community forums agent though, and in my experience they spam low effort boilerplate solutions in hopes of getting a few votes. If they searched the web specifically for how to do something only possible before 2007, then it does make sense they found instructions from that era. Here's the info from https://en.wikipedia.org/wiki/Autorun.inf that seems more up to date "For all drive types, except DRIVE_CDROM, the only keys available in the [autorun] section are label and icon. Any other keys in this section will be ignored."

    • Autorun still exists, but at least on windows 10, it doesn't run the exe right away. It shows a popup box that asks you whether to run the exe or open the drive in explorer.