CBS

CBS

CBS


L. H.
Diese Lernkarten vermitteln fortgeschrittene Konzepte der IT-Sicherheit mit Fokus auf Angriffsvektoren wie Adversarial Examples, Model Stealing und Datenschutzrisiken in maschinellem Lernen. Sie erklären Bedrohungsmodelle, Angriffsarten wie Evasion und Poisoning sowie Abwehrstrategien wie adversariale Schulung und Differential Privacy. Praktische Beispiele aus Bildverarbeitung, Spamerkennung und autonomem Fahren veranschaulichen die Angriffsmethoden. Studierende und Sicherheitsforscher profitieren von den technischen Details zu Angriffszielen, Optimierungsproblemen und Schutzmaßnahmen gegen Modellklau.
Cartes-fiches
491
Utilisateurs
2
Langue
Anglais
Catégorie
Informatique
Niveau
Université
Créé / Mis à jour
13.05.2026 / 07.06.2026

Flashcards

What is BIOMETRICS-BASED AUTHENTICATION ? 

Biometrics-based systems attempt to authenticate an individual based on unique physical characteristics

What is the disavatage compared to passwords and tokens ? 

Technically complex and expensive compared to passwords and tokens

Give some Popular biometrics

Fingerprint, face recognition, retina, iris, signature, voice, DNA

What are advantage and problemsof BIOMETRICS-BASED AUTHENTICATION ? 

Advantages:
• Nothing to remember
• Passive
• Difficult to delegate
• If the algorithm is very accurate, they are unique

• Hard to keep secret
    • Fingerprint left on glasses, door handle, … ---|
    • Photos (nowadays everywhere!)                     |-> Liveness detection tests
    • Signature on ID card                                    ---|
• Revocation is difficult (impossible?)
    • You cannot change your iris…
• Identifiable and unique
    • Linking across systems
• May reveal sensitive/personal information
    • Iris → disease
    • Face → identity
• Not always universal or immutable
    • Fingerprints disappear, face changes with glasses, hat, …

For BIOMETRIC, Give the schema of Enrollment, verification and what is ACCURACY TRADE-OFF?

image

Give some example of TOKEN-BASED AUTHENTICATION

• Memory cards
    • E.g., magnetic strip card
• Smart cards
    • Embeds an integrated circuit (IC) chip
• One-time password (OTP)
    • Temporary code typically sent via SMS or email or generated by an app
• Hardware tokens
    • Devices that generate or display OTPs or cryptographic keys
    • E.g., RSA SecureID
• Mobile phones
    • Used for receiving OTPs or for app-based authentication

Describe Smart cards

• Smart cards
    • Have the appearance of a credit card
    • Have an electronic interface
    • May use any of the smart token protocols
• Contain an entire microprocessor (processor, memory, I/O ports)
• Typically include three types of memory:
    • Read-only memory (ROM)
        • Stores data that doesn’t change during the card’s life (e.g., card number and cardholder’s name)
    • Electrically erasable programmable ROM (EEPROM)
         • Holds application data and programs (e.g., the protocols that the card can execute)
    • Random access memory (RAM)
         • Holds temporary data generated when applications are executed
• Contain a secret key to sign
     • In order to authenticate, the smart card runs a protocol with the terminal
     • E.g., a smart card signs a challenge sent by the ATM to prove knowledge of a key

Describe ONE-TIME PASSWORDS

• Temporary passwords
    • For a single login or transaction
    • Valid only for a limited period of time
• Typically used as an additional layer of security for online accounts
    • Especially for financial or sensitive transactions
    • Two-factor authentication
• Delivered through various means
    • SMS, email, or authenticator apps (e.g., Google Authenticator or Authy)

Describe HARDWARE TOKENS

• These tokens have
    • A secret shared with the server
    • Time synchronized with the server
• The token outputs an OTP based on this secret and current time
     • The hardware token generates an OTP, usually displayed on an LED screen on the token device
    • The device is authenticated when it outputs the same OTP as the authentication server
    • The server also checks the validity of the PIN
        • Two-factor authentication

