

























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 monit 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 operation-deposit, 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 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 application-specific and thus taken into consideration by the application vendor, policies are just as likely to pertain to user actions within the context of an organizational unit or across organizational boundaries. For instance, policies may pertain to resource usage within or across organizational units or may be based on need-to- know, competence, authority, obligation, or conflict-of-interest factors. Such policies may span multiple computing platforms and applications. access request, often in terms of a structure that a system provides. There are a wide variety of structures; for example, a simple table lookup can be performed to grant or deny access. Although no well-accepted standard yet exists for determining their policy support, some access control mechanisms are direct implementations of formal access control policy concepts. Rather than attempting to evaluate and analyze access control systems exclusively at the mechanism level, security models are usually written to describe the security properties of an access control system. A model is a formal presentation of the security policy enforced by the system and is useful for proving theoretical limitations of a system. Access control models are of general interest to both users and vendors. They bridge the rather wide gap in abstraction between policy and mechanism. Access control mechanisms can be designed to adhere to the properties of the model. Users see an access control model as an unambiguous and precise expression of
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 non-discretionary 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.
However, information can pass through a covert channel in MAC, where information of a higher security class is deduced by inference such as assembling and intelligently combining information of a lower security class. Figure 4.1 A Mandatory Protection System: The protection state is defined in terms of labels and is immutable. The immutable labeling state and transition state enable the definition and management of labels for system subjects and objects. Role-Based Access Control Although RBAC is technically a form of non-discretionary access control, recent computer security texts often list RBAC as one of the three primary access control policies (the others are DAC and MAC). In RBAC, access decisions are based on the roles that individual users have as part of an organization. Users take on assigned roles (such as doctor, nurse, teller, or manager). Access rights are grouped by role name, and the use of resources is restricted to individuals authorized to assume the associated role. For example, within a hospital system, the role of doctor can include operations to perform a diagnosis, prescribe medication, and order laboratory tests; the role of 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.
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 nts. For example, an operating system implements file access operations that would allow one user to and transitions may be executed for authorized operations. Figure 4.2 Reference Monitor A reference monitor is a component that authorizes access requests at the reference monitor submit an authorization query to the policy store. The policy store answers authorization queries, labeling queries, and label transition queries using the corresponding states. The reference monitor interface determines where access enforcement is necessary and the information that the reference monitor needs to authorize that request. In a traditional UNIX file open request, the calling process passes a file path and a set of operations. The reference monitor interface must determine what to authorize (e.g., directory searches, link traversals, and finally the directory search for each directory inode in the file path), and what information to pass to the
reference monitor to authorize the open (e.g., an inode reference). Incorrect interface design may allow an unauthorized process to gain access to a file. Authorization Module: The core of the reference monitor is its authorization module. The nge for the authorization module is to map the process identity to a subject label, the object references to an object label, and determine the actual operations to authorize (e.g., there may be multiple 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 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.
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.
The composition of an ACL entry is as follows: Tag type specifies that the ACL entry is one of the following: the file owner, the owning group, a specific named user, a specific named group, or other (meaning all other users). Qualifier field describes the specific instance of the tag type. For specific named users and specific named groups, the qualifier field contains the userid and groupid, respectively. Qualifier fields for the owner entry and owning group entries are not relevant because this information is specified elsewhere. Set of permissions specifies the access rights such as read, write, or execute for the entry. For example user: rwx (r is read, w is write, and x is execute) File owner tag (with empty qualifier) specifies the owning user has read, write, and execute permission. user.userid:rw- Named user tag specifies the user userid (qualifier) has read and write permission. 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 4.3 Presents an example of a capability list 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 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.
Limitations Only addresses confidentiality, control of writing (one form of integrity), *-property and discretionary access control Covert channels are mentioned but are not addressed comprehensively The tranquility principle limits its applicability to systems where security levels do not change dynamically. It allows controlled copying from high to low via trusted subjects. Classification Levels Although the classification systems vary from country to country, most have levels corresponding to the following British definitions (from the highest level to lowest): Top Secret (TS) The highest level of classification of material on a national level. Such material would cause "exceptionally grave damage" to national security if made publicly available. Secret Such material would cause "grave damage" to national security if it were publicly available. Confidential Such material would cause "damage" or be "prejudicial" to national security if publicly available. Restricted Such material would cause "undesirable effects" if publicly available. Some countries do not have such a classification. Unclassified Technically not a classification level, but is used for government documents that do not have a classification listed above. Such documents can sometimes be viewed by those without security clearance.
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. 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. 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). Based on the strict integrity condition, a number of other policies were established. Each of the other policies is less restrictive than the strict integrity policy. The model has a number of dynamic policies that lower the integrity levels of either subjects or objects based on the access mode operation. The Biba model is not without its problems. The model does not support the granting and revocation of authorizations. Another problem is that the model is used strictly for integrity; it does nothing to enforce confidentiality. For these reasons, to use the Biba model, it should be combined with other security models. The Lipner Integrity model is one model that combines the Biba model and the Bell-LaPadula models together to enforce both integrity and confidentiality.
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. 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 turn 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 require administrators to reconfigure their network settings and applications (i.e., Web browsers) to support the proxy, and this can be a labor intensive process. Stateful Packet Inspection Firewall This is the latest generation in firewall technology. Stateful packet inspection is considered by Internet experts to be the most advanced and secure firewall technology because it examines all parts of the IP packet to determine whether to accept or reject the requested communication. The firewall keeps track of all requests for information that originate from your network. Then it scans Requested data proceeds to the next level of screening. The screening software determines the state of each packet of data, hence the term stateful packet inspection.
Additional Firewall Features and Functionality In addition to the security capability of a firewall, a wide range of additional features and functionalities are being integrated into standard firewall products. These include support for public Web and e-mail servers, normally referred to as a demilitarized zone (DMZ), content filtering, virtual private networking (VPN) encryption support, and antivirus support. Demilitarized Zone Firewalls A firewall that provides DMZ protection is effective for companies that invite customers to contact their network from any external source, through the Internet or any other route for example, a company that hosts a Web site or sells its products or services over the Internet. The deciding factors for a DMZ firewall would be the number of outsiders or external users who access information on the network and how often they access it. A DMZ firewall creates a protected get to the rest of the network. This allows outside users to get to the information you want them to have and prevents them from getti Figure 4.6 Types of Firewalls
Kerberos is an authentication service developed at MIT (Massachusetts Institute of Technology).that uses symmetric key encryption techniques and a key distribution center; it is an add-system that can be used with existing network. Kerberos provides a means of verifying the identities of principals on an open (unprotected) network. This is accomplished without relying on authentication by the host operating system, without basing trust on host address, without requiring physical security of all the hosts on the network, and under the assumption that packets travelling along the network can be read, modified, and inserted at will. Kerberos performs authentication under these conditions as a trusted third party authentication service by using conventional cryptography. It trusted in the sense that each of its clients believes Kerberos addresses is this: a distributed system in which users at workstations wish to access services on servers distributed throughout the network. We would like for servers to be able to restricted access to authorized users and to be able to authenticate requests for service. In this system the following three threats exist:
contains the ticket for the TGS. The encrypted message also contains a copy of the session key used b included in the ticket, which can be read only by the TGS. Now C and the TGS share a common key.
a message that includes the ticket plus the ID of the requested service. In addition, C transmits a timestamp; it is encrypted with the session key known only by C and TGS. Unlike the ticket, which is reusable, the authenticator is intended to use only once and has a very shot lifetime. The TGS can decrypt the ticket with the key that it shares with the AS. This ticket indicates that the user C has been provided with the session key Kc. Thus the TGS decrypt the authenticator with Kc gained from the ticket and check the name and the address from the authenticator with that of the ticket and with the network address of the incoming message. If all match, then the TGS is assured that