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
fd1a2601-c6a5-4b3c-9f3a-0ef03d09b470
cwe
A security team implements a path traversal attack prevention mechanism that strips out all occurrences of '..\' from the user input before using it to access the file system. An audit is conducted to assess the robustness of this mechanism. Which of the following points should be raised as a potential weakness during ...
[ "A: The mechanism does not account for alternative encodings of the '..\\' sequences that could be used to bypass the filter.", "B: The mechanism does not convert lowercase letters to uppercase, which might result in inconsistent path resolutions.", "C: The mechanism fails to strip out all numeric characters, p...
A
[ "SystemSecurity", "ApplicationSecurity", "Vulnerability" ]
AuditWeakness
4b44b715-57d1-4f0d-bb07-c6a35247b081
windows_security
In the context of Windows Hello for Business, what are the security benefits of implementing a PIN reset feature for users who have forgotten their authentication PIN?
[ "A: It reduces the risk of unauthorized access by ensuring only the rightful user can reset their PIN.", "B: It simplifies the login process by allowing users to bypass the PIN entry after resetting it.", "C: It encrypts the user's data on the device, preventing access until the PIN is reset.", "D: It increas...
A
[ "SystemSecurity" ]
PIN reset feature
65640306-d2dd-4bcf-b200-70e0d3e15bf3
cwe
In a web application, an authorization check is performed using a value stored in a browser cookie. If the authorization logic is not correctly implemented, what potential security issues could arise from this situation?
[ "A: Attackers could perform a denial of service attack by flooding the server with invalid cookie values.", "B: Attackers could bypass access restrictions by modifying the cookie value to gain unauthorized access to sensitive information.", "C: Attackers could cause an arbitrary code execution by injecting mali...
BD
[ "WebSecurity", "Vulnerability" ]
Security_Impact
5f9bc5fc-89b6-41bb-946d-fee2abb908bf
cs161_textbook
Which statement best describes the purpose of public-key padding modes like OAEP in RSA encryption?
[ "A: To extend the message to a fixed length similar to block cipher padding.", "B: To provide an additional layer of security by hashing the message before encryption.", "C: To introduce randomness into the encryption process so that the ciphertext output appears random.", "D: To allow for the encryption of m...
C
[ "Cryptography" ]
Padding
fffea5ee-2add-4699-85c9-a704226fb28f
attck
A cybersecurity analyst is reviewing the behavior of a newly discovered malware strain that has infected a corporate network. The malware is designed to search through the file system looking for financial documents and exfiltrate them. During the investigation, the analyst observes that the malware performs a recursiv...
[ "A: Enumerating drive information to identify all available drives before searching for files, which may allow for a thorough search of all storage locations.", "B: Using a malicious DLL to search for files with specific keywords, which could potentially bypass some antivirus heuristic detections.", "C: Gatheri...
C
[ "PenTest" ]
Recursive Directory Listing
cfa2b854-0da2-4a4b-b32e-d6bd356c903f
attck
An organization is trying to enhance its detection capabilities to identify adversary development of cyber attack tools and infrastructure. Which of the following strategies could aid in tracking adversary capabilities being developed in-house and used during targeting?
[ "A: Monitoring Internet scan response content for evidence of certificates and malware associated with adversaries.", "B: Implementing strict code review policies for all internally developed software within the organization.", "C: Analyzing malware for unique adversary features such as compiler used, debugging...
AC
[ "PenTest" ]
Internet Scan Response Content
b0a3c93f-700c-4ffb-a589-2ac0918d07c2
owasp_mastg
Why should an Android application developer NOT store cryptographic keys using predictable obfuscation functions or key derivation functions based on stable attributes?
[ "A: Because it enhances the security of the keys by making them difficult to guess.", "B: Because it can lead to performance issues due to the complexity of the obfuscation algorithms.", "C: Because these methods provide strong security as they are based on stable and reliable attributes of the system.", "D: ...
D
[ "ApplicationSecurity" ]
Key Derivation Function
a2f827ad-e4ed-42c5-86b3-c1a9737263e9
attck
Which of the following techniques would an adversary MOST likely use to dynamically establish connections to command and control infrastructure and evade common detections?
[ "A: Initiating multiple SSL/TLS handshakes to random IP addresses to obfuscate the destination of the actual command and control server.", "B: Using malware that shares a common algorithm with the infrastructure to adjust parameters such as domain name, IP address, or port number for command and control.", "C: ...
B
[ "PenTest", "NetworkSecurity" ]
Dynamic Resolution
c91daf7e-5ced-4a89-968d-79564310034b
windows_security
A system administrator receives a notification indicating a security policy has been applied to a set of Windows clients in the network. They want to verify this application was successful. Which security event ID should they look for in the Windows Event Viewer to confirm successful application of the security policy ...
[ "A: 6144", "B: 4046", "C: 5027", "D: 1280" ]
A
[ "SystemSecurity", "WebSecurity" ]
Security Event ID
b2fc7ddf-d036-42ab-b999-60c97d42f03a
owasp_mastg
In a security audit of an iOS mobile application, you discover that sensitive data is being stored insecurely on the device. Which of the following strategies would not be effective in mitigating the risks associated with this vulnerability?
[ "A: Encrypting the data at rest using strong, industry-standard algorithms.", "B: Utilizing the iOS Keychain to store sensitive data with hardware-backed security features.", "C: Storing all sensitive data in a remote database and accessing it through secure API calls.", "D: Increasing the length of the user ...
D
[ "ApplicationSecurity" ]
Sensitive Data Storage
2308b0d7-03e5-4f1c-a151-41bc3f7de2e2
android_sec_doc
In the context of Android keymaster module operations with AES keys, why would the argument 'PaddingMode::NONE is suitable for all block modes including GCM, CTR, ECB, and CBC' be considered incorrect?
[ "A: Because `PaddingMode::NONE` is only suitable for `BlockMode::GCM` and `BlockMode::CTR`, and for `BlockMode::ECB` or `BlockMode::CBC`, the padding mode may be `PaddingMode::NONE` or `PaddingMode::PKCS7`.", "B: Because `PaddingMode::NONE` is incompatible with all block modes and will always result in `ErrorCode...
A
[ "SystemSecurity", "ApplicationSecurity" ]
PaddingMode
55804eb8-0da6-4b0a-9eab-a66e3cbeb157
attck
An organization has discovered that an adversary has modified their authentication process, potentially allowing unauthorized access without valid accounts. As a cybersecurity consultant, which of the following would be the most effective mitigation strategies to recommend? (Select TWO.)
[ "A: Implementing a robust multi-factor authentication system to reduce the risk associated with compromised credentials.", "B: Decreasing the complexity requirements for user passwords to improve the speed of password recovery processes.", "C: Ensuring only valid password filters are registered and enabling Pro...
AC
[ "PenTest" ]
Multi-factor Authentication
2456b235-1fea-4bd1-a56a-1b546725c287
attck
An organization is evaluating their detection strategies to identify potential abuse of system services. Which of the following actions would NOT improve the organization's ability to detect adversaries executing commands or programs through system services?
[ "A: Monitoring for command line invocations of service modification tools that deviate from normal usage patterns.", "B: Disabling logging on endpoints to reduce the overhead caused by excessive data collection.", "C: Tracking newly created processes that may be leveraging system services for execution.", "D:...
B
[ "SystemSecurity", "NetworkSecurity", "PenTest" ]
Detection Strategies
a6ab20d9-6a0a-473c-870b-5faabbf2eb88
cwe
In the context of addressing a vulnerability related to IOCTL operations using METHOD_NEITHER, which of the following statements accurately reflects a trade-off when choosing an alternative I/O control method?
[ "A: METHOD_BUFFERED can control the buffer size effectively but may introduce additional overhead due to copying data between user and kernel space.", "B: Avoiding validation altogether can save development time but may increase the risk of privilege escalation attacks.", "C: Enforcing strict access control mig...
AC
[ "SoftwareSecurity", "SystemSecurity", "Vulnerability" ]
Trade-off
d9b24291-2563-4b6f-8e0d-3965ea255910
attck
A malware sample is programmed to avoid execution if the system is located in a former Soviet country. Which of the following checks would the malware most likely perform to make this determination before executing its payload?
[ "A: Inspecting the list of installed software for applications predominantly used in former Soviet countries.", "B: Reviewing the system's network configuration for use of internet service providers specific to former Soviet countries.", "C: Calling the Windows API function `GetLocaleInfoW` to check for locale ...
C
[ "PenTest", "ApplicationSecurity" ]
Windows API `GetLocaleInfoW`
9bd70193-62c6-4b2c-ac51-88c7fe35e184
owasp_mastg
When attempting to secure a connection to a wireless network on a Linux-based system, a security analyst needs to run the wpa_supplicant command to use WPA/WPA2 for authentication. Which of the following commands should the analyst execute to correctly start the wpa_supplicant daemon, assuming the wireless interface is...
[ "A: wpa_supplicant -d -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf", "B: wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf", "C: wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf", "D: wpa_supplicant -B -D nl80211,wext -i wlan0 -c /etc/wpa_supplicant.conf" ]
B
[ "ApplicationSecurity", "WebSecurity" ]
wpa_supplicant
3c7acdb8-a771-4bfd-9726-cd601bacc873
cwe
Why should critical data elements such as passwords within a software system be declared private instead of public?
[ "A: Private data elements can be more easily accessed and modified by other parts of the program, thereby simplifying development.", "B: Declaring data elements as private helps to protect the data from unauthorized access and accidental modification.", "C: Public data elements enhance the flexibility of the co...
B
[ "SoftwareSecurity", "ApplicationSecurity", "Vulnerability" ]
DataEncapsulation
59ab406e-5f9f-40f0-aef5-9fcc74d4d4f7
apple_platform_security
An engineer is tasked with ensuring the security of a home entertainment system using HomeKit with Apple TV. They must ensure that third-party remote accessories can securely communicate with Apple TV and that user profiles are managed correctly in accordance with Apple's privacy standards. Which of the following state...
[ "A: Apple TV uses a per-session HKDF-SHA512 derived key-pair negotiated over the HomeKit session to encrypt the local network connection with the TV remote.", "B: User profiles and settings on Apple TV are shared to the owner’s iCloud account without encryption, allowing for easy access and management.", "C: Si...
AC
[ "SystemSecurity", "ApplicationSecurity" ]
HomeKit
d635df5d-31b1-4cec-b285-e7be8b36403b
mit6.858
When designing the interface between an isolated library sandbox and the main application, such as a web browser, which of the following considerations are crucial to prevent security breaches?
[ "A: Ensuring that pointers in one memory are meaningful in another memory without explicit memory copying.", "B: Validating data coming from the library to prevent compromised libraries from returning unexpected error codes or flags.", "C: Allowing libraries to call any function in the application as long as it...
BD
[ "WebSecurity", "SystemSecurity" ]
interface_security
21c388dd-5877-46a8-a61b-7eeb0c041e65
cs161_textbook
If an anomaly-based detection system is experiencing a high rate of false positives, flagging benign activities as suspicious, which of the following could be a contributing factor?
[ "A: The system has been trained on a highly diverse dataset of normal behavior patterns, including some anomalies.", "B: The system's definition of normal behavior is too broad, allowing many types of attacks to go undetected.", "C: The system has been calibrated to be highly sensitive to deviations from the no...
C
[ "SystemSecurity" ]
False Positives
e629e09c-5c6f-4d4a-a9ff-5c57f2ddd3e9
attck
An organization is enhancing its monitoring strategy to detect adversarial data archival activities. They propose to solely monitor for the creation of files with extensions commonly associated with compressed or encrypted file types. Which of the following is the most effective counterargument against relying exclusiv...
[ "A: Monitoring only file extensions may not detect custom archival methods that do not use standard file extensions.", "B: This strategy will increase the data size being monitored, making it easier to detect exfiltration.", "C: Focusing on file extensions will help in identifying all the encrypted data before ...
A
[ "SystemSecurity", "PenTest", "NetworkSecurity" ]
Monitoring strategy
884f2395-9462-4091-ab4d-a979d1f12a01
owasp_mastg
An attacker is attempting to perform a return-to-libc attack on an iOS application to execute malicious code. Which iOS security features are designed to mitigate this type of attack, and how do they function to prevent the attacker's success?
[ "A: FairPlay Code Encryption decrypts code only on devices associated with the attacker's account, limiting the attack surface.", "B: ASLR randomizes the memory location of program files and libraries, making it difficult for the attacker to predict specific memory addresses.", "C: The XN mechanism marks certai...
BC
[ "SystemSecurity", "MemorySafety" ]
Return-to-libc Attack
6f4bec5f-34fe-4745-852b-7d648102721e
cwe
A developer is configuring the initialization of network resources for a product that will be deployed across various environments. Which of the following practices should the developer implement to ensure the product runs reliably and securely?
[ "A: Use a configuration file or environment variables to specify network resource identifiers.", "B: Embed the network resource identifiers directly within the code to guarantee consistency across deployments.", "C: Retrieve the network resource identifiers from a secure, centralized configuration service at ru...
AC
[ "SoftwareSecurity", "ApplicationSecurity", "Vulnerability" ]
Configuration
7c6de9ab-aa86-412e-91ff-3ce5d6601694
mit6.858
How does the unique device identifier (ECID) contribute to the security of the mobile device's boot process?
[ "A: It ensures that each device has a unique boot sequence, making it difficult for an adversary to predict the boot process and inject malicious code.", "B: It allows Apple's servers to sign upgrades specifically for a device's ECID, preventing adversaries from installing an out-of-date OS kernel.", "C: It cre...
BD
[ "SystemSecurity" ]
ECID
fd8738c8-f3e4-4666-b98d-896754054bc1
cwe
In a recent security audit of an application, it was discovered that the PRNG used for cryptographic operations occasionally fails in a weak way, leading to predictable outcomes. What could be the cause of this issue, and how should it be addressed?
[ "A: The PRNG might not be re-seeding itself with high-quality entropy sources; consider implementing a PRNG that re-seeds with hardware devices.", "B: The PRNG may not conform to recognized standards; ensure it meets FIPS 140-2 standards, specifically the guidelines in Annex C.", "C: The PRNG could be using a w...
ABC
[ "ApplicationSecurity", "Vulnerability" ]
Entropy
4c2c6b36-8a33-47ca-886b-10f8fcd116ff
attck
To mitigate the risk of adversaries discovering cloud infrastructure, an organization is reviewing its user account management practices. Which of the following strategies should the organization consider implementing?
[ "A: Reduce the number of users with administrative privileges and perform periodic entitlement reviews on IAM users, roles, and policies.", "B: Increase the number of users within the organization with an IAM role that has administrative privileges for improved incident response times.", "C: Grant all users acc...
A
[ "SystemSecurity", "PenTest" ]
User Account Management
99531e57-3de6-4cf8-87f1-535228c0939d
attck
A penetration tester is evaluating a system that has been compromised. Which of the following findings would suggest that the adversary used a technique similar to the one identified in ATT&CK ID T1112?
[ "A: The tester discovers several Registry keys with names prepended by a null character.", "B: The tester finds that the system's antivirus software has been uninstalled.", "C: The tester notices that the firewall settings have been set to allow all incoming connections.", "D: The tester observes that user ac...
A
[ "SystemSecurity", "PenTest" ]
Registry Key Persistence
a70a4813-25a6-4122-b347-50ee1b4cabc7
apple_platform_security
When evaluating the privacy and security features of Apple's Find My service, which of the following statements accurately reflect the mechanisms that contribute to preserving user privacy while maintaining location accuracy for missing devices? (Select all that apply.)
[ "A: The encryption of location information by finder devices using the public key Pi ensures that Apple cannot access the decrypted location data.", "B: The traffic sent to Apple contains no authentication information, which prevents Apple from knowing the identity of the finder or the owner of the found device."...
ABD
[ "SystemSecurity" ]
PrivacyProtection
5b245412-af4b-4202-b87c-5f46603d33f0
owasp_mastg
An iOS application has been designed to allow users to scan QR codes to access event information. During the security assessment, you notice that the app requests permission to access the user's photo library. Which of the following reasons could justify the app's request for this permission?
[ "A: The app needs to store scanned QR code images in the user's photo library for future reference.", "B: Access to the photo library is a default requirement for all apps that utilize the camera.", "C: The app offers a feature to upload a QR code image from the photo library for scanning.", "D: The app requi...
C
[ "ApplicationSecurity", "WebSecurity" ]
iOS app permissions
c21562e1-47e9-4eb7-9e77-f8b2fa65daa6
owasp_wstg
In the context of server-side web applications, why is proper input validation critical in preventing code injection attacks?
[ "A: Input validation ensures that only numerical data is accepted, which inherently prevents code execution.", "B: It enables the application to distinguish between code and data by enforcing input constraints, thus preventing malicious input from being executed as code.", "C: Validation of input is important p...
B
[ "WebSecurity", "ApplicationSecurity" ]
Input Validation
968c0cc1-2180-462f-a281-a93687c57d35
cs161_textbook
A company is designing a new local area network (LAN) for its office building. The network engineer has to ensure the correct addressing at various layers of the OSI model to facilitate both intra-office and internet communications. Given the following scenarios, select the appropriate addressing methods that should be...
[ "A: For a printer that needs to be uniquely identified within the office network for document printing jobs, a MAC address should be assigned.", "B: For a server that needs to be accessible globally from the internet, a 16-bit port number should be assigned.", "C: For an internal web application that requires d...
AD
[ "WebSecurity" ]
Addressing
483f12bd-952c-440b-adda-513b2823031e
apple_platform_security
An IT security manager is considering the implications of enabling or disabling FileVault on Mac computers with Apple silicon in the organization. They are discussing with the team what the outcomes would be in terms of security for internal storage devices based on their operational mode. Which of the following statem...
[ "A: With FileVault turned on, the volume encryption key is wrapped with the class key and protected by the user's password and the hardware UID.", "B: When FileVault is turned off, the volume encryption key is left unprotected and sensitive data is at risk if the storage device is compromised.", "C: If FileVaul...
AC
[ "SystemSecurity" ]
FileVault
9fc20d03-8a7e-4fe1-9a55-8f3190455863
cwe
A software developer is reviewing the code for an application that processes user-uploaded files. One module of the application is responsible for opening files and directories. The developer is concerned about potential security risks related to the handling of Windows shortcuts (.LNK files). Which of the following sc...
[ "A: The application opens .LNK files and follows their target path without verifying the legitimacy or safety of the target location.", "B: The application uses a whitelist of approved file extensions and rejects .LNK files from being processed.", "C: The application checks the file extension and only processes...
A
[ "ApplicationSecurity", "SoftwareSecurity", "Vulnerability" ]
ShortcutVulnerability
f02f8076-638f-4e90-add3-cd99d0ec9677
windows_security
An IT security analyst is reviewing the Security event log on a Windows 10 computer and comes across an event with ID 6419 indicating a request to disable a device. Which of the following pieces of information can the analyst expect to find in the event details to further investigate the request? (Select TWO.)
[ "A: The account name of the user whose device is being disabled", "B: The hexadecimal value of the Logon ID correlating with the user's current session", "C: The result of the attempt to disable the device", "D: The hardware serial number of the device being disabled" ]
AB
[ "SystemSecurity", "WebSecurity" ]
Windows Security Event Log
9674bd39-7c70-4e7e-bb76-b41c26459888
owasp_wstg
When comparing penetration testing methodologies, what could be a significant advantage of using the Penetration Testing Execution Standard (PTES) over the Open Source Security Testing Methodology Manual (OSSTMM) for an organization that wants a structured approach to testing that includes post-exploitation activities ...
[ "A: PTES provides a structured 7-phase approach including post-exploitation and reporting, which is ideal for organizations seeking comprehensive guidelines.", "B: OSSTMM includes post-testing activities, but it mainly focuses on operational security, which may not be as structured as what PTES offers.", "C: PT...
A
[ "WebSecurity", "PenTest" ]
PTES
f598749d-e147-44c3-b6ec-65e59143cb0f
attck
A company has identified a potential data leak incident in which sensitive information was moved to a USB drive. As a security analyst, you are tasked with recommending measures to mitigate such incidents in the future. Which of the following measures would be effective in preventing data exfiltration via physical medi...
[ "A: Implement device control to monitor and restrict USB device usage on the network.", "B: Increase the complexity of file access permissions on the company's cloud storage.", "C: Disable Autorun features and remove unnecessary physical media features or programs.", "D: Deploy a network intrusion detection s...
AC
[ "SystemSecurity", "PenTest" ]
Data Loss Prevention
f73b1250-d13d-4215-a58d-b31bd93a6543
cwe
In a transaction system where a Security Identifier is supposed to qualify transactions, failure to include this identifier could lead to various security issues. What are the possible immediate and broader implications of a transaction being sent without the necessary Security Identifier?
[ "A: The immediate implication is that the destination agent might execute the transaction as if it came from a trusted source, potentially leading to unauthorized access.", "B: The immediate implication is that the destination agent might drop the transaction, resulting in a Denial-of-Service (DoS) condition.", ...
BC
[ "SoftwareSecurity", "SystemSecurity", "Vulnerability" ]
SecurityConsequences
54bc5eb4-b247-4cab-97f6-73c09bf1808d
windows_security
A company is planning to deploy Windows Hello for Business using a hybrid key trust model. They currently have a Windows Server-based PKI in place. As the security administrator, you are tasked with configuring domain controllers to facilitate secure authentication. Which of the following steps are necessary to ensure ...
[ "A: Install a certification authority on a domain controller and configure it for basic certification authority.", "B: Publish a certificate revocation list to a location accessible to Microsoft Entra joined devices.", "C: Ensure the KDC Authentication OID is included in the domain controller certificate for hy...
BD
[ "WebSecurity", "SystemSecurity" ]
Public Key Infrastructure (PKI)
4d86c3b8-64c9-48e5-b650-c4dfc9acd7b7
apple_platform_security
As an IT security consultant, you are reviewing the security features of Apple's financial services for a client. Based on your knowledge of Apple Cash and Tap to Pay on iPhone services, which of the following statements correctly describe their security measures?
[ "A: Apple Cash uses a Secure Element to store transaction data, which is used for troubleshooting, fraud prevention, and regulatory purposes.", "B: Tap to Pay on iPhone does not store transaction information that can be tied back to the payer, and the payment card information (PAN) is not accessible to the mercha...
AB
[ "SoftwareSecurity", "SystemSecurity", "ApplicationSecurity" ]
Apple Cash Security
bde747d4-9c70-48bc-a3bd-3423c97693fe
cwe
A software development team is considering the implementation of a security mechanism to protect sensitive data in their new application. They have proposed two different approaches. Evaluate the potential security implications of each approach based on the principles of 'Economy of Mechanism': Approach 1: Implementin...
[ "A: Approach 1 may be more secure due to its complexity and proprietary nature, making it harder for attackers to understand and exploit.", "B: Approach 2 is likely to be more secure, as its simplicity makes it easier to implement correctly and reduces the risk of configuration errors.", "C: Approach 1 could re...
BC
[ "SoftwareSecurity", "Vulnerability" ]
Complexity
1265496f-54b3-471d-baf8-e9d8bd603c06
windows_security
Which of the following policies is least likely to enhance the security of a Windows application?
[ "A: Regularly updating the application to patch identified vulnerabilities.", "B: Restricting the application's network permissions to only what is necessary for its operation.", "C: Storing sensitive user data in plaintext within the application to simplify data retrieval.", "D: Utilizing secure coding pract...
C
[ "ApplicationSecurity" ]
Plaintext Data Storage
89d7714d-bae4-4d77-8eb0-41f571e94c9e
d3fend
A software development company wants to protect its application from being exploited through buffer overflow attacks. Which of the following hardening techniques would directly mitigate this specific vulnerability?
[ "A: Message Encryption", "B: Stack Frame Canary Validation", "C: Certificate Pinning", "D: User Account Permissions" ]
B
[ "ApplicationSecurity", "MemorySafety", "PenTest" ]
Buffer Overflow
9fa7566c-64ac-4eb5-84d2-49ad7c74b903
attck
An adversary, with Administrator privileges over a network, has registered a rogue Domain Controller through the DCShadow method. What is the most likely immediate outcome of this action?
[ "A: The rogue Domain Controller will automatically be isolated by the Active Directory schema due to unrecognized server objects.", "B: The adversary will be able to replicate unauthorized changes into the Active Directory infrastructure, such as altering credentials and keys.", "C: All Active Directory replica...
B
[ "SystemSecurity", "PenTest" ]
DCShadow
017b71e5-a989-455c-befa-96ee53dda7ab
owasp_mastg
In which of the following scenarios would using a system-wide proxy in the network settings of a mobile device NOT be a suitable method for intercepting the mobile application's network traffic?
[ "A: The mobile app uses standard HTTP APIs or popular libraries like okhttp.", "B: The mobile application is developed with a platform like Xamarin that ignores system proxy settings.", "C: The mobile application has built-in mechanisms to verify if a system proxy is in use and refuses to send requests through ...
BC
[ "SystemSecurity", "ApplicationSecurity" ]
System Proxy Settings
948842cd-b8b0-4278-984b-c8f3f9a1cfaf
mozilla_security
A web developer suggests using robots.txt to prevent sensitive sections of the website from being discovered by attackers. What is the most effective counterargument to this suggestion?
[ "A: Robots.txt is primarily used for SEO purposes, not for security measures.", "B: Attackers do not use automated crawlers and hence robots.txt would be ineffective.", "C: Robots.txt is publicly accessible and can actually aid attackers in discovering sensitive directories.", "D: Sensitive sections are prote...
C
[ "WebSecurity" ]
Sensitive Directory Disclosure
7e6a32b7-6914-415d-91c3-7990bddc12d1
android_sec_doc
A developer is adding a new system process that relies on an existing Android Open Source Project (AOSP) Hardware Abstraction Layer (HAL). To ensure proper operation and maintain compatibility with potential framework-only updates, where should the policy for this new system component be placed and why?
[ "A: The policy should be placed in `system/sepolicy/public` to allow interaction across the `system/vendor` interface and to be updated with framework-only OTA updates.", "B: The policy should be placed in `system/sepolicy/private` because it is interacting through an interface already established by AOSP and nee...
B
[ "SystemSecurity", "ApplicationSecurity" ]
SELinux
0b13218e-02ae-4bd4-bd5e-bfe64e61a266
owasp_mastg
In a security review of an iOS mobile application, you identify a function that transmits sensitive data to a remote server. Which of the following implementations would be considered a vulnerability that needs to be addressed?
[ "A: The application uses SSL pinning to ensure it communicates only with the intended server.", "B: Sensitive data is transmitted over an encrypted channel using HTTPS with a valid certificate.", "C: Sensitive data is transmitted over HTTP in a GET request with parameters visible in the URL.", "D: The applica...
C
[ "ApplicationSecurity", "NetworkSecurity" ]
Data Transmission Vulnerability
c21b724f-45a7-48de-b338-ba1882b7e19c
windows_security
A security analyst is reviewing a Windows security event log entry for event 4670(S), which indicates that permissions on an object were changed. What information can be deduced from this event, and what information is NOT directly provided by the event?
[ "A: The security analyst can deduce the type of object whose permissions were changed and the new permissions set; however, the SACL changes are not logged by the event.", "B: The security analyst can identify the user who changed the permissions and the exact time of the change; however, the previous owner of th...
AB
[ "SystemSecurity", "ApplicationSecurity" ]
Security Descriptor Definition Language (SDDL)
b1c57d01-b009-458c-9e0d-84aef19aa760
attck
A cybersecurity team is reviewing their mitigation strategies against Access Token Manipulation attacks. Which of the following mitigation strategies would NOT be effective against the described threat?
[ "A: Restricting the ability of users to create tokens through Group Policy settings.", "B: Enabling detailed command-line logging to detect usage of the `runas` command.", "C: Utilizing heuristic detection methods to identify unusual process behaviors.", "D: Increasing the frequency of privileged account pass...
D
[ "SystemSecurity", "PenTest" ]
Mitigation Strategy
58fa94fb-ce05-4ea1-975f-e9e2ecbc7e98
attck
A penetration tester is analyzing a malware sample that is suspected of capturing screenshots on infected machines. The malware sample in question is found to be using Windows GDI+ library functions to achieve its goal. Which of the following malware families is the tester likely analyzing based on the behavior observe...
[ "A: MacSpy, which uses Apple's Core Graphic APIs", "B: MuddyWater, which uses its own screenshot mechanism", "C: Woody RAT, which uses Windows GDI+ for screen capture", "D: MacMa, which relies on `CGWindowListCreateImageFromArray`" ]
C
[ "PenTest" ]
Windows GDI+
76d17c2e-bbae-4508-8e0b-665a38fc965a
attck
An adversary planning to compromise a company’s infrastructure is likely to leverage open technical databases in the reconnaissance phase. Which of the following reasons best explains why an adversary would search WHOIS databases specifically?
[ "A: To identify vulnerable web applications based on outdated software versions.", "B: To gather information on domain registration and associated entities for the company.", "C: To analyze the company's code repositories for exposed sensitive data.", "D: To map the internal network topology of the company." ...
B
[ "SystemSecurity", "PenTest" ]
WHOIS
4f923c67-7efe-4710-9ce6-8e92af98e293
owasp_wstg
In a scenario where a security testing team identifies high-risk vulnerabilities in a web application shortly before its scheduled release, which measures should be prioritarily considered to handle the situation appropriately?
[ "A: Proceed with the application deployment and address the vulnerabilities in a post-release patch if they are exploited.", "B: Discuss with information security officers to analyze the potential risks and decide whether to accept the risks or require immediate remediation.", "C: Ignore the findings since last...
B
[ "WebSecurity", "SystemSecurity" ]
Risk Management
f300e054-f7ab-4873-8232-1dba3078e664
cwe
Which of the following code snippets is most likely to introduce the vulnerability of inserting sensitive information into sent data?
[ "A: HttpResponse response = new HttpResponse(); response.setContent(\"Error: Invalid user input\");", "B: throw new RuntimeException(\"Database connection failed. User 'admin' with password '12345' cannot connect.\");", "C: User user = userService.authenticateUser(username, password); if(user == null) { throw n...
B
[ "ApplicationSecurity", "Vulnerability" ]
SensitiveDataLeak
10f5a4e3-3be0-4416-ab95-b46e3f31907c
mozilla_security
A web application developer is implementing cookie-based session management. Which of the following cookie attributes should the developer set to enhance security, and why?
[ "A: Set the Secure flag to ensure the cookie is only sent over HTTPS, preventing exposure on unencrypted channels.", "B: Omit the Secure flag to allow cookies to be sent over both HTTP and HTTPS, increasing the availability of the website.", "C: Set the HttpOnly flag to allow the cookie to be accessed by client...
A
[ "WebSecurity", "ApplicationSecurity" ]
Secure flag
80236cbe-8fac-426c-9544-1a03ba1ed2c6
attck
A security team is configuring detection mechanisms for their SharePoint and Confluence platforms to identify potential malicious activity. What kind of detection mechanism would be most effective in identifying an adversary leveraging these platforms to mine valuable information?
[ "A: Set up alerts for excessive printing activities from network-connected printers.", "B: Monitor and alert on privileged user access to information repositories and users retrieving a large number of documents.", "C: Install antivirus software on all endpoints to prevent malware from compromising information ...
B
[ "ApplicationSecurity", "NetworkSecurity", "PenTest" ]
Monitoring Information Repositories
f33bcf29-a1ee-4cd5-82bf-ac002975b211
owasp_mastg
In the context of mobile application security testing, you suspect that some processes may be using the WiFi interface, which could interfere with your testing activities. To ensure a proper testing environment, you decide to use a command-line tool to check and terminate any such processes. Which command would you use...
[ "A: $ sudo ifconfig wlan0 down", "B: $ airmon-ng check kill", "C: $ netstat -tulnap | grep ':80'", "D: $ iwconfig wlan0 --release" ]
B
[ "ApplicationSecurity", "PenTest" ]
airmon-ng
84bdc80d-820e-47a2-aad4-1a06531f6310
owasp_wstg
A security consultant is reviewing the Content Security Policy of a web application and comes across the following CSP header configuration: HTTP Content-Security-Policy: script-src 'nonce-r4nd0m'; object-src 'none'; base-uri 'none'; Which of the following statements accurately reflects a potential vulnerability in ...
[ "A: The CSP does not restrict the sources for CSS, which could expose the application to style-based injection attacks.", "B: The use of the 'nonce-r4nd0m' value for script-src eliminates the risk of Cross-Site Scripting (XSS) attacks completely.", "C: The object-src directive set to 'none' unnecessarily restri...
A
[ "WebSecurity" ]
CSP Directive
7c74ff1d-9c67-4607-bd0e-8d6b63ca45fb
cwe
You are responsible for overseeing the installation of a new software system in your organization. To safeguard against the risk of trapdoors, which of the following steps should you take to ensure the integrity of the software?
[ "A: Conduct a thorough code review focusing on authentication and network communication segments.", "B: Check for digital signatures and compare hash values of the software with known trusted sources.", "C: Install the software in a sandbox environment to monitor its behavior for a set period.", "D: Limit the...
B
[ "Vulnerability" ]
Trapdoor
39d14c7a-364d-4d41-b07b-5867ef55d56d
owasp_wstg
A security audit has revealed that a web application creates new user accounts with a default password pattern 'Welcome1234', which increments numerically for each new user (e.g., 'Welcome1235' for the next user). What is the primary security concern with this practice?
[ "A: The numerical incrementation makes the password more secure by adding complexity.", "B: Using 'Welcome' as the password prefix is a secure practice as it is friendly and welcoming to new users.", "C: Passwords that follow an easily discernible pattern can be predicted and are susceptible to brute-force atta...
C
[ "WebSecurity" ]
Brute-Force Attack
383fb0c2-b431-43d9-88cc-71d97a9d8dc6
attck
A cybersecurity analyst is investigating an incident where an adversary gained administrative privileges and initially went undetected within an organization's network. The adversary modified domain policies to escalate privileges and evade defenses. Which of the following actions would be the most likely taken by the ...
[ "A: Reducing the frequency of password changes to extend the use of compromised credentials.", "B: Altering domain Group Policy Objects to deploy a malicious Scheduled Task.", "C: Disabling local firewalls on all endpoints to ease lateral movement.", "D: Creating a new user account with guest privileges for r...
B
[ "SystemSecurity", "PenTest" ]
Domain Policy Modification
dc97526a-b305-49c6-a4d8-10f5d5bee3e4
owasp_mastg
An Android application is designed with the following permission in its manifest file: xml <permission name="android.permission.ACCESS_FINE_LOCATION" > <group gid="location" /> </permission> Given the output of the `id` command for the application's process is shown below: bash uid=10234(u0_a234) gid=10234(u0_a...
[ "A: The app has the 'ACCESS_FINE_LOCATION' permission because it belongs to the 'location' group.", "B: The app does not have the 'ACCESS_FINE_LOCATION' permission because it does not belong to the 'location' group.", "C: The app has the 'ACCESS_FINE_LOCATION' permission by default since all apps have access to...
B
[ "ApplicationSecurity", "SystemSecurity" ]
group ID
41af35e8-8a8e-4202-81bc-8bc5dd6aef0e
attck
An attacker has established a foothold in a corporate network and is planning to automate the collection of sensitive documents. Which of the following techniques might the attacker employ to achieve this goal without manual intervention?
[ "A: Use of Command and Scripting Interpreter to periodically search and copy files matching certain criteria.", "B: Deploy custom antivirus software to protect collected data from being detected by network security systems.", "C: Manually copying files from each system to a centralized location within the netwo...
A
[ "PenTest" ]
Command and Scripting Interpreter
a2440bd7-65ff-45c6-aa68-3eb0018c53db
attck
An enterprise network utilizes third-party software deployment systems for administration purposes. Following best security practices, which of the following mitigations would be most effective in preventing adversaries from exploiting these systems for lateral movement or remote code execution?
[ "A: Permit unrestricted remote access to deployment systems to monitor for unusual activity.", "B: Patch deployment systems regularly to prevent potential remote access through exploitation.", "C: Grant access to deployment systems to all users to increase the transparency of software distribution.", "D: Impl...
BD
[ "SystemSecurity", "NetworkSecurity", "PenTest" ]
Network Segmentation
bac3e3e0-a11e-403c-8dfe-8a6efd9b1d17
windows_security
You are consulting on security policies for a company's Windows servers. The IT department proposes disabling the built-in administrator account for security reasons. What are some potential drawbacks of this approach?
[ "A: It could prevent unauthorized users from gaining administrative access.", "B: It might lead to administrative lockout if no other administrative accounts are available.", "C: It can offer an additional layer of security through obscurity.", "D: It may reduce the overall number of accounts that could be co...
B
[ "SystemSecurity", "WebSecurity" ]
Administrator Account Management
9b40b7bd-219d-4559-8194-f6d669e96608
attck
If a cybersecurity analyst is setting up a detection mechanism for firmware corruption on company devices, which of the following approaches would be the least effective and why?
[ "A: Monitoring changes to the firmware for unexpected modifications, which does not account for legitimate updates.", "B: Logging attempts to read/write to BIOS and comparing against known patching behavior, but this may generate false positives if legitimate software behaves similarly.", "C: Checking for the p...
D
[ "NetworkSecurity", "PenTest" ]
Firmware Modification Detection
30ddec76-0262-48b1-aeb3-dd97cd0ca781
cs161_textbook
A security analyst is reviewing the code of a web application that uses SHA256 for password hashing. The analyst is asked to present arguments for and against the continuation of this practice. What are the reasons that support changing to a different password hashing strategy? (Select all that apply)
[ "A: SHA256 is not collision-resistant, hence there is a risk that two different passwords might produce the same hash.", "B: SHA256 is designed to be fast, which could allow an attacker to test billions of password guesses rapidly in an offline password guessing attack.", "C: The use of SHA256 hashes allows for...
BCD
[ "WebSecurity" ]
SHA256
0435bcd3-626d-494f-92a8-1371e0e70ab1
windows_security
Which of the following statements is NOT true about the Process Mitigation Options available in Windows 10 for 64-bit applications?
[ "A: Structured Exception Handling Overwrite Protection (SEHOP) blocks exploits that use the SEH overwrite technique.", "B: Data Execution Prevention (DEP) marks memory pages as non-executable to prevent code from running in those regions.", "C: Address Space Layout Randomization (ASLR) prevents the execution of...
C
[ "SystemSecurity", "MemorySafety" ]
ASLR
1924d6ed-68b2-4cab-8815-474344b19b0b
cs161_textbook
Alice and Bob are using a MAC function to ensure the integrity and authenticity of their communications. They're considering four different MAC functions to use. Which of the following MAC functions could potentially lead to a confidentiality breach of the messages?
[ "A: A MAC function that appends the message plaintext to a valid MAC of the message.", "B: A MAC function that utilizes a block cipher with the property of not leaking plaintext information.", "C: A MAC function that is based on a cryptographic hash function that maintains its properties.", "D: A MAC function...
AD
[ "WebSecurity" ]
Confidentiality
5243e0ec-b17b-48ff-87ba-9c97adff8b43
attck
A company is reviewing its cybersecurity strategy to better defend against adversaries using data obfuscation techniques for command and control operations. They are considering the implementation of network intrusion prevention systems. Which obfuscation technique would likely be the least mitigated by network intrusi...
[ "A: Junk Data", "B: Steganography", "C: Protocol Impersonation", "D: Embedding C2 responses in the source code of a fake webpage." ]
B
[ "NetworkSecurity", "SystemSecurity", "PenTest" ]
Network Intrusion Prevention
7cbb6109-00db-4be9-b95a-57885a5d3367
attck
As a security consultant, you are tasked with strengthening an organization's defenses against account enumeration attacks. Which of the following mitigation strategies would be least effective in preventing adversaries from discovering valid user accounts, and why?
[ "A: Disabling the enumeration of administrator accounts through Group Policy settings, as it does not address the use of other built-in commands by adversaries.", "B: Monitoring command execution history for cloud API calls used for account discovery, as it may be circumvented by direct file system access.", "C...
D
[ "NetworkSecurity", "PenTest" ]
Group Policy
6d1cd0b3-f193-4607-a3e4-83d83fdd027a
owasp_mastg
When developing a mobile application, which practice should be avoided to prevent potential security and privacy breaches?
[ "A: Encrypting log files using secure algorithms before storing them locally.", "B: Logging sensitive information that may expose data to attackers or violate user confidentiality.", "C: Using built-in logging mechanisms like the Log Class or Logger Class for debugging purposes.", "D: Sending encrypted log fi...
B
[ "ApplicationSecurity", "SystemSecurity" ]
Sensitive Data Logging
b718daa1-9b47-46b2-a7be-4ed4671ef61c
apple_platform_security
Evaluate the security measures and limitations for Apple's Face ID and Touch ID technologies. Select the statements that accurately reflect the described security implementations and limitations.
[ "A: Face ID utilizes a structured light technique that projects a customizable random pattern to prevent spoofing attempts.", "B: Touch ID's fingerprint analysis retains minutiae data to ensure the highest level of accuracy during authentication.", "C: Face ID adapts to physical changes in the user's appearance...
AC
[ "ApplicationSecurity", "SystemSecurity" ]
Authentication
07973067-682b-4ba2-bc13-f41657d0c0ef
owasp_wstg
You are reviewing a web application's client-side code and encounter the following JavaScript snippet susceptible to URL redirection vulnerabilities: js var redir = location.hash.substring(1); if (redir) { window.location='http://'+decodeURIComponent(redir); } Which of the following measures would best mitigate ...
[ "A: Implement server-side validation of the 'redir' variable before redirection.", "B: Use a regular expression to whitelist specific URLs that can be assigned to 'window.location'.", "C: Remove the 'redir' variable and use static URLs for redirection.", "D: Encode the 'redir' variable using Base64 encoding b...
B
[ "WebSecurity", "SoftwareSecurity" ]
URL Whitelisting
acffcf83-2f96-4e32-b53a-46e8f17e0bae
cs161_textbook
In the context of TLS, which of the following statements are true regarding the prevention of replay attacks?
[ "A: Utilizing a counter or timestamp in messages helps prevent an attacker from replaying a message within the same connection.", "B: Fixed values of R_B and R_S during the handshake would prevent replay attacks by ensuring consistent generation of the same symmetric keys.", "C: Randomly generated values R_B an...
AC
[ "WebSecurity" ]
TLS
349600d8-c9ff-40db-8540-cd8ad9cd2dbf
cwe
In a design meeting, a developer proposes a new feature that includes an object to hold aggregated data from multiple sources. The object is expected to have at least ten sub-elements, each of which is a complex object itself. What concerns should be raised regarding the proposed design?
[ "A: The proposed design may result in a more efficient and streamlined data processing flow.", "B: The high number of complex sub-elements may lead to increased memory consumption and slower data processing.", "C: The design is likely to reduce the risk of security vulnerabilities due to the isolated handling o...
BD
[ "ApplicationSecurity", "Vulnerability" ]
DesignConcerns
a3a37a81-bdbb-417a-b042-6114592228b9
android_sec_doc
A developer has signed an APK with APK Signature Scheme v2 and is wondering how this will affect the installation on different versions of Android. Assuming the APK is also signed with the JAR signature scheme, how will Android platforms of different versions verify the APK?
[ "A: Android 7.0 and later will verify the APK using both APK Signature Scheme v2+ and JAR signing, while older platforms will only verify the JAR signature.", "B: All Android versions will verify the APK using APK Signature Scheme v2 due to its backward compatibility with older signature schemes.", "C: Android ...
D
[ "SystemSecurity", "SoftwareSecurity" ]
APK Verification
8920a370-7704-4bf6-b4a4-558598347ef1
apple_platform_security
Identify the implications of setting the LocalPolicy file to 'Full Security' and 'Reduced Security' on a Mac with Apple silicon:
[ "A: 'Full Security' ensures that the Mac can only boot software that was known to be the latest at install time.", "B: 'Reduced Security' allows for the use of older macOS versions which may contain unpatched vulnerabilities.", "C: 'Full Security' allows booting kernel extensions (kexts) required for certain ap...
AB
[ "SystemSecurity", "ApplicationSecurity" ]
SecurityLevels
48988829-0759-4844-b993-2c115e84ea27
android_sec_doc
A system analyst is diagnosing SELinux policy violations on an Android test device. After ensuring that SELinux is in the correct mode, what steps should they take next to effectively identify and resolve the policy violations?
[ "A: Examine the SELinux output to `dmesg` and refine settings in permissive mode before switching to enforcing mode.", "B: Execute the `androidboot.selinux=permissive` command to disable SELinux enforcement and observe changes in system behavior.", "C: Use `simpleperf` to capture the call chain and diagnose the...
A
[ "SystemSecurity", "SoftwareSecurity" ]
SELinux
46e95f58-15e3-497c-9f88-052d1528977c
attck
A network security analyst is tasked with enhancing the organization's defenses against adversaries who might communicate using application layer protocols to avoid detection. Which of the following measures would be most effective in mitigating such activities?
[ "A: Implementing strict egress and ingress filtering rules on the firewall to control traffic based on source and destination IP addresses.", "B: Deploying network intrusion prevention systems that use network signatures to identify traffic for specific adversary malware.", "C: Enforcing a policy that requires ...
B
[ "NetworkSecurity", "SystemSecurity", "PenTest" ]
Network Intrusion Prevention
64ee8252-3440-4f26-b25a-3e3e8140f454
cwe
An online file management system allows users to execute file-related operations through a web interface. The system uses a server-side script to execute OS commands based on user input. To mitigate the risk of OS command injection, the development team is considering several strategies. Which of the following strategi...
[ "A: Storing user input in the session's state instead of sending it to the client in a hidden form field.", "B: Using the system() function in C to execute commands, as it accepts a single string and performs appropriate quoting and filtering.", "C: Implementing input validation to accept only known good inputs...
AC
[ "Vulnerability" ]
mitigation
c2534dd1-3d89-49ab-826a-0e4ec1653b68
android_sec_doc
An Android device is being prepared for deployment in a high-security environment. The security team is debating whether to set SELinux to 'Permissive' or 'Enforcing' mode. What are the implications of deploying the device with SELinux set to 'Permissive' mode?
[ "A: In 'Permissive' mode, the security policy is enforced but not logged, potentially leading to unnoticed security breaches.", "B: In 'Permissive' mode, the security policy is not enforced, only logged, which can be useful for identifying potential failures without impacting system functionality.", "C: In 'Per...
B
[ "SystemSecurity", "SoftwareSecurity" ]
SELinux Permissive Mode
0e05d118-e272-48cb-9e16-1e375d809c5a
owasp_wstg
Given the benefits of ORM tools in web application development, which of the following reasons would make an application using ORM generated objects still vulnerable to ORM Injection attacks?
[ "A: ORM tools can generate overly complex code that is difficult to understand and maintain, leading to security oversights.", "B: The use of ORM generated objects inherently slows down application performance, which can lead to timeouts and potential exploitation.", "C: Web applications might accept unsanitize...
C
[ "WebSecurity", "SystemSecurity" ]
SQL Injection
6ac83ccb-b108-49f4-a2d1-a1e5b4e7f781
cwe
You are reviewing the security of a web application which dynamically constructs web pages based on user input. The application currently does not specify an encoding in HTTP headers, potentially allowing browsers to guess the encoding and opening up to XSS attacks. Given this scenario, which of the following strategie...
[ "A: Implementing an 'accept known good' input validation strategy that rejects or transforms input not strictly conforming to specifications.", "B: Setting the session cookie to be HttpOnly to prevent the session cookie from being accessible via client-side scripts.", "C: Configuring the application firewall to...
ABCD
[ "ApplicationSecurity", "WebSecurity", "Vulnerability" ]
Mitigation
ab0b25ad-642b-4324-8827-6114ac7ed7ae
apple_platform_security
How does HomeKit enhance the security of data storage and accessory access within a smart home environment?
[ "A: HomeKit data is stored using the Protected Until First User Authentication class, and routers support PPSK authentication for added security.", "B: Local data is stored unencrypted for easy access by smart home accessories, but remote data access requires multi-factor authentication.", "C: HomeKit routers u...
A
[ "ApplicationSecurity", "SystemSecurity" ]
HomeKit
e0256d82-2920-4f82-8a45-3d6702c6b561
cwe
An existing system has been found to have a vulnerability due to objects inheriting insecure permissions from their parent. As a security consultant, what recommendations would you make to the development team for remediation?
[ "A: Introduce an access control list (ACL) for each object, specifying the minimum necessary privileges required for operation.", "B: Consolidate all permissions into a single, easily manageable permission set for the entire application.", "C: Instruct the development team to disable all permission checks to st...
AD
[ "SystemSecurity", "Vulnerability" ]
PermissionMitigation
16567bc2-f96e-48e6-919e-3b531182c69c
attck
A cybersecurity analyst is tasked with identifying potential areas where adversaries might gather reconnaissance information for an upcoming targeted attack. Considering the open technical databases adversaries might exploit, which of the following would be most effective for adversaries seeking to collect detailed inf...
[ "A: Reviewing industry news articles for mentions of the company's internal security protocols.", "B: Searching passive DNS databases for historical DNS records associated with the company.", "C: Analyzing financial reports for insights into the company's investment in cybersecurity.", "D: Investigating socia...
B
[ "PenTest" ]
Reconnaissance
2a2549e7-cbbd-4583-8f5c-247983cc6b2a
cs161_textbook
A network engineer suggests that routers are an essential component for the expansion of a company's existing local area network (LAN) infrastructure. Evaluate the engineer's assertion by selecting the statements that correctly identify the pros and cons of introducing routers into the network.
[ "A: Installing routers will allow for scalability by connecting multiple LANs, but it may introduce a single point of failure if not properly redundant.", "B: Routers can isolate network traffic within each LAN, reducing the chances of network congestion, but they can also cause increased latency due to message f...
AB
[ "NetworkSecurity" ]
Router
2b091e44-d561-4f3b-87a0-2db307c8793c
apple_platform_security
An organization is deploying a new online service and wants to ensure its security. They have identified several potential security measures to implement. Which of the following measures should the organization consider to enhance their service security? (Select all that apply)
[ "A: Implementing a Web Application Firewall (WAF) to protect against common web vulnerabilities such as SQL injection and cross-site scripting.", "B: Disabling unnecessary services and ports on the server hosting the service to minimize the attack surface.", "C: Requiring multi-factor authentication for user ac...
ABC
[ "WebSecurity", "SystemSecurity" ]
ServiceSecurity
15f2287a-7cb2-4a8d-a5fb-c4e25c974d64
windows_security
If a security analyst claims that the primary objective of Windows 10 kernel pool protections is to enhance the speed of memory allocation, which of the following statements best refutes this claim?
[ "A: Kernel pool protections aim to optimize memory usage by compressing data stored in the memory pool.", "B: The purpose of kernel pool protections is to secure the memory pool against unauthorized access and prevent exploitation.", "C: Kernel pool protections are designed to facilitate seamless connectivity b...
B
[ "SystemSecurity", "Vulnerability" ]
Kernel pool protections
e640d5e9-26b9-416e-9d48-7b1421542192
apple_platform_security
You are developing a third-party payment app that integrates with SiriKit on iOS devices. When a user issues a voice command to make a payment to a contact, which of the following statements accurately represent how SiriKit handles the request and user data based on the provided permissions?
[ "A: SiriKit will resolve the relationship in the user's request even if the app does not have access to contact information.", "B: If the app has permission to access contact information, Siri will provide the app with the resolved information about the user's mother when the user says 'Pay my mother 10 pounds us...
BD
[ "ApplicationSecurity", "SystemSecurity" ]
SiriKit
cda6385f-b225-4cff-b1be-a5826a6260dc
android_sec_doc
Considering the latest Android security guidelines, why is full-disk encryption not recommended on new devices running Android 10 and higher?
[ "A: Because full-disk encryption is more resource-intensive than file-based encryption.", "B: Because full-disk encryption has been deprecated in favor of more flexible encryption methods like file-based encryption.", "C: Because full-disk encryption cannot encrypt metadata such as file sizes and permissions.",...
B
[ "SystemSecurity", "SoftwareSecurity" ]
Full-disk encryption
95f18104-74d9-4901-927e-1f9c1303b863
cs161_textbook
You are setting up a web infrastructure for a new company with the domain 'examplestartup.com'. As part of this process, you need to configure DNS settings. Based on your understanding of name servers and domain zones, which of the following statements are correct?
[ "A: You must register 'examplestartup.com' with a name server responsible for the '.com' zone to handle DNS queries specifically for your domain.", "B: A single name server somewhere on the internet will store the IP address of 'examplestartup.com' and handle all DNS requests for any domain.", "C: The name serv...
AD
[ "WebSecurity" ]
DNS
be1b91f7-77c1-42ea-a083-bcdee27e1757
apple_platform_security
A security analyst is evaluating the privacy and security features of Bluetooth Low Energy (BLE) used in iOS devices. Which of the following features contribute to the privacy and security of BLE?
[ "A: Address randomisation to reduce tracking of BLE devices.", "B: Cross-transport key derivation for generating link keys across different Bluetooth protocols.", "C: Wi-Fi frame sequence number randomisation to prevent packet sniffing.", "D: Use of a long identity hash for AirDrop to verify contacts." ]
AB
[ "SystemSecurity", "NetworkSecurity" ]
BLE
3303b914-ce60-4e67-9f96-88061a35f999
cwe
Suppose you are reviewing the security of a sensor data handling system for a System on Chip (SoC) design. You encounter a code snippet that scales the sensor frequency value to calculate the sensed temperature using the formula: Sensed Temp = a + b * Sensor Freq, where a and b are programmable calibration data coeffic...
[ "A: Implementing a hardware-imposed limit on the maximum allowable values of coefficients a and b.", "B: Enforcing access controls to allow only trusted software to modify the calibration coefficients a and b.", "C: Periodically recalibrating the sensor at runtime to ensure that the coefficients a and b remain ...
B
[ "SoftwareSecurity", "SystemSecurity", "Vulnerability" ]
WriteProtection
05659502-7e61-4593-afd5-bbd941052fd6
owasp_mastg
As an iOS developer, you need to embed a WebView into your application that allows for extensive customization, including the ability to disable JavaScript execution for security reasons. Which WebView type would you select for this requirement?
[ "A: UIWebView, because it is a well-established component and supports extensive customization.", "B: WKWebView, as it allows for disabling JavaScript and provides several security advantages over UIWebView.", "C: SFSafariViewController, due to its ease of use and built-in security features like the read-only a...
B
[ "ApplicationSecurity", "WebSecurity" ]
WebView Security
3420c1d9-7791-41ff-9a5e-13c7503f91d2
cs161_textbook
Consider a secure Message Authentication Code (MAC) algorithm in use. An attacker, Eve, is attempting to undermine the integrity of the communication between Alice and Bob. What are the potential outcomes of Eve's actions given the security properties of a secure MAC, and what is she unable to achieve?
[ "A: Eve can observe a valid MAC for a message and use it to generate a valid MAC for a new, unseen message.", "B: Eve can modify a message and the corresponding MAC in such a way that Bob accepts the modified message as authentic.", "C: Eve, by knowing some valid MACs, cannot forge valid MACs for messages she h...
C
[ "WebSecurity" ]
MAC
07df9285-875b-4cbc-b15c-3ca6edd9fa69
owasp_mastg
Consider an Android environment where two applications, App A and App B, are installed. App A has a unique user ID, while App B is designed with a 'sharedUserId' attribute in its AndroidManifest.xml file, set to the same user ID as App C, which is also installed on the device. Assuming all three apps are signed with di...
[ "A: App A and App B can access each other's data directories because they are installed on the same device.", "B: App B and App C can access each other's data directories because they have the same user ID specified in their manifests.", "C: App B cannot access App C's data directory despite having the same use...
C
[ "ApplicationSecurity", "WebSecurity" ]
AndroidManifest.xml
b908bc08-64af-48b8-b596-8236c488193d
attck
A cybersecurity analyst is reviewing system logs to identify potential malicious activity. The analyst notices an unusual modification to a registry key that is known to be targeted by adversaries for persistence. Which of the following system actions would most likely have been logged prior to this discovery, and coul...
[ "A: A process creation event for a script editor with cmd.exe as the parent process.", "B: A registry key creation event for SafeDllSearchMode with a value set to 0.", "C: A process execution event with command-line arguments containing the names of startup folders and registry editing tools.", "D: An event i...
C
[ "SystemSecurity", "PenTest" ]
Windows Registry Key Modification
691d9dcf-28b7-432e-962b-40825317323d
attck
An adversary has obtained stolen credentials and is using a cloud service dashboard to gather information from an operational cloud environment. As a security analyst, you are tasked with suggesting mitigation strategies to limit the adversary's ability to discover sensitive information via the dashboard. Which of the ...
[ "A: Implement role-based access control to restrict dashboard visibility.", "B: Increase the frequency of mandatory password changes for all users.", "C: Deploy an intrusion detection system to monitor all incoming traffic.", "D: Disable all dashboard functionality to prevent access." ]
A
[ "SystemSecurity", "ApplicationSecurity", "PenTest" ]
Least-Privilege
0c9450ec-f3a5-4033-aff4-e140b30dfe72
cwe
Suppose you are architecting a new software system that deals with sensitive financial data. You need to ensure that the system's security design prevents the inheritance of insecure permissions. Which of the following measures should you incorporate into your design to mitigate this risk?
[ "A: Implement a strict permission model where each object defines its own permissions, rather than inheriting them.", "B: Allow all objects to inherit permissions from a global template to maintain consistency across the system.", "C: Designate certain areas of the system as 'safe' zones, where strict trust bou...
AC
[ "ApplicationSecurity", "Vulnerability" ]
InheritedPermissions