Security Overview for preventing buffer overflow attacks in Linux-Linux Enterprise applications-Linux server applications. For details, see the following section. Buffer overflow attacks are currently one of the most common attacks by hackers. To cope with the emerging buffer overflow attacks, we have studied how to prevent Buffer Overflow in Linux, summarizes the security policies for preventing buffer overflow attacks on Linux. These security policies can be applied to internal servers of general enterprises, includes web servers, mail servers, samba servers, ftp servers, and proxy servers. In actual use, we found that the configuration of these security policies can provide a good precaution for buffer overflow attacks.
In the study of computer system security, a system security vulnerability has aroused our attention. On the one hand, due to the extensiveness of such security vulnerabilities, almost all operating system platforms are affected. On the other hand, we are attracted by the concealment and powerful power of attack programs compiled by hackers based on such security vulnerabilities. This is the buffer overflow technology. It can make it seem safe to lose control of a host running regular services (such as DNS and ftpd) within a few seconds. Buffer overflow attacks are currently the most common attack methods for hackers. Buffer overflow has become a common term in Internet security event reports released by CERT and CIAC. Buffer overflow attacks aim to disrupt the functions of programs with certain privileges. In this way, attackers can gain control of the program. If the program has sufficient permissions, the entire host will be controlled.
In order to cope with the emerging buffer overflow attacks, we have studied the methods to prevent Buffer Overflow in Linux. the Linux platform has two main reasons: (1) linux is an open-source platform, which is conducive to in-depth technical details during our research. Because Linux and its large number of applications are based on open-source code, many hackers have done a lot of work on it. It can be said that the level of network attacks on Linux represents the highest level of network attacks. (2) Linux is a Unix-like system and an operating system platform that is widely used in the Internet. It is very representative to select Linux as a platform for studying Buffer Overflow technology, experience gained from Linux platforms can be easily transplanted to other Unix or Unix-like platforms.
Through research, we have summarized the security policies for preventing buffer overflow on the Linux platform. These security policies can be applied to internal servers of general enterprises, includes web servers, mail servers, samba servers, ftp servers, and proxy servers. The security policies we have summarized are as follows:
1. Do Not Display System prompt information
If you do not want the remote login user to see the system prompt information, you can change the telnet settings in the "/etc/inetd. conf" file: