








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









Which of the following components of a web server stores critical HTML files related to the web pages of a domain name that can be sent in response to the user requests? Document Root Server Root It is the top-level root directory under the directory tree in which the server's configuration and error, executable, and log files are stored. Web Proxy A proxy server that sits between the web client and the web server to prevent IP blocking and maintain anonymity Document Root Stores critical HTML files related to the web pages of a domain name that will be served in response to the requests Which of the following components of a web server is located between the web client and web server to pass all the requests and is also used to prevent IP blocking and maintain anonymity? Web proxy Which of the following components in a web server uses a technique where multiple domains can be placed on the same server and allows sharing of resources among various servers? Virtual Hosting Virtual Document Tree This provides storage on a different machine or a disk after the original disk is filled-up. It is case sensitive and can be used to provide object-level security. Edward, a professional hacker, targeted an organization's official web page to damage the company's reputation. He employed the SQL injection technique to access the targeted web page, applied unauthorized modifications to change its visual appearance, and displayed another page containing its own messages. Identify the attack technique utilized by Edward in the above scenario.
A. DNS server hijacking B. web server misconfiguration C. website defacement D. directory traversal attack C. website defacement Identity the web-based attack in which the attacker makes unauthorized changes to a website's content that results in changes to the visual appearance of the web page or website. Website Defacement Don, a professional hacker, targeted John's official email account and wanted to access confidential data saved in his account. Don initiated the process by entering the username and then used a predefined file with an automated password cracking program. Eventually, Don succeeded in cracking John's email account password. Which of the following techniques has Don employed in the above scenario? A. brute-force attack B. dictionary attack C. keylogger attack D. SQL injection B. dictionary attack Bob, a professional hacker, targeted administrator Alice's credentials to log into a remote server. Bob employed both dictionary attacks and brute-force attacks to crack the password. Using this method, Bob easily obtained Alice's password and accessed the remote server. Identify the technique employed by Bob in the above scenario. A. hybrid attack B. SQL injection C. website defacement D. guessing Hybrid Attack Identify the attack that is likely to be performed by the attacker if the web server and application have HTTP response-splitting flaws. Web Cache Poisoning Attack Web Server Misconfiguration refers to configuration weaknesses in web infrastructure that can be exploited to launch various attacks on web servers such as directory traversal, server intrusion, and data theft
D. screen and filter incoming traffic requests Which of the following practices can help security teams protect the webserver from cyberattacks? Limit the server functionality to support only the web technologies to be used. Measures to defend against web server attacks Relocate sites and virtual directories to non-system partitions and use IIS web permissions to restrict access. Remove all unnecessary IIS script mappings for optional file extensions to avoid exploitation of any bugs in the ISAPI extensions that handle these types of files. Enable a minimum level of auditing on the web server and use NTFS permissions to protect log files. If a database server, such as Microsoft SQL Server, is to be used as a backend database, install it on a separate server. Use security tools provided with web server software and scanners that automate and simplify the process of securing a web server. Configure a separate anonymous user account for each application, if multiple web applications are hosted. Limit the server functionality to support only the web technologies to be used. Which of the following practices makes web serves vulnerable to various online attacks? Apply unrestricted ACLs and allow remote registry administration. Which of the following layers of the web application architecture includes all physical devices on the client side, such as laptops, smartphones, and computers? Presentation Layer Database Layer Consists of cloud services, a B2B layer that holds all the commercial transactions, and a database server that supplies an organization's production data in a structured form (MS SQL Server, MySQL server) business logic layer Consists of two layers: Web-Server logic layer and the business logic layer. The web-server logic layer contains various components such as a firewall, an HTTP request parser, a proxy caching server, an authentication and login handler, resource handler, and a hardware component (server).
The following are the steps involved in the web application mechanism to fetch user requested data from a database.
D. layer 5 D. layer 5 Henry, a professional hacker, targeted an organization's database server to steal user IDs, passwords, phone numbers, and other particulars. He exploited a few underlying vulnerabilities using tools such as sqlmap and gained control over the target database server. In which of the following layers of the vulnerability stack has Henry performed the above attack? A. layer 4 B. layer 7 C. layer 5 D. layer 1 Layer 4 In which of the following layers of vulnerability stack do security professionals configure solutions such as IDS and IPS to raise alarms if any malicious traffic enters a target server? Layer 1 In which of the following layers of the vulnerability stack do attackers scan an operating system to find open ports and vulnerabilities and then develop appropriate malware to exploit them and gain control over the system? Layer 3 Which of the following layers of web application includes the functional programming of the web application that can be implemented using technologies such as .NET, Java, and Python? Business Logic Layer Identify the layer of the vulnerability stack in which attackers exploit flaws in the business logic by performing input validation attacks such as XSS. Layer 7 Which of the following application security risks occur when untrusted data is sent to an interpreter as part of a command or query, according to the OWASP? A-1 Injection Identify the application security threat that occurs whenever an application includes untrusted data in a new web page without proper validation or escaping or whenever it updates an existing web page with user-supplied data. A7 - cross-site scripting (XSS)
A2 - Broken Authentication Application functions related to authentication and session management are often implemented incorrectly, thereby allowing attackers to compromise passwords, keys, or session tokens or to exploit other implementation flaws to assume identities of other users (temporarily or permanently) A8 - Insecure Deserialization Flaws occur when an application receives hostile serialized objects. Leads to remote code execution. Serialized objects can be replayed, tampered with, or deleted to spoof users, conduct injection attacks, and elevated privileges. A10 - Insufficient Logging and Monitoring coupled with missing or ineffective integration with incident response, allows attackers to further attack systems, maintain persistence, pivot to more systems, and tamper, extract, or destroy data. Most breach studies show time to detect a breach is over 200 days, typically detected by external parties rather than internal processes or monitoring. Bob, a user, has been accessing "certified hacker.com" using his registered account. Don, an attacker, on the other hand, targeted Bob's system browser, used a sniffer to sniff the cookie that contains Bob's current session ID. Using the session ID, Don impersonated Bob and accessed Bob's already logged in page. A2 - Broken Authentication Nicholas, a software developer, develops an application. Before launching it, he asks Anna, a pen tester, to review it and find out whether there were any security loopholes in the application. Anna performed penetration testing and found out that the application included untrusted data on the web page. There was no proper validation or escaping, and it was susceptible to several attacks if not patched. Which of the following application security risks was identified by Anna in the above scenar Cross-site scripting (XSS) XML External Entities (XXE) Many older or poorly configured XML processors evaluate external entity references within XML documents. External entities can be used to disclose internal files using the file URI handler, internal file shares, internal port scanning, remote code execution, and denial of service attacks. Sensitive Data Exposure Many web applications and APIs do not properly protect sensitive data, such as financial, healthcare, and PII. Attackers may steal or modify such weakly protected data to conduct credit card fraud, identity theft, or other crimes. Sensitive data may be compromised without extra protection, such as encryption at rest or in transit, and requires special precautions when exchanged with the browser.
Which of the following countermeasures helps security teams prevent sensitive data from being exposed? Use AES encryption for stored data and use TLS with HSTS for incoming traffic. Which of the countermeasures helps a security specialist defend the application against LDAP injection attacks? Make the LDAP filter as specific as possible. Which of the following countermeasures helps a security specialist defend the application against command injection attacks? Avoid executing commands such as exec. Command Injection Attack Countermeasures
Which of the following countermeasures helps security specialist defend the application against SQL injection attacks? Run a database service account with minimal rights SQL Injection Countermeasures
1001 AND EMP.ENAME = 'Bob'; DROP TABLE DEPT;". On execution of the injected malicious query in place of the original one, the DBMS dropped the table DEPT from the target database. Which of the following types of SQL injection attack has Don performed in the above scenario? A. tautology B. piggybacked query C. logical incorrect query D. illegal incorrect query B. Piggybacked query Which of the following countermeasures helps administrators defend against webserver attacks? Screen and filter incoming traffic requests. Which of the following practices is NOT a countermeasure to defend against web server attacks? Install IIS server on a domain controller Joseph, an administrator in an organization, has installed server software on a machine. Soon after installing the software, he updated the server machine with all the necessary solutions to secure the server and the network. Which of the following security practice does Joseph need to follow to secure the web server? A. use the same user account for each application if multiple web applications are hosted B. store website files and scripts on the same drive C. allow remote registry administration D. screen and filter incoming traffic requests D. screen and filter incoming traffic requests Which of the following practices can help security teams protect the webserver from cyberattacks? Limit the server functionality to support only the web technologies to be used Some other measures to defend against web server attacks Relocate sites and virtual directories to non-system partitions and use IIS web permissions to restrict access. Remove all unnecessary IIS script mappings for optional file extensions to avoid exploitation of any bugs in the ISAP extensions that handle these types of files. Enable minimum level of auditing on the web server and use NTFS permissions to protect log files. If a database server, such as Microsoft SQL Server, is to be used as a backend database, install it on a separate server.
Use security tools provided with web server software and scanners that automate and simplify the process of securing a web server. Configure a separate anonymous user account for each application, if multiple web applications are hosted. Limit the server functionality to support only the web technologies to be used. Which of the following practices makes web servers vulnerable to various online attacks? Apply unrestricted ACLs and allow remote registry administration***(recheck) Which of the following countermeasures help developers prevent applications from becoming vulnerable to SQL injection attacks? Design the code such that it traps and handles exceptions appropriately Which of the following practices helps develops defend against SQL injection attacks? Test the content of string variables and accept only expected values Which of the following countermeasures helps developers or testing teams secure the database against SQL injection attacks? Avoid constructing dynamic SQL with concatenation input values Which of the following practices can make an application or database server vulnerable to SQL injection attacks? Allow entries that contain binary data, escape sequences, and comment characters Steve, the head of the software development team, escalated a product to Jack's testing team for validation. As part of testing, Jack employed an SQL injection detection tool to determine if the application is immune to SQL injection attacks. Identify the tool Jack employed in the above scenario to detect SQL injection attacks. A. Foremost B. Burp Suite C. WinHex D. Autopsy B. Burp Suite