View Full Version: A few security tips for IE

afterdark13 >>Malware and Virus Removal Help >>A few security tips for IE


<< Prev | Next >>

PFCdude- 08-01-2006
A few security tips for IE
Simple ways to prevent malware and lock down IE. (This assumes you run XP Pro and have NTFS as your filesystem. Some or all of these things will work with other configurations, but I can only guarantee XP Pro with NTFS) 1. Remove execute permissions from the Local Settings folder for the non-admin account you surf the internet on. Essentially, this tells Windows that it can't run any program located in any of the sub folders. There shouldn't be any programs in there, but malware has a tendency to end up downloaded and executed there. (This will not stop malware from being downloaded and stored, only the execution. This can be accomplished by navigating to C:..Documents and Settings..Your User Account.. The local settings folder is hidden, so you may have to go to Tools>>Folder Options>>View>>Show hidden files and Folders (This is a good idea to just have on) Now, right click on the Local Settings folder, select Properties, Security tab, and you can now change the permissions for that folder, and the sub folders within. (Keep in mind that sub folders will inherit permissions from the parent folder, so be careful about changing random folder attributes) File and folder permissions for Windows XP 2. Disable ActiveX scripting in IE This can be done through Tools>>Internet Options in IE. This is an important menu when configuring IE. Not only can you set up your basic security here, but you can also define zones. I will be getting to this shortly. For now, go to the Security tab. Click on the Internet icon.. And click on Custom Settings. This is where we can define our own security settings for IE, for sites we haven't specifically configured things for. I myself disable everything having to do with ActiveX, although you may want to choose prompt for signed controls. This means that a digital signature from a \"trusted\" source says that it is safe. When it prompts you, it will tell you who signed it, and you can make you decision based on that. Right underneath the ActiveX security options, I also disable both file and font downloads.. But you can have it prompt you if you feel comfortable making the decision on your own. If not, just set both to disabled. 3. Miscellaneous security options in IE While we are in the same dialog we set our ActiveX options in, scroll down and you will find another set of options. Basically, I set everything to disabled except for Software Channel Permissions, which is High Safety. And Submit Nonencrypted Form Data, which is Prompt. 4. Scripting Options Still in the same dialog, the next group of setting we come to is Scripting Options. Disable all 3 options. 5. User Authentication Last option in the current dialog box is User Authentication.. I just set this to ask me for username and password. 6. Zones Now that we have configured the internet zone, it is time to look at trusted and restricted sites. The way I see it, every site needs to be restricted (as our settings for the internet zone show), until there is a serious need to trust it, such as http://housecall.trendmicro.com which is an online antivirus scanner that until recently, only used ActiveX (Now has a Java based scanner as well), and the Microsoft update site at http://update.microsoft.com. In which case, we simply click on Trusted, and follow the same routing we did the first time, giving the trusted sites the permissions they need. 7. Cookies Now, it's time to move oon to the Privacy tab of the Internet Options dialog box. Here, we can tell IE how to handle cookies. I use the High setting by default.. And simply add custom rules for sites that I trust, by usin the edit button on this dialog box. The edit button brings up a list of sites that you have set rules for, essentially saying either block all cookies or allow all cookies. Add sites and rules as necessary.. For example, forums and the like, tend to need cookies. 8. Proxies If you would like to use a proxy, this can also be configured in the Internet Options dialog box. Tor is a common proxy, and is the basis for the settings I am going to give in this section. You will have to change the values based on your proxy. Simply go to the Connections tab. At the bottom, there is a box called LAN Settings, click the button. Once in the LAN Settings dialog, click on the Use A Proxy Server For Your LAN option. This will allow you access to the proxy settings. On corporate networks, you may find a single proxy that handles all traffic, but we are not corporate, so we are going to configure individual proxies. I always check the box for Bypass Proxy for Local Connections, as the proxy would interfere with connecting to the machines on my private network. Now, we can configure the proxy. Remember, this is based on Tor and may not apply to your proxy, so use some common sense, and if you don't know, please ask before you do something stupid. Click on Advanced. This brings up a list of protocols, and allows you to either configure a specific proxy for all of them, or to just use a single proxy for everything. Tor is a SOCKS proxy, and we will enter the information in the SOCKS area. 127.0.0.1 is the proxy address, and 9050 is the port. Click OK to exit the menu, and OK to exit the previous menu. 9. The Advanced Tab Here you will find a list of options that can either be enabled or disabled. Most of them you can ignore. They will have no bearing on \"security\" per se.. Merely the appearance and behavior of IE. The ones we need to disable (uncheck) are: Install on Demand Internet Explorer Install on Demand (other) Now.. We need to make sure that certain ones are checked.. Scroll down to the Security section at the bottom.. Make sure the following are checked: Check for publisher's certificate revocation Check for server certificate revocation Use integrated Windows Authentication Use SSL 2.0 Use SSL 3.0 Use TLS 1.0 Warn about invalid site certificates Warn if changing between secure and not secure mode (not necessary, but most users won't notice the icon that shows a secure connection is in place) Warn if forms submittal is being redirected.

alien13- 08-02-2006

Very nice. This is really helpful :-) Thanks

janrocks- 08-02-2006

Very good indeed.. but you missed the best way to avoid 95% of the rubbish. Get FireFox and all the big problems are gone in one step. Plus there are great plugins

PFCdude- 08-02-2006

well to me anyways , firefox is less securable than IE. and firefox has expliots just as any other browser. if im not using IE i use opera.

alien13- 08-03-2006

I myself am a FireFox user because of the great plug-ins available and the good experience ive had with it :-)

