a method and apparatus for confirming the identity of a mobile station in a communication network . a mobile station transmits a security value to obtain access to the network . the system authenticates the mobile station prior to granting it access to the network . the system performs an additional procedure before granting access to the system if the security value sent by the mobile station matches a previously transmitted security value . using this invention , the system prevents attempts of replay attacks by intruders .