TAILIEUCHUNG - Network Security Foundations phần 7

phần mềm diệt virus bảo vệ hiện đại nhất cũng đi kèm với inoculators kiểm tra phần mềm được tải và ngắt quá trình tải nếu virus được tìm thấy. Điều này có thể rất thuận lợi bởi vì nó vẫn không ngừng phá hoại xảy ra ở nơi đầu tiên. Inoculators có thể nhận được trong cách chuyển file số lượng lớn, | Securing Unix Servers 187 But this is a problem for executables that launch automatically at boot time. Daemons and services that launch automatically will all be launched under the root context because there is no logged-in user during the boot process. This means that every daemon would have full access to the system and any flaw or poorly coded daemon that a hacker could exploit would provide full access to the system. The Unix solution to this is the setuid and setgid bits contained in the executable file s inode. If the setuid flag is set on an executable file then the executing program process inherits its UID from its own file s UID rather than from the user who started the executable. This means for example that a daemon could have an owner other than root who would only be able to access files that are necessary for the daemon to operate. The setgid flag works the same way and causes the file to inherit its GID from its file GID rather than the logged-on user s primary group. Programs that operate with setuid or setgid permissions can open very serious holes in your security. Be extremely cautious about using them. To create a SetUID executable also referred to as SUID executables execute the following command setuid bash root Note that this command will create a shell that always has root permissions exactly what a hacker would attempt if they could and what you should never do. If you do this for test purposes remember to change it back to normal by executing this command setuid bash - You can do the same thing to a file s group using the setgid command which gives the executable whatever permissions are held by that group. SetUID Security Problems There are numerous security problems associated with SetUID programs obviously since they can operate as the root any exploit that can take control of them and cause them to launch a new process like a shell effectively has control of the system. But there are more subtle ways in which SetUID can cause .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.