Any time I see a Microsoft link with a cheeky title, I assume it’s a great Raymond Chen deep dive. Haven’t been wrong yet!
Any sufficiently advanced uninstaller is indistinguishable from malware
11–20 of 556 posts
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#12Installing / uninstalling / updating software should be a service provided by the OS. Letting vendors do it themselves just gives them an opportunity to mess it up, and they frequently do.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#13interesting investigation and js. Though I'm wondering why does windows rely on the software to uninstall itself?
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#14I had never heard of detours before, but I guess it isn’t any different that a good old fashioned LD_PRELOAD
For example, in the bad old days I used detours to virtualize the windows registry so that I could do "fake installs" of COM components inside of a VB6 app, allowing it to run without an install and without administrator permissions. This worked by detouring all the Win32 registry APIs, which was sufficient to intercept registry accesses performed by the COM infrastructure.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#15And today I learned that Windows supports running Javascript as shell script. huh
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#16And today I learned that Windows supports running Javascript as shell script. huh
I think Windows 98 already had this ability. Possibly Windows 95 as well. It's a variant of the language called JScript, which is what was used in old versions of IE too.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#17And today I learned that Windows supports running Javascript as shell script. huh
By the way, there are also HTAs, which are Microsoft HTML Applications. You can create a simple double-clickable GUI with these using only HTML and JScript.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#18Installing / uninstalling / updating software should be a service provided by the OS. Letting vendors do it themselves just gives them an opportunity to mess it up, and they frequently do.
Windows does have installer/uninstaller infrastructure called MSI (https://learn.microsoft.com/en-us/windows/win32/msi/windows-...), but ultimately it's up to developers to choose to use it.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#19Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#20And today I learned that Windows supports running Javascript as shell script. huh
Seemingly_random_code(seemingly_random_string)
The seemingly_random_code decompresses/decodes whatever is in the seemingly_random_string and hands over control to it. Interestingly the decoded code is another version of the same with different code and string. This goes on for ~100 layers deep then at the end it just downloads and executes some file from the net.