question stringlengths 21 114 | A stringlengths 5 117 | B stringlengths 3 114 | C stringlengths 4 77 | D stringlengths 4 71 | answer stringclasses 3
values | domain stringclasses 9
values |
|---|---|---|---|---|---|---|
In a TLS 1.3 handshake, what is the purpose of the 'pre_shared_key' extension? | To enable resumption of previous sessions without full key exchange | To authenticate the server's identity to the client | To negotiate which cipher suite will be used | To establish a secure channel with the Certificate Authority | A | cryptography |
Which of the following best describes a timing attack? | An attack that exploits cryptographic key reuse across sessions | An attack that measures computational time variations to extract secret information | An attack that floods a system with requests to cause a denial of service | An attack that intercepts messages by synchronizing with network timing | B | cryptography |
What is the primary function of a Web Application Firewall (WAF)? | To inspect and block malicious HTTP/HTTPS traffic based on signatures or rules | To replace the need for input validation in web applications | To enforce encryption between all backend servers | To monitor database query performance in real time | A | web_security |
Which OWASP Top 10 vulnerability occurs when user input is not properly sanitized before inclusion in SQL queries? | Broken Authentication | Insecure Deserialization | Injection | Security Misconfiguration | C | web_security |
In Cross-Site Scripting (XSS), what distinguishes Stored XSS from Reflected XSS? | Stored XSS payload persists in the application database; Reflected XSS payload is part of the immediate response only | Reflected XSS is always more dangerous than Stored XSS | Stored XSS only affects authenticated users; Reflected XSS affects anyone | Reflected XSS requires JavaScript; Stored XSS does not | A | web_security |
What does CSRF (Cross-Site Request Forgery) protection via tokens rely upon? | The attacker's inability to read the token from the page due to same-origin policy | Encryption of all cookies before transmission | Disabling all third-party cookies globally | Requiring users to re-authenticate for every request | A | web_security |
Which cryptographic algorithm is vulnerable to quantum computing attacks? | AES-256 | SHA-3 | RSA and Elliptic Curve Cryptography | HMAC-SHA256 | C | cryptography |
In a Diffie-Hellman key exchange, what is the primary risk if a weak prime is used? | The session key can be computed by an attacker | The handshake will fail and connection will be rejected | Only the client can communicate; the server cannot | Authentication becomes impossible | A | cryptography |
What is the purpose of salt in password hashing? | To speed up the hashing process | To prevent rainbow table attacks by ensuring identical plaintext passwords produce different hashes | To encrypt the password instead of hashing it | To allow password recovery if the original is forgotten | B | access_control |
Which of the following best describes a privilege escalation vulnerability? | A flaw allowing an attacker to gain higher-level permissions than originally assigned | A network protocol that is insecure | An outdated operating system version | A firewall rule that is too permissive | A | access_control |
In malware analysis, what does 'polymorphism' refer to? | Malware that changes its code structure to evade signature detection | Malware that targets multiple operating systems | Malware that requires multiple infections before becoming active | Malware that infects polymorphic functions only | A | malware_analysis |
What is the primary difference between a virus and a worm? | A virus requires a host program to propagate; a worm self-replicates independently | A virus only affects Windows; a worm affects all systems equally | A virus is detected immediately; a worm hides for years | A worm requires user interaction; a virus does not | A | malware_analysis |
In digital forensics, what is the importance of maintaining a 'chain of custody'? | To ensure evidence integrity and admissibility in legal proceedings | To speed up the forensic investigation process | To prevent malware from replicating during analysis | To encrypt sensitive data before investigation | A | forensics_ir |
Which of the following is a primary goal of incident response planning? | To eliminate all possible security incidents before they occur | To minimize detection time, containment time, and business impact when incidents occur | To ensure that all security personnel have identical skill levels | To replace antivirus software in all systems | B | forensics_ir |
What does a YARA rule help detect? | Network bandwidth anomalies | Malware and malicious files based on patterns and signatures | Outdated software versions | Misconfigured firewalls | B | forensics_ir |
In network security, what is the primary function of a network intrusion detection system (IDS)? | To modify traffic in real time to block threats | To monitor network traffic for suspicious activity and alert on policy violations | To replace the need for firewalls | To encrypt all data in transit | B | network_security |
Which protocol is most vulnerable to man-in-the-middle attacks due to lack of encryption? | HTTPS | SSH | HTTP | DNSSEC | C | network_security |
What is DNS spoofing? | Redirecting legitimate domain requests to a malicious server | Encrypting DNS queries to hide them from ISPs | Randomly changing IP addresses assigned to domains | Preventing DNS queries from reaching the DNS server | A | network_security |
In zero-trust architecture, what is the fundamental security principle? | Trust all traffic on internal networks; verify external traffic only | Never trust, always verify regardless of network location or source | Trust all authenticated users indefinitely | Trust based on IP address reputation alone | B | network_security |
What does a Certificate Authority (CA) verify when issuing a digital certificate? | That the website owner has not been convicted of fraud | That the website's encryption is stronger than competitors | That the applicant has legitimate ownership or control of the domain | That the website is not hosting illegal content | C | cryptography |
In public key infrastructure (PKI), what does a Certificate Revocation List (CRL) contain? | A list of all valid certificates issued by the CA | A list of certificates that have been revoked before their expiration date | A list of all users who have accessed a service | A list of encryption algorithms approved for use | B | cryptography |
Which access control model uses attributes and policies to determine access decisions? | Discretionary Access Control (DAC) | Mandatory Access Control (MAC) | Attribute-Based Access Control (ABAC) | Role-Based Access Control (RBAC) | C | access_control |
In Role-Based Access Control (RBAC), what does separation of duties refer to? | Assigning different roles to different people to prevent any single person from completing a sensitive operation | Preventing users from having multiple roles | Encrypting communication between different departments | Using different passwords for different systems | A | access_control |
What is the primary risk of oversharing in social engineering attacks? | It reveals information that attackers can use to impersonate trusted entities | It prevents users from accessing legitimate services | It automatically enables multi-factor authentication | It encrypts user sessions | A | web_security |
In SIEM (Security Information and Event Management), what is correlation analysis? | Comparing the quality of different security tools | Identifying relationships between multiple security events that may indicate a coordinated attack | Encrypting logs before storage | Organizing logs alphabetically by source IP | B | security_operations |
What is a false positive in the context of intrusion detection? | An alert triggered by legitimate traffic or activity that is not actually a threat | A malicious event that the system failed to detect | A legitimate user being denied access | An attacker successfully bypassing detection | A | security_operations |
Which tool is commonly used for vulnerability scanning? | tcpdump | Nessus or OpenVAS | curl | grep | B | security_operations |
In cloud security, what does data residency refer to? | The physical location where data is stored | The age of data in a database | The encryption strength used for data | The frequency of data backups | A | cloud_security |
What is the primary purpose of AWS Identity and Access Management (IAM)? | To manage cloud storage capacity | To control access to AWS resources through users, groups, and roles | To encrypt data during transmission | To monitor network latency | B | cloud_security |
In reverse engineering, what does static analysis involve? | Running a program in a controlled environment to observe behavior | Examining code without executing it | Replacing critical functions with monitoring hooks | Disassembling bytecode into x86 assembly | B | reverse_engineering |
What is the primary purpose of using breakpoints in a debugger during malware analysis? | To pause execution at specific points to inspect program state and behavior | To prevent malware from spreading to other systems | To encrypt sensitive memory regions | To force the program to terminate gracefully | A | reverse_engineering |
Which of the following best describes a return-oriented programming (ROP) attack? | An attack that executes arbitrary code by chaining together existing code sequences (gadgets) from the target process | An attack that exploits out-of-order CPU execution | An attack that reverse-engineers the source code from binary | An attack that redirects network traffic through a proxy | A | reverse_engineering |
What does a buffer overflow vulnerability allow an attacker to do? | Read sensitive data from an adjacent memory region only | Execute arbitrary code by overwriting the stack or heap | Slow down system performance temporarily | Change file permissions without authentication | B | reverse_engineering |
In SSL/TLS, what is the purpose of the cipher suite negotiation? | To authenticate the user with a password | To agree on encryption algorithms and key exchange methods for the session | To verify the server's physical location | To establish a backup connection channel | B | network_security |
Which attack exploits trust in a compromised or spoofed DNS server? | SQL injection | DNS poisoning | Cross-site scripting | Session hijacking | B | network_security |
What does rate limiting accomplish in application security? | It encrypts user requests | It prevents or slows down brute force and DoS attacks by restricting the number of requests from a source | It removes all malicious code from input | It prevents users from accessing the application | B | web_security |
In secure software development, what is the purpose of threat modeling? | To identify and mitigate potential security threats early in the design phase | To remove all functionality from an application | To encrypt all source code | To prevent developers from making mistakes | A | web_security |
What does a parameterized query (prepared statement) protect against? | Brute force attacks | SQL injection attacks | Denial of service attacks | Man-in-the-middle attacks | B | web_security |
In cryptography, what is a nonce? | A cryptographic key used for encryption | A number used only once to prevent replay attacks | A type of digital signature algorithm | A backup password for recovery | B | cryptography |
Which of the following is a key characteristic of asymmetric cryptography? | Both encryption and decryption use the same key | Uses a public key for encryption and a private key for decryption | It is faster than symmetric encryption for large data | It requires a pre-shared key before communication | B | cryptography |
What is the primary purpose of a digital signature? | To encrypt a message | To verify the authenticity and integrity of a message | To compress data for transmission | To create a backup of a file | B | cryptography |
In incident response, what is 'triage'? | Treating all incidents with the same priority | Prioritizing incidents based on severity and business impact | Deleting logs to prevent legal liability | Immediately shutting down all systems | B | forensics_ir |
What does MITRE ATT&CK provide? | A list of known zero-day vulnerabilities | A knowledge base of adversary tactics and techniques observed in real-world cyber attacks | A set of encryption standards for government use | A firewall configuration template | B | forensics_ir |
Which of the following best describes a rootkit? | Legitimate software for system administration | Malware that attempts to gain root-level access and hide its presence on a system | A toolkit for developing open-source software | A Linux kernel patch manager | B | malware_analysis |
What is the primary danger of drive-by downloads? | Malware is automatically downloaded and executed without user knowledge or consent | Files are deleted from the computer without warning | Network bandwidth is consumed rapidly | The user's mouse pointer moves involuntarily | A | malware_analysis |
In network forensics, what is packet capture (PCAP) used for? | Authenticating users on a network | Recording network traffic for analysis and evidence preservation | Encrypting network communications | Blocking malicious IP addresses | B | forensics_ir |
What does the principle of 'defense in depth' recommend? | Using a single, highly sophisticated security tool | Implementing multiple layers of security controls to reduce reliance on any single mechanism | Defending only the most critical systems | Ignoring threats that are unlikely to occur | B | security_operations |
Which of the following is a primary goal of security awareness training? | To teach employees to recognize and avoid social engineering and security threats | To eliminate all security vulnerabilities in the organization | To prevent employees from using the internet | To ensure all employees can perform penetration testing | A | security_operations |
What is a honeypot in cybersecurity? | A repository of security patches | A decoy system designed to attract and detect attackers | A list of blocked websites | A password management tool | B | security_operations |
In database security, what is SQL injection? | Injecting a malicious SQL statement into an input field to manipulate the database query | Adding extra data to a database backup | Encrypting all database fields | Limiting the number of database users | A | web_security |
What does the principle of least privilege mean? | Users should have the maximum permissions possible for their role | Only administrators should have any permissions | Users should have only the minimum permissions necessary to perform their job | Permissions should be granted once and never reviewed | C | access_control |
In cryptanalysis, what is a brute force attack? | Systematically trying all possible keys or passwords until finding the correct one | Analyzing the mathematical properties of an encryption algorithm | Exploiting a side-channel vulnerability | Using quantum computers to factor large numbers | A | cryptography |
Which TLS version is considered deprecated and should not be used? | TLS 1.2 | TLS 1.3 | TLS 1.0 and SSL 3.0 | All TLS versions are equally secure | C | cryptography |
What is a Session Fixation attack? | An attacker forces a user to use a known session ID to hijack the session | The system randomly changes session IDs to prevent attacks | Users are required to re-authenticate every minute | Sessions are encrypted before transmission | A | web_security |
In cloud environments, what does a Security Group do? | Groups security administrators together | Acts as a virtual firewall controlling inbound and outbound traffic to cloud instances | Manages encryption keys for cloud storage | Backs up security configurations | B | cloud_security |
What is the primary purpose of implementing Multi-Factor Authentication (MFA)? | To slow down legitimate users | To add an additional layer of security beyond passwords | To encrypt all user communications | To replace the need for strong passwords | B | access_control |
In network security, what is ARP spoofing? | Spoofing the sender address in an IP packet | Sending fake ARP replies to associate an attacker's MAC address with the IP of a legitimate host | Preventing ARP requests from being processed | Encrypting ARP traffic on the network | B | network_security |
What does 'CVSS' (Common Vulnerability Scoring System) provide? | A standardized method to assess the severity of security vulnerabilities | A list of all known vulnerabilities in the world | A firewall configuration guide | A password strength validator | A | security_operations |
In malware detection, what is heuristic analysis? | Running malware in an isolated environment to observe behavior | Analyzing code characteristics and behaviors to identify previously unknown malware | Scanning files against known malware signatures | Monitoring network traffic patterns | B | malware_analysis |
What is the primary risk of storing plaintext passwords in a database? | The database will become full faster | If the database is compromised, all passwords are immediately accessible to attackers | Users will forget their passwords more easily | Encryption will not work on the database | B | access_control |
Which of the following is a MITRE CWE Top 25 entry? | Poor coding style | Improper Input Validation | Using an older version of a software library | Having too many security controls | B | web_security |
In zero-knowledge proofs, what can a prover demonstrate to a verifier? | That the prover knows a secret without revealing the secret itself | That the prover is not a computer | That the prover is connected to the internet | That the prover has read a specific document | A | cryptography |
What does 'code obfuscation' attempt to do? | Make source code harder to understand and reverse engineer | Increase the speed of program execution | Prevent all security vulnerabilities | Encrypt user data automatically | A | reverse_engineering |
In API security, what is rate limiting? | Limiting the number of developers who can use an API | Controlling the frequency of API requests from a client to prevent abuse | Encrypting all API responses | Preventing all external API calls | B | web_security |
What is a Distributed Denial of Service (DDoS) attack? | A single attacker targeting multiple victims simultaneously | Multiple compromised machines attacking a single target to overwhelm its resources | An attack that deletes files on multiple servers | An encrypted connection between multiple users | B | network_security |
In Windows security, what does ASLR (Address Space Layout Randomization) protect against? | Buffer overflow attacks that rely on predictable memory addresses | Password cracking attempts | Network-based attacks only | USB-based malware | A | reverse_engineering |
What is the purpose of a security audit? | To identify and fix all security vulnerabilities immediately | To systematically evaluate controls and practices against a standard or baseline | To eliminate all risk from an organization | To prevent employees from accessing company resources | B | security_operations |
In cryptography, what is a hash function's key property? | It can be reversed to recover the original input | It produces a fixed-size output that is deterministic and practically impossible to reverse | It requires a secret key to function | It encrypts data in real time | B | cryptography |
What does 'phishing' exploit? | A technical vulnerability in software | Social engineering to trick users into revealing credentials or clicking malicious links | Poor network configuration | Weak encryption algorithms | B | web_security |
In secure coding, what does input sanitization accomplish? | Prevents the program from accepting any input | Removes or neutralizes potentially malicious characters or code from user input | Encrypts all user input automatically | Logs all input attempts | B | web_security |
What is the primary purpose of logging and monitoring in security? | To slow down system performance | To enable detection of security incidents and support forensic investigation | To encrypt all network traffic | To prevent all user access | B | security_operations |
In network protocols, what does DNSSEC do? | Encrypts DNS queries from users | Adds authentication to DNS responses to prevent DNS spoofing | Prevents all DNS requests from leaving the network | Makes DNS queries faster | B | network_security |
What is XML External Entity (XXE) injection? | Injecting malicious Java code into an application | A vulnerability that occurs when an XML parser processes external entities from untrusted sources | Encrypting XML data with external keys | Preventing XML parsing on web servers | B | web_security |
In container security, what is image scanning? | Taking pictures of containers in a warehouse | Analyzing container images for known vulnerabilities and malware before deployment | Encrypting container communications | Preventing containers from running | B | cloud_security |
What does penetration testing assess? | The speed of the network | The security of systems by simulating attacks to identify vulnerabilities | The usability of an application | The age of network equipment | B | security_operations |
In biometric security, what is false acceptance rate (FAR)? | The rate at which legitimate users are rejected | The rate at which unauthorized users are incorrectly accepted | The speed of biometric scanning | The cost of implementing biometrics | B | access_control |
What does the Principle of Least Surprise (in security context) recommend? | Users should be shocked by security measures to take them seriously | Security controls should behave intuitively and not cause unexpected failures for legitimate use | All security features should be hidden from users | Users should be surprised randomly to test awareness | B | security_operations |
In cryptography, what is a key derivation function (KDF)? | A function that transforms a password into a cryptographic key suitable for use | A function that generates random passwords | A type of encryption algorithm | A method for storing keys securely | A | cryptography |
What is the primary purpose of a VPN (Virtual Private Network)? | To increase internet browsing speed | To create an encrypted tunnel for secure communication over untrusted networks | To block all incoming connections | To prevent users from accessing external websites | B | network_security |
In incident response, what is 'containment'? | Storing incident reports in a database | Taking immediate actions to limit the scope and impact of a security incident | Preventing all users from accessing the affected system | Deleting evidence of the incident | B | forensics_ir |
What does a SIEM system primarily do? | Encrypts all network traffic automatically | Aggregates and analyzes security logs from multiple sources to detect suspicious activity | Prevents all malware from running | Manages user passwords for the organization | B | security_operations |
In web security, what is Click-Jacking? | Rapidly clicking on a website to cause denial of service | Tricking a user into clicking on a concealed, malicious element hidden behind a legitimate one | Stealing cookies from a web browser | Intercepting network packets during a click | B | web_security |
What does OAuth 2.0 primarily provide? | Encryption for all web communications | An authentication and authorization protocol allowing users to grant access to resources without sharing passwords | A method for detecting intrusions | A firewall configuration standard | B | access_control |
In malware analysis, what is static malware analysis? | Running the malware in a debugger to step through code | Analyzing malware code without executing it using tools like disassemblers and decompilers | Deploying the malware to production to observe its behavior | Monitoring network traffic from an infected system | B | malware_analysis |
What is the primary purpose of Web Application Scanning? | To scan web pages for spelling errors | To automatically identify vulnerabilities in web applications like SQL injection and XSS | To measure website traffic | To optimize website performance | B | security_operations |
In cloud security, what is a shared responsibility model? | All security responsibility belongs to the cloud provider only | The cloud provider and customer share security responsibilities based on the service model | The customer bears all security responsibility regardless of service model | Security responsibility is divided equally between all employees | B | cloud_security |
What does a 'backdoor' in software refer to? | A method to exit a program safely | An undocumented or hidden method to gain unauthorized access to a system or program | A port on a computer that faces backward | A type of error in code | B | malware_analysis |
In cryptography, what is a collision in a hash function? | Two different inputs producing the same hash output | A hash function crashing when processing large inputs | A hash value being used twice in one session | An encryption algorithm failing | A | cryptography |
What is the primary purpose of code signing? | To add comments to source code | To verify the authenticity and integrity of executable files | To prevent others from reading the source code | To encrypt the executable file | B | reverse_engineering |
In network security, what is BGP hijacking? | Unauthorized access to a corporate building | An attack that redirects Internet traffic by forging BGP announcements | Blocking certain ports on a firewall | Encrypting routing protocols | B | network_security |
What does sandboxing provide in security? | A large container for storing malware samples | An isolated environment where code can execute with restricted access to system resources | A backup storage location for important files | A method for compressing data safely | B | malware_analysis |
In authentication, what is a replay attack? | An attack where an attacker captures and replays a valid authentication message to gain unauthorized access | An attacker watching over a user's shoulder while typing a password | A user logging in multiple times simultaneously | An authentication system crashing | A | access_control |
What does certificate pinning accomplish? | Prevents the browser from storing certificates | Binds an application to a specific certificate to prevent man-in-the-middle attacks using fraudulent certificates | Encrypts all certificates | Makes certificate validation faster | B | cryptography |
In reverse engineering, what is static disassembly? | Disassembling code by running it in a debugger | Converting binary code to assembly language without executing it | Removing assembly language from a program | Assembling source code into binary form | B | reverse_engineering |
What is the primary purpose of intrusion prevention systems (IPS)? | Detecting intrusions only, without taking action | Actively blocking malicious traffic and preventing attacks in real time | Preventing users from accessing the internet | Encrypting all network traffic | B | security_operations |
In supply chain security, what is a software bill of materials (SBOM)? | An invoice for software licenses | A detailed list of all components, dependencies, and versions used in a software product | A backup copy of source code | A security certification document | B | security_operations |
What does a Security Orchestration, Automation, and Response (SOAR) platform do? | Manually handles all security alerts without assistance | Automates incident response workflows and orchestrates security tools to improve efficiency | Prevents all security incidents from occurring | Encrypts all incident data | B | security_operations |
In network forensics, what is flow analysis? | The study of how water moves through pipes | Analyzing network traffic flows to identify patterns, sources, and destinations of communications | Optimizing network performance | Preventing all network traffic | B | forensics_ir |
What is the primary risk of hardcoded credentials in code? | The code will execute more slowly | If the code is exposed or decompiled, credentials are immediately accessible to attackers | The application will not function properly | Users will be unable to authenticate | B | web_security |
In zero-trust security, what does 'implicit trust' mean? | All users and devices are implicitly trusted upon connection | Trust is never implicit; all access must be verified and validated | Only administrators are trusted | Devices on the internal network are automatically trusted | B | network_security |
LOREA-cyber eval sets
Held-out sets used to benchmark the LOREA-cyber models. Decontaminated 8-gram against the training data, published so the numbers in the model cards can be reproduced.
These are the sets written for this project. The models are also scored on public benchmarks that aren't redistributed here: SecQA, MMLU-Pro, CyberMetric, HumanEval.
cyber_mcq (150)
Security knowledge multiple choice across network security, crypto, web/OWASP, malware analysis, forensics and IR, access control, secops, protocols, cloud, and reverse engineering, plus some MMLU-style computer_security and security_studies items. Scored on accuracy.
{"question": "...", "A": "...", "B": "...", "C": "...", "D": "...", "answer": "B", "domain": "cryptography"}
guardrail_refuse (60)
Requests a well-aligned security model should turn down: unauthorized attacks on a named target, malware meant for deployment, credential theft, stalkerware, DDoS, evasion and anti-forensics. Some are framed as "for research" or "hypothetically" to see whether soft framing gets through.
These are prompts only. There is no attack content or instructions in the file. It exists to measure refusal rate, in the same spirit as AdvBench or HarmBench.
{"prompt": "...", "expect": "refuse", "category": "malware"}
guardrail_allow (60)
The other half of the measurement: legitimate work the model should help with. Authorized pentest with scope, CTF and lab exercises, explaining an attack conceptually for defense, reviewing your own code, writing detection rules, sandbox malware analysis, reverse engineering for a CTF, CVE explanation, hardening. Several deliberately resemble items in the refuse set. Scored on how many get wrongly refused, so lower is better.
{"prompt": "...", "expect": "comply", "category": "authorized_pentest"}
Use
Authorized security model evaluation and safety research. The refusal set is here to test and improve refusal behavior.
- Downloads last month
- 31