For Smartcard, PIN, Token, Mobile phone, Password, Fingerprint, are they :
what you have
what you know
what you are

Smartcard = what you have
PIN = what you know

Token = what you have
PIN = what you know

Mobile phone = what you have
Password = what you know or
Fingerprint = what you are

What are secret/private keys used for in authentication?

Secret/private keys are used to produce digital signatures.

Digital signatures authenticate parties by proving that the signer owns the corresponding private key.

How does TLS/HTTPS authenticate a server?

TLS/HTTPS uses digital signatures and certificates to authenticate the server.

The server proves its identity using a private key linked to a certificate.

Why are digital signatures used against man-in-the-middle attacks?

Digital signatures authenticate the exchanged values.

They prevent an attacker from replacing messages or public values without being detected.

How do protocols defend against replay attacks?

They use challenges or nonces.

A nonce is a fresh random value used once, so an attacker cannot reuse an old valid message.

Why should we not design our own authentication protocol?

Authentication protocols are hard to design correctly.

They must defend against man-in-the-middle attacks, replay attacks, and other subtle attacks.

Use well-established protocols such as TLS 1.3 or ISO 9798-3.

What are the 6 ATTACKS AGAINST USER AUTHENTICATION ? 

• Client attacks
• Host attacks
• Eavesdropping, theft, and copying attacks
• Replay attacks
• Trojan horse attacks
• DoS attacks

What are client attacks against user authentication?

Client attacks occur when an adversary tries to masquerade as a legitimate user, without having access to the remote host or communication path.

Main attacks:
- Password: guessing or exhaustive search
- Token: exhaustive search of PIN/passcode, but attacker must also steal the physical token
- Biometrics: false match

Main defenses:
- Use high-entropy secrets: long and unpredictable passwords/passcodes
- Limit the number of authentication attempts

What are host attacks against user authentication?

Host attacks occur when an adversary gains access to files stored on the host, such as password databases, token passcodes, or biometric templates.

Main attacks:
- Password: plaintext theft or offline dictionary attack
- Token: passcode theft
- Biometrics: biometric template theft

Main defenses:
- Passwords: hashing, salt, high entropy, password database protection
- Tokens: same defenses as passwords + one-time passcodes
- Biometrics: capture-device authentication and challenge-response protocols

What are eavesdropping, theft, and copying attacks against user authentication?

These attacks occur when an adversary observes, steals, or copies authentication information.

Main attacks:
- Password: shoulder surfing, keylogging, finding a written password
- Token: theft or physical copy of the token
- Biometrics: copying or spoofing the biometric

Main defenses:
- Passwords: keep the password secret + multifactor authentication
- Tokens: tamper-resistant tokens + multifactor authentication
- Biometrics: device authentication + dynamic biometrics

What are replay, Trojan horse, and DoS attacks against user authentication?

Replay attack:
An attacker reuses a previously captured authentication response, such as a password or biometric template.
Defense: challenge-response protocol.

Trojan horse attack:
An attacker installs a rogue client or capture device, such as a fake bank machine, to steal authentication data.

DoS attack:
An attacker causes account lockout by making many failed authentication attempts.
Defense: multifactor authentication with a token.

WHAT IS ACCESS CONTROL? (NIST definition)

“The process of granting or denying specific requests for obtaining and using information and related information processing services.”

WHAT IS ACCESS CONTROL? ( RFC 4949 definition)

A process by which use of system resources is regulated according to a security policy and is permitted only by authorized entities (users, processes, or other systems) according to that policy.

RFC 4949 defines computer security as “measures that implement and assure security services in a computer system, particularly those that assure access control service

What are the 4 layers where there is ACCESS CONTROL ?

• Applications
    • Online social networks
    • Online accounts (e-mail, e-banking, …)
    • Enterprise software (SAP, Microsoft 365, …)
    • Mobile applications
• Middleware
    • Database management systems (DBMS)
• Operating system
    • Control access to files and system resources
