click below
click below
Normal Size Small Size show me how
Ethical Hacking FA3
Hacking
| Question | Answer |
|---|---|
| An attacker launches an SQL injection attack on a web application by trying to force the application requesting the back-end database to perform multiple SELECT queries. Which technique exploits the SQL injection vulnerability on the web application? | Union operator |
| Match the elements in the URL ftp://xyz-company.com:2457/support/file;id=65?name=intro&r=true to the description. | xyz-company.com → ✅ host 2457 → ✅ port support/file → ✅ path ftp → ✅ scheme name=intro&r=true → ✅ query-string id=65 → ✅ path-segment-params |
| A web application configures client cookies with the HTTPOnly flag. What is the effect of this flag? | It forces the web browser to have the cookies processed only by the server. |
| Which international organization is dedicated to educating industry professionals, creating tools, and evangelizing best practices for securing web applications and underlying systems? Answer: Open Web Application Security Project (OWASP) | |
| What is the best practice to mitigate the vulnerabilities from a lack of proper error handling in an application? | Use a well-thought-out scheme to provide meaningful error messages to the users but no useful information to an attacker. |
| Which type of SQL query is in the SQL statement select * from users where user = “admin”;? | static query |
| An organization has developed a network security policy stating that newly purchased routers and switches must be configured with advanced security measures before deploying them to the production network. Which threat does this policy mitigate? | Default credential attack |
| According to OWASP, which three statements are rules to prevent XSS attacks? (Choose three.) | ✅ Use HTML escape before inserting untrusted data into HTML element content. ✅ Use attribute escape before inserting untrusted data into HTML common attributes. ✅ Use JavaScript escape before inserting untrusted data into JavaScript data values. |
| Which component in the statement below is most likely user input on a web form? SELECT * FROM group WHERE attack = ‘network’ AND a-type LIKE ‘ping%’; | ping |
| After some reconnaissance efforts, an attacker identified a web server hosted on a Linux system. The attacker then entered the URL shown below, | directory traversal |
| Which cloud technology attack method could generate crafted packets to cause a cloud application to crash? | resource exhaustion attack |
| Which mobile device vulnerability is targeted when a threat actor reverse engineers a mobile app to see how it creates and stores keys in the iOS Keychain? | insecure storage |
| Which term is an essential characteristic of cloud computing as defined in NIST SP 800-145? | resource pooling |
| Which cloud technology attack method could exploit a bug in a software application to gain access to resources that normally would not be accessible to a user? | privilege escalation |
| Which option is a security vulnerability that affects IoT implementations? | plaintext communication and data leakage |
| Which option is a collection of compute interface specifications designed to offer management and monitoring capabilities independently of the CPU, firmware, and operating system of the host? | Intelligent Platform Management Interface (IPMI) |
| Which two IoT systems should never be exposed to the Internet? (Choose two.) | ✅ turbines in a power plant ✅ robots in a factory |
| Which tool is an open-source framework used to test the security of iOS applications? Group of answer choices | Needle |
| Which credential harvesting tool could be used to send a spear phishing email with a link to a malicious site to a target victim? | Social-Engineer Toolkit (SET) |
| Which term describes when a lower-privileged user accesses functions reserved for higher-privileged users? | vertical privilege escalation |
| Which utility can be used to write scripts or applications to automate administrative tasks on remote computers and can also be used by malware to perform different activities in a compromised system? | Empire |
| Which resource is a lightweight and portable tool that allows the creation of bind and reverse shells from a compromised host? | Netcat |
| An attacking system has a listener (port open), and the victim initiates a connection back to the attacking system. What type of vulnerability does this situation describe? | reverse shell |
| After compromising a system during a penetration testing engagement, all penetration work should be cleaned up, including extra files, system changes, and modified logs. The media sanitation methodology should be discussed with the client and the owner | NIST SP 800-88 |
| Which living-off-the-land post-exploitation technique can get directory listings, copy and move files, get a list of running processes, and perform administrative tasks? | PowerShell |
| Which Sysinternals tool is used by penetration testers to modify Windows registry values and connect a compromised system to another system? | PsExec |
| What is the main advantage of Remote Desktop over Sysinternals? | It gives a full, interactive GUI of the remote compromised computer. |
| Which two commands are the same in Meterpreter and Linux or Unix-based systems? (Choose two.) | ✅ cat ✅ pwd |
| Which Meterpreter command is used to execute Meterpreter commands that are listed inside a text file and also to help accelerate the actions taken on the victim system? | resource |
| An attacker opens a port or a listener on the compromised system and waits for a connection. The goal is to connect to the victim from any system, execute commands, and further manipulate the victim. What type of malicious activity is being performed? | bind shell |
| Which two attributes can be set in a web application cookie to indicate it is a persistent cookie? (Choose two.) | |
| Which function is provided by HTTP 2.0 to improve performance over HTTP 1.1? | HTTP 2.0 provides HTTP message multiplexing and requires fewer messages to download web content. |
| An attacker enters the following URL to exploit vulnerabilities in a web application: type of vulnerability did the attacker try to exploit? | remote file inclusion |
| Which cloud technology attack method would require the threat actor to create a malicious application and install it into a SaaS, PaaS, or IaaS environment? | cloud malware injection attack |
| A threat actor has compromised a VM in a cloud environment that shares the same physical hardware as non-compromised VMs. | side-channel attack |
| Which tool is a set of open-source analysis tools that uses the ClamAV antivirus engine to help detect vulnerabilities, Trojans, backdoors, and malware in Docker images and containers? | Dagda |
| What is a common cause of data breaches in attacks against misconfigured cloud assets? | Using insecure permission configurations for cloud object storage services |
| Which cloud technology attack method involves breaching the infrastructure to gather and steal information such as valid usernames, passwords, tokens, and PINs? | credential harvesting |
| Which two resources are C2 utilities? (Choose two.) | Empire Netcat |
| After the exploitation phase, it is necessary to maintain a foothold in a compromised system to perform additional tasks. Which way could maintain persistence? | creating a bind or reverse shell |
| A cybersecurity student is learning about Netcat commands that could be used in a penetration testing engagement. The student wants to use Netcat as a port scanner. What command should be used? | nc -z |
| Which resource is an open-source framework that allows rapid deployment of post-exploitation modules, including keyloggers, bind and reverse shells, and adaptable communication to evade detection? | Empire |
| What task can be accomplished with the steghide tool? | to obfuscate, to evade and to cover the attacker tracks |
| What kind of malicious activity is performed by a lower-privileged user who accesses functions reserved for higher-privileged users? | Vertical privilege escalation |
| An attacker wants to allow further connections to a compromised system and maintain persistent access. The attacker uses the Windows system command Enable-PSRemoting -SkipNetworkProfileCheck – Force. What tool is being enabled using this command? | WinRM |
| What kind of channel is created by a C2 with a system that has been compromised? | covert channel |
| Which three tools are living-off-the-land post-exploitation techniques? (Choose three.) | WinRM PowerSploit WMImplant |
| A user is using an online shopping website to order laptop computers. Which mechanism is used by the shopping site to securely maintain user authentication during shopping? | session ID |
| A threat actor launches an SQL injection attack against a web site by sending multiple specific statements to the web site and reconstructing the key information the threat actor seeks. What type of SQL injection attack is the threat actor using? | blind |
| What is a potentially dangerous web session management practice? | including the session ID in the URL |
| Which two functions are provided by a web proxy device? (Choose two.) | caching of HTTP messages enabling HTTP transfers across a firewall |
| A company has hired a cybersecurity firm to assess web server security posture. To test for cross-site scripting vulnerabilities, the tester will use the string. Where would the tester use the string? | in a user input field in a web form |
| Match the Bluetooth Low Energy (BLEMatch the Bluetooth Low Energy (BLE) phase to the description.) phase to the description. | Phase 1 → ✅ Pairing feature exchange Phase 2 → ✅ Short-term key generation Phase 3 → ✅ Transport-specific key distribution |
| A threat actor uploaded a VM with malicious software to the VMware Marketplace. When an organization deploys the VM, the threat actor can manipulate the systems, applications, and user data. What type of VM vulnerability has been enabled? | VM repository vulnerability |
| What procedure should be deployed to protect the network against lateral movement? | VLANs |
| A cybersecurity student is learning about Netcat commands that could be used in a penetration testing engagement. Which Netcat command is used to connect to a TCP port? | nc -nv |
| Which resource is a Windows utility that combines the old CMD functionality with a new scripting/cmdlet instruction set with built-in system administration functionality? | PowerShell |
| Which C2 utility is a PowerShell-based tool that leverages WMI to create a C2 channel? | WMImplant |
| Which two C2 utilities are Python-based? (Choose two.) | Trevor wsc2 |
| Which statement describes an example of an out-of-band SQL injection attack? | An attacker launches the attack on a web site and forces the web application to send the query results via an email. |
| Why should application developers change the session ID names used by common web application development frameworks? | These session ID names can be used to fingerprint the application framework employed. |
| A company uses the Microsoft Active Directory service to manage the authentication and authorization of employee workstations. The company hires a cybersecurity professional to perform compliance penetration testing. | LDAP injection |
| Which tool could be used to find vulnerabilities that could lead to metadata service attacks? | Nimbostratus |
| Which tool helps software developers and cloud consumers deploy applications in the cloud and use the resources that the cloud provider offers? | Software development kits (SDKs) |
| Which example of administrative controls enables administrators to control what users can do at both broad and granular levels? | RBAC |
| A document entitled “Building an Information Technology Security Awareness and Training Program” succinctly defines why security education and training are so important for users. The document defines ways to improve the security operations | NIST SP 800-50 |
| Which vulnerability catalog creates a list of publicly known vulnerabilities, each assigned an ID number, description, and reference? | CVE |
| Which control category includes information on mandatory vacations and user training in the cybersecurity analyst report? | Operational |
| When creating a cybersecurity analyst report, which control category includes information concerning the access control vestibule? | Physical |
| Match the CVSS metric group with the respective information. | Environmental metric group - includes modified base metrics, confidentiality, integrity, and availability requirements Base metric group - includes exploitability metrics and impact metr Temporal metric group - includes exploit code maturity, |
| A cybersecurity analyst report should contain minimum password requirements and policies and procedures. These are examples that are included in which control category? | Administrative |
| Which kind of event occurs when an intrusion detection device identifies an activity as acceptable behavior and the activity is acceptable? | True negatives |
| Which item is included in the environmental metric group used by CVSS? | Confidentiality requirements |
| A recent pen-test results in a cybersecurity analyst report, including information on process-level remediation, patch management, and secrets management solutions. Which control category is represented by this example? | Technical |
| Which tool organizes query entities within the Entity Palette and calls the search options “transforms”? | Maltego |
| Which two items are programming logic constructs? (Choose two.) | Conditionals and Boolean operators |
| Which programming language element is a code template that includes initial variables and functions for creating an object? | Class |
| What kind of data structure in Python is represented in the example below? cves = [‘CVE-2022-0945’, ‘CVE-2023-1234’, ‘CVE-2022-0987’] | List |
| Which term describes a programming language component such as JavaScript Object Notation (JSON)? | Data structures |
| Which programming language element is a block of code that can be reused multiple times to execute a specific task? | Function |
| What is a command-line tool that allows for interactive or non-interactive command execution? | Bash |
| Which tool is designed to find metadata and hidden information in documents? | FOCA |
| Which Linux distribution comes with more than 1900 security penetration testing tools? | BlackArch Linux |
| Which passive reconnaissance tool can be used to find information about devices and networks on the Internet? | Censys |