Currently, WIN2000 SERVER is more popular server running methods, having said that, for the safe configuration of Microsoft's operating system, just isn't an effortless job. This post attempts to win2000 SERVER protection configuration was discussed.Initial, customize their WIN2000 SERVER:one. Edition of selection: Win2000 a variety of languages, for us, you'll be able to pick out English or Simplified Chinese edition, I strongly recommend: The language does not develop into a barrier,
Office 2010 Sale, make sure to make use of the English version. You realize, Microsoft's product is known for Bug & Patch, far even more than the Chinese edition of the Bug in English, while the patch will be delayed at least half of the general (ie, generally after Microsoft announced the vulnerability of your machine is also there will be two weeks in the unprotected state)2. Custom components:Win2000 installed by default in some general components, but it is the default installation is extremely dangerous (Mitre Nico said that he can enter any a person installed by default server, although I hesitate to say so, but if your host is the default installation of Win2000 SERVER, I can tell you, you're dead)you should know exactly what services you need, and only You really need to install the service, according to safety principles, at least the minimum service + permissions = maximum protection.typical WEB servers require a minimum component choice is: only install IIS, Com Files, IIS Snap-In, WWW Server components. If you really need to install additional components, please carefully, especially: Indexing Service, FrontPage 2000 Server Extensions, Internet Service Manager (HTML) that several of the risk services.3. Management application of selection:choosing a good remote management software is a fairly important thing, not only safety but also of the application needs.Win2000 the Terminal Service is based about the RDP (Remote Desktop Protocol) remote control software, he's fast, painless to operate, a lot more suitable for routine operation.Then again, Terminal Service also has its shortcomings, because it uses the virtual desktop, along with Microsoft's programming isn't strict, when you install the software using Terminal Service or restart the server, etc. interacting with the real Desktop The operation, often there will be enough to create misunderstandings of phenomena, such as: re-using the Terminal Service server from Microsoft's Certification (Compaq, IBM, etc.) may very well be shut down.So, for safety reasons, I suggest you go with a remote control software as an aid, and Terminal Service complementarity,
Windows 7 Ultimate Key, as PcAnyWhere is a good selection.Second, properly installed WIN2000 SERVER:1. The distribution of partition and logical drive, there are some friends in order to save, just the hard drive into a logical drive, all the software installed in the C drive, this is fairly good, it is recommended to establish at least two partitions, a person system partition, an application partition, this is because there is often a leak of Microsoft's IIS source / overflow vulnerability, if the program and IIS on the same drive, the file will cause the program to leak or even a remote intruder access to ADMIN.recommended protection configuration is to create three logical drives, the initial is greater than 2G, and important to install the program log file, the second put IIS, the third a single FTP, IIS, or FTP either way out of the safety holes will not directly affect the program directory and system files.to know, IIS and FTP is the external services are relatively hassle-free problems. The separation of the IIS and FTP upload the main program is to prevent intruders to run from IIS. (This could lead to application developers and editors of distress, who cares, anyway you're an administrator)2. The order of installation options:Do not think: What is the order important? If installed, how to load it is easy to.wrong! win2000 installed in a certain order of a few to note:1st of all, when the access network: Win2000 there is a flaw in the installation, you enter the Administrator password, the system's built ADMIN $ shared, but did not use the password you just entered to protect it, this situation until you start once again after this period, anyone can enter through the ADMIN $ on your machine; the same time, as long as the installation of a complete, all types of service will run automatically, and when the server is covered with loopholes, highly uncomplicated to enter, therefore, fully installed and configured win2000 SERVER, be sure not to host access network.Second, the patch installation: the installation of the patch should be installed after all the applications, because patches often have to replace / modify certain system files, if you install the patch before installing the application could possibly cause the patch can not be play the desired effect, such as: IIS's HotFix requires that each change the configuration of IIS to become installed onThird, safety configuration WIN2000 SERVER:even if installed properly WIN2000 SERVER, there are still quite a few loopholes in the program, but also the need for further detailed configuration.1. Port:port is connected to the computer and the logic of the external network interface, is the initial barrier the computer, the port is configured properly or not directly affect the safety of the host, in general, open only the ports you will need to make use of safer approach is to configure the network card properties -TCP/IP- Advanced - Options -TCP/IP screening enabled TCP / IP filtering, port filtering, but for win2000, there is a bad feature: only the provisions of What ports to open, can not restrict which ports closed, so that a large number of ports that require users to open more painful.2. IIS:IIS is Microsoft's a single of the largest component in the vulnerability, an average of two to three months out of a hole should, and Microsoft's IIS is installed by default and can not compliment, so the configuration of IIS is our focus, it truly is now together with me:First, the C disk that what Inetpub directory completely deleted, in the D drive to build a Inetpub (do not worry if you can actually use the default directory name, a name change, but they have to remember that) in the IIS Manager home directory will point to D: Inetpub;secondly, that what the default IIS installation scripts and other virtual directory Yigai delete (source of evil ah, forget a href =3: Application Configuration:in the IIS Manager to delete any unwanted outside the map must be, must refer towards the ASP, ASA, and you really need to use other types of files , for example, you use stml, etc. (use the server side include), is actually 90% of the host with the above two maps enough, the rest of the map almost every story has a sad: htw, htr, idq, ida ... ... want to know these stories? to check it before the vulnerability list.what? can not find where to delete?in the IIS Manager, right-click the host -> Properties -> WWW Services Edit -> Home Directory Configuration -> application mapping, and then it started to delete a single by one particular (which does not pick all, hehe). Then, in just the bookmarks window application debugging error message within the script to send text ( ASP error unless you want to know your plan when the user / network / database structure) error text writing? whatever you like, own selection. Click OK to exit do not forget to set the virtual site inherit your property.
order to deal with the growing quantity of cgi vulnerability scanners, there is a little trick to refer towards the IIS will HTTP404 Object Not Found error page through the URL to redirect to a custom HTM files, can current, most CGI vulnerability scanner failure. It is genuinely quite simple, most of the time of writing CGI scanner in order to facilitate, through the HTTP code to view the back page to determine whether vulnerabilities exist, for example, are generally well-known vulnerabilities by taking IDQ one. idq to test, if the return HTTP200, to think that there is this vulnerability, whereas if the return HTTP404 to think not, if you will HTTP404 error message through the URL redirected to HTTP404.htm files, then scan all vulnerabilities, whether it exists or not will be returned HTTP200, 90% of the CGI vulnerability scanner that what you have, the result will conceal your true vulnerability, so that an intruder at a loss no place to start (instead of martial arts often said that loopholes in the body perfect,
Windows 7 Home Premium Key, can we say is this state?) But from a personal point of view, I think that such a solid career security settings than the far more important tips.Finally, to be safe, you are able to use the backup feature of IIS, the setting will be just All backup set down, so that you can actually always restore IIS protection configuration. Also, if you will be afraid of the load is too high causes the server to IIS crash at full capacity, can also open the CPU limitations in performance, for example, the maximum CPU utilization IIS limit 70%.4. Account Protection:Win2000 account protection is another focus, very first of all, Win2000 the default installation allows any user to get the system through the air all the user accounts / share list, this originally for the convenience of LAN users to share files, but a remote user can also get your list of users and crack user password to use violence law. several of my friends know that you possibly can change the registry Local_Machine Program CurrentControlSet Control LSA-RestrictAnonymous = one to prohibit 139 null,fact, the local protection policy win2000 (if that is the domain server, domain server safety and domain protection policy) had this solution RestrictAnonymous (additional restrictions for anonymous connections) This option has three values:0: None. Rely on default permissions (no, depending about the default permissions)one: Do not allow enumeration of SAM accounts and shares (not enumeration of SAM accounts and shares allowed)2: No access without explicit anonymous permissions (without explicit anonymous permissions allow access)0 This value is the default, what restrictions No, the remote user can see all the accounts on your machine, group information, shared directories, network transmission NetServerTransportEnum, etc., about the server for this setup is extremely dangerous.one This value is only allowed to users of non-NULL SAM account information access and share information.2 in this value is only supported in win2000, to note that if you use this value if your share is estimated on all finished, so I suggest that you set to 1 or better. Well, now there is no way an intruder to get a list of our customers, our account safe ... ...Wait, at least a person account password can be run This is the system built-in administrator, how do? I change change change, in Computer Management -> right click administrator user account and then change its name changed to whatever you what, as long as I remember around the line.not No, I have changed the user name, and how people nonetheless run my administrator's password? Fortunately,
Windows 7 64 Bit, my password is long enough, but this just isn't the answer you? ah, it must be in local or Terminal Service login screen to see , properly, let's put HKEY_LOCAL_MACHINE SOFTWARE Microsoft WindowsNT CurrentVersion winlogon key in the Don't Display Last User Name string data into a 1, so the program doesn't automatically display the last logon user name.
the server registry HKEY_LOCAL_ MACHINE SOFTWARE Microsoft WindowsNT CurrentVersion Winlogon key in the Don't Display Last User Name string data revised to one to hide the last login console user name.
5. Protection Log:I encountered such a situation, a host intrusion by others, the system administrator asked me to track down the murderer, I logged into a look: protection log is empty, down,
Office Pro, remember: Win2000 the default installation is not open any security audit! then invite you towards the local protection policy -> audit policy, open the appropriate review, the audit recommended that:account management success or failurelogon events success and failureobject access failuresuccess or failurepolicy changes failedprivilege to use the program event success or failure
directory service access failuresaccount logon events audit project success and failuresmall drawback is that there is no record in case you want to see it at all Mozhe; too lots of items will not only review program resources and cause you do not have time to see, so that the significance of losing the audit.is associated with:strategy in the account -> Password policy settings:password complexity requirements enabledMinimum password length 6Enforce password history 5maximum age of 30 days
In the Account Policy -> Account Lockout Policy settings:account lockout 3 times the error log locked for 20 minutes 20 minutes lock count reset Similarly, Terminal Service protection log isn't open by default, and we can Terminal Service Configration (remote service configuration) - permissions - Advanced to configure safety auditing, in general, as long as the record of logon, logoff events on it.
6. directory and file permissions:to control the user's permissions around the server, but also to prevent a achievable invasion and subsequent overflow, we must be quite careful to set the directory and file access permissions, NT access rights are divided into: read, write, read and perform, modify, list directories, full control. In the default case, the majority of the folder for all users (Everyone in this group) is completely open The (Full Control), you need to apply the required permissions to reset.making access control, keep in mind the following principles:1> limit is cumulative: If a user at the same time belongs to two groups, he had allowed these two groups all permissions;2> permission denied permission to allow higher than (denial of the implementation strategy will be) if a Users belong to one is denied access to a resource group, no matter the permissions of other how considerably authority to give him open, he must not access the resources. so please be particularly careful to make use of reject, any refusal may perhaps have resulted in improper The system can not function properly;3> file permissions for your folder permissions than the high (need to explain this, right?)4> use user groups for access control is a mature program administrator an individual must have good habits;5> only permissions towards the users really need, the principle of least privilege is an important guarantee for your safety;7: Prevention of DoS:
In the registry HKLM System CurrentControlSet Services Tcpip Parameters, change the following value can help protect you against a certain intensity of DoS attacksSynAttackProtect REG_DWORD 2EnablePMTUDiscovery REG_DWORD 0NoNameReleaseOnDemand REG_DWORD 1EnableDeadGWDetect REG_DWORD 0KeepAliveTime REG_DWORD 300,000PerformRouterDiscovery REG_DWORD 0EnableICMPRedirects REG_DWORD 0ICMP attacks : ICMP storm attack and fragment attack is also quite daunting NT host attack methods, in fact, fairly easy methods to deal with, win2000 comes with a Routing & Remote Access tool that begun to take shape router (Microsoft really, what should do? I heard recently, to do the firewall) in this tool, we can easily define input and output packet filters, for example, setting the input code 255 ICMP dropped to that drop all ICMP packets alien.
Fourth, some of the things to note:In fact, safety and application is contradictory in a lot of cases, so you need to find a balance in which, after all, the server is for users to make use of and not to do OPEN HACK , if the program protection policy prevents the application of the principle that the safety just isn't a good principle. Network security is a systematic project, which spans not only space, there is nevertheless time span. a whole lot of friends (including some system administrators ) conducted a protection configuration that the host is safe, in fact, of which there is a misunderstanding: we can only say that a host in certain cases some time is safe, with the network structure changes, new vulnerabilities are discovered administrator / user operation, the host of the safety situation is changing at any time, only to security awareness and safety program throughout the entire method to become truly safe.