• Hardware
    • Memory, register, privileges

What is access control?

Access control is a security mechanism that decides whether a user or process is allowed to access specific system resources.

Examples of resources:
- applications
- operating systems
- files
- databases
- routers
- firewalls

What is the difference between authentication and access control?

Authentication verifies who the user is.

Access control decides what the authenticated user is allowed to do.

Authentication = Who are you?
Access control = What are you allowed to access?

What happens before access control?

The system must first authenticate the entity requesting access.

Only after authentication can the system decide whether the requested access should be granted.

What is an authorization database?

An authorization database stores the access rights of users.

It specifies which users are allowed to access which resources, and what type of access they have.

Example:
Alice can read file A.
Bob can read and write file B.

How does the access control function decide whether to grant access?

The access control function checks the authorization database.

If the user has the required permission for the requested resource, access is granted.

Otherwise, access is denied.

What is auditing in access control?

Auditing monitors and records user accesses to system resources.

It is used to detect suspicious activity, investigate incidents, and keep accountability.

What are the 4 ACCESS CONTROL POLICIES ? 

1. Discretionary access control (DAC)
• Controls access based on the identity of the requestor and on access rules (authorizations) stating what requestors are (or are not) allowed to do
• Why discretionary?
• Because access control is at the discretion of the object owner
2. Mandatory access control (MAC)
• Controls access based on comparing security labels with security clearances
• Termed mandatory because an entity that has clearance to access a resource may not, just by its own volition, enables another entity to access that resource.
3. Role-based access control (RBAC)
• Controls access based on the roles that users have within the system and on rules stating what accesses are allowed to users in given roles
4. Attribute-based access control (ABAC)
• Controls access based on attributes of the user, the resource to be accessed, and current environmental conditions

What does access control define and enforce?

Access control defines and enforces the operations that subjects can perform on objects.

Example:
Bob has permission to read a file.

What is a subject and what are the three classes of subjects? 

Entity capable of accessing objects (Held accountable for the actions they have initiated)

 

The three subject classes are:

- owner
- group
- world/other

What is an object in access control?

An object is a resource to which access is controlled.

Examples:
- files
- directories
- programs
- mailboxes
- databases

What is an access right?

An access right describes how a subject may access an object.

Examples:
- read
- write
- execute
- delete
- create
- search

How works a DISCRETIONARY ACCESS CONTROL ? 

Scheme in which an entity may be granted access rights that permit the entity to enable another entity to access some resource

For DISCRETIONARY ACCESS CONTROL, wjhat is it Access control matrix (ACM) and what are its problems? 

(subject, object, access rights)

 

Problems with ACM:
- Storing it is impractical
- Very sparse
- Filling such a sparse, large,
matrix is error prone

How works a an ACCESS CONTROL LISTS ? 

For each object, an ACL lists users and their permitted access rights
    • May contain a default/public entry
    • Allowing users that are not explicitly listed as having special rights to have a default set of rights
    • Default should always follow the rule of least privilege or read-only access

Storing by column → access control lists (ACLs)

What are the Advantage and drawbacks of ACCESS CONTROL LISTS ? 

• Advantages
    • Can be stored close/with the resource
    • Easy to determine who can access a resource
    • Easy to revoke rights by resources
• Drawbacks
    • Difficult to audit all rights of a user
    • Difficult to remove all permissions from a user (easier to remove authentication)
    • Difficult to delegate permissions

How works a an ACCESS CONTROL LISTS ? 

• For each subject, a capability list (or ticket) specifies authorized objects and operations
    • Each user has a number of tickets and may be authorized to loan or give them to others

• Storing by row → capability

What are the Advantage and drawbacks of a CAPABILITY LISTS ? 

• Advantages
    • Can be stored with the subject (portable)
    • Easy to audit all subject permissions
    • Delegating is simple
• Drawbacks
    • Revoking just one permission is hard
    • Transferability → security problems; once capability is given, how can we prevent sharing?
    • Authenticity: how to check?

Lernen