Computing devices are being used to store and transmit vast amounts of sensitive data. Computing devices that are connected to the Internet or other networks (e.g., cellular phone networks) are under constant attack by hackers seeking to obtain or destroy such sensitive data. To ensure the privacy of the sensitive data during both storage and transmission, many different security tools have been implemented to secure such sensitive data. The security tools include application level firewall tools and Internet Protocol (“IP”) security tools. An application level firewall allows restrictions to be placed on the source and destination of data that is transmitted between applications executing on different computing devices. For example, an application level firewall may prevent a computing device that is not authorized to send data to a protected computing device from doing so. The firewall may intercept all data that is sent to the protected computing device and discard the data when it is not from a computing device with an authorized IP address. An application level firewall may also restrict access based on port number associated with an application. The restricting of the users and the computing devices from which a protected computing device can receive data can help prevent malicious attacks by malware that seeks to exploit a vulnerability of a computing device. Such malware may include rootkits, Trojan horses, keystroke loggers, and so on.
IP security tools seek to ensure the identity of computing devices receiving or transmitting data and the privacy of the data while in transit. Authentication is a process to help ensure the identity of a computing device, and encryption and integrity protection are processes to help ensure the privacy and integrity of data. IP security tools typically implement the IPsec protocols as defined by RFC 1826 of the Internet Engineering Task Force (“IETF”) entitled “IP Authentication Header (AH)” and by RFC 1827 of the IETF entitled “IP Encapsulating Security Payload (ESP).” The AH protocol is used to provide security services such as connectionless integrity and data origin authentication of IP data. The security services can be provided between a pair of communicating hosts, between a pair of communicating security gateways, or between a security gateway and a host. The ESP protocol is designed to provide a mix of security services alone or in combination with the AH protocol. The ESP protocol can be used to provide confidentiality, data origin authentication, and connectionless integrity. The AH and ESP protocols allow data to be transmitted securely between computing devices. The IPsec protocols may use RFC 2409 of the IETF entitled “Internet Key Exchange Protocol” to exchange keys between a pair of communicating devices.
Although tools that implement firewalls and IPsec can help ensure data security of the sensitive data, the configuring of firewalls and IPsec tools can be both difficult and tedious. Typically, such configuration is performed by security personnel of the enterprise who seek to establish a security policy for the enterprise. Security policy may use firewall rules and IPsec or connection rules to define how computing devices of the enterprise communicate with other computing devices both internal and external to the enterprise. Security personnel typically use a firewall tool to define the firewall rules and use an IPsec tool to define the IPsec rules. Security personnel need to coordinate the firewall rules and the IPsec rules to ensure that they are consistent and correctly implement the desired security policy of the enterprise. It can be particularly difficult for security personnel to configure an IPsec tool to implement a security policy because of the complexity of IPsec, because Ipsec terminology can be confusing and inconsistent, and because many decisions need to be made by security personnel. Moreover, because firewall and IPsec are overlapping technologies, it is easy for security personnel to be confused over how to implement an enterprise security policy. As a result, the implementations of security policies of many enterprises may not provide the desired level of security, which leaves the computing devices of the enterprise vulnerable to attack.
IPsec security policies are further difficult to implement because they require that the outbound security policy of an outbound device be symmetric with the inbound security policy of an inbound device. In particular, a rule and crypto suite of security algorithms of an outbound security policy needs to match a rule and a crypto suite of security algorithms of an inbound security policy. Since selecting of security algorithms for security policies can be both tedious and complex, it can be difficult for administrators to establish matching inbound and outbound security policies.
A security system that allows an outbound security policy for the connection security to be automatically derived from an inbound security policy for connection security is provided. The security system for an inbound security policy has security suites that each specifies one or more security algorithms. Once the inbound security policy is distributed to the computing devices of an enterprise, the security system can use the security suites of the inbound security policy as the basis of the security suites for the outbound security policy of the computing devices. Because each computing device offers an outbound security suite that matches the same inbound security suite that is distributed to the computing devices of an enterprise, those computing devices have matching inbound and outbound security suites.
A method and system for creating security policies for firewall and connection policies in an integrated manner is provided. The security system provides a user interface through which a user can define a security rule that specifies both a firewall policy and a connection policy. After the security rule is specified, the security system automatically generates a firewall rule and/or a connection rule to implement the security rule. The security system provides the firewall rule to a firewall engine that is responsible for enforcing the firewall rules and provides the connection rule to an IPsec engine that is responsible for enforcing the connection rules. The security system ensures that the firewall rules and the connection rules are consistent. The security system can also generate firewall rules with knowledge of connection rules because the security rule specifies connection security.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
A method and system for creating security policies for firewall and connection policies in an integrated manner is provided. In one embodiment, the security system provides a user interface through which a user can define a security rule that specifies a firewall policy and/or a connection policy. For example, the security rule may specify a port through which inbound traffic may be received from a certain computing device and further specifies that traffic received through that port should be encrypted. After the security rule is specified, the security system automatically generates a firewall rule, a connection rule, or a combination of one or more firewall rules and connection rules to implement the security rule. For example, the firewall rule restricts inbound traffic on that port to a computing device with a specified IP address, and the connection rule specifies that inbound traffic to that port and from the specified IP address is to be encrypted. The security system provides the firewall rule to a firewall engine that is responsible for enforcing the firewall rules and provides the connection rule to an IPsec engine that is responsible for enforcing the connection rules. Because the security system automatically generates both the firewall rules and the connection rules that form a higher-level security rule, it can ensure that the firewall rules and the connection rules are consistent. Moreover, since the security system generates firewall rules with knowledge of connection rules, the firewall rules can be based on information that is not normally available to a firewall. In this way, an administrator can rely on the security system to establish consistent firewall rules and connection rules that implement the security policy of an enterprise as expressed by high-level security rules.
In one embodiment, the security system allows a user to establish security rules, also referred to as authenticated firewall rules, that each define a firewall action, conditions under which the action is to be taken, and connection security. The conditions may specify a direction of traffic, the identity of the local application or local service, and a local and a remote address and port, protocol, users and user groups, computers and computer groups, interface types (e.g., wireless LAN), and so on. For example, an authenticated firewall rule may have conditions that specify a local application and remote IP address and port of a computing device. When data directed to that application is received from a computing device with that IP address and port, the conditions of the rule are satisfied and the action of the rule is taken. For example, the action may be to allow the data to be sent to the application or to block the data from being sent to the application. The connection security of the authenticated firewall rule may indicate that the traffic from that remote IP address and port sent to the local application is to be encrypted and have its integrity protected. The security system generates connection security rules to implement the connection security of an authenticated firewall rule. In one embodiment, the security system generates connection security rules from the authenticated firewall rules, but uses the authenticated firewall rules directly as firewall rules. Thus, the term “authenticated” in “authenticated firewall rules” indicates that firewall rules have been augmented with connection security information from which the security system can generate connection security rules (e.g., IPsec rules).
In one embodiment, the security system may provide a default security suite for use in automatically generating connection security rules. The security system may provide default security suites for both the main mode (“phase I”) and the quick mode (“phase II”) of the IPsec protocol, and for key exchange with the IPsec protocol. A security suite specifies a set of security algorithms to be used by the IPsec protocol. As used herein, a data protection crypto suite may indicate that the ESP protocol is to use SHA-256 for integrity protection and 3DES for encryption. A data protection crypto set may include multiple crypto suites of integrity algorithms and encryption algorithms along with a priority so that an IPsec engine can negotiate which crypto suite to use when communicating with another computing device. Because the security system provides these default security suites, an administrator can specify a security policy that includes connection security rules without having to specify integrity protection algorithms and encryption algorithms. An authentication set of the main mode may specify authentication methods (e.g., Kerberos). A key exchange crypto suite of the main mode may specify a key exchange algorithm (e.g., DH1), an encryption algorithm (e.g., 3DES), and an integrity protection algorithm (e.g., SHA1). An authentication set of the quick mode may specify an authentication method and authentication data. A data protection crypto suite of the quick mode may specify a protocol (e.g., ESP), an encryption algorithm (e.g., 3DES), and an integrity protection algorithm (e.g., SHA1). The security system may allow a user to define additional security suites.
In one embodiment, the security system allows an outbound security policy for connection security to be automatically derived from an inbound security policy for the connection security. The security system for an inbound security policy has security suites that each specifies one or more security algorithms. Once the inbound security policy is distributed to the computing devices of an enterprise, the security system can use the security suites of the inbound security policy as the basis of the security suites for the outbound security policy of the computing devices. For example, the inbound security policy may specify a main mode key exchange crypto suite for IPsec with an integrity algorithm of SHA1, an encryption algorithm of 3DES, and a key exchange algorithm of Diffie-Hellman Group 2. If so, then the security system may offer the same security suite when negotiating an outbound connection. Because each computing device offers an outbound security suite that matches an inbound security suite, the computing devices by definition have matching inbound and outbound security suites. In this way, the computing devices of an enterprise can establish secure connections based on automatically generated outbound security policies. In an alternate embodiment, the security system may automatically generate inbound security policies based on security suites of an outbound security policy. In addition, the security system may automatically augment inbound security policies based on security suites defined for an outbound security policy and augment inbound security policies based on security suites defined for an inbound security policy.
In one embodiment, the security system may provide a security policy for a connection security that is based on default security suites. The security system may define a default security suite for a connection security. For example, a default data protection crypto suite may specify the ESP protocol and include an integrity algorithm of SHA1, and another default data protection crypto suite may specify the ESP protocol and include an integrity algorithm of SHA1 and an encryption algorithm of 3DES. The security system may provide a user interface through which an administrator can select whether the ESP protocol should be based solely on integrity checking or based both on integrity checking and encryption. Based on the selection by an administrator, the security system will automatically use the associated default data protection crypto suite.
The computing devices on which the security system may be implemented may include a central processing unit, memory, input devices (e.g., keyboard and pointing devices), output devices (e.g., display devices), and storage devices (e.g., disk drives). The memory and storage devices are computer-readable media that may contain instructions that implement the security system. In addition, the data structures and message structures may be stored or transmitted via a data transmission medium, such as a signal on a communications link. Various communications links may be used, such as the Internet, a local area network, a wide area network, or a point-to-point dial-up connection.
The security system may be implemented in various operating environments that include personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The security system may also be implemented on computing devices such as cell phones, personal digital assistants, consumer electronics, home automation devices, and so on.
The security system may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, and so on that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. Accordingly, the invention is not limited except as by the appended claims.