Bob connects to a public Wi-Fi at a coffee shop and uses a website that claims to support end-to-end encrypted messaging using Diffie-Hellman key exchange. However, an attacker sitting nearby is able to intercept and read Bob’s messages. Later, Bob realizes that his device never received a security warning.
Which of the following is the most likely
a) The attacker modified Bob’s public key and inserted their own during the key exchange. b) Bob’s device cached an older session key, allowing replay attacks. c) The attacker performed a chosen-ciphertext attack on the encrypted messages. d) The key exchange used a prime number that was too small, making it easy to compute discrete logarithms.
A company implements an IPsec VPN to secure remote employee communications. After a penetration test, the security team finds that an attacker can still see employees' visited websites and read metadata about the connections. However, the actual payloads remain encrypted.
What misconfiguration is most likely causing this issue?
a) The company used IPsec in Transport Mode instead of Tunnel Mode. b) The VPN did not authenticate users properly before establishing encryption. c) The attacker exploited an AES timing attack to leak partial key information. d) The company used an outdated hashing algorithm in the IKE phase.
Suppose Alice and Bob are using Diffie-Hellman with prime p=23 and generator g=5. If Alice sends A=8 and Bob sends B=19 , what is their shared secret?
A company implements AES-128 encryption on IoT devices, but a researcher discovers that by measuring power consumption
Which mitigation technique would be
a) Using a larger key size (AES-256 instead of AES-128) b) Implementing operations to prevent data-dependent leakage c) Encrypting the plaintext d) Using
A V three-state buffer will output either V, V or:
A company implements X.509 digital certificates for employee authentication. However, an attacker manages to perform a despite certificate-based authentication.
What is the most likely reason this attack was successful?
a) The certificate authority (CA) was b) The encryption used was RSA-1024, which is c) The attacker exploited a d) The certificate contained a weak
If a plaintext message is 528 bits , how many blocks will be needed?
a) 4 b) 5 c) 6 d) 7
a) The connection fails because encryption keys are not exchanged.
b) The data is encrypted with a default key.
c) The authentication protocol switches to Kerberos.
d) The connection proceeds without encryption.