ktulu14- 08-03-2006

I am also a firefox user. If there are sites that will only run in IE (e.g. M$.com) i use the IE plugin to view them. This works an absoute treat and you can get the updates etc without any problems.

kiLoka- 08-04-2006

Firefox here as well. I like the customability (did I just make up a word?) of it. Great plug-ins, themes and all kinds of goodies! None the less, another great guide from PFCdude. :D

alien13- 08-04-2006

lol.. im not sure but i like that word :-) Yeah, i like the IE plug-in it really helps out.

PFCdude- 08-04-2006

now that i think about it, im gonna try somthing with firefox.... basically what i was thinking about doing, was removing execute persmissions from the firefox cache just as i did with IE.. hence malware is usually stored within the browsers cache then is executed.. we all know how it is lol.

kiLoka- 08-06-2006

cool :D post some results!

PFCdude- 08-06-2006

one slight problem with that .. maybe its just my configuration but i dont seem to have a cache folder for firefox lol, but i dont see why it shouldn't work just locate the cache folder , may be in the documents and settings folder your username here.. etc etc... , just make sure you have a optional user account set up in windows xp , cant comment on home ed. only professional , just create a power user account and through your admin account set the security policy for your power user account.

PFCdude- 09-19-2006

just thought i would update this abit, I'm currently in the process of learning how to configure windows xp professional, using not only local policies but group policies as well, Once i get all this down pat, i plan on not running any anti virus or malware applications.

janrocks- 09-23-2006

Have a look at the \\"run at startup policy\\". It's on M$ homesite, and have a go at disallow execute from temp/share. Theres a little applicatrion called SafeXP which makes getting at all those settings very easy and customisable. Google it or fire me a PM as I have it, though it's of no use to me now.. :wink: As for firefox cache... on mine it's in /usr/local (I know that's completely no help whatsoever) It's usually full of jpg's and gif's. On XP have a look in temp internet files.

PFCdude- 09-23-2006

Yea, I already have that safeXP program, its alright. and i've came across that run at startup policy, havent messed with it yet.

janrocks- 09-23-2006

I was having a root around in some old things and came across this.. In Windows XP Professional you can go to Start > Run > gpedit.msc This allows you to edit group policies.. there's a heap of stuff in there which I have sometimes had to use on business networks... About the run at startup.. it's the best way to kill automatic updates. You can even stop it reminding you that it's disabled. I make system32 files read only too. It seems to stop malware overwriting or modifying most system things. Sometimes after that trying to install things can be a linux type nightmare unless you remember which files you have changed the permissions on. (As you can tell.. I like this kind of stuff) Run @ startup policy.. A quick and dirty guide. 1. Click Start and then Run 2. In the Open box type mmc , and then click ok 3. On the File menu, click Add/Remove snap in 4. Click Add 5. Under Available stand alone snap ins , click Group Policy, Click Add and then Finish 6. Click Close, and then in the Add/remove snap ins box click OK 7. In the Left pane of the of the group policy snap in expand Local computer policy, expand Computer config and then expand Administrative Templates 8. expand the System object, click the Logon object, then in the Right pane, DOUBLE CLICK (ms have that wrong in the site guide!!) Run these programs at user logon 9. Click Enabled and then click Show 10. Click Add, type the name of the .exe file you want to run (or remove any you don't want to run) and then click OK.. You must specify the full path to the .exe unless it is located in the %System Root% folder. 11. Repeat step 10 to add/remove any other run on startup programs 12. Click OK TWICE.. There you have it. How to neuter some of the more unpleasant features of XP, and stop win cinema manager hogging 55MB of ram all the time.. The annoying little bubble popper (auto updates off..no firewall etc) is called wscntfy.exe, and if StarWindService.exe is running kill that too.. Not sure what it does but it doesn't seem to matter. To defeat the windows genuine advantage rubbish, the program you are looking for is called wga.exe and lurks in system32 folder with a few dll's with similar names. Next time..how to modify and run legacy apps at startup.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.