id
stringlengths
36
36
source
stringclasses
11 values
question
stringlengths
78
888
choices
listlengths
4
4
answer
stringclasses
17 values
topics
listlengths
0
4
keyword
stringlengths
3
50
9b615dce-eb2c-408f-a4d3-89a6cf77a257
mozilla_security
A security team is evaluating measures to secure their web applications. Which combination of actions would be most effective in mitigating MIME type security risks?
[ "A: Disallowing JavaScript execution, enabling X-Content-Type-Options header, and using only standard MIME types", "B: Running all content from a single domain, avoiding the use of cookies, and disabling client-side scripting", "C: Implementing comprehensive input validation, enforcing strict authentication pro...
A
[ "WebSecurity", "SystemSecurity" ]
X-Content-Type-Options
3a6b83ac-e13e-4d70-86f4-139503315a9a
android_sec_doc
In the context of Android security, if a security analyst argues that attestation certificates generated at the `Software` security level are equally as secure as those generated at the `StrongBox` level, what would be the best counterargument to this claim?
[ "A: Attestations at the `Software` level are only as secure as the Android system itself, which can be more easily compromised than dedicated hardware security modules.", "B: The `Software` level indicates that the attestation is generated in a TEE, which is less secure than the Android system.", "C: Attestatio...
A
[ "ApplicationSecurity" ]
Attestation
c21613d4-e9b5-4a4e-88ea-80e057500f48
apple_platform_security
An organization is reviewing the security features of Apple devices for use in a sensitive environment where audio surveillance and unauthorized access are primary concerns. They need to understand specific hardware security implementations that would mitigate these risks. Based on the hardware security features mentio...
[ "A: Mac notebooks with Apple silicon disconnect the camera in hardware when the lid is closed to prevent any software from accessing it.", "B: iPads with an MFi-compliant case disconnect the microphone in hardware when the case is closed to prevent access by any software, regardless of its privileges.", "C: Fac...
BC
[ "SystemSecurity", "ApplicationSecurity" ]
HardwareSecurity
073971b1-e9c8-47d5-9894-79db3d820305
windows_security
What is the primary reason some EMET features, such as Heap Spray, EAF, and EAF+, were not included in Windows 10's security mitigations?
[ "A: These features were deemed to have low impact on the current threat landscape and did not significantly increase the difficulty of exploiting vulnerabilities.", "B: The features were too complex to integrate into the new Windows 10 architecture.", "C: Microsoft determined that these features could potential...
A
[ "SystemSecurity" ]
EMET Features
d0452a6e-eec2-417f-b62f-9bedebebe955
apple_platform_security
An organization's IT administrator is using Apple Configurator for Mac to manage a fleet of devices. Which of the following tasks can the administrator perform with this tool, and which restriction must be adhered to?
[ "A: Restore iOS, iPadOS, and tvOS devices without an internet connection by linking them to a host Mac with internet access.", "B: Inspect and use the file containing the latest minor updates to the operating systems after a device is revived or restored.", "C: Add devices to Apple School Manager or Apple Busin...
AC
[ "SystemSecurity", "ApplicationSecurity" ]
DeviceManagement
cbd7f4b8-31b4-40bc-9f7c-f596279a09d5
cwe
Which of the following statements accurately reflect the consequences or mitigation strategies for the vulnerability associated with PRNG seed reuse?
[ "A: Reusing a PRNG seed across sessions increases the entropy of the generated numbers, enhancing the security of the application.", "B: Utilizing libraries or frameworks that conform to FIPS 140-2 standards can help mitigate issues arising from obvious entropy problems in PRNGs.", "C: Re-seeding a PRNG periodi...
B
[ "SystemSecurity", "Vulnerability" ]
mitigation
0cd3fb7a-a11c-4978-95ea-bd8ef014f78c
owasp_wstg
A company has recently decommissioned one of its services that was previously hosted on an external cloud provider. The subdomain 'service.company.com' was used to access this service. As a security consultant, you are tasked to ensure that the decommissioning process does not leave the company vulnerable to subdomain ...
[ "A: Update the 'service.company.com' DNS record to point to the company's primary website.", "B: Remove the 'service.company.com' DNS record from the company's DNS zone.", "C: Redirect the 'service.company.com' to a 404 Not Found error page.", "D: Maintain the DNS record but disable the cloud service account....
B
[ "WebSecurity", "SystemSecurity" ]
DNS zone
bc023b01-d17a-438c-83cb-fabcbd04e188
owasp_mastg
In an Android environment, a developer is tasked with ensuring the security of cryptographic keys. Which Android security module should the developer rely on to ensure that cryptographic keys are handled securely within a Trusted Execution Environment (TEE)?
[ "A: StrongBox, because it provides file-based encryption allowing different files to be encrypted with different keys.", "B: Hardware-backed KeyStore, as it enables apps to perform cryptographic operations in a TEE without exposing the cryptographic key material.", "C: GateKeeper, since it is responsible for pa...
B
[ "ApplicationSecurity" ]
Hardware-backed KeyStore
9c4fdf32-66ab-49e1-a48b-0efd9a27aa78
cwe
While reviewing the code for a new feature of an application, a developer finds that input validation is only performed based on checking for known malicious or malformed inputs. Considering the best practices for secure coding, identify the issues that may arise from this approach and recommend more robust input valid...
[ "A: Relying solely on denylists for input validation can be incomplete and may miss undesirable inputs, thereby recommending an 'accept known good' strategy.", "B: Using stringent allowlists for filename validation can help avoid directory traversal and file inclusion vulnerabilities.", "C: Input validation sho...
AB
[ "SoftwareSecurity", "Vulnerability" ]
InputValidation
b8937968-6ff7-4dd7-b280-2795bf6cfd9e
cwe
Assess the following code snippets. Which of these does NOT illustrate a scenario that could indicate an empty code block vulnerability, assuming that each snippet represents the complete implementation of the intended functionality?
[ "A: if (user.isAuthenticated()) {} // Intentional no-op for authenticated users.", "B: try { performCriticalOperation(); } catch (Exception e) {} // Catch block left empty.", "C: for (int i = 0; i < 10; i++) { /* Reserved for future use */ }", "D: void processUserInput(String input) { System.out.println(input...
D
[ "SoftwareSecurity", "ApplicationSecurity", "Vulnerability" ]
EmptyCodeBlock
413ba89c-0478-467b-9899-a77060f6dcb1
cs161_textbook
Given the trust-based nature of BGP, what is a feasible attack that a malicious Autonomous System (AS) might carry out to disrupt internet traffic?
[ "A: Claiming responsibility for a network it doesn't own, redirecting traffic to itself.", "B: Encrypting all traffic passing through it, demanding a ransom for decryption.", "C: Physically cutting the cables of other ASs to become the only routing option.", "D: Sending corrupted packets to overload the netwo...
A
[ "WebSecurity", "SystemSecurity" ]
BGP_Attack
12daac5a-3b65-4420-9bce-4154d86750dc
windows_security
A company is planning to upgrade their Windows desktop environment to enhance security against new and emerging threats. As an IT security consultant, you are tasked with recommending features that should be included in the new Windows deployment to maximize threat protection. Which of the following features should you...
[ "A: Microsoft Defender Antivirus with cloud-based protection and machine learning capabilities", "B: Downgrading to a previous version of Windows to utilize established security protocols", "C: Enabling Controlled Folder Access to protect against unauthorized changes by hostile applications", "D: Disabling th...
AC
[ "SystemSecurity", "WebSecurity" ]
Controlled Folder Access
c54381a5-6280-4e69-8ed3-34b2878e7610
windows_security
You are reviewing a PowerShell script that is intended to output the properties of issuance policies. The script uses a method to format the display of the distinguished name of an object referred to by the variable $OID. Based on PowerShell syntax and best practices, which of the following options provides the best co...
[ "A: Using ToString() method is unnecessary because PowerShell automatically calls this method when an object's property is referenced in a string.", "B: The distinguishedName property should be accessed directly without a method call, as ToString() may result in loss of data type integrity.", "C: The ToString()...
A
[ "SoftwareSecurity", "SystemSecurity" ]
PowerShell Object Properties
eb279d8b-8708-4616-bdc8-d800a6e7c231
windows_security
A security analyst is assessing risks associated with physical access to a company's workstations equipped with Thunderbolt ports. To mitigate the risk of drive-by Direct Memory Access (DMA) attacks via these ports, which security feature should be enabled?
[ "A: Hypervisor-protected Code Integrity (HVCI)", "B: Kernel Direct Memory Access (DMA) protection", "C: Virtualization-based security (VBS)", "D: Hardware-enforced stack protection" ]
B
[ "SystemSecurity" ]
Kernel DMA Protection
e7da4823-07cd-41ee-8a2f-6c2a0727776d
owasp_wstg
Which of the following statements is a valid counterargument to the claim that 'Electronic Code Book (ECB) mode is a suitable encryption mode for protecting data because it is a mode of symmetric key encryption'?
[ "A: ECB mode is not suitable because it does not hide data patterns well, making it vulnerable to certain types of cryptanalysis.", "B: ECB mode is asymmetric encryption and should not be used for data protection.", "C: Using ECB mode is ideal because it allows for parallel processing of data blocks, thus enhan...
A
[ "WebSecurity" ]
ECB mode vulnerabilities
ce76d584-0eeb-4720-9460-73b218458e08
attck
An adversary is conducting reconnaissance on a company's hosts to gather administrative data and configuration details. The security team is trying to detect this activity. Which combination of data source and data component should the security team focus on to detect patterns associated with the collection of host inf...
[ "A: Internet Scan - Response Content", "B: External Database - Query Logs", "C: Network Traffic - Packet Headers", "D: Application Logs - Error Messages" ]
A
[ "PenTest", "NetworkSecurity" ]
Reconnaissance
72963d98-6575-44f5-a19a-e637d42d2631
owasp_wstg
Consider a web service that retrieves user details based on their ID using a PostgreSQL database. The service generates a query to fetch user data from an HTTP request parameter 'id'. Given the SQL query template below, which code snippet correctly prevents SQL Injection attacks while allowing the service to function a...
[ "A: Using parameterized queries with prepared statements:\n`$stmt = $pdo->prepare('SELECT * FROM users WHERE id = ?');\n$stmt->execute([$_GET['id']]);`", "B: Appending a comment character to truncate the query:\n`$query = 'SELECT * FROM users WHERE id = '. $_GET['id'] . '--';\n$result = pg_query($query);`", "C:...
A
[ "WebSecurity", "ApplicationSecurity" ]
SQL Injection
85980c4a-b73b-441a-86aa-4f0e8a8a027c
owasp_wstg
As a security engineer, you are tasked with mitigating the risk of session fixation attacks in your company's web application. Which of the following strategies would effectively prevent session fixation attacks? (Select two)
[ "A: Implementing full HTTP Strict Transport Security (HSTS) to prevent attackers from downgrading connections to unencrypted HTTP.", "B: Renewing session tokens after a user successfully authenticates.", "C: Disabling cookies entirely and using URL parameters to track sessions.", "D: Storing session identifie...
AB
[ "WebSecurity", "ApplicationSecurity" ]
HSTS
7eb1130f-328f-4106-b07c-4639f7542704
owasp_wstg
You are tasked with integrating security practices into the software development life cycle (SDLC) for a new project. Which of the following activities would best align with ensuring security is addressed throughout the SDLC?
[ "A: Implement security testing only after the application has been fully developed and is ready for deployment.", "B: Define security requirements and review security mechanisms such as authentication and data confidentiality during the definition and design phase.", "C: Limit security considerations to the mai...
B
[ "WebSecurity", "SystemSecurity" ]
SDLC
86a4aad8-d3b6-4360-9568-af9f843db9f5
cs161_textbook
You are tasked with enhancing the security of a corporate network. Given the need to monitor potentially malicious activities, where could you install detectors to improve intrusion detection, and what is a potential advantage and drawback of each location? Select two sets of valid options.
[ "A: Perimeter of the network: Advantage - Monitors all incoming and outgoing traffic; Drawback - Unable to detect insider threats.", "B: On each host: Advantage - Personalized security measures; Drawback - High maintenance due to numerous endpoints.", "C: In the cloud: Advantage - Global visibility; Drawback - ...
AB
[ "WebSecurity" ]
IntrusionDetectionPlacement
728170e9-7d95-41bb-b035-4223729fdc04
owasp_mastg
You are tasked with intercepting and analyzing the traffic between a mobile application and its backend services. The mobile app utilizes both HTTP and non-HTTP protocols for communication. Which of the following methods would be suitable for intercepting and analyzing this traffic, and what are potential challenges yo...
[ "A: Configuring a system proxy on the mobile device to redirect HTTP(S) traffic through an interception proxy like Burp Suite or OWASP ZAP.", "B: Using nscurl or testssl.sh to intercept non-HTTP traffic such as XMPP or proprietary binary protocols.", "C: Employing tools such as Burp-non-HTTP-Extension or Mitm-r...
ACD
[ "WebSecurity", "ApplicationSecurity" ]
Interception Proxy
3ba5ff71-18fd-4de1-956b-773381a476fb
cwe
In the context of securing a system against the use of hard-coded credentials, which mitigation strategy would be LEAST effective and why?
[ "A: Storing passwords and keys in an encrypted configuration file with restricted access.", "B: Implementing a 'first login' mode that requires the user to set a unique strong password.", "C: Using a static password for a back-end service that is known only to system administrators.", "D: Applying strong one-...
C
[ "SoftwareSecurity", "SystemSecurity", "Vulnerability" ]
Mitigation Strategies
44f59918-7a93-449f-93dc-c88c00fb3811
cs161_textbook
Consider an online banking system with different access control mechanisms in place. Which design choice would most likely result in a violation of the principle of complete mediation?
[ "A: Implementing a session management mechanism that revalidates user credentials before performing any transaction.", "B: Using a single security module that verifies user permissions before performing account-related operations.", "C: Caching user permissions upon login to reduce load and using this cache for...
C
[ "WebSecurity", "ApplicationSecurity" ]
AccessControl
dc8d3e5a-bbc8-4a8c-a10e-9ad7a4afc1e0
cs161_textbook
A startup company is developing a smart home device that stores sensitive user data. To align with best security practices, they are considering various options for securing their device. Which of the following options best aligns with the principle of 'detect if you can't prevent' and ensures a proper response mechani...
[ "A: Implementing a multi-layered firewall to prevent any unauthorized access attempts.", "B: Using tamper-evident seals on the hardware to indicate any physical breaches.", "C: Developing a sophisticated AI that predicts potential vulnerabilities before they can be exploited.", "D: Maintaining offsite backups...
BD
[ "WebSecurity", "SystemSecurity" ]
detection
e7e1ac8b-5a66-4cbd-a099-699105c4e66b
attck
An organization's cybersecurity team is analyzing logs to detect potential adversarial tactics involving peripheral device discovery. Which of the following data sources and components should they primarily monitor to detect activities associated with the enumeration of peripheral devices?
[ "A: Monitor network traffic patterns for unusual outbound connections to external command and control servers.", "B: Monitor for executed commands and arguments that may attempt to gather information about attached peripheral devices and components connected to a computer system.", "C: Monitor file access patte...
B
[ "SystemSecurity", "PenTest" ]
Peripheral Device Discovery
c371636c-e252-4d1c-9cac-238d2186f16d
attck
In a Windows multi-domain/forest environment, your team is preparing to deploy a new domain. To prevent adversaries from exploiting domain trust relationships for lateral movement, which approach would be most effective?
[ "A: Frequent change of trust relationships between domains to confuse potential adversaries.", "B: Utilize the GetAllTrustRelationships() .NET method to dynamically adjust trust levels based on real-time threat analysis.", "C: Design the domain architecture to minimize the number of trust relationships and clos...
C
[ "SystemSecurity", "PenTest" ]
Domain Trust Relationships
eed07a1c-1b92-4510-8eea-606d118d400c
apple_platform_security
Consider a scenario where an iOS app developer is working on improving the security of their application. They are implementing various security features provided by the iOS Software Development Kit (SDK). Select the security measures that correctly apply to the developer's scenario:
[ "A: Enabling Address Space Layout Randomization (ASLR) for third-party libraries to mitigate return-to-libc attacks.", "B: Utilizing Execute Never (XN) to mark certain memory pages as non-executable and prevent arbitrary code execution.", "C: Restricting the app's custom keyboard extension from having network a...
ABC
[ "ApplicationSecurity", "SystemSecurity" ]
iOS_Security_Features
772eaf2d-50f1-4097-a919-44d32f873de9
owasp_wstg
A pen tester is analyzing the security of a web application. During the assessment, the tester retrieves the robots.txt file and notices several Disallow directives. Understanding that web spiders, robots, or crawlers can intentionally ignore these directives, which of the following is the most accurate conclusion the ...
[ "A: The Disallow directives can be used to effectively protect sensitive web application directories from being indexed by search engines and accessed by unauthorized users.", "B: The Disallow directives in the robots.txt file are suggestions for the behavior of web spiders, robots, or crawlers and are not enforc...
B
[ "WebSecurity" ]
Robots Exclusion Protocol
096e7d32-54e4-4460-a4b9-8cd1d67bf990
attck
If an adversary has wiped configuration files on network devices using Network Device CLI commands, why would upgrading network intrusion detection systems (NIDS) alone not be sufficient to prevent such incidents in the future?
[ "A: Because NIDS are primarily focused on monitoring network traffic and may not detect command execution or unauthorized changes to device configurations.", "B: Because NIDS are outdated technology and have been replaced by next-generation firewalls in modern network security infrastructures.", "C: Because NID...
A
[ "NetworkSecurity", "PenTest" ]
Network Device CLI
91c34387-8541-4e48-ae6d-04f5225a1172
cwe
Consider the implementation of a Struts framework ActionForm Bean. Which of the following options correctly describes the consequences of implementing a validate() method without calling super.validate(), and the benefits of including the call to super.validate()?
[ "A: Not calling super.validate() disables the Struts default validation framework, potentially missing out on predefined validation routines.", "B: Including super.validate() call might cause performance issues due to redundant checks if the custom validation covers all necessary cases.", "C: Not calling super....
AD
[ "SoftwareSecurity", "ApplicationSecurity", "Vulnerability" ]
Validation
2198d116-a880-42c4-9ddf-76fd34a52cd7
owasp_wstg
A web application has implemented Multi-Factor Authentication (MFA) to enhance security. Which of the following actions would be considered a best practice in the context of robust MFA implementation?
[ "A: Using a single factor for sensitive accounts to simplify the login process.", "B: Implementing MFA only for user accounts but not for administrative accounts.", "C: Employing MFA for all relevant accounts and ensuring protection against brute-force attacks.", "D: Avoiding auditing and logging of MFA-relat...
C
[ "WebSecurity", "ApplicationSecurity" ]
Multi-Factor Authentication (MFA)
0e7e958e-18ed-4c54-bfdf-77fbfd6c7bcf
owasp_wstg
Review the following JavaScript code snippet used in a web application. Identify the line that introduces a potential security vulnerability due to improper use of encoding or decoding:
[ "A: var encodedData = btoa(userInput);", "B: var decodedData = atob(encodedData);", "C: var urlEncodedData = encodeURIComponent(userInput);", "D: var htmlEncodedData = escape(userInput);" ]
D
[ "WebSecurity", "ApplicationSecurity" ]
Encoding/Decoding
27e50ce9-6abd-4c24-9fd8-baca8d02ab8d
owasp_mastg
When developing a mobile application for Android, you're considering using specific Android Platform APIs to enhance the app's capabilities. From a security perspective, which of the following statements are true regarding the use of Android Platform APIs?
[ "A: Utilizing Android Platform APIs can expose the application to security risks if permissions are not appropriately managed.", "B: Android Platform APIs are inherently secure and do not require additional security measures when used in applications.", "C: Using Android Platform APIs can improve app security b...
AC
[ "ApplicationSecurity", "WebSecurity" ]
Android Platform APIs
263123cb-2687-4ee4-b5ed-daff666c732b
attck
In a security audit, you discover that an adversary has been leveraging the `dlopen` and `dlsym` functions in Linux to execute shared objects from arbitrary paths. Which of the following scenarios is a possible cause for this security issue?
[ "A: The system's antivirus software is outdated, allowing adversaries to exploit known vulnerabilities.", "B: The application control settings are not configured to restrict module loading to trusted directories.", "C: Network firewall settings are improperly configured, allowing external access to internal res...
B
[ "SystemSecurity", "ApplicationSecurity", "PenTest" ]
Module Loading
a66504f7-824a-4bc2-974c-999e37e1ca9b
apple_platform_security
Bob wants to update his iMessage Name and Photo Sharing preferences to reflect his new profile picture and nickname. What cryptographic processes will his iPhone perform to securely update and share this information with his contacts?
[ "A: Bob’s device will randomize a 128-bit record key and derive three subkeys using HKDF-HMAC-SHA256. Each field (name, photo, and filename) is encrypted with AES-CTR using one of the subkeys.", "B: Bob’s device will generate a 256-bit key for each iMessage contact, encrypt his name and photo using AES-GCM, and t...
AD
[ "ApplicationSecurity" ]
iMessage Name and Photo Sharing
daa238c2-a95b-475c-92a8-cda4f41c9448
attck
In a scenario where an adversary has gained access to a cloud service dashboard with stolen credentials, which detection methods could help identify unauthorized access and why?
[ "A: Monitor for unusual outbound traffic patterns, as they may indicate data exfiltration by the adversary.", "B: Monitor for newly constructed logon behavior across cloud service management consoles.", "C: Correlate user account authentication logs with other security systems.", "D: Analyze the frequency of ...
BC
[ "NetworkSecurity", "SystemSecurity", "PenTest" ]
Logon Session Monitoring
8192660d-3029-4fcd-928c-12fd10c4221f
owasp_wstg
An e-commerce website selling precious metals quotes prices based on the market value at the time the user logs in. To secure the quoted price, a user must complete the transaction within a set time frame. An attacker attempts to exploit the system by initiating a transaction without completing it, waiting to see if th...
[ "A: Implement a system that updates the quoted price in real-time throughout the transaction process.", "B: Remove all time-dependent features from the website to prevent any form of timing attack.", "C: Allow unlimited time for users to complete transactions to prevent attackers from predicting when prices are...
AD
[ "WebSecurity", "ApplicationSecurity" ]
Timing Attacks
e6bc5c7d-9edb-4ede-8361-f9383144d2f4
apple_platform_security
In the context of cryptographic systems, what is the primary purpose of utilizing a 'unique ID (UID)' within a device's security infrastructure? (Select all that apply.)
[ "A: To act as a one-off number in various security protocols, ensuring the uniqueness of each transaction or session.", "B: To serve as a 256-bit AES key that is used by the processor's hardware AES Engine, which is critical for data encryption processes.", "C: To identify web-based resources uniquely and consi...
B
[ "SystemSecurity" ]
UID
603f6eee-90eb-4c53-99ac-c093426b9b0a
attck
An adversary has infiltrated a network and is looking to escalate privileges within the system. Which of the following techniques could they use to discover group permission settings, and why would this information be valuable for follow-on activity?
[ "A: Enumerating local group memberships to determine users with elevated permissions, facilitating targeted attacks.", "B: Decrypting encrypted traffic to reveal communication data, bypassing the need for group permission settings.", "C: Disabling security software to prevent detection, irrespective of group pe...
A
[ "PenTest" ]
Permission Groups Discovery
77bc1ffd-3f46-4d0c-bc24-69ff98fc9ed5
owasp_mastg
An iOS application developer intends to store a user's authentication token securely on the device. Which of the following methods and attributes would be most appropriate to ensure the data is protected using the cryptographic hardware available on iOS devices?
[ "A: Use `NSUserDefaults` with the attribute `FileProtectionType.complete` to ensure the data is encrypted using hardware-backed encryption.", "B: Use `NSFileManager` to create a file with the attribute `FileAttributeKey.protectionKey: FileProtectionType.complete` to secure the authentication token with hardware-b...
B
[ "ApplicationSecurity", "WebSecurity" ]
hardware-backed encryption
b560b723-d1d9-44a8-8398-34d5575b9e58
cwe
An IoT device manufacturer discovers a critical vulnerability in a Bluetooth Low Energy (BLE) SDK used across its product line. Which of the following mitigation strategies would be least effective in addressing the discovered vulnerability?
[ "A: Clarifying roles and responsibilities for applying patches to ensure timely updates.", "B: Waiting for the annual security audit to review and address the vulnerability.", "C: Monitoring announcements from the SDK vendor and expediting patch deployment.", "D: Maintaining a Bill of Materials and monitoring...
B
[ "SystemSecurity", "NetworkSecurity", "Vulnerability" ]
Vulnerability Mitigation Strategy
3b844253-d779-4184-8f1f-fd7319ce8efb
android_sec_doc
An Android developer is designing a key management scheme that includes several constraints: the keys must have a device-unique identifier, there should be a limit on the number of uses per boot, and the keys need to support a specific minimum MAC length. Which combination of Android Keymaster tags would best fit these...
[ "A: Tag::UNIQUE_ID, Tag::MAX_USES_PER_BOOT, Tag::MIN_MAC_LENGTH", "B: Tag::NONCE, Tag::MIN_SECONDS_BETWEEN_OPS, Tag::MAC_LENGTH", "C: Tag::ORIGIN, Tag::OS_VERSION, Tag::PADDING", "D: Tag::KEY_SIZE, Tag::OS_PATCHLEVEL, Tag::NO_AUTH_REQUIRED" ]
A
[ "ApplicationSecurity", "SystemSecurity" ]
Keymaster Tags
99504617-5f9d-45d3-9469-e497692389fb
cwe
A web application uses a blacklist approach to filter out user input before it is displayed on the site. The developers are considering switching to a whitelist approach for better security. What are the potential advantages and disadvantages of this change?
[ "A: Advantage: A whitelist approach may be more exhaustive in preventing unexpected input. Disadvantage: It could lead to blocking legitimate user input if not comprehensive.", "B: Advantage: A blacklist is easier to maintain as it only needs to list known bad inputs. Disadvantage: A whitelist can become outdated...
A
[ "WebSecurity", "Vulnerability" ]
FilteringStrategies
c895dde1-080e-488e-860a-80e814f62af1
mit6.858
In designing a secure file storage system, a threat model was developed with the assumption that attackers can guess passwords but cannot physically steal the server. Based on the course's principles, which of the following could be potential oversights or inadequacies in this threat model?
[ "A: The threat model does not account for the possibility of inside threats, such as a disgruntled employee with legitimate access.", "B: The threat model adequately considers all necessary precautions by focusing on password guessing attacks.", "C: The threat model has overlooked the potential for attackers to...
ACD
[ "SystemSecurity" ]
ThreatModel
b921ae0d-a1ec-455c-89d8-74c6dff19354
windows_security
An administrator is reviewing the security event logs of a Windows Server and notes an event with EventID 4656. This event entry indicates that a request for access to a resource was made. Based on your knowledge of Windows security, which of the following statements are correct regarding this event? (Select TWO.)
[ "A: Event 4656 confirms that the requested operation was performed successfully.", "B: Event 4656 is generated only if the object's SACL has the required ACE to handle the use of specific access rights.", "C: The 'Access Reasons' field is present in Event 4656 only from Windows Server 2012 and Windows 8 onwards...
BC
[ "WebSecurity", "SystemSecurity" ]
SACL
2df1a1a3-fbc6-43b1-bd42-06623e3229a8
attck
A penetration tester is analyzing the security posture of an organization that has recently experienced a data breach. The breach was due to an adversary deploying network sniffing to capture user credentials and other sensitive information. Considering the techniques used by the adversary, which of the following mitig...
[ "A: Regularly updating antivirus signatures on all endpoints.", "B: Implementing network segmentation to prevent broadcast and multicast sniffing.", "C: Increasing the complexity of user passwords.", "D: Restricting physical access to server rooms and network hardware." ]
B
[ "NetworkSecurity", "PenTest" ]
Network Segmentation
0f2fe8c2-ddc8-4fb0-b12f-fbcc1e5790d1
windows_security
In which of the following scenarios is the use of Remote Credential Guard NOT recommended due to its inherent limitations?
[ "A: Connecting to a remote device that is joined to an Active Directory domain and authenticates using Kerberos.", "B: Accessing a file server from a remote host that requires a device claim.", "C: Establishing a direct RDP session to a target machine that acquires Kerberos Service Tickets on behalf of the user...
BD
[ "SystemSecurity", "NetworkSecurity" ]
Remote Credential Guard
8fb9728f-0f2d-49f1-a286-c853744a0e7d
android_sec_doc
You are updating an Android app to improve its security features. You decide to implement APK Signature Scheme v3 for your app's next release. Which of the following describes the correct format and purpose of the APK Signature Scheme v3?
[ "A: The scheme allows for multiple signing keys and the convergence of different ancestor signing certificates to one, simplifying the management of app signatures.", "B: It introduces a proof-of-rotation struct to allow apps to rotate their signing certificate without being blocked by other apps, and to maintain...
B
[ "ApplicationSecurity", "SystemSecurity" ]
APK Signature Scheme v3
f2a9d380-597c-475d-9d4a-13519f83ec0c
cs161_textbook
Consider a scenario where a network engineer is troubleshooting a communication issue between two machines. The engineer captures a packet and begins examining it from the lowest layer upwards. What information will the engineer encounter first, and which header will be removed last during the process of decoding the p...
[ "A: The engineer will first encounter the header for the highest layer protocol and remove it last.", "B: The header for the lowest layer protocol will be encountered first and removed last.", "C: The engineer will first encounter the header for the lowest layer protocol and remove it first.", "D: The header ...
C
[ "WebSecurity" ]
Protocols
e9a42fcf-7177-4502-a594-e69f1f6a17a8
windows_security
In a Windows domain environment, an administrator has converted a security group to a distribution group. What are the potential implications of this change? (Select two.)
[ "A: The group can no longer have security-related permissions.", "B: The group can now be used to distribute emails to members.", "C: The group will now provide administrative access to all members.", "D: The group will be automatically deleted after 30 days." ]
AB
[ "SystemSecurity", "ApplicationSecurity" ]
Group Type Change
eca946df-b622-433f-bc31-4e50fc338553
owasp_wstg
Given the following code snippet for a web application that uses a Microsoft SQL Server backend, which of the following factors does NOT contribute to preventing SQL injection attacks?
[ "A: Employment of parameterized queries", "B: Adequate sanitization of user input", "C: Usage of ORM (Object-Relational Mapping) tools", "D: Concatenation of user input directly into SQL queries" ]
D
[ "WebSecurity", "SoftwareSecurity" ]
Dynamic SQL
01ef1160-6e04-4773-9b2b-2451d600f35f
attck
An incident responder notices that a particular piece of malware has been designed to exfiltrate recently modified files with certain extensions such as .doc, .xls, and .ppt from a compromised host. The malware selectively targets files based on their last modified timestamp and ignores all other files. Which of the fo...
[ "A: Searching for files based on their extension, which can quickly identify potentially valuable data but may result in a large volume of less relevant files.", "B: Using a regular expression to locate configuration files, which may ensure that only specific types of files are targeted for exfiltration.", "C: ...
D
[ "PenTest" ]
Recently Changed Files
d99a1150-bf14-4f21-a92c-3b4c751f9801
windows_security
What could be a potential consequence of not incorporating device health attestation in a Zero Trust security model for Windows devices?
[ "A: Increased administrative overhead due to manual verification of device configurations.", "B: Higher likelihood of compromised devices gaining access to the network, potentially leading to breaches.", "C: Restricted user access to resources, leading to decreased productivity.", "D: Over-reliance on network...
B
[ "SystemSecurity", "WebSecurity" ]
Device Health Attestation
6c491b9f-50e0-4781-92b2-45949e4ccf42
cwe
In a code review, a team member suggests using a 'volatile' keyword for a shared counter variable to ensure thread safety in a multithreaded web application. Which of the following is the most compelling counterargument to this suggestion?
[ "A: The 'volatile' keyword only ensures that the value of the variable is always read from the main memory, but it does not provide atomicity for read-modify-write operations.", "B: The 'volatile' keyword will significantly degrade the application's performance due to the increased overhead of synchronization.", ...
A
[ "SoftwareSecurity", "ApplicationSecurity", "Vulnerability" ]
Volatile
e008b67d-9946-4754-b55a-d5959aa94b06
cs161_textbook
When designing a web application, which of the following aspects related to the use of HTTP should a security analyst be particularly vigilant about?
[ "A: Ensuring that all HTTP requests are stateful to maintain continuous user authentication.", "B: Implementing measures against Man-in-the-Middle (MitM) attacks, such as using HTTPS instead of plain HTTP.", "C: Configuring the server to accept HTTP 0.9 requests to ensure backwards compatibility with legacy sys...
B
[ "WebSecurity" ]
HTTP Security
56d0688e-ffa9-4649-9d98-aa35f0ae8a2c
windows_security
In the context of Windows security, how do hardware-based security features generally compare to software-based security measures?
[ "A: Hardware-based security features often provide more robust protection against physical tampering.", "B: Software-based security measures are inherently more secure as they can be updated more frequently.", "C: Hardware security features are less reliable because they can't be patched as easily as software v...
A
[ "SystemSecurity", "ApplicationSecurity" ]
Physical Tampering
6504ace0-5ac4-4011-9093-39c8eb47644e
cs161_textbook
In the context of IP routing using BGP, why would relying solely on higher layer defenses be an insufficient strategy to protect against malicious activity by local networks?
[ "A: Higher layer defenses can prevent misrouting but do not protect against traffic analysis.", "B: BGP operates at layer 3 and therefore is unaffected by defenses implemented at higher layers.", "C: Malicious local networks could still read and potentially modify messages in transit, despite higher layer defen...
C
[ "SystemSecurity", "ApplicationSecurity" ]
Defense Strategy
badc033f-f1cc-4080-899c-18762b95fc2b
windows_security
In an enterprise environment, you are considering enabling memory integrity to enhance the security posture of your Windows systems. Which of the following considerations should be taken into account before enabling memory integrity?
[ "A: Compatibility with certain hardware device drivers may lead to system malfunctions or boot failures.", "B: Enabling memory integrity is only effective on systems with the latest antivirus software installed.", "C: Memory integrity should only be enabled on systems with a specific brand of processors to func...
A
[ "SystemSecurity", "ApplicationSecurity" ]
Memory Integrity
d07949ae-8eb8-4a9a-a85b-2473410d5e6f
cwe
In a system where a certificate's revocation status is only checked during the initial connection setup, which of the following scenarios would not increase the vulnerability of the system to a potential attack?
[ "A: A mechanism is implemented to periodically re-check the revocation status of the certificate during the session.", "B: Certificates are given a very short expiration time to limit the window of opportunity for an attacker.", "C: The system is designed to only check certificate revocation status on system st...
ABD
[ "SystemSecurity", "NetworkSecurity", "Vulnerability" ]
RevocationChecking
ad5e7454-4f48-4809-962e-43c4caa8a9c0
android_sec_doc
A new diagnostic tool has been developed for an Android device, which requires the use of the `sys_ptrace` capability to trace system processes for debugging. As a security engineer, you are evaluating the tool's compatibility with SELinux 'neverallow' rules. Which of the following is the most appropriate action to tak...
[ "A: Grant the `sys_ptrace` capability to the diagnostic tool since it is crucial for its functionality.", "B: Do not grant the `sys_ptrace` capability as it would violate SELinux `neverallow` rules, indicating the tool should not be present in user-facing builds.", "C: Allow the `sys_ptrace` capability only dur...
B
[ "SystemSecurity", "ApplicationSecurity" ]
sys_ptrace
2802d9ab-980e-4f45-aa2a-3698c9872240
cwe
You are reviewing the design of a web application that accepts file paths as input from users. You need to ensure the application is secure against path traversal attacks. Which of the following strategies would be effective in mitigating this risk? (Choose all that apply)
[ "A: Reject inputs that do not conform to a list of acceptable paths, transforming or discarding inputs that are dangerous or irrelevant.", "B: Use client-side validation to restrict user input to a set of predefined safe paths.", "C: Deploy an application firewall that can detect and block attack patterns relat...
AC
[ "Vulnerability" ]
Mitigation
823a1f0c-d738-4f84-9c02-5fd3be5eee28
windows_security
Which of the following statements is NOT true regarding the configuration of a CRL distribution point (CDP) and the associated settings in the issuing Certificate Authority (CA)?
[ "A: The 'Include in the CDP extension of issued certificates' option must be selected for the CRL distribution point URL to be included in the certificates issued by the CA.", "B: The web server's file share should be named 'cdp$' to prevent it from being easily browsable, and the CA must be granted 'Full control...
C
[ "SystemSecurity", "WebSecurity" ]
CRL Distribution Point (CDP)
1e6f87ef-644a-4c53-8e06-b594d2a70170
windows_security
In a centralized security monitoring setup using Windows Event Forwarding, an analyst observes that the 'Group Domain' field for a newly created security-enabled local group is set to the computer's name rather than the domain name. What is the significance of this information for security monitoring purposes?
[ "A: It indicates the group was created on a domain controller and requires immediate investigation", "B: It suggests that the local security group was created on a member server or workstation, which is an expected behavior", "C: It signifies the event was improperly forwarded and there may be an issue with the...
B
[ "SystemSecurity" ]
Windows Event Forwarding
007c98ee-f24d-46d7-9bf4-e1fbb418eeb4
cwe
In the context of defending against SQL Injection, why might input validation alone be insufficient, and what additional measure should be employed?
[ "A: Input validation may not catch all malicious inputs; adding strict type checking can enhance security.", "B: Input validation is adequate for all user inputs; no additional measures are necessary.", "C: Input validation can be bypassed; therefore, error messages should contain detailed information for debug...
D
[ "ApplicationSecurity", "Vulnerability" ]
InputValidationLimitations
b9f740aa-3e0f-4025-afea-d691a9533013
cwe
Given the code snippet below, which modification would NOT prevent the exploitation of a path traversal vulnerability? my $dataPath = "/users/cwe/profiles"; my $username = param("user"); my $profilePath = $dataPath . "/" . $username; open(my $fh, "<", $profilePath) || ExitError("profile read error: $profilePath");
[ "A: Sanitizing the 'username' parameter by removing any '../' sequences before appending it to the data path.", "B: Replacing the concatenation of '$dataPath' and 'username' with a hardcoded path that does not include user input.", "C: Adding an allowlist verification step to ensure 'username' corresponds to an...
D
[ "WebSecurity", "Vulnerability" ]
PathTraversal
ae018421-b2a4-4cae-9dda-da6dc1afbd33
owasp_wstg
A company uses a webmail application that interacts with internal mail servers using the IMAP/SMTP protocols. The internal mail servers are not directly accessible from the internet and are presumed to have less rigorous security measures compared to the front-end servers. As a security consultant, you are tasked with ...
[ "A: Conduct a penetration test to inject arbitrary IMAP/SMTP commands to check if input data is properly sanitized.", "B: Focus solely on the security of the front-end web servers since they are the first line of defense.", "C: Restrict the assessment to the exploitation of known IMAP/SMTP protocol vulnerabilit...
A
[ "WebSecurity", "PenTest" ]
IMAP/SMTP Injection
6b40c780-7a76-4e13-a984-14b82d76dd4f
owasp_wstg
In an eCommerce application, a user is allowed to download three documents monthly based on their subscription plan. Which of the following techniques, if implemented, would not effectively prevent a user from downloading more than the allowed number of documents?
[ "A: Tracking the document download count in the user's browser cookies and preventing further downloads once the limit is reached.", "B: Using a server-side counter associated with the user's account to keep track of the downloads and enforce the limit.", "C: Setting up a database trigger to decrement a quota c...
A
[ "WebSecurity", "ApplicationSecurity" ]
function usage limit
57ae34cc-2a53-499e-b1b9-ce3ffa9f44a0
apple_platform_security
A macOS administrator is configuring security policies on a Mac with Apple silicon. They are considering the implications of different security policy settings on the system's security posture. Which of the following statements correctly describe the effects of setting Reduced Security and Permissive Security policies?
[ "A: Reduced Security allows for third-party kernel extensions but requires a reboot due to the merging of kexts into an Auxiliary Kernel Collection.", "B: Permissive Security enables signature verification throughout the secure boot chain and allows for a custom XNU kernel to be loaded.", "C: Setting a Mac with...
ABD
[ "SystemSecurity", "ApplicationSecurity" ]
SecurityPolicy
509cf232-a8d0-4320-8f00-659c7d8c6266
apple_platform_security
As an IT administrator, you are explaining the features of Screen Time to a group of staff who use various Apple devices. Which of the following statements accurately describe the features supported by Screen Time across different operating systems?
[ "A: Enforcing additional restrictions using Screen Time is possible on iOS, iPadOS, macOS, and watchOS.", "B: Setting web usage limits is a feature unique to macOS and is not available on iOS or iPadOS.", "C: Configuring Downtime is a feature available across iOS, iPadOS, macOS, and watchOS.", "D: Screen Time...
AC
[ "SystemSecurity", "ApplicationSecurity" ]
Screen Time
ee7b164a-ff51-4aff-be54-197bbc6fd0c1
cs161_textbook
Alice wishes to send an anonymous message to Bob using a proxy server and public key encryption to maintain her anonymity. What steps must Alice take to ensure that her identity remains concealed from both Bob and potential eavesdroppers?
[ "A: Alice must encrypt her message using her own private key and send it directly to Bob.", "B: Alice should encrypt the message along with Bob's address using the proxy server's public key and send it to the intermediary.", "C: Alice needs to encrypt the message with Bob's public key and then send it to the pr...
B
[ "WebSecurity" ]
Anonymity
d2c889dd-cd0a-4cbb-bd37-43de18dd7e6f
cwe
A web application developer is creating a new authentication feature. To secure the session management, which of the following techniques should the developer implement to mitigate the risk of session fixation attacks?
[ "A: Generate a new session identifier upon user login and invalidate the old one.", "B: Keep using the existing session identifier after user login for performance reasons.", "C: Implement a secondary cookie with a random value that must match a session variable.", "D: Use a static session identifier to ensur...
AC
[ "ApplicationSecurity", "WebSecurity", "Vulnerability" ]
SessionFixation
b6b7fdc5-1175-4eda-ba73-98720c6c8bd8
apple_platform_security
In the context of Apple's integrated app security features for macOS and iOS/iPadOS platforms, which of the following correctly pairs a native capability with its intended purpose or third-party equivalent?
[ "A: XProtect/YARA signatures - To help randomise memory regions and protect against memory corruption.", "B: eficheck - Necessary for a Mac without an Apple T2 Security Chip for rootkit detection.", "C: System Integrity Protection - Acts as an application firewall to restrict network access.", "D: App notaris...
BD
[ "SystemSecurity" ]
SecurityFeatures
8bc4bb88-bcac-40b4-a39a-764fb9e8d55d
attck
An adversary is attempting to evade defenses on a Windows system by executing arbitrary commands without directly invoking the command-line interpreter (cmd). Which of the following utilities could the adversary potentially abuse for this purpose, and what defensive mechanism could they be attempting to bypass?
[ "A: Forfiles utility to bypass static file analysis", "B: Disk Cleanup utility to bypass application whitelisting", "C: Windows Defender to bypass heuristic analysis", "D: Program Compatibility Assistant (pcalua.exe) to bypass application control" ]
AD
[ "PenTest" ]
Indirect Command Execution
c1e4b5c4-6956-46dc-a8ee-3d66385fd251
cs161_textbook
Consider the following URLs and determine which pairs will be considered to have the same origin under the same-origin policy:
[ "A: `https://example.com:443` and `https://example.com`", "B: `https://example.com:80` and `http://example.com`", "C: `http://example.com:80` and `http://example.com`", "D: `http://example.com` and `http://www.example.com`" ]
AC
[ "WebSecurity" ]
same-origin policy
95240c65-da3a-46b3-b1a1-0dbe23447e10
cwe
Your team is tasked with enhancing the security of an existing software system that handles sensitive user data. During the requirements phase, you identify that encryption is necessary for both storage and transmission of this data. Which of the following actions should be taken to ensure that encryption is properly i...
[ "A: Specify which data is considered sensitive and ensure that its transmission or storage is encrypted using well-vetted algorithms.", "B: Develop a custom encryption algorithm tailored to your system's specific needs to avoid known vulnerabilities in public algorithms.", "C: Use strong, up-to-date cryptograph...
ACD
[ "SoftwareSecurity", "SystemSecurity", "ApplicationSecurity", "Vulnerability" ]
EncryptionIntegration
97a05d2f-9391-46c2-8acc-dd1d67b6b56c
attck
A penetration tester is tasked with discovering services on a target organization's systems to shape their follow-on behaviors. Which of the following techniques would provide the most comprehensive information regarding registered local system services without directly interacting with the Windows API?
[ "A: Using `QueryServiceStatusEx` to directly query service statuses.", "B: Executing OS utility commands such as `sc query` and `net start`.", "C: Monitoring the network traffic for service-related data packets.", "D: Employing a third-party vulnerability scanner to passively detect services." ]
B
[ "PenTest" ]
System Service Discovery
fe3b3331-b239-482c-b535-d913fed29111
cwe
A web application developer needs to secure a session cookie to prevent CSRF attacks. Given the following four options to configure the session cookie, which option(s) will effectively mitigate the risk of CSRF attacks and adhere to best security practices?
[ "A: Set the cookie with `sameSite: 'None'` and ensure all requests requiring the cookie are made using the POST HTTP method.", "B: Set the cookie with `sameSite: 'Strict'` to ensure the cookie is only sent with same-domain requests.", "C: Set the cookie with `sameSite: 'Lax'` which sends the cookie with top-lev...
BC
[ "WebSecurity", "ApplicationSecurity", "Vulnerability" ]
SameSite
c5a6b274-747c-4fb1-b9dd-f2b2bdf21266
owasp_mastg
You are tasked with performing security testing on a mobile application. Given that this is the first time the app is being tested and time is limited, which testing approach should you request from the development team, and why would this approach be most beneficial?
[ "A: Request black-box testing access to simulate a real attacker's perspective since this approach is the fastest.", "B: Request white-box testing access because it allows for a much faster and thorough analysis due to full knowledge of the app.", "C: Opt for gray-box testing since it is the most common kind of...
B
[ "ApplicationSecurity" ]
White-box testing
14f5a054-29ae-407d-8bc4-7f4ed7b394fa
android_sec_doc
You are tasked with writing a user space program that needs to interact with a Trusty service using the Trusty IPC Client API. Which of the following steps, in order, would you take to establish communication, send a message, and close the connection appropriately?
[ "A: Call 'tipc_connect()' with the service name, use 'write()' to send messages, and 'tipc_close()' to end the connection.", "B: Invoke 'tipc_create_channel()' with the device pointer, queue messages using 'tipc_chan_queue_msg()', and use 'tipc_chan_destroy()' to terminate.", "C: Use 'write()' to send a request...
A
[ "ApplicationSecurity" ]
Trusty IPC Client API
aee6cc10-9021-46ed-b9b0-3966f1617492
attck
An organization's network was compromised through the use of tainted shared content, where adversaries executed code by adding malicious payloads to files on network drives. Which detection method would most likely identify this type of activity?
[ "A: Monitoring for unexpected and abnormal access to network shares, especially when associated with file activity.", "B: Scanning emails for malicious links and attachments.", "C: Analyzing web traffic for signs of SQL injection attacks.", "D: Observing for irregular patterns in system resource utilization."...
A
[ "SystemSecurity", "NetworkSecurity", "PenTest" ]
Network Share Access
e7605014-9769-48af-a7ed-0bdb55b409dc
windows_security
A company is evaluating its current security posture on its Windows client systems. Which of the following capabilities should be prioritized to improve protection against emerging threats? (Select all that apply.)
[ "A: Deploying a sandbox environment for testing and analysis of suspicious applications and files.", "B: Configuring network-level authentication for Remote Desktop Protocol to reduce the risk of unauthorized access.", "C: Removing all third-party security software to avoid compatibility issues with Windows sec...
ABD
[ "SystemSecurity", "WebSecurity" ]
Sandbox Environment
e52cc525-749d-4fb7-ad09-d6c7abf67176
cwe
In designing a new web application, your team is concerned about protecting against Reflected XSS (Type 1) vulnerabilities. Which of the following measures should be implemented to reduce the risk of such vulnerabilities?
[ "A: Escaping all user-supplied input when re-displayed to ensure that it does not execute on the client side.", "B: Configuring the application to use register_globals in PHP for better input handling.", "C: Validating only fields that are expected to be redisplayed by the site to save on performance.", "D: U...
AD
[ "ApplicationSecurity", "WebSecurity", "Vulnerability" ]
XSS
77c4583d-dd11-4bc5-be97-166004866a73
attck
An adversary is attempting to establish persistence on a compromised Windows system without being detected by host forensic analysis. Which of the following actions would likely be part of their strategy?
[ "A: Modifying Registry keys to prepend key names with a null character to create pseudo-hidden keys.", "B: Increasing the Registry size limit to prevent the system from logging new entries and concealing their activity.", "C: Disabling the Windows Registry Editor (regedit) to prevent any further changes to the ...
A
[ "SystemSecurity", "PenTest" ]
Registry Key Hiding
2dca13cb-6db6-4889-b2b3-2b5bd3c977bb
mozilla_security
A web application developer is configuring HTTP headers to prevent their site from being framed by any other site as part of a clickjacking defense strategy. Which of the following header configurations would NOT meet this requirement?
[ "A: Content-Security-Policy: frame-ancestors 'self'", "B: X-Frame-Options: SAMEORIGIN", "C: Content-Security-Policy: frame-ancestors 'none'", "D: Content-Security-Policy: frame-ancestors https://trusted.partner.com" ]
D
[ "WebSecurity" ]
HTTP Security Headers
e058c3bf-0566-4e2f-bf96-1048ad19ef40
windows_security
As an IT administrator, you are required to deploy a root CA certificate to Microsoft Entra joined devices to ensure they trust certificates issued by your organization's certificate authority. What are the essential steps you need to perform for this operation using Microsoft Intune?
[ "A: Open the 'Certificate Manager' and request new certificates for each device individually.", "B: Create a new certificate profile in the Microsoft Intune admin center and assign it to the devices.", "C: Configure automatic certificate enrollment for domain controllers to avoid manual deployment.", "D: Set ...
B
[ "SystemSecurity", "NetworkSecurity" ]
Root CA Certificate Deployment
4a4c52ad-ca37-451a-b45f-a11cfbb8b3f7
windows_security
A user with a Microsoft Entra joined device is attempting to access corporate resources that require Kerberos authentication. Which of the following options accurately describes the sequence and methods used during the sign-in and resource access process?
[ "A: The device uses the user's private key to sign a nonce received from Microsoft Entra ID, receives a PRT with a session key, and then leverages the TPM to protect the session key before authenticating to Active Directory using a cloud Kerberos trust.", "B: The device acquires a partial TGT from an on-premises ...
AC
[ "WebSecurity", "SystemSecurity" ]
Windows Hello for Business
aa2f5df4-e5c3-4c1d-8b47-679c72706145
cs161_textbook
A company has recently faced a data breach, and it has been revealed that the attacker gained access to user accounts by exploiting password vulnerabilities. As a security consultant, you are asked to evaluate the situation and propose measures to mitigate such risks in the future. Which of the following risks were lik...
[ "A: Risk: Online guessing attacks. Countermeasure: Implementing an account lockout policy after a certain number of incorrect login attempts.", "B: Risk: Server compromise. Countermeasure: Storing passwords in cleartext to allow for easy recovery in case of server issues.", "C: Risk: Eavesdropping. Countermeasu...
ACD
[ "WebSecurity", "SystemSecurity" ]
PasswordSecurity
e0f49000-1b7c-4ae0-8e19-513c09417db5
cwe
An embedded system is designed to perform a secure-boot process by transferring bootloader code from Non-Volatile Memory (NVM) to Volatile Memory (VM) within the system. The design team is concerned about the potential for adversaries to modify the boot code in VM after authentication. Which of the following approaches...
[ "A: Implement a real-time monitoring system to track changes in VM after the bootloader code has been authenticated.", "B: Restrict access to VM by setting up hardware-based access controls and ensuring that only authenticated code can write to it.", "C: Encrypt the bootloader code in NVM using a symmetric key ...
B
[ "SystemSecurity", "ApplicationSecurity", "Vulnerability" ]
SecureBoot
99170c96-194d-4d0a-84ac-40e6e1b15378
apple_platform_security
In the context of iOS and iPadOS security, consider the usage of entitlements and the concept of App Groups. Choose the statements that reflect the security advantages and potential risks associated with these features.
[ "A: Entitlements can be modified at runtime by third-party apps to escalate privileges, posing a security risk.", "B: Entitlements provide a mechanism for third-party apps to access sensitive user information and system features, but are digitally signed to prevent modification.", "C: App Groups allow different...
BC
[ "ApplicationSecurity" ]
iOS Security
88fd7f84-427f-4b2d-82da-f410265622df
owasp_mastg
You are reviewing the network security configuration of an Android application that targets API level 28. The application's requirement is to ensure secure network communication but also needs to maintain compatibility with a legacy system that uses clear traffic. How should you configure the application's network secu...
[ "A: Set android:usesCleartextTraffic to 'true' in the application's manifest file to allow clear traffic connections.", "B: Modify the res/xml/network_security_config.xml file to define a domain-specific configuration that allows clear traffic for the legacy system.", "C: Disable TLS by default because it is no...
B
[ "WebSecurity", "ApplicationSecurity" ]
network_security_config.xml
94c663ae-3885-44c7-aef4-9b0528d390bf
windows_security
You are reviewing the logs on an Active Directory domain controller and notice an entry indicating that a cleanup operation has taken place. Which of the following entries would most likely represent the schema of an event where a lingering object was removed from a replica?
[ "A: Destination DRA: XYZ, Source DRA: ABC, Object: UserObject123, Options: Cleanup, Status Code: 200", "B: Destination DRA: XYZ, Source DRA: ABC, Object: UserObject123, Operation: ObjectDeletion, Result: Successful", "C: Target Replica: XYZ, Initiating Replica: ABC, Removed Object: UserObject123, Method: Automa...
A
[ "SystemSecurity", "WebSecurity" ]
Active Directory
b533dca8-7422-4b22-86d8-e0157d8bc736
windows_security
An organization's security team has received an alert that the Per User Audit Policy has been changed, and the event has been logged with Event ID 4912. As part of the security investigation, what details would be most crucial to review in the Event 4912 log entry to determine the scope and impact of the change?
[ "A: The specific changes made to the subcategory, as well as the Subcategory GUID to identify the exact policy altered.", "B: The date and size of the event log file to assess when the change occurred and how much data was written.", "C: The version of the operating system to verify if the event log entry is va...
A
[ "SystemSecurity", "WebSecurity" ]
Event ID 4912
47eb3e63-8afa-424e-8969-2d5dab27a379
attck
An attacker has successfully enumerated all running processes on a compromised host. What are the potential advantages and disadvantages for the attacker following this action?
[ "A: Advantage: Identification of security tools that could detect further malicious activities. Disadvantage: Increased network traffic alerting defenders.", "B: Advantage: Ability to manipulate system time to evade detection. Disadvantage: Limited access to user credentials stored in processes.", "C: Advantage...
A
[ "SystemSecurity", "PenTest" ]
Process Enumeration
4e9270eb-fef6-44a9-ae23-c46ca2a55234
owasp_wstg
An administrator is considering obscuring web server information in the HTTP response headers to improve security. What would be a potential benefit and a potential drawback of implementing this practice?
[ "A: Benefit: It would improve the encryption of data transmitted between the server and clients. Drawback: It could increase the server's response time to client requests.", "B: Benefit: It could prevent attackers from discovering version-specific vulnerabilities. Drawback: It may interfere with legitimate admini...
B
[ "WebSecurity", "SystemSecurity" ]
HTTP Response Headers
30d8a272-5248-4cf6-8e52-6c77b490103a
cwe
You are securing a Windows server and need to ensure that all files are only accessible via their long filenames to prevent unauthorized access through alternate naming schemes. Which of the following actions should you take to mitigate the risks associated with path equivalence issues, and what is a potential conseque...
[ "A: Enable support for 8.3 filenames in the Windows registry to standardize file naming and prevent alternate name creation.", "B: Disable Windows from supporting 8.3 filenames by editing the Windows registry, but understand that this will not remove previously generated 8.3 filenames.", "C: Rename all files to...
B
[ "SystemSecurity", "ApplicationSecurity", "Vulnerability" ]
Mitigation
8c52e7ec-2064-4168-ab04-9f3104a1c9d8
attck
During an incident response, a forensic analyst finds traces of a tool used by an adversary on a compromised system. The tool is known to collect various types of information about the system. Which of the following is NOT a function the analyst should expect the tool to have based on adversary behaviors observed in th...
[ "A: Gathering OS version and hardware configuration", "B: Enumerating active network connections", "C: Retrieving drive information including free space", "D: Checking the system's BIOS or UEFI firmware information" ]
B
[ "SystemSecurity", "PenTest" ]
BIOS/UEFI
027ab7ed-e446-4149-a82c-55f46a774e8e
owasp_wstg
A financial institution uses `https://secure.finbank.com` for all its online banking services. During a security assessment, you discover that the institution also has a mobile app that uses a separate authentication mechanism and does not enforce TLS encryption. Given this setup, which of the following actions should ...
[ "A: Enforce consistent authentication policies and TLS encryption across all channels.", "B: Only allow authentication through the primary web channel and discontinue the mobile app.", "C: Implement a stronger password recovery mechanism for the mobile app.", "D: Ignore the mobile app's authentication mechani...
A
[ "WebSecurity", "ApplicationSecurity" ]
TLS encryption
0aed254f-8d18-4ea1-b374-b6d7751029fd
apple_platform_security
An organization is planning to deploy Magic Keyboards with Touch ID for their employees who use Mac computers. As the cybersecurity expert, evaluate the security measures in place for the Magic Keyboard with Touch ID. Which of the following statements accurately reflect the security mechanisms and policies present in t...
[ "A: The Magic Keyboard with Touch ID performs biometric matching and stores biometric templates for user convenience.", "B: The Secure Enclave on the Mac performs enrolment, matching operations, and enforces security policies that require a password after a certain period of inactivity.", "C: All Touch ID data ...
BC
[ "SystemSecurity", "ApplicationSecurity" ]
SecurePairing
33fc2bfc-0014-4e3e-aae1-780e708172e4
owasp_mastg
In the context of mobile application security, XML injection attacks can lead to a variety of exploits. Which of the following statements is true about the impact and limitations of XML injection in mobile apps?
[ "A: XML injection can only impact the logic of an application and does not allow for other types of exploits.", "B: XML injection in mobile apps can potentially compromise the logic of an application, cause denial-of-service conditions, and access local files depending on parser configuration.", "C: Mobile apps...
B
[ "ApplicationSecurity", "WebSecurity" ]
XML injection
aa39c79d-8913-4e43-b0e1-2715b4b3a188
cs161_textbook
A company is planning to implement a firewall to serve as a reference monitor for their network. As the security expert, you are tasked with ensuring that the firewall will be effective in its role. Which features should the firewall exhibit to fulfill its intended purpose based on the principles outlined in standard f...
[ "A: The firewall must have the ability to be bypassed for high-priority traffic to ensure performance.", "B: The firewall should be designed to automatically allow packets through if it fails to ensure constant network availability.", "C: The firewall must be tamper-resistant to prevent unauthorized modificatio...
CD
[ "WebSecurity" ]
firewall