The present invention generally relates to an access control system and method based on hierarchical key, and authentication key exchange method thereof.
Wireless sensing network has grown from the massive deployment in military or environment surveillance to the household or personal use. For the sensing network to integrate into the household more easily, a home gateway is responsible for collecting the sensing network information and controlling the dependent variable changes. The home messenger acting as the home gateway has become the home sensing collection center.
When more households deploy sensing network elements and home gateway fro collecting information and the user is used to watch home gateway for obtaining the information of home sensing networks. It is important to consider how to provide an access control service on lots of sensing networks employed by the households, so that the user may know the sensing condition even when the user is not at the home messenger.
For a household, the deployed sensors may be divided into different priority categories. For example, the home surveillance sensor has the security degree higher than the temperature and humidity sensor. Also, different members of a household may be allowed to access different information. Therefore, a simple configuration of access control authority is in great demands.
To establish access control requires two fundamental factors, i.e., mutual authentication and access authorization. Authentication is to identify the identity (ID) of the user. The identification of the identity is the basis of any communication. However, even the server knows the identity of the user does not mean that the user may access freely. The user must also be authorized for the target to be accessed before accessing.
The most common secured access control method is to establish authentication and authorization mechanism for each session of the communication path. Cryptography usually uses a key to represent a physical entity, i.e., represent the identity.
As shown in step 110, a user 101 uses the user ID and password to request access control server (ACS) 103 provided by service provider for access to home gateway 105. At this point, ACS 103 checks the established access control list (ACL). Then the legitimacy of user 101 is checked, as shown in step 120. If legitimate, ACS 103 and home gateway 105 negotiate the session key of this session for user 101, as shown in step 130.
There are two objects of establishing a session key. The first object is to express that ACS 103 has confirmed the legitimacy of user 101 to access home gateway 105, and the second object is to use different key for different session, which helps to maintain the registered secret information will not go public on the communication network as well as providing consistent security quality for each communication.
After a session key is negotiated, user 101 may use the session key to request home gateway 105 for accessing a node i on a home sensing network 107, as shown in step 140. Home gateway 105 then checks whether user 101 has the authority to access node i as shown in step 150. If so, as shown in step 160, home gateway 105 inquires node i for secured communication and receives response information from node i, as shown in step 170. Home gateway 105 further uses the session key to encrypt the information before sending the information to user 101, as shown in step 180. In this manner, the user may safely access remote node i.
Taiwan Patent No. 1258964 disclosed a remote data access control method and system based on AAA mechanism. As shown in
U.S. Patent Publication No. 2007/0006291 disclosed an authentication mechanism using one-time passwords with single sign-on authentication. As shown in
The disclosed exemplary embodiments of the present invention may provide an access control system and method based on hierarchical key, and authentication key exchange method thereof.
In an exemplary embodiment, the disclosed relates to an access control system based on hierarchical key, comprising an access control server, a home gateway and a plurality of sensor nodes deployed in a home network. The access control server is configured with the user access control rights and authorization verifier, and stores the related information of user password and access rights. The home gateway records access rights and rights key based on a hierarchical key structure. When a user logins in to the access control server to request access, the user and the home gateway use the exchange of a ticket and a token issued by the access control server to establish a one-time session key to allow the user to access the information on the plurality of sensor nodes.
In another exemplary embodiment, the disclosed relates to an access control method based on hierarchical key. The access control method comprises: establishing a hierarchical key structure in a home gateway; establishing user access control rights and authorization verifier in an access control server; when a user logging in to the access control server to request access, the access control server using the authorization verifier corresponding to the user to issue a ticket and a token; and the user and the home gateway establish a one-time communication key through the exchange of the ticket and the token to allow the user to access the information on the plural deployed sensor nodes in a home network.
Yet in another exemplary embodiment, the disclosed relates to an authentication key exchange method, applicable to remote access authentication for a user. The authentication key exchange method comprises: the user providing a unique ID, and a hidden random number m to an access control server; based on the unique ID and hidden random number m, the access control server finding a corresponding rights verifier, and using random number m and another random number y to generate a ticket pair (ω, μ) and a token β, transmitting token β to a corresponding home gateway; after receiving acknowledgement from the home gateway, the access control server transmitting the ticket pair to the user; and through m, μ, β and an non-invertible operation, the user confirming the identity of the access control server and receiving ticket ω.
The foregoing and other features, aspects and advantages of the present invention will become better understood from a careful reading of a detailed description provided herein below with appropriate reference to the accompanying drawings.
The disclosed embodiments of the present invention provide an access control system and method based on hierarchical key, and an authentication key exchange method thereof. The access control mechanism may be applied to a home gateway. For example, the access control mechanism may be linked with an access control server, a home gateway and home sensing network devices so that the home information administrator may establish user access control policy through the access control server so as to enable the user access the authorized sensing information through the assistance of the access control server.
With the home gateway, the home information administrator must register the administrator's ID and password, and the basic connection information and security communication key of the home gateway to the access control server of the service provider to establish basic security trust point. The registration information at least includes identification information to identify the home gateway, such as serial number and the IP address of the home gateway, so that the access control server may know the basic information of the home gateway. Also, depending on the requirement, the registration information may include the information required for secured communication between the access control server and the home gateway manager, such as home information administrator's ID, password and key.
The following description refers to both
After that, home information administrator 430 configures the user access control rights and authorization verifier in access control server 401 according to the established hierarchical key structure 403a, as shown in step 520; and keeps the user password related information and access rights information in access control server 401.
As shown in step 530, when user 405 logins in to access control server 401 to request access 405a, access control server 401 issues a ticket ω and a token β according to the rights verifier corresponding to user 405.
As shown in step 540, user 405 and home gateway 403 establishes a one-time communication key through the exchange of the ticket and the token so as to allow user 405 to access information on sensor nodes 1-n.
Home gateway 403 may have a key management table 403b to record the access rights established according to hierarchical key structure 403a, the ID code and corresponding access rights of a plurality of sensor nodes, and highest priority key. Access control server 401 and home gateway 403 each may have an authentication table, i.e., authentication table 401a and authentication table 403c. Authentication table 401a of access control server 401 records the registered user ID (UID), user password and related verifier, and related verifier of user rights. Authentication table 403c of home gateway 403 is a rights key table for recording registered UID and related information of user rights, such as encrypted user rights.
Access control server 401 includes a verifier authorization proxy module 601 and a user verification/authorization module with ticket/token exchange center 611. Verifier authorization proxy module 601 enables the home information administrator to configure the access rights of the users and stores the access rights verifier. User verification/authorization module with ticket/token exchange center 611 coordinates and establishes the session key for the user and the home gateway so that legitimate user may let the home gateway know the legitimacy of the user through ticket and token comparison when requesting access authorization from the home gateway.
Therefore, in the access control mechanism based on hierarchical key of the present invention, home information manager 430 is responsible for constructing the overall access control policy, including establishing hierarchical key, assigning sensor node key for sensing network, and configuring access control rights. User 405 may use any remote device to access information on any sensor node on a sensing network. Access control server 401 needs to authenticate the user login ID. Access control server 401 stores access rights information and the related information of user password, and may establish a session key to be used as a shared key between the user and home gateway 403. Home gateway 403 may collect the information of sensor nodes 1-n on sensing network 420, and then displays the information on a screen. Home gateway 403 needs to perform initialization and authentication on sensor nodes of sensing network 420. Sensor nodes may detect the changes in the environment, such as temperature, humidity, real-time video surveillance, and so on, and transmit the information through other nodes on the sensing network to home gateway 403.
Sensor nodes on sensing network 420 may be grouped into different types according to the environmental variables detected, such as three different types for detecting temperature, humidity and real-time video surveillance, respectively. In this manner, the user has a set of three ID/passwords for identification.
The following further explains the establishing of hierarchical key structure and the operation of
Sensor nodes CAM1 and CAM2 belong to level 0, sensing nodes CO1 and CO2 belong to level 1 and sensor nodes TEM1 and TEM2 belong to level 2. Each sensor node has own verification key NK, and NK for each sensor node is marked as NK1-NK6, respectively.
According to the establishing of hierarchical key structure of the present invention, the rights key of lower level, such as level 1, may be generated by the rights key of higher level, such as level 0, and the verification key of each sensor node may be generated from the rights key of the level for the sensor node and the NID of the sensor node.
Referring to the exemplary flowchart shown in
When the verification key of each sensor node is established, as shown in step 840, the key establishing process is terminated; otherwise, as shown in step 850, the NID and the level of the next sensor node without an established verification key, system record (NID, level), is inputted, the verification key of the sensor node is computed, and the verification key is assigned to the sensor node, and return to step 820.
The following describes how to generate rights key of each level and verification key of each sensor node using the key management table of
In addition, the user may use a unique ID and password on a home gateway to access information of a plurality of sensor nodes deployed on the sensing network. Similarly, the user may use the same ID and password for a plurality of home gateways so as to reduce the load of access control server 401 in coordinating session keys.
When home hierarchical key is configured and deployed to sensor nodes, the following describes how to establish user ID, password and access rights with access control server based on the hierarchical key.
Referring to
In step 1040, home gateway 403 may use a non-invertible function to compute the rights verifier and to store the matching of UID and the rights verifier in authentication table 403c. In step 1050, access control server 401 may use a non-invertible function to hide the rights verifier and stores the hidden verifier into authentication table 401a.
After verifying the uniqueness, access control server 401 passes UID and access rights H to home gateway 403. Home gateway 403 updates its authentication table 403c accordingly, and passes the related verifier of the rights key corresponding to the user access rights to access control server 401. The verifier is obtained by performing a one-way computation, such as Hash function H1, on UID and rights key KH corresponding to the user access rights. Access control server 401, after receiving the verifier, stores the related information in authentication table 401a. The related information includes, such as, user ID, hidden password, serial number of home gateway, and the hidden verifier corresponding to the verifier. The related information is used in future authentication by access control server 401 when the user access information from home gateway.
After the user access rights are established, the user only needs to remember the unique ID and password for future remote access authentication. Access control server 401 only needs to store the matching user ID/password and verifier, instead of using brutal force method to establish access control table.
After accomplishing the establishing of user access rights, when a user remotely logs in to access control server 401 for requesting an access, access control server 401 uses the verifier corresponding to the user to issue an access authorization ticket and uses a token to notify home gateway 403 of the user access request. The user and home gateway 403 may use the ticket and the token to compute the session key for the present session for one-time encryption and authentication of communication information. In other words, when the user remotely logs in to access control server 401 for access, the user remote access is divided into two stages. The first stage is the user requests authentication and authorization from access control server 401, and the second stage is the user and home gateway 403 establish communication keys. The following describes the two stages.
In the first stage, the relation between the user and the access control server is entirely based on the authentication key exchange protocol to realize the user authentication/authorization.
As shown in
According to the operation flow of
The access rights verifier of step 1220 may be found in authentication table 401a of access control server 401 through lookup. The corresponding verifier found in authentication table 401a may be used with another random number y randomly selected in sub-group G to construct a mathematic model to compute the ticket pair (ω, μ). Access control server 401 may also obtain token β through a mathematic model β=mν. The mathematic model is marked as 1320.
After access control server 401 transmits ticket pair (ω, μ) to the user A, user A uses X and password to compute s, assigns α=μs, and transmits ν1=H2(m, α) to access control server 401, marked as 1340a. Access control server 401 check whether ν1 against ν′1=2(m, β) or not, marked as 1340b. If ν1=ν′1 is true, it means that access control server 401 authenticates the identity of user A. Access control server 401 then computes ν2=H2(μ, β) and transmits to user A, marked as 1341a. User A computes ν′2=H2(μ, α) and check whether ν2=ν′2 or not, marked as 1341b. If ν2=ν′2 is true, it means that user A authenticates the identity of access control server 401. In this manner, user A and access control server 401 accomplish mutual authentication, and user A also receives ticket ω from access control server 401.
In other words, the user and the access control server use the authenticated key exchange protocol as a base to realize the user remote access.
After accomplishing mutual authentication between user A and access control server 401 and user A receiving ticket ω from access control server 401, the user remote access enters the second stage; that is, the stage for the user and home gateway 403 to establish communication key.
Referring to
Then, marked as 1430a, the command message transmitted by user A to home gateway 403 will use session key SK as encryption key, represented as Esk(command). Similarly, marked as 1430b, the answer from home gateway 403 to user is also encrypted with SK as key, represented as Esk(answer). In this manner, the secured communication channel is established between the user and the home gateway.
It is worth noting that the ticket and the token generated by the access control server in the present invention may be transmitted without encryption. Even when the hacker has ticket ω, the hacker cannot correctly compute the session key. Hence, the disclosed exemplary embodiments of the present invention may reduce the load in deployed system.
In summary, the disclosed exemplary embodiments of the present invention provide an access control system and method based on hierarchical key, and an authentication key exchange method thereof. The access control mechanism enables the home gateway to provide different security levels for a plurality of sensor nodes in a sensing network through a hierarchical key structure, and flexibly classify and manage home sensing network keys. Based on the hierarchical key structure, the access control server needs not to store home keys directly. Instead, the home gateway may simply configure the user access rights on access control server to avoid the leakage of information stored on the access control server. The user may use the unique ID and password to remotely access information of a plurality of sensor nodes through a home gateway. Similarly, the user may use a group of IDs/passwords to access information through a plurality of home gateways to reduce the computation load of access control server when coordinating session keys.
In the exemplary embodiments of the present invention, the user and the access control server use authentication key exchange protocol as a base to realize the user remote access and reduce the load of deployed system.
Although the present invention has been described with reference to the disclosed exemplary embodiments, it will be understood that the invention is not limited to the details described thereof. Various substitutions and modifications have been suggested in the foregoing description, and others will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications are intended to be embraced within the scope of the invention as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
97143211 A | Nov 2008 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
20020091921 | Kunzinger | Jul 2002 | A1 |
20040151319 | Proudler | Aug 2004 | A1 |
20050055570 | Kwan et al. | Mar 2005 | A1 |
20070006291 | Barari et al. | Jan 2007 | A1 |
20070118890 | Song | May 2007 | A1 |
20070263875 | Kitaya et al. | Nov 2007 | A1 |
Number | Date | Country |
---|---|---|
101166163 | Apr 2008 | CN |
515984 | Jan 2003 | TW |
200404446 | Mar 2004 | TW |
200412515 | Jul 2004 | TW |
200527864 | Aug 2005 | TW |
200533134 | Oct 2005 | TW |
200605599 | Feb 2006 | TW |
Number | Date | Country | |
---|---|---|---|
20100122091 A1 | May 2010 | US |