![]() |
|
#1
|
||||
|
||||
|
If the Windows Scripting Host is disabled in the registry ( http://www.microsoft.com/technet/scr..._sbp_lhak.mspx ), will this cause programs to not run at all or have some of their functionality disabled? Or will the advantages of disabling WSH outweigh the cons (disable all Windows Script-based malware from running at all)?
Edit: Added URL on how to disable WSH (not just changing the default handler).
__________________
My Setup: Real-time: AntiVir | On-demand: ClamWin, SuperAntiSpyware| Web: Opera (fraud protection enabled), OpenDNS | Other: Bugmenot.com - bypass compulsory web registration, Windows Scripting Host Disabled, Script Defender Last edited by freakish : September 10th, 2007 at 02:18 AM. |
|
#2
|
|||
|
|||
|
Hello,
Not sure how this would affect your everyday work. You could try changing the default handler from run to edit for common files like .js, .vbs. You could also use an anti-virus or a script-monitoring software - like Script Defender, for example. Myself, I don't think this is really important. What are the chances you will run some stand-alone script - unknown to you, btw? As to the browser attacks and exploits, just go with non-IE browser. If you do programming, use scripts etc, disabling the WSH might cause troubles. Mrk
__________________
http://www.dedoimedo.com All your base are belong to us Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA |
|
#3
|
||||
|
||||
|
@Bunkface
interesting question really: is disabling scripts still relevant.? I have WSH disabled in registry ( Dword change or at least check it) http://www.microsoft.com/technet/scr....mspx?mfr=true Here is an older write-up from Symantec, and a link to NoScript http://service1.symantec.com/sarc/sa...t.hosting.html Script Defender is here: http://www.analogx.com/CONTENTS/down...em/sdefend.htm Change the settings in options as per MrK There may be other options. In the not to distant past, disabling scripts was sine qua non. A recent security test from the now defunct "Green Border" http://www.wilderssecurity.com/showt...t=Green+Border Elicited this interesting response from developer of BOClean http://www.wilderssecurity.com/showp...7&postcount=62 Not entirely sure if this is relevant to you, interesting post nonetheless. EHowes and spyware warrior were always beating on about scripts in the past and there were some advices from him/them on their older pages. FWIW I have had both the reg change and Symantec NoScript in place for years and never had issues with any routine runnings. No issues with updates of any kind from anywhere. AFAICR, dont most AV and "hips" disable scripts one way or another now? In terms of potential malware the file options could be set to run .vbs in Notepad to see what interesting objects you might otherwise have clicked on. As per Mrk maybe essential to have both enabled for specific programming needs and some specialised files. HTH PS dont forget browser scripts: solution = FF and ( the other) NoScript.
__________________
Don't confuse me with someone who actually knows what they are talking about. Linux Registered user 469135 Please, support Medecins Sans Frontieres Last edited by Longboard : September 9th, 2007 at 10:53 AM. |
|
#4
|
||||
|
||||
|
I used to use ScripTrap. Simple & free.
__________________
PCLinuxOS - Radically simple, it just works. That's why PCLOS is "The Distro Hopper Stopper!" http://www.pclinuxos.com/ If you don't use Linux. You're going to HELL!!!
|
|
#5
|
||||
|
||||
|
Disabling WSH, CMD, BAT increases security, but it causes more problems, that it is worth of.
I put it like this, I had it disabled in XP and Vista for a few months and I do not have it for now. I have it enabled for another few months and nothing "bad" happened, but that depends on a user. On the other hand using a utility, which would monitor it to allow/block WSH, sounds really interesting.
__________________
Real-Time: Nothing | On-Demand: Nothing [ Lenovo E525 | Yandex | CCleaner | KC SUMo | WiseCare 365 ] ( BlackViper / DEP / OpenDNS / UAC / WiFiRouter ) |
|
#6
|
||||
|
||||
|
My main concern are trojans and worms that are spread through removable drives like USB flash disks. Most of them enable autoplay (even if I have autoplay disabled) in the removable drives which bypasses most script blockers (I use AnalogX Script Defender). A sure-fire way of disabling these from running is disabling WSH from the registry.
Another concern of mine are programs that might not run or have problems running if WSH is disabled. Have any of you experienced problems with programs if WSH is disabled in the registry?
__________________
My Setup: Real-time: AntiVir | On-demand: ClamWin, SuperAntiSpyware| Web: Opera (fraud protection enabled), OpenDNS | Other: Bugmenot.com - bypass compulsory web registration, Windows Scripting Host Disabled, Script Defender |
|
#7
|
|||
|
|||
|
Quote:
Hello, If autoplay is disabled, you have nothing to worry about files on the usb drive. Nothing will execute itself. Mrk
__________________
http://www.dedoimedo.com All your base are belong to us Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA |
|
#8
|
||||
|
||||
|
I have autoplay disabled in TweakUI on all drive letters. But when I doubleclick the removable drives, autoplay becomes the default action - maybe there is another way to permanently disable autoplay?
__________________
My Setup: Real-time: AntiVir | On-demand: ClamWin, SuperAntiSpyware| Web: Opera (fraud protection enabled), OpenDNS | Other: Bugmenot.com - bypass compulsory web registration, Windows Scripting Host Disabled, Script Defender |
|
#9
|
||||
|
||||
|
I think that's not autoplay, rather what that usb driver is programmed to do when started.
If you're double clicking, it's not really auto is it? ![]()
__________________
The GNU Operating System - The GNU Project / Linux Kernel - Linux Foundation / Debian GNU/Linux Electronic Frontier Foundation (EFF) / The Free Software Foundation (FSF) / Creative Commons (CC) / Foundation for a Free Information Infrastructure (FFII) / Free Software Magazine |
|
#10
|
||||
|
||||
|
I find the Windows Scripting Host unnescessary; at least on my machines. I have the Windows Scripting Host disabled via AVG Anti-spyware. I am still able to run the .bat files I need to run but other ActiveX based scripts and such can no longer run. Why run something you don't need especially if it causes security problems. I have also never had any program need the scripting host turned on to run, but there may be some out there that do. If I ever need it though I can easily enable it again. (I'm betting I never need it).
Here is a site with a discussion on whether WSH is needed or not. I am sure there are many more out there if you want to look. http://fox.wikis.com/wc.dll?Wiki~RemovingWindowsScriptingHost~WIN_COM_API |
|
#11
|
||||
|
||||
|
Quote:
AFAIK, doubleclicking will do the default action (in this case it is Autoplay). So instead of opening the drive in Windows Explorer, the action defined by Autoplay is executed.
__________________
My Setup: Real-time: AntiVir | On-demand: ClamWin, SuperAntiSpyware| Web: Opera (fraud protection enabled), OpenDNS | Other: Bugmenot.com - bypass compulsory web registration, Windows Scripting Host Disabled, Script Defender |
|
#12
|
||||
|
||||
|
Quote:
__________________
"Pouvoir à l'Imagination. Power to the imagination. La imaginación al poder". "Perfect is the enemy of good enough". Voltaire. |
|
#13
|
|||
|
|||
|
Instead of disabling WSH entirely, I effectively made it an "admin only" function. I made SSM rules for Wscript.exe and Cscript.exe that block them from running when SSM's UI is disconnected, which is it's normal setting on my box. I also have Script Sentry installed so I can still read them before deciding if they're going to be allowed to run.
The result is that scripts can't be run at all by other users or accidentally allowed/run by me. I can choose to allow them when I need to but I get to examine them first. Rick |
|
#14
|
||||
|
||||
|
On my Windows 98 box theres now much more freedom to experiment with automation with .VBS files thru WScript/Cscript launchers since little if any attention is directed to them anymore.
Now on my XP Pro system though, like herbalist, i use ScriptSentry also. It is a perfect interceptor of many such extensions especially .reg files etc. Now that i think about it, one might say that programs like ScriptSentry were the real forerunners of HIPS. Think about that one. ![]()
__________________
★AX 64 Time Machine★
★Shadow Defender★|
Maxthon 4 | X Iron 17.0 | Chromium 19.0 | Pale Moon 20.1
¶Microsoft Windows 8 64bit (UEFI/GPT) Secure Boot¶
¶Linux Mint 14 MATE¶ |
|
#15
|
||||
|
||||
|
Quote:
Ahh yes, the great Jason Levine: great little web site, tremendous resource. http://www.jasons-toolbox.com/BrowserSecurity/ He still maintains his home page: http://www.jasons-toolbox.com/ heh; one of the first reviews of BING that really got my attention: http://www.jasons-toolbox.com/Articles/ i think I see him posting at DSLR occasionally.
__________________
Don't confuse me with someone who actually knows what they are talking about. Linux Registered user 469135 Please, support Medecins Sans Frontieres Last edited by Longboard : September 15th, 2007 at 03:48 AM. |
|
#16
|
||||
|
||||
|
Quote:
zapjb. Thanks for the mention of ScriptTrap. Will check that one out myself.
__________________
★AX 64 Time Machine★
★Shadow Defender★|
Maxthon 4 | X Iron 17.0 | Chromium 19.0 | Pale Moon 20.1
¶Microsoft Windows 8 64bit (UEFI/GPT) Secure Boot¶
¶Linux Mint 14 MATE¶ |
|
#17
|
||||
|
||||
|
You're welcome EASTER.
__________________
PCLinuxOS - Radically simple, it just works. That's why PCLOS is "The Distro Hopper Stopper!" http://www.pclinuxos.com/ If you don't use Linux. You're going to HELL!!!
|
| « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|
|