and run Backdoor programs, they will find some methods to joke with the system administrator. This involves two aspects: how to hide his files and how to hide his processes.
To hide files, intruders need to do the following: replace some common system commands such as "ls", "du", "fsck ". At the underlying level, they mark some areas in the hard disk as bad blocks and place their files there. Or if he is crazy enough, he will put some files into the boot block.
To hide a process, he can repla
arrays should be prepared to prevent disk damage (security not only refers to system security, but also to data security and communication security)
17. the file integrity check tool tripwire is used to check the file integrity (so it is strongly recommended that the linux system administrator keep work notes during work and make changes to the settings in the modifications to system settings) do not save the integrity check data to the hard disk o
on whether the intruders "scan the end" and do enough work. For an intrusion that requires sufficient homework, it will be a matter of precision and pain to clean up. In this case, professional third-party tools (open-source, for example, tripwire or aide.
Professional tools are difficult to deploy and use, and not all administrators can use them skillfully.
In fact, the Linux system itself has provided a "Verification" mechanism, and the program
assessment. However, enterprises need to understand that this digital game does not need to be perfect, especially when it comes to evaluating the impact of security leaks.
"The evaluation of the impact of security incidents makes it easier for enterprises to discuss and focus on how to mitigate risks, rather than spending a lot of time discussing whether the impact is worth $20 million or $21000, dwayne Melancon, chief technology officer of Tripwire
).
From the Internet perspective, I will implement the appropriate inbound) Access Control List ACL) and try to restrict NAS. For example, using built-in firewall security restrictions can prevent traffic from untrusted interfaces, such as the Internet or DMZ, from flowing to trusted interfaces, such as the Intranet ). In addition, access to the network-oriented DMZ should be limited to the appropriate application ports, such as TCP port 80 and TCP port 443 ). Consider executing a strict outbo
Article Title: List of Linux security tools. 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.
Sxid
Check the suid, sgid, and files without the master in the system.
Skey
One-time password Tool
Logrotate
Log loop Tool
Logcheck
Log Management Tools
Swatch
Log management tools, more real-time than logcheck
Ssh (openssh)
Secure Connection Authentica
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
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.