Highlighted text? Practice this concept. Highlighted passages and figures open related questions.
Practice related questions (8)Progress & bookmarks
Current section
1-2-2 Authentication Technique
p. 365
Practice this section 8 linked exam questions with default filters
Progress
Not marked complete
Related questions in this lesson 12
Forgotten password handling1Iris biometric authentication1Message authentication against falsification3Original message digest procedure1Digital signature authentication2Original digital signature procedure2Timestamp authentication1Timestamp verification procedure1Certification authority and public keys1Digital certificate contents1Biometric false acceptance and rejection1p. 365
1-2-2 Authentication Technique
(1) User authentication
User authentication is an authentication technique that includes the process of verifying a user’s identity. It is used as a measure against the impersonation of authorized users by malicious third parties. In user authentication, there are a variety of methods according to purpose and application.
(1) User ID/Password A user ID is an identifier that is assigned to an individual user, while a password is a character string (i.e., a keyword) that is registered in advance. During the login process, this technique searches for a registered password corresponding the user ID entered by the user. If the registered password matches the password entered by the user, the user is authenticated as a valid user who knows the password. When this technique is used, it is necessary for users to thoroughly follow password management and password requirements to prevent any abuse of passwords.
p. 366
(2) IC card This is a technique that authenticates users through plastic IC cards with embedded IC chips that are able to record information. It is used for commuter passes, employee ID cards, etc. When an IC card is used, the user may be asked to enter the PIN code (Personal Identification Number) recorded in the IC chip in order to confirm that the user is the rightful holder of the card. IC cards have over 100 times more storage capacity than magnetic cards and enable data encryption to make the cards resistant to forgery. The cards also have an advantage in tamper resistance to prevent unauthorized access or falsification.
(3) OTP (One-Time Password) This is a password-based user authentication technique that is primarily used by computers connected to communication lines. By using a different password for each login, this technique avoids the risk of password leakage. Typical one-time password methods are as follows:
p. 367
p. 368
(5) Public key cryptography This is an authentication technique that uses private keys that are kept secret by the holders.
Step (3) is the key point in user authentication. The fact that Recipient B successfully performed decryption using Sender A’s public key means that the cipher text had been encrypted using A’s private key (because cipher text encrypted from plain text by using one of the key pairs can only be decrypted using the other key). Since only A has (i.e., conceals) A’s private key, this cipher text cannot be created by any party other than A. In other words, it is confirmed (i.e., authenticated) that the sender is unquestionably A. However, it is necessary to note that this authentication works well on the assumption that A’s public key, which B has, must belong to A without doubt, and its paired private key must be owned by A alone.
p. 369
(2) Message authentication
On the basis of the property of a hash function, if there is even a small difference in the communication text between the sender side and the recipient side, the message digests that
p. 370
are delivered to and generated by the recipient side will be different, and as a result, falsification can be detected. However, when an already-known hash function is used, there is a possibility that both the communication text and the message digest can be falsified so as not to be detected. MAC (Message Authentication Code) is a technique that can resolve this issue. This method uses a key (i.e., a common key) owned by the sender and the recipient, and also uses a MAC value, which is calculated from the communication text plus the common key, as a message digest. (As a method for calculating the MAC value, a block cipher mode of operation or a hash function is used.) When this method is used, a third party who does not know the common key cannot calculate the correct MAC value, and therefore, the level of security is enhanced.
(3) Digital signature
A typical digital signature method is DSA (Digital Signature Algorithm) developed by NIST
p. 371
(National Institute of Standards and Technology) as a US government standard. DSA is an improved version of ElGamal signature, which uses the ElGamal encryption scheme known as one of the public key cryptography standards, and generates message digests using SHA-1 or SHA-2. It is noted that SHA-1 is being migrated to SHA-2 (e.g., a general term for SHA-256, SHA-512). Another method is the W3C-recommended XML signature, which defines a digital signature syntax for XML documents. XML signatures can be attached to communication text like normal signatures, and can also be attached to specified elements or content. In digital signatures, third parties (private companies) known as certification bodies guarantee the validity of public and private keys on which user authentication by public key cryptography is predicated. These certification bodies are also used for specified purposes (e.g., public key cryptography) other than digital signatures.
p. 372
CAs (Certification Authorities) include two types of CAs: public CA that issues certificates for external web services, and private CA that takes on a role within a closed environment, such as a specified organization.
(4) Other certification techniques
p. 373
(2) IEEE 802.1X This is a client authentication technique used for LANs. It is implemented using a RADIUS server or other authentication server, and authentication software (i.e., supplicant).
(3) CAPTCHA (image authentication) This is an authentication technique that requires users to identify a distorted image of letters or numbers displayed on the screen and then enter the corresponding correct characters, in order to confirm that they are human beings. It is used to prevent automatic posting by programs and such other automated processes.
Section progress
Original chapter exercises
Original chapter exercises →New FE Textbook Vol.1 · IT Fundamentals · First Edition, April 2015
![Original Security textbook callout or table, preserving the original labels, values, symbols and spatial arrangement. Source text: [Points to note for password management] • Use a meaningless character string that combines alphameric characters, symbols, etc. • Make the password as long as necessary. (at least 6 or 8 characters) • Do not use the same password for a long time. Change it regularly. • Do not reuse passwords (i.e., do not use the same password for multiple authentications).](/private-assets/fe-v1/ch06/authentication/original-region-375-26-fb10fd33e7e3.webp)




![Authentication using public key cryptography: Sender A encrypts data with A's private key; Recipient B decrypts with A's public key. Original three numbered operations, transmission arrow and sender-authentication clarification remain intact. Source text: [Authentication procedure in public key cryptography] [Sender A] [Recipient B] (1) (2) (3) Cipher Cipher Data Data text text (1) Sender A encrypts data by using Sender A’s private key. (2) Sender A sends the cipher text (i.e., encrypted data) to Recipient B. (3) Recipient B decrypts the cipher text by using Sender A’s public key. → When decryption is successfully performed, it is confirmed that “A” is the sender.](/private-assets/fe-v1/ch06/authentication/original-region-378-31-24032e4712e1.webp)
![Message authentication procedure: both sender and recipient hash the communication text, the text and message digest travel to the recipient, and the original comparison checks the two digests. Four numbered operations and all arrows are preserved. Source text: [Message authentication procedure] (1) Sender A calculates a message digest from the communication text. (2) Sender A sends the communication text and its message digest to Recipient B. (3) Recipient B calculates a message digest from the received communication text. (4) Recipient B compares the received message digest with the message digest generated in (3), and if the two message digests are the same, it is confirmed that the communication text is not falsified (nor tampered with) during communication. • Hash function This is a function that obtains an output value (i.e., a hash value) of fixed length from an input value of arbitrary length. It has the property (often referred to as the one-way property) that the same output value is obtained from the same input value, and the input value cannot be obtained from the output value. Hash function name Length of hash value Standardization/normalization SHA-1 160 bits Standardized by NIST SHA-2 SHA-256 256 bits Standardized by NIST as the SHA-512 512 bits successor to SHA-1 MD5 128 bits Standardized as RFC 1321](/private-assets/fe-v1/ch06/authentication/original-region-379-32-81ed132cfe6b.webp)
![Digital signature procedure: Sender A hashes text and encrypts its digest with A's private key; Recipient B decrypts with A's public key and compares against the locally computed digest. Original six numbered operations, keys, dashed transmission arrows and comparison remain intact. Source text: [Digital signature procedure] (1) Sender A calculates a message digest from the communication text. (2) Sender A encrypts the message digest by using Sender A’s private key. (3) Sender A sends the communication text and its cipher text to Recipient B. (4) Recipient B decrypts the cipher text by using Sender A’s public key. (5) Recipient B calculates a message digest from the received communication text. (6) Recipient B compares the message digest decrypted in (4) with the message digest calculated in (5). If these two are the same, it is confirmed that “A” is the sender, and in addition, the communication text is not falsified.](/private-assets/fe-v1/ch06/authentication/original-region-380-33-60e37ca45f7f.webp)


![Original Security textbook callout or table, preserving the original labels, values, symbols and spatial arrangement. Source text: [Authentication procedure in time authentication] 1) The user generates a message digest from an electronic document. 2) The user sends the message digest to a time stamping authority. 3) The time stamping authority generates a TS token that stamps the received message digest with time information, and securely stores a duplicate. 4) The time stamping authority encrypts the TS token by using its own private key. 5) The time stamping authority sends the encrypted TS token and its own digital certificate to the user. <The following are steps to confirm the electronic document’s existence and authenticity.> 6) The checker obtains the public key from the digital certificate of the time stamping authority. 7) The checker decrypts the encrypted TS token by using the obtained public key. 8) The checker compares the TS token’s message digest with the message digest obtained from the original electronic document, to confirm that there is no falsification. In addition, the checker looks up the time information and confirms the existence of the electronic document.](/private-assets/fe-v1/ch06/authentication/original-region-383-36-0ccef0e8bfd7.webp)