



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Confidentiality Policies Prevention of unauthorized disclosure of information. Confinement Problem The confinement problem is the problem of preventing a server from leaking information that the user of the service considers confidential. Example- Server balances bank accounts for clients. In this situation client send request. Server uses this data and performs some function and find out the result & then send this result to the client In this case confinement problem deals with preventing the server from leaking the confidential information of user. The following types of channel can be used by a program to leak information.
1. Covert Channels: A communication channel (attack techniques) whose existence is hidden or covert. “A covert channel is any communication channel that can be exploited by a process to transfer information in a manner that violates the system’s security policy”. (Suppose a group of students is preparing for an exam for which each question has four choices (a, b, c, d); one student in the group, Sophie, understands the material perfectly and she agrees to help the others. She says she will reveal the answers to the questions, in order, by coughing once for answer "a," sighing for answer "b," and so forth. Sophie uses a communications channel that outsiders may not notice; her communications are hidden in an open channel. This communication is a human example of a covert channel.) The following types of channels can be used by a program to leak information: Storage covert channel Timing Covert channel
Storage covert channel - It Involves the direct or indirect writing to storage location by one process and direct or indirect reading of the storage by another process. Example disk space, file lock Timing covert channel – The use of delays between packets transmitted over computer networks i.e. one process relay information to another process by modulating its own use of system resources. Confinement Problem can implemented at many levels:
1. System call interposition It is a powerful technique for regulating and monitoring program behaviors. It gives security systems the ability to monitor all of the application's interaction with network, file system and other sensitive system resources. Many security systems, such as host intrusion detection systems (HIDS), leverage (to take advantage) system call interposition to detect anomalous program behaviors. The discrimination between normal and abnormal behavior is based on what system calls are normally invoked by a running program. It is possible to identify and prevent damage if we can monitor every system call made by every process, and launch actions to preempt any damage. To guarantee the effectiveness and security of these security systems, system calls must be intercepted and handled safely and completely. In addition to the preventive approaches, system call interception can significantly enhance the power and effectiveness of most offline intrusion detection techniques. 2. Virtual Machine based isolation A virtual machine (VM) is a virtual environment that functions as a virtual computer system created on a physical hardware system. A VM behaves like an actual computer i.e. it can have an OS and application programs running on it. A VM is an isolated environment with access to a subset of physical resources of the computer system. By design, all VMware virtual machines are isolated from one another. This isolation enables multiple virtual machines to run securely while sharing hardware and ensures both their ability to access hardware and their uninterrupted performance.
4. Rootkit It is a program (collection of programs) that hides in a computer and allows someone from a remote location to take full control of the computer. The rootkit author can execute programs, change settings, monitor activity, and access files on the remote computer. The word rootkits comes from the root user, which is the administrator account on LINUX systems. The kit refers to a toolkit or a set of tools. Today rootkits are generally associated with malware – such as Trojans, worms, viruses – that conceal their existence and actions from users and other system processes. Rootkits can be installed in a number of ways, including phishing attacks or social engineering tactics to trick users into giving the rootkit permission to be installed on the victim system, often giving remote cyber criminals administrator access to the system. Types of rootkits - there are five types of rootkits. 1. Hardware or firmware rootkit - Hardware/Firmware rootkits are actually embedded (hide itself) within the firmware of devices such a network card, system BIOS etc. A firmware rootkit is activated if a BIOS function is called or when the machine is booted. The rootkit would always be available as long as the device is. And can be harder to detect. That's why it’s good to let your anti-virus scan every device that your plugin. 2. Boot loader rootkit - Your computer’s boot loader is an important tool. It loads your computer’s operating system when you turn the machine on. It replaces or modifies the legitimate boot loader with another one thus enabling the Boot loader Level (Boot kit) to be activated even before the operating system is started. Boot loader Level (Boot kit) Rootkits are serious threat to security because they can be used to hack the encryption keys and passwords. 3. Memory rootkit - A memory rootkit is the one which hides itself in the memory (RAM). These rootkits have a short lifespan. They only live in your computer’s RAM and will disappear once you reboot your system — though sometimes further work is required to get rid of them. 4. User or Application rootkit - Application rootkits replace standard files in your computer with rootkit files. They might also change the way standard applications work. These rootkits might infect programs such as Word, Paint, or Notepad. Every time you run these programs, you will give hackers access to your computer. The challenge here is that the infected programs will still run normally, making it difficult for users to detect the rootkit. 5. Kernel mode rootkits - The kernel is the core of the Operating System and Kernel Level Rootkits are created by adding additional code or replacing portions of the core operating system, with modified code via device drivers (in Windows) or Loadable Kernel Modules (Linux). This can give them easy access to your computer and make it easy for them to steal your personal information. Rootkit Detection - Once an infection takes place, things get tricky. It is difficult to detect rootkits as this kind of malware is designed to stay hidden and do its business in the background. There are utilities designed to look for known and unknown types of rootkits through various methods, including behavioral-based methods (e.g., looking for strange behavior on a computer system), signature scanning and memory dump analysis. There is no way to magically protect yourself from all rootkits. Fortunately, you can avoid these attacks by following the same common-sense strategies you take to avoid all computer viruses, including these. Don't ignore updates - Keeping your operating systems, antivirus software, and other applications updated is the best way to protect yourself from rootkits. Watch out for phishing emails - Phishing emails are sent by scammers who want to trick you into providing them your financial information or downloading malicious software, such as rootkits, onto your computer. Often, these emails will look like they come from a legitimate bank or credit card provider. These messages may state that your account is about to be frozen or that you need to verify your identity. The messages will also ask that you click on a link. If you do, you’ll be taken to a fake website. Once there, you might accidentally download a rootkit to your computer.
Don’t download files sent by people you don’t know - Be careful, too, when opening attachments. Don’t open attachments sent to you by people you don’t know. Doing so could cause a rootkit to be installed in your computer. If you receive a suspicious attachment? Delete the email message immediately. Removing a rootkit is a complex process and typically requires the use of specialized tools. Major security firms, such as Symantec, Kaspersky Lab and Intel Security (McAfee), offer rootkit scanners to enterprise customers.
5. Intrusion Detection System Intrusion can be defined as a subversion of security to gain access to a system. These unauthorized accesses to computer or network systems are often designed to study the system’s weakness for future attacks. Other forms of intrusions are aimed at limiting access or even preventing access to computer systems or networks. What is an IDS? An intrusion detection system (IDS) is a software application or hardware appliance (Device) that monitors traffic moving on networks and through systems to search for suspicious activity or policy violation and known threats, sending up alerts when it finds such items. What are we protecting? Data Availability Privacy Who are the intruders? Hackers Thieves Types of IDS - Intrusion detection systems can be broken into two broad categories: Network-based: A system that analyzes the stream of packets which travel across the network traffic. Host-based: A system that monitors important operating system and application files. Network-based - A Network based Intrusion Detection System (NIDS) is one common type of IDS that analyzes network traffic at all layers of the Open Systems Interconnection (OSI) model and makes decisions about the purpose of the traffic, analyzing for suspicious activity. Once a suspicious activity (attack) is identified or abnormal behavior is observed, the alert can be sent to the administrator.
Permissions - Every file and directory in your UNIX/Linux system has following three permissions defined for all the three owners discussed above. Read (r) - This permission give you the authority to open and read a file. Read permission on a directory gives you the ability to lists it’s content. Write (w) - The write permission gives you the authority to modify the contents of a file. The write permission on a directory gives you the authority to add, remove and rename files stored in the directory. Consider a scenario where you have to write permission on file but do not have write permission on the directory where the file is stored. You will be able to modify the file contents. But you will not be able to rename, move or remove the file from the directory. Execute (x) - In Windows, an executable program usually has an extension ".exe" and which you can easily run. In Unix/Linux, you cannot run a program unless the execute permission is set. If the execute permission is not set, you might still be able to see/modify the program code (provided read & write permissions are set), but not run it. No permission (- ) - means no permission