of the target operating system through the standard or non-standard port through the text or graphic interface. Therefore, this not only blocks the reverse pipeline itself, but also immune to a lot of intrusion Techniques For general system administrators, this is too harsh!
Iptables attack Countermeasures
Syn-flood protection:
[Root @ ayazero foo] # iptables-a forward-p tcp -- syn-m limit -- limit 1/s-j ACCEPT
Furtive port Detail:
[Root @ ayazero foo] # iptables-a forward-p tcp -- tcp-fl
Gpasswd info gpasswd
Permission management
Ugo rwx P3-8
File vs directory x?
Trojan and virus root or non-root?
SUID SGID stickybit P4-2
Archives vs directory
Investigation Techniques P4-4
Su vs sudo
Su missing passwd? Privilege?
Sudoers Design info sudoers
Archive properties P4-8
Appand only
Read only
File System Design
File type P3-2
Inode block P3-6
Http://www.study-area.org/linux/system/linux_fs.htm#fstab
Mount point
Quota http://www.study-area.org/linux/system/linux_fs.htm#fquota
Read
, and port usage, and users will not be able to get real system situation reports.
Rootkits
Defense methods:
The most effective method to defend against rootkits is to regularly check the integrity of important system files. There are many such tools, such as tripwire, which is a very good file integrity check tool. Once rootkits attacks are detected, it is troublesome. You must reinstall all System File Components and programs to ensure security. Her
system.
-- Problems in traditional rootkit Detection Technology
Traditional rootkit detection programs (which we often see in UNIX systems) can only detect known rootkit (which makes it look like an anti-virus program) or scan for some internal-core storage. for example, Linux has some tools to scan the syscall table in the kernel. this is obviously not good, because there are many rootkits that do not change syscall table, and similar rootkits can be developed in Win2k.
Should the detection pr
many programmers in many service programs use functions similar to strcpy () and strcat () that do not perform a valid bit check, in the end, malicious users may write a short program to further open the security window and thenCodeEnd with the buffer payload. In this way, when a buffer overflow occurs, the returned Pointer Points to malicious code, so that the control of the system is captured.Defense: Use programs such as safelib and tripwire to pr
connections are usually allowed. Finally, we should record all the prohibited connections to detect possible attack attempts. However, broadcast and multicast data packets should be discarded because these data packets may soon be filled with system logs. The following is an example of ipchains configuration (protecting the independent server system ):
Bash # ipchains-lChain input (Policy deny ):Target prot opt source destination portsDeny all ------ 0.0.0.0 anywhere N/Deny all ------ anywhere
DBIR called by SQL injection. The injection vulnerability is a very common security vulnerability. It is very easy to use without tools to use simple text commands.The best way to avoid Web-based attacks such as SQL injection is to prevent security programming practices in the first place, but security programming must occur during the development of Web applications. So Web applications may already include SQL Injection Vulnerabilities in production?Vulnerabilities in widely used Web applicati
, you may need to maintain the reading and writing of multiple files. Performance is also worrying.
The disadvantage of the above methods is naturally to invite SnappyDB, the main character of this article.
SnappyDB is a key-value database and a very popular NoSQL database. It can save data of any basic type and Serializable security and its array.
The basic usage is as follows:
12345678910111213
DB snappydb = DBFactory.open(context);//create or open an existing databse using the de
It's okay to tell you about Linux system security tools. Someone should want to know about Linux system security and so on. If you are not interested in this, you can skip this step.◆ Sxid: Check◆ Suid, sgid: And files without a master◆ Skey: one-time password Tool◆ Logrotate: log loop Tool◆ Logcheck: log management tool◆ Swatch: log management tool, which is more real-time than logcheck◆ Ssh (openssh): provides secure connection authentication.◆ Openssl: provides encrypted data transmission and
countermeasure method is closely related to the hierarchy.
The Web application firewall becomes a temporary adaptive mechanism to mitigate the threat of vulnerability.
Additional authentication elements are used in accordance with changing environmental conditions.
12.1.6 ordered failure
Good response/Response strategies
Testing of technology and people and processes
Plan which features will not reset automatically after a failure.
Transferred from: Http://www.infoq.com/cn/articles/11devopsAbout the authorGene Kim is an award-winning player in multiple roles: CTO, researcher, and writer. He was the founder of Tripwire and was the CTO for 13 years. He has written two books, including "The Visible Ops Handbook", and is currently writing the Phoenix Project:a novel about IT, DevOps, and helping Your business Win "and" DevOps Cookbook ". Gene is a huge fan of IT operations and is ob
VirtualizationSecurity Frameworks
Check if apparmor,selinux,grsecurity is turned on or supported
Software:file IntegrityCheck if the following file Integrity Check tool exists Afick,aide,osiris,samhain,tripwire,syscheck,mtree Software:system ToolingSaltstack,puppet,cfengine,chef,func,fabric File Permissions
Check/etc/lilo.conf and $HOME/.ssh
Home Directories
Check History files
Hardening
Che
Article title: Linux provides a simple and effective IDS system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In fact, when talking about IDS, I think the administrators and friends must be familiar with it. but I still want to briefly talk about the definition of IDS, which is more conducive to everyone's understanding of the subsequent applications. This
northrend stiltsHorrid horrible alkali Crown gun ritual 祎 you pray woe to Lu Zen from bald stalk seed product called Filth Nongsa unconscious tax Jesus steady time poor stealing out of the kiln channeling nest peep sinus evils vertical competition Benedict Bamboo shoots Pen Jian cage 笾 build honouring sieve Yundang Zheng raise sign Jane celestial ze suitcase sheath luo songaksan Xiao Kui basket hedge Duan Lai buy class indica cleanliness where Guangdong dung food grits loris tight 絷 si correcti
ensure their security. This is one of the challenges of our design, because a fragile design may mean a disaster.
From a more advanced perspective, we know that some servers are more important than others. One or more servers must be trusted by other servers to ensure automatic changes. Account creation monitors the integrity of the host according to the Tripwire or Samhain method, and even the backup of the configuration file must be configured and
-level filtering based on regular expressions. This tool can automatically filter emails received in the inbox. Finally, install Clam Anti-Virus. This free Anti-Virus tool integrates Sendmail and SpamAssassin, and supports email attachment scanning.
Install an intrusion detection system
Intrusion Detection System (IDS) is an early warning system that helps you understand network changes. They can accurately identify (and confirm) attempts to intrude into the system at the cost of increasing reso
, ifconfig, du, find, and netstat. If these files are replaced, it is difficult to find that the rootkit is already running in the system.
This is the file-level rootkit, which maintains a great deal of system maintenance. Currently, the most effective defense method is to regularly check the integrity of important system files. If files are found to be modified or replaced, therefore, the system may have suffered rootkit intrusion. There are many tools for checking the integrity of parts, such
protection of each host a supplement to the measures. The independent protection measures on each host include crack,tcpd,nmap,cops,tripwire and corresponding policies.
Rules and commands:The rule is very simple, the corresponding package will be given to the corresponding built-in chain, and then for the rules in chain, is the order from top to bottom, and the break statement. So, for example, if you want to open some ports, write them on, and then
abbreviation of System integrity verifiers, that is, systems integrity detection, mainly used to monitor system files or Windows registry, and other important information is modified to plug the attacker's future visit to the back door. Siv more is in the form of tool software, such as "tripwire", it can detect the transformation of important system components, but does not produce real-time alarm information.
3, LFM
LFM is the abbreviation of log
Check the Linux system for intrusion or poisoning steps?First, check the operating system(1) Check the bandwidth to see the network card traffic(2) Check the system log out log, security log, and/etc/passwd have been modified(3) To see if the system has an abnormal process:PWDX--View the path of the process;Lsof--View the system open library fileThe name of the unusual process of Baidu(4) View boot start service and Scheduled tasks:/etc/rc.local and Crontab–l(5) Analysis System logSecond, check
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.