CEH · domain
Cryptography and Malware Analysis
This CEH domain covers cryptographic algorithms, PKI, encryption tools, and malware analysis techniques including static and dynamic analysis, sandbox evasion, and forensic detection. Questions present practical scenarios requiring you to select the correct key exchange, cipher mode, hashing method, or malware analysis tool and interpret observed artifacts accurately.
Focused practice
Practice Cryptography and Malware Analysis questions
Scored sessions drawing only from this domain — pick a length below.
What this domain covers
What to know about Cryptography and Malware Analysis
Match cryptographic primitives to their properties: PFS requires ephemeral Diffie-Hellman variants, not static RSA. For malware, correlate key length and ciphertext size to infer the algorithm. For keyloggers, distinguish hardware from software and choose physical or USB-level detection accordingly.
Selecting ECDHE or DHE key exchange to enable Perfect Forward Secrecy in TLS
Identifying symmetric ciphers like AES, DES, and 3DES by key length and block size
Using sandbox evasion indicators such as CPU core count and VM artifacts
Detecting hardware keyloggers through physical inspection and USB device auditing
Watch out for
Common Cryptography and Malware Analysis exam traps
- ▸Confusing RSA key exchange with PFS-capable ECDHE/DHE, since static RSA does not provide forward secrecy
- ▸Assuming any 16-byte hardcoded key implies AES-128 without verifying block cipher mode or algorithm
- ▸Treating software keylogger detection tools as effective against hardware keyloggers that sit inline with the keyboard
Question index
All Cryptography and Malware Analysis questions (18)
Click any question to see the full explanation, or start a practice session above.
A security engineer needs to configure a web server to support Perfect Forward Secrecy (PFS) for HTTPS connections. Which of the following key exchange methods should be prioritized?
Hard2During a penetration test, a security analyst discovers that an organization's web application uses HTTP for login forms, potentially exposing credentials to interception. Which of the following is the BEST cryptographic control to implement to protect credentials in transit?
Easy3You are a security analyst for a medium-sized company. The company uses a custom web application for internal project management. The application uses AES-256-CBC for encrypting sensitive data stored in the database. Recently, the company experienced a data breach where an attacker exfiltrated the entire database. Although the data was encrypted, the attacker was able to decrypt some records. Investigation reveals that the encryption key is stored in a configuration file on the same server, and the initialization vector (IV) is hardcoded in the application code. Additionally, the application uses the same key for all records. Which of the following is the most effective remediation to prevent future decryption of stolen encrypted data?
Medium4A security analyst receives an alert about a suspicious file hash. The analyst wants to check if the file is known malware by querying an online database of malware signatures. Which tool should the analyst use?
Easy5You are a security analyst for a financial institution. The company has deployed a network of 500 Windows 10 workstations and 50 servers running Windows Server 2019. All systems are protected by a next-generation firewall and an endpoint detection and response (EDR) solution. Recently, several employees reported that their workstations are running slowly and exhibiting unusual pop-up messages demanding a ransom note in Bitcoin. The EDR alerts show that a file named 'invoice.docm' was downloaded from an email attachment and executed on multiple workstations. The EDR also indicates that the file dropped a PowerShell script that connected to an external IP address and downloaded additional payloads. After the initial infection, the EDR detected that the ransomware binary 'encryptor.exe' was executed, which began encrypting files. However, the encryption process was stopped by the EDR before all files were encrypted. The incident response team needs to determine the source of the infection and prevent future occurrences. Which of the following is the most effective first step to identify the initial infection vector?
Medium6An ethical hacker is analyzing a piece of malware that uses a custom encryption algorithm. The malware sample contains a hardcoded key that is 16 bytes long. The analyst observes that the encrypted data is the same length as the plaintext. Which encryption mode is most likely being used?
Medium7During a forensic investigation, an analyst finds that a malware sample uses a technique to detect if it is running in a sandbox by checking the number of CPU cores. The malware terminates execution if the core count is less than 2. Which anti-analysis technique is this?
Hard8A security researcher is analyzing a new malware sample that appears to use domain generation algorithms (DGAs) for command-and-control (C2) resilience. The researcher wants to identify the DGA and predict future domains to block them proactively. Which two techniques would be most effective for this analysis? (Choose two.)
Hard9A security analyst suspects that a user's machine is infected with a keylogger. Which of the following is the most effective method to detect a hardware keylogger?
Easy10A company wants to secure its email communications using digital signatures. Which cryptographic key does the sender use to sign the email?
Medium11You are a security analyst at a financial institution. The SOC has detected anomalous outbound traffic from a server in the DMZ to an unknown IP address on TCP port 8443. The server runs a custom application that normally communicates with internal databases on port 1433. The server's OS is Windows Server 2019. Preliminary analysis shows that a new service named 'UpdateSvc' was installed three days ago, set to start automatically, and runs under the LocalSystem account. The service binary is located at C:\Windows\System32\svchost.exe (the legitimate one). However, the service's 'ImagePath' registry key points to 'C:\Windows\System32\svchost.exe -k UpdateSvc'. Additionally, a scheduled task named 'HealthCheck' runs every hour and executes 'powershell.exe -EncodedCommand <base64>'. The encoded command decodes to a script that downloads a payload from the same unknown IP on port 8443 and executes it in memory. The server has antivirus installed that detected nothing. As the analyst, which of the following is the BEST immediate course of action?
Hard12Match each vulnerability assessment tool to its function.
Medium13Refer to the exhibit. An analyst suspects that the downloaded file 'update.exe' may have been tampered with. The vendor's official website lists the SHA256 hash as 4e7c2a8f9b3d1e5f6a0c8b7d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f. What should the analyst conclude?
Medium14A company's internal PKI uses an offline root CA and an online issuing CA. A security engineer needs to revoke a compromised certificate issued by the online CA. Which CRL distribution point should the engineer update?
Hard15An organization is investigating a potential malware infection. The security analyst observes unusual outbound connections to a known malicious IP address and finds a suspicious process running under a user's session. The analyst decides to perform memory analysis using Volatility. Which TWO commands would be most useful to identify the malicious process and its network connections?
Hard16During a penetration test, an ethical hacker finds that a web application transmits sensitive data in plaintext over HTTPS. Which of the following best describes this security issue?
Medium17Which TWO of the following are characteristics of a polymorphic virus? (Choose two.)
Easy18A security analyst is investigating a malware incident and needs to determine whether a suspicious file is malicious. The analyst has a hash of the file and wants to quickly check if it is a known malware sample without executing it. Which action should the analyst take?
EasyOther domains
All CEH exam domains
Frequently asked questions
- What does the Cryptography and Malware Analysis domain cover on the CEH exam?
- Match cryptographic primitives to their properties: PFS requires ephemeral Diffie-Hellman variants, not static RSA. For malware, correlate key length and ciphertext size to infer the algorithm. For keyloggers, distinguish hardware from software and choose physical or USB-level detection accordingly.
- How many questions are in this domain?
- This page lists all 18 Cryptography and Malware Analysis questions in the CEH question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Cryptography and Malware Analysis questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.