Module 1 โ€“ Introduction to Ethical Hacking

Sample Questions & Detailed Explanations

๐Ÿ“˜ 5 Sample Questions

โ† Back to Marketplace ยท ISCSECURITY

Question 1
A global financial institution has detected a sophisticated attack campaign targeting their executive leadership. Initial investigation reveals attackers created convincing replicas of the company's internal web applications. The security team discovered these fake sites contain exploit code designed to run when executives enter their credentials, which then installs a remote access trojan (RAT). Several executives have already visited these sites, and their systems are showing signs of anomalous network connections to unfamiliar domains where cached authentication tokens appear to be transmitted. According to the Cyber Kill Chain model, what is the MOST strategic immediate response action the security team should take?
Answer
Block command and control communications from infected systems while isolating compromised devices
Explanation
According to the Cyber Kill Chain model, the most strategic immediate response action is to block command and control communications from infected systems while isolating compromised devices.

The scenario describes an active compromise where the RAT (Remote Access Trojan) has already been installed on executive systems and is actively communicating with command and control servers (evidenced by the 'anomalous network connections' and transmission of 'cached authentication tokens'). In the Cyber Kill Chain, this represents the 'Command and Control' stage where the attacker is maintaining communication with the compromised systems.

The most urgent priority is to break this active communication channel to prevent further damage, data exfiltration, and lateral movement. By blocking C2 communications and isolating infected systems, the security team can effectively contain the breach and prevent further compromise while they prepare for remediation.

Deploying additional email filtering addresses future prevention but doesn't help with the current active compromise. Conducting forensic analysis is important but not the most strategic immediate response when active exfiltration is occurring. Resetting credentials and implementing MFA is an important step but won't stop the already-installed RAT from continuing to operate and exfiltrate data through the established communication channels.
Question 2
During a security engagement, a hacker discovers a website that stores sensitive user data. The hacker crafts a special URL and sends it to a logged-in administrator via email. When the administrator clicks the link, it executes a script that sends the administrator's session cookie to the hacker. The hacker then uses this cookie to access the admin panel. What type of attack is this primarily classified as?
Answer
Cross-Site Scripting (XSS)
Explanation
The scenario describes a classic Cross-Site Scripting (XSS) attack. The key elements are:

1. The hacker crafted a special URL containing malicious script code
2. When the administrator clicked the link, the script executed in the administrator's browser
3. The script stole the administrator's session cookie and sent it to the attacker

This is precisely how XSS works - it involves injecting malicious scripts that execute in a victim's browser context.

The other options are incorrect because:

SQL Injection involves exploiting database query vulnerabilities by injecting SQL commands, which isn't happening here.

Cross-Site Request Forgery (CSRF) involves tricking users into performing unwanted actions on sites they're authenticated to, but typically doesn't involve stealing cookies or session information.

Session Hijacking is actually what occurred after the XSS attack succeeded - it was the result of the XSS attack, not the primary attack method itself. The attacker used XSS to perform the session hijacking.
Question 3
You are an ethical hacker hired to evaluate a company's security awareness. The CEO approves a social engineering test to determine how easily employees might reveal sensitive information. You decide to conduct a phone-based pretexting attack where you pose as IT support. What key ethical consideration must guide this type of test?
Answer
Carefully document all actions and stop if employees show distress or offer highly sensitive data
Explanation
As a certified ethical hacker conducting a social engineering test, the key ethical consideration must be to carefully document all actions and stop if employees show distress or offer highly sensitive data. This approach balances the need to test security while maintaining ethical boundaries and respecting employees.

This is the correct answer because ethical hacking requires proper documentation for transparency and accountability, and it's essential to establish clear boundaries to prevent causing undue stress or accidentally collecting truly sensitive information that wasn't meant to be part of the test scope.

The other options are incorrect because:

Creating maximum pressure on employees to reveal credentials crosses ethical boundaries and could create a hostile work environment. Ethical testing should evaluate security awareness in a respectful manner, not through manipulation or coercion.

Proceeding with the most realistic scenario possible simply because the CEO approved it fails to recognize that ethical hackers must maintain their own ethical standards regardless of approval. The tester remains responsible for ensuring the test stays within appropriate boundaries.

Recording phone calls regardless of local consent laws is potentially illegal and unethical. Ethical hackers must comply with all relevant laws, including those requiring consent for recording conversations, and must prioritize legal compliance over evidence gathering.
Question 4
You are a security analyst investigating a major breach at a financial institution. Digital forensics reveals the attackers initially conducted thorough LinkedIn reconnaissance of IT staff, followed by targeted spear-phishing emails containing macro-enabled documents. These documents, when opened, established command and control communications with servers in a foreign country. The attackers then performed privilege escalation, moved laterally through the network, and finally exfiltrated customer financial data. According to the Cyber Kill Chain model, which phase did the attackers exploit when they initially gained entry into the network?
Answer
Exploitation
Explanation
According to the Cyber Kill Chain model developed by Lockheed Martin, the seven phases of an attack are: Reconnaissance, Weaponization, Delivery, Exploitation, Installation, Command & Control, and Actions on Objectives.

In this scenario, the attackers initially gained entry into the network through spear-phishing emails containing macro-enabled documents. When these documents were opened, they established command and control communications. This describes the Exploitation phase, where attackers exploit a vulnerability to execute code on the victim's system.

Reconnaissance occurred earlier when the attackers conducted LinkedIn research on IT staff. This was gathering information about targets, not gaining entry.

Weaponization happened when the attackers created the macro-enabled documents by coupling the exploit with a payload, but this occurs before entry is gained.

Installation occurs after exploitation and involves installing malware or backdoors to maintain persistence. In this case, installation would have happened after the initial entry was gained through the exploitation of the macro-enabled documents.
Question 5
Which of the following is considered a primary method for establishing a robust security baseline in an organization?
Answer
Implementing a formal security policy framework
Explanation
When establishing a robust security baseline in an organization, implementing a formal security policy framework is considered the primary method. This provides the foundation upon which all other security measures are built.

A formal security policy framework establishes the organization's security governance structure, defines roles and responsibilities, outlines acceptable use policies, and creates the procedures for implementing security controls across the organization. It's the starting point that guides all other security initiatives.

Conducting regular penetration testing is important but is a testing methodology rather than a baseline establishment technique. It helps validate security controls but doesn't establish them.

Deploying advanced encryption technologies is a specific technical control rather than a comprehensive approach to establishing a security baseline. While encryption is important, it addresses only one aspect of security.

Security awareness programs are crucial components of a security program, but they come after the establishment of policies and procedures. They help ensure compliance with the established baseline rather than creating it.