



















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!




















Access control is concerned with determining the allowed activities of legitimate users, mediating every attempt by a user to access a resource in the system. A given information technology (IT) infrastructure can implement access control systems in many places and at different levels. Operating systems use access control to protect files and directories. Database management systems DBMS apply access control to regulate access to tables and views. Most commercially available application systems implement access control, often independent of the operating systems and/or DBMSs on which they are installed. The objectives of an access control system are often described in terms of protecting system resources against inappropriate or undesired user access. From a business perspective, this objective could just as well be described in terms of the optimal sharing of information. After all, the main objective of IT is to make information available to users and applications. A greater degree of sharing may get in the way of resource protection; in reality, a well-managed and effective access control system actually facilitates sharing. A sufficiently fine-grained access control mechanism can enable selective sharing of information where in its absence, sharing may be considered too risky altogether. An access enforcement mechanism authorizes requests (e.g., system calls) from multiple subjects (e.g. users, processes, etc.) to perform operations (e.g., read, write, etc.) on objects (e.g., files, sockets, etc.).An operating system provides an access enforcement mechanism. In this chapter, we define the fundamental concepts of access control: a protection system that defines the access control specification and a reference monitor that is the system’s access enforcement mechanism that enforces this specification.
This section introduces some of the concepts that are commonly used in the access control. Object: An entity that contains or receives information. Access to an object potentially implies access to the information it contains. Examples of objects are records, fields (in a database record), blocks, pages, segments, files, directories, directory trees, process, and programs, as well as processors, video displays, keyboards, clocks, printers, and network nodes. Devices such as electrical switches,
disc drives, relays, and mechanical components connected to a computer system may also be included in the category of objects. Subject : An active entity, generally in the form of a person, process, or device that causes information to flow among objects (see below) or changes the system state. Operation : An active process invoked by a subject; for example, when an automatic teller machine (ATM) user enters a card and correct personal identification number (PIN), the control program operation on the user’s behalf is a process, but the subject can initiate more than one operationdeposit, withdrawal, balance inquiry, etc. Permission (Privilege) / Access Right : An authorization to perform some action on the system. In most computer security literature, the term permission refers to some combination of object and operation. A particular operation used on two different objects represents two distinct permissions, and similarly, two different operations applied to a single object represent two distinct permissions. For example, a bank teller may have permissions to execute debit and credit operations on customer records through transactions, while an accountant may execute debit and credit operations on the general ledger, which consolidates the bank’s accounting data. Access Control List (ACL) : A list associated with an object that specifies all the subjects that can access the object, along with their rights to the object. Each entry in the list is a pair (subject, set of rights). An ACL corresponds to a column of the access control matrix. ACLs are frequently implemented directly or as an approximation in modern operating systems. Access Control Matrix : A table in which each row represents a subject, each column represents an object, and each entry is the set of access rights for that subject to that object. In general, the access control matrix is sparse: most subjects do not have access rights to most objects. Therefore, different representations have been proposed. The access control matrix can be represented as a list of triples, having the form. Searching a large number of these triples is inefficient enough that this implementation is seldom used. Rather, the matrix is typically subdivided into columns (ACLs) or rows (capabilities). Policies, Models, and Mechanisms When planning an access control system, three abstractions of controls should be considered: access control policies, models, and mechanisms. Access control policies are high-level requirements that specify how access is managed and who, under what circumstances, may access what information. While access control policies can be
of ever-evolving business factors, government regulations, and environmental conditions. There are several well-known access control policies, which can be categorized as discretionary or non-discretionary. Typically, discretionary access control policies are associated with identity-based access control, and non- discretionary access controls are associated with rule-based controls (for example, mandatory security policy). Discretionary Access Control (DAC) DAC leaves a certain amount of access control to the discretion of the object's owner or anyone else who is authorized to control the object's access. For example, it is generally used to limit a user's access to a file; it is the owner of the file who controls other users' accesses to the file. Only those users specified by the owner may have some combination of read, write, execute, and other permissions to the file. DAC policy tends to be very flexible and is widely used in the commercial and government sectors. However, DAC is known to be inherently weak for two reasons. First, granting read access is transitive; for example, when Ann grants Bob read access to a file, nothing stops Bob from copying the contents of Ann’s file to an object that Bob controls. Bob may now grant any other user access to the copy of Ann’s file without Ann’s knowledge. Second, DAC policy is vulnerable to Trojan horse attacks. Because programs inherit the identity of the invoking user, Bob may, for example, write a program for Ann that, on the surface, performs some useful function, while at the same time destroys the contents of Ann’s files. When investigating the problem, the audit files would indicate that Ann destroyed her own files. Thus, formally, the drawbacks of DAC are as follows: ▪ Information can be copied from one object to another; therefore, there is no real assurance on the flow of information in a system. ▪ No restrictions apply to the usage of information when the user has received it. ▪ The privileges for accessing objects are decided by the owner of the object, rather than through a system-wide policy that reflects the organization’s security requirements. ACLs and owner/group/other access control mechanisms are by far the most common mechanism for implementing DAC policies. Other mechanisms, even though not designed with DAC in mind, may have the capabilities to implement a DAC policy.
Non-Discretionary Access Control In general, all access control policies other than DAC are grouped in the category of nondiscretionary access control (NDAC). As the name implies, policies in this category have rules that are not established at the discretion of the user. Non- discretionary policies establish controls that cannot be changed by users, but only through administrative action. Separation of duty (SOD) policy can be used to enforce constraints on the assignment of users to roles or tasks. An example of such a static constraint is the requirement that two roles be mutually exclusive; if one role requests expenditures and another approves them, the organization may prohibit the same user from being assigned to both roles. So, membership in one role may prevent the user from being a member of one or more other roles, depending on the SOD rules, such as Work Flow and Role-Based Access Control (see the following sections). Another example is a history-based SOD policy that regulates, for example, whether the same subject (role) can access the same object a certain number of times. Three popular nondiscretionary access control policies are discussed in this section. Mandatory Access Control (MAC) Mandatory Access Control (MAC) policy means that access control policy decisions are made by a central authority, not by the individual owner of an object, and the owner cannot change access rights. An example of MAC occurs in military security, where an individual data owner does not decide who has a Top Secret clearance, nor can the owner change the classification of an object from Top Secret to Secret. MAC is the most mentioned NDAC policy.
researcher can be limited to gathering anonymous clinical information for studies. The use of roles to control access can be an effective means for developing and enforcing enterprise-specific security policies and for streamlining the security management process. Under RBAC, users are granted membership into roles based on their competencies and responsibilities in the organization. The operations that a user is permitted to perform are based on the user's role. User membership into roles can be revoked easily and new memberships established as job assignments dictate. Role associations can be established when new operations are instituted, and old operations can be deleted as organizational functions change and evolve. This simplifies the administration and management of privileges; roles can be updated without updating the privileges for every user on an individual basis. When a user is associated with a role, the user can be given no more privilege than is necessary to perform the job; since many of the responsibilities overlap between job categories, maximum privilege for each job category could cause unauthorized access. This concept of least privilege requires identifying the user's job functions, determining the minimum set of privileges required to perform those functions, and restricting the user to a domain with those privileges and nothing more. In less precisely controlled systems, least privilege is often difficult or costly to achieve because it is difficult to tailor access based on various attributes or constraints. Role hierarchies can be established to provide for the natural structure of an enterprise. A role hierarchy defines roles that have unique attributes and that may contain other roles; that is, one role may implicitly include the operations that are associated with another role. Temporal Constraints Temporal constraints are formal statements of access policies that involve time-based restrictions on access to resources; they are required in several application scenarios. In some applications, temporal constraints may be required to limit resource use. In other types of applications, they may be required for controlling time-sensitive activities. It is these time-based constraints (in addition to other constraints like workflow precedence relationships) that must be evaluated for generating dynamic authorizations during workflow execution time. Temporal constraints may also be required in non-work flow environments as well. For example, in a commercial banking enterprise, an employee should be able to assume the role of a teller (to perform transactions on customer accounts) only during designated banking hours (such as 9 a.m. to 2 p.m., Monday through Friday, and 9
a.m. to 12 p.m. on Saturday). To meet this requirement, it is necessary to specify temporal constraints that limit role availability and activation capability only to those designated banking hours. Popular access control policies related to temporal constraints are the history-based access control policies, which are not supported by any standard access control mechanism but have practical application in many business operations such as task transactions and separation of conflictsofinterests. History-based access control is defined in terms of subjects and events where the events of the system are specified as the object access operations associated with activity at a particular security level. This assures that the security policy is defined in terms of the sequence of events over time, and that the security policy decides which events of the system are permitted to ensure that information does not “flow” in an unauthorized manner. Popular history-based access control policies are Workflow and Chinese wall.
A reference monitor is the classical access enforcement mechanism. Figure 4. presents a generalized view of a reference monitor. It takes a request as input, and returns a binary response indicating whether the request is authorized by the reference monitor’s access control policy. We identify three distinct components of a reference monitor: (1) its interface; (2) its authorization module; and (3) its policy store. The interface defines where the authorization module needs to be invoked to perform an authorization query to the protection state, a labeling query to the labeling state, or a transition query to the transition state. The authorization module determines the exact queries that are to be made to the policy store. The policy store responds to authorization, labeling, and transition queries based on the protection system that it maintains. Reference Monitor Interface: The reference monitor interface defines where protection system queries are made to the reference monitor. In particular, it ensures that all security-sensitive operations are authorized by the access enforcement mechanism. By a security-sensitive operation, we mean an operation on a particular object (e.g., file, socket, etc.) whose execution may violate the system’s security requirements. For example, an operating system implements file access operations that would allow one user to read another’s secret data (e.g., private key) if not controlled by the operating system. Labeling and transitions may be executed for authorized operations.
per interface). The protection system determines the choices of labels and operations, but the authorization module must develop a means for performing the mapping to execute the “right” query. For the open request above, the module responds to the individual authorization requests from the interface separately. For example, when a directory in the file path is requested, the authorization module builds an authorization query. The module must obtain the label of the subject responsible for the request (i.e., requesting process), the label of the specified directory object (i.e., the directory inode), and the protection state operations implied the request (e.g., read or search the directory). In some cases, if the request is authorized by the policy store, the module may make subsequent requests to the policy store for labeling (i.e., if a new object were created) or label transitions. Policy Store: The policy store is a database for the protection state, labeling state, and transition state. An authorization query from the authorization module is answered by the policy store. These queries are of the form {subject_label, object_label, operation_set} and return a binary authorization reply. Labeling queries are of the form {subject_label, resource} where the combination of the subject and, optionally, some system resource attributes determine the resultant resource label returned by the query. For transitions, queries include the {subject_label, object_label, operation, resource}, where the policy store determines the resultant label of the resource. The resource may be either be an active entity (e.g., a process) or a passive object (e.g., a file). Some systems also execute queries to authorize transitions as well. 4.3 Access Control Model Access control models provide a model for developers who need to implement access control functionality in their software and devices. Instead of having to reinvent the wheel for every system and design a complex access control system, developers can write a system based on existing well thought-out models. There are three different types of access control models, which you need to be able to explain and differentiate: MAC, DAC, and RBAC. Access Control Matrix An Access Control Matrix is a table that maps the permissions of a set of subjects to act upon a set of objects within a system. The matrix is a two-dimensional table with subjects down the columns and objects across the rows. The permissions of the
subject to act upon a particular object are found in the cell that maps the subject to that object. Access to any type of information is regulated by organizations having either physical or logical access controls in place, some organizations offering both.
group:r-x Group owner tag (with empty qualifier) specifies the owning group has read and execute permission. group.groupid:--x Named group tag specifies the group groupid (qualifier) has execute permission. other:r-- Other tag (with empty qualifier) specifies all other users (than the owning and named users and groups) have the read permission. Capability List (CL) Another type of access control is the capability list or access list. A capability is a key to a specific object, along with a mode of access (read, write, or execute). In a capability system, access to an object is allowed if the subject that is requesting access possesses a capability for the object. It can thus be thought of as the inverse of an access control list: an ACL is attached to an object and specifies which subjects may access the object, while a capability list is attached to a subject and specifies which objects the subject may access. A capability is a protected identifier that both identifies the object and specifies the operations to be allowed to the user who possesses the capability. This approach corresponds to storing the access control matrix by rows. Table 3 .3 Presents an example of a capability list The capability list in the table is associated with a subject and specifies the subject’s rights. Each entry in the list is a capability - a pair <object, set of operations>. A subject possessing a capability is proof of the subject having the access privileges. So, it can be useful to think of capabilities as being similar to tickets. However, unlike tickets,
in some systems capabilities can be copied, and there may be the potential for the possessor of a capability to give a copy to someone else (this capacity is itself often represented as a “right”). A capability list corresponds to a row of the access control matrix. The principal advantage of capabilities is that it is easy to review all accesses that are authorized for a given subject. The most successful use of capabilities is at lower levels in the system, where capabilities provide the underlying protection mechanism and not the user-visible access control scheme. At the highest levels in the system, the system maintains a list of capabilities for each user. Users cannot add capabilities to this list except to cover new files that they create. Users might, however, be allowed to give access to objects by passing copies of their own capabilities to other users, and they might be able to revoke access to their own objects by taking away capabilities from others (although revocation can be difficult to implement).
The Bell-LaPadula Model (abbreviated BLP) is a state machine model used for enforcing access control in government and military applications. It was developed by David Elliott Bell and Leonard J. LaPadula, subsequent to strong guidance from Roger R. Schell to formalize the U.S. Department of Defense (DoD) multilevel security (MLS) policy. The model is a formal state transition model of computer security policy that describes a set of access control rules which use security labels on objects and clearances for subjects. Security labels range from the most sensitive (e.g."Top Secret"), down to the least sensitive (e.g., "Unclassified" or "Public"). The Bell- LaPadula model is an example of a model where there is no clear distinction of protection and security. Features The Bell-LaPadula model focuses on data confidentiality and controlled access to classified information, in contrast to the Biba Integrity Model which describes rules for the protection of data integrity. In this formal model, the entities in an information system are divided into subjects and objects. The notion of a "secure state" is defined, and it is proven that each state transition preserves security by moving from secure
Limitations
The motivation for creating the Biba model was for preserving the integrity in a computer system. The model prevents the unauthorized modification of data and maintains the consistency of the data. The Biba model assigns the subjects and objects an integrity label. The integrity label is used to tell the degree of confidence that may
be placed in the data. The Biba model contains four access modes: modify, observe, invoke, and execute. The Biba model defines a family of different policies that can be used to enforce integrity. The Biba model supports five mandatory policies: strict integrity policy, low watermark policy for subjects, low-watermark for objects, low-watermark integrity audit policy, and ring policy. Three discretionary policies have been established: access control lists, object hierarchy, and ring. In practice the mandatory policies of the Biba model are most often used. The most restrictive of the policies of the Biba model is the strict integrity property. The strict integrity property is essentially a reverse of the Bell-LaPadula model. The strict integrity model is composed of three properties. First, the simple integrity condition allows a subject to observe (read) an object only if the integrity level of the subject is less than the integrity level of the object. The simple integrity condition enforces “no read down”. Second, the integrity star property states that a subject can modify (write to) an object only if the integrity level of the object is less than the integrity level of the object. The integrity star property enforces “no write up”. Last, in the invocation property, a subject can invoke another subject only if the integrity level of the subject being invoked is less than the subject that invoked it. The figures below show the simple integrity condition (Fig. 1) and the integrity star property (Fig. 2).
models point out the difficult with attaining security in a multi-level model. The characteristics that ensure confidentiality fail to ensure confidentiality and the characteristics that ensure integrity fail to ensure proper confidentiality.
A firewall is a system that enforces an access control policy between two networks— such as your private LAN and the unsafe, public Internet. The firewall determines which inside services can be accessed from the outside, and vice versa. The actual means by which this is accomplished varies widely, but in principle, the firewall can be thought of as a pair of mechanisms: one to block traffic, and one to permit traffic. A firewall is more than the locked front door to your network—it’s your security guard as well. Firewalls are also important because they provide a single “choke point” where security and audits can be imposed. A firewall can provide a network administrator with data about what kinds and amount of traffic passed through it, how many attempts were made to break into it, and so on. Like a closed circuit security TV system, your firewall not only prevents access, but also monitors who’s been sniffing
Basically, a firewall does three things to protect your network:
Think of screening levels as a process of elimination. The firewall first determines whether the incoming transmission is something requested by a user on the network, rejecting anything else. Anything that is allowed in is then examined more closely. The firewall checks the sender’s computer address to ensure that it is a trusted site. It also checks the contents of the transmission. Firewall Technologies Firewalls come in all shapes, sizes, and prices. Choosing the correct one depends mainly on your business requirements and the size of your network. This section discusses the different types of firewall technologies and formats available. Above all, no matter what type of firewall you choose or its functionality, you must ensure that it is secure and that a trusted third party, such as the International Computer Security Association (ICSA), has certified it. The ICSA classifies firewalls into three categories: packet filter firewalls, application-level proxy servers, and stateful packet inspection firewalls. Packet Filter Firewall Every computer on a network has an address commonly referred to as an IP address. A packet filter firewall checks the address of incoming traffic and turns away anything that doesn’t match the list of trusted addresses. The packet filter firewall uses rules to deny access according to information located in each packet such as: the TCP/IP port number, source/destination IP address, or data type. Restrictions can be as tight or as loose as you want. An ordinary router on a network may be able to screen traffic by address, but hackers have a little trick called source IP spoofing that makes data appear to come from a trusted source, even from your own network. Unfortunately, packet filter firewalls are prone to IP spoofing and are also difficult and confusing to configure. And any mistake in configuration could potentially leave you wide open to attack. Application-Level Proxy Server An application-level proxy server examines the application used for each individual IP packet to verify its authenticity. Traffic from each application—such as HTTP for Web, FTP for file transfers, and SMTP/POP3 for e-mail—typically requires the installation and configuration of a different application proxy. Proxy servers often