SecurityNovember 4, 202623 min read

Top Ethical Hacker Interview Questions & Answers (2026)

17 questions Penetration Tester interviewers actually ask, with the strong answer, the weak one, and the follow-up that comes next.

  • Pen TesterRole
  • $84K-$195KTypical US pay
  • 3-4 roundsInterview loop
  • HR filterCert in hiring
  • UsuallyHands-on test
Ethical Hacker interview questions and answers - interviewer and candidate speech bubbles

Penetration testers work for security consultancies, internal offensive security teams, managed security providers, banks, healthcare systems and government contractors. Junior roles often sit inside a consultancy delivering assessments for clients, so interviews test methodology, legal boundaries and report writing as much as technical depth. Expect a technical deep-dive, a practical lab or take-home, and questions about how you would explain a finding to a client's executives.

CEH v13 is widely used as an HR and contract filter, and EC-Council states it is approved under the US DoD 8140 framework, which matters for government work. Hiring managers know the knowledge exam is multiple choice, so they probe hands-on practice, lab work and reporting, and above all your judgment: staying in scope, protecting sensitive data and communicating risk clearly.

What the Penetration Tester interview loop looks like

Most Penetration Tester / Ethical Hacker hiring runs 4 rounds. Each one is testing something different, so prepare for each separately.

1
Recruiter screenRecruiter or HR · 20-30 minCertifications, clearance eligibility, travel, reporting experience and hands-on lab or CTF backgroundTip: Name the assessment types you've done or practised, such as web, network or cloud, and offer a sample report or writeup.
2
Technical interviewSenior pen tester or team lead · 60 minMethodology, networking and web fundamentals, how attacks work conceptually and how they're defendedTip: Explain the why behind each weakness and its fix. 'I don't know, but here's how I'd find out' is an acceptable answer.
3
Practical exerciseTechnical team · 2-6 hoursAssessment of an intentionally vulnerable lab target within a written scope, then a findings write-upTip: Stay strictly in scope, keep notes as you go, and spend real time on the report; it is often weighted heavily.
4
Client and ethics roundPractice manager or director · 30-45 minRules of engagement, handling sensitive data, and explaining risk to non-technical clientsTip: Show you would stop and call the client when something unexpected happens. Judgment counts more than cleverness here.

The 17 questions, with answers

Each card shows the question as it is usually asked, what the interviewer is really checking, a strong answer, the weak answer they hear most often, and the follow-up that comes next. Say the strong answers in your own words — a memorised script sounds memorised.

  • Basic · 4
  • Core · 5
  • Advanced · 3
  • Scenario · 3
  • Behavioural · 2
Basic · 4Warm-up questions. Fluff these and the rest of the interview is uphill.
Q01BasicIntro to Ethical Hacking - Laws and ethics
Interviewer

What separates an ethical hacker from a criminal doing the same thing?

What they are testing: Understanding of authorization, scope and legal boundaries

Strong answer

Written authorization, defined scope and intent. Before I touch anything, I need a signed agreement from someone with authority over the systems, covering what's in scope, the testing window, permitted techniques and who to call if something goes wrong. Without that, the same activity can be a crime under computer misuse laws such as the US Computer Fraud and Abuse Act. Intent matters too: I'm there so the client can fix weaknesses, so I minimize impact, protect any data I see and report only to the client. Third-party assets, like a cloud provider or a hosted SaaS platform, may need their own permission or a check of their testing policy.

Weak answerEthical hackers have good intentions. Intent without written authorization and scope is still unauthorized access, and panels reject this answer fast.
Next they will askWho at a client can actually authorize a test, and how would you verify that?
Q02BasicEthical hacking phases and methodology
Interviewer

Walk me through the phases of a penetration test from start to finish.

What they are testing: A structured methodology rather than tool-hopping

Strong answer

It starts before any testing, with pre-engagement: scope, rules of engagement, objectives, timing and emergency contacts. Then reconnaissance to understand the target's footprint, and scanning and enumeration to identify live systems, services and versions. Vulnerability analysis maps those to likely weaknesses, and exploitation, within agreed limits, confirms whether they're real and what impact they could have. Post-exploitation, if permitted, shows how far an attacker could get, such as reaching sensitive data, without causing damage. Then cleanup of anything I created, and reporting with risk-rated findings and remediation. NIST SP 800-115 and PTES describe this flow, and clients value seeing it followed consistently.

Weak answerI run a scanner and then try exploits. Skipping scoping and reporting tells the panel you'd be a liability on a client engagement.
Next they will askWhich phase do junior testers rush most often, and what goes wrong as a result?
Q03BasicVulnerability Analysis
Interviewer

What's the difference between a vulnerability assessment, a penetration test and a red team exercise?

What they are testing: Clarity on purpose, depth and what the client actually needs

Strong answer

A vulnerability assessment aims for breadth: find and prioritize as many known weaknesses as possible, mostly through automated scanning with analyst validation, without exploiting them. A penetration test aims for depth: it confirms whether weaknesses can actually be exploited, chains them, and shows real business impact within agreed limits. A red team exercise goes further, testing detection and response against a defined objective, often without most staff knowing. Which one a client needs depends on maturity. A company that has never patched consistently gets more value from a vulnerability assessment and a remediation program first, and a pen test later.

Weak answerThey're all the same, or a pen test is just a scanner with more plugins. Clients pay for the difference, so you need to explain it.
Next they will askA client with no patch management program asks for a red team. What would you advise?
Q04BasicIntro to Ethical Hacking - Security basics
Interviewer

What is the CIA triad, and how would you use it to describe the impact of a finding?

What they are testing: Translating a technical issue into security and business impact

Strong answer

Confidentiality, integrity and availability. Confidentiality keeps data from people who shouldn't see it, integrity ensures data and systems can't be altered without authorization, and availability ensures they work when needed. In a report I use it to make impact concrete. An access control flaw that lets one customer view another's invoices is a confidentiality issue with regulatory consequences. A flaw that lets someone change prices in a shopping cart is an integrity issue with direct financial loss. A weakness that lets anyone crash a service is availability. Saying which property is affected, and for whom, helps the client prioritize.

Weak answerJust naming the three words. The panel wants to see you use them to explain business impact inside a finding.
Next they will askHow would you rate a finding that affects integrity but can only be reached by internal admin users?
Core · 5The day-to-day knowledge the job runs on. Most of the score comes from here.
Q05CoreSQL Injection / Web Application Hacking
Interviewer

Explain SQL injection conceptually. How would you tell a developer to fix it, and how would defenders spot attempts?

What they are testing: Root cause and remediation understanding, not payload knowledge

Strong answer

SQL injection happens when an application builds a database query by mixing user input in as code rather than data, so the input can change the query's logic. Impact ranges from reading other users' data to modifying records, depending on the database account's permissions. The real fix is parameterized queries or prepared statements everywhere, so input is always treated as data, plus least-privilege database accounts to limit damage. Input validation and a web application firewall are useful extra layers, not the fix. For detection, application and database logs showing query errors or odd patterns, plus WAF alerts, help, and code review and static analysis in the pipeline catch it before release.

Weak answerSanitize input by blocking quote characters. Blocklists are bypassable and miss the root cause; parameterized queries are what panels expect.
Next they will askThe developer says they use an ORM, so they're safe. Is that true?
Q06CoreHacking Web Applications
Interviewer

How do you approach testing a web application? Which categories of issues do you cover?

What they are testing: Methodical coverage aligned to OWASP guidance, not random poking

Strong answer

I start by understanding the app as a user: its functions, roles, data and trust boundaries, and I map every input and endpoint, including APIs. I use the OWASP Web Security Testing Guide as a checklist and the OWASP Top 10 as a sanity check. Key areas are authentication and session management, access control, especially whether one user can reach another's data or admin functions, injection, input handling and output encoding for cross-site scripting, business logic flaws, security misconfiguration and vulnerable components. Access control and logic issues need manual testing because scanners miss them. For every finding I record evidence and a fix developers can act on.

Weak answerI run an automated scanner and report what it finds. Scanners miss access control and business logic flaws, which are often the most serious.
Next they will askGive me an example of a business logic flaw no scanner would find.
Q07CoreSystem Hacking
Interviewer

What is privilege escalation, and which controls make it harder in a Windows domain?

What they are testing: Conceptual understanding paired with concrete defensive controls

Strong answer

Privilege escalation is moving from limited access to higher rights, either vertically, from a standard user to an administrator, or horizontally, into another account with different access. In Windows domains it usually comes from misconfiguration rather than exotic flaws: users with local admin rights, the same local administrator password on many machines, credentials left in scripts, unpatched systems or over-permissioned service accounts. Defences include least privilege, removing standing admin rights, unique local admin passwords managed by Microsoft LAPS, tiered administration so domain admin credentials never touch workstations, prompt patching, and alerting on privileged group changes and unusual logons. In the report I focus on which control was missing.

Weak answerListing tool names. It shows you've followed tutorials, not that you understand why escalation worked or how the client stops it.
Next they will askHow would a defender detect that someone just added themselves to a privileged group?
Q08CoreVulnerability Analysis - Risk rating
Interviewer

How do you rate and prioritize findings in a report?

What they are testing: Risk-based scoring that includes business context

Strong answer

I use a standard such as CVSS, now at version 4.0, so ratings are consistent and defensible, but I don't stop at the base score. I adjust for context: how exposed the asset is, what data it holds, whether the weakness is being exploited in the wild, and what compensating controls exist. A medium-scored flaw on an internet-facing payment system can matter more than a high on an isolated lab server. I also look at chains, where several moderate issues together form a critical path to sensitive data. Each finding gets a clear severity rationale, evidence, impact in business terms and a practical, prioritized fix.

Weak answerI copy the scanner's severity. It ignores context, and clients stop trusting you when a 'critical' turns out to be unreachable.
Next they will askA client disputes your critical rating. How do you handle that conversation?
Q09CoreSocial Engineering
Interviewer

What is social engineering, and how would you scope a phishing assessment responsibly?

What they are testing: Ethics and careful scoping when the target is people

Strong answer

Social engineering manipulates people rather than systems, through phishing, phone pretexting or physical tailgating, exploiting trust, urgency or authority. For a phishing assessment I'd agree in writing which staff are in scope, which pretexts are off limits, such as fake layoffs, bonuses or health scares that cause real distress, what data we collect and how it's protected, and who on the client side knows about the test. The goal is measuring organizational resilience and reporting rates, not shaming individuals, so results are aggregated. Recommendations focus on controls like email filtering, MFA, an easy report button and training, plus recognizing staff who reported the test.

Weak answerAny pretext is fair because real attackers don't hold back. It ignores harm to staff, legal limits and the client's trust in you.
Next they will askAn employee who clicked asks you whether they'll be disciplined. What do you say?
Advanced · 3Depth checks. They separate the cert holder from the practitioner.
Q10AdvancedCloud Computing
Interviewer

How does testing a cloud environment differ from testing an on-premises network?

What they are testing: Shared responsibility, provider rules and identity-centred risk

Strong answer

First, permission works differently. The client authorizes testing of their own resources, but the provider's policy applies too, and AWS, Azure and Google Cloud each publish theirs; testing the provider's own infrastructure or other tenants, and denial-of-service testing, are generally off limits. Second, the attack surface is mostly identity and configuration rather than open ports. I focus on overly permissive roles and policies, exposed storage, public management interfaces, secrets in code or metadata, and weak logging. Under shared responsibility I test what the customer controls. Recommendations use cloud-native controls: least-privilege IAM, guardrail policies, configuration scanning, and central logging so misuse of credentials is detectable.

Weak answerIt's just servers on someone else's network, so test it the same way. That misses identity risk and can breach the provider's terms.
Next they will askYou find long-lived access keys in a client's public code repository. What do you do immediately?
Q11AdvancedRules of engagement / Incident handling
Interviewer

During a test, you find signs that the client is already compromised by someone else. What do you do?

What they are testing: Judgment and pre-agreed escalation rather than heroics

Strong answer

I stop the related testing and escalate immediately through the emergency contact in the rules of engagement, because this is now an incident, not a finding. I don't investigate further on my own, interact with the attacker's tools or try to clean anything up, since that can destroy evidence or alert the attacker. I record exactly what I saw, when and how I came across it, with my own actions timestamped so they can be separated from the attacker's. The client's incident response team or provider takes the lead, and whether testing resumes is their call. Good rules of engagement cover this in advance, so I check for it before starting.

Weak answerI'd keep testing and put it in the final report. A live breach can't wait weeks, and the client could suffer real harm in the meantime.
Next they will askWhat else would make you stop a test immediately, even if nothing malicious was found?
Q12AdvancedEvading IDS, Firewalls and Honeypots
Interviewer

How do you think about evading IDS and EDR as a tester, and what do you give defenders afterwards?

What they are testing: A purple-team mindset: testing detection in order to improve it

Strong answer

Evasion testing answers a defensive question: would the client notice a real attacker? Conceptually, attackers try to blend in by using legitimate admin tools, encrypted channels, slow and quiet activity, or techniques the tooling doesn't watch. When an engagement includes detection testing, I agree with the client which behaviours to emulate, usually mapped to MITRE ATT&CK so results are comparable over time. The deliverable that matters is a detection map: what was blocked, what alerted, what was logged but unnoticed, and what left no trace. Then I recommend detection tuning, extra telemetry where there were gaps, and behaviour-based rules rather than signatures alone, ideally validated together in a purple-team session.

Weak answerBragging that you can bypass any EDR. Panels hire testers who improve the client's defences, not ones who treat detection as a scoreboard.
Next they will askWhat telemetry would you prioritize for a client with almost no logging today?
Scenario · 3Something is broken or ambiguous. They want your reasoning out loud, in order.
Q13ScenarioScoping and rules of engagement
Interviewer

Mid-test, you realize the range you've been scanning includes a system that isn't in scope. What do you do?

What they are testing: Integrity and scope discipline under pressure

Strong answer

I stop all activity against that system immediately and check my notes to confirm exactly what I did to it and when. Then I tell the client contact promptly and honestly, even if nothing bad happened, because they may see it in their logs and because the system might belong to a third party, such as a hosting provider, which has legal implications. I record it in the engagement log and the report. Going forward, I'd verify the scope list against ownership records before starting, for example confirming address ranges with the client in writing. Hiding it is never an option; trust is what a pen tester actually sells.

Weak answerIt's probably fine, so leave it out of the report. Concealment is the fastest way to end a consulting career and can create legal exposure.
Next they will askThe client replies, 'Since you found it, go ahead and test it.' Is that enough?
Q14ScenarioReporting and risk communication
Interviewer

You have 15 minutes with a client's executive team. How do you present a critical finding?

What they are testing: Risk communication to non-technical leaders

Strong answer

I lead with the business story, not the technique: for example, we found a path where anyone on the internet could reach customer payment records without logging in. Then likelihood in plain terms, meaning how hard it would be for a real attacker, and impact: data exposure, regulatory reporting obligations and customer trust. I give one or two clear recommendations with owners and rough effort, separating what can be done this week from this quarter. I avoid jargon and scare tactics, acknowledge what they're doing well, and offer the technical detail to their team separately. Executives should leave knowing what to fund and what to decide.

Weak answerWalking executives through technical evidence and CVE numbers. They lose the thread, and the fix doesn't get funded.
Next they will askThe CEO asks, 'So are we secure now?' How do you answer?
Q15ScenarioReporting / Vulnerability Analysis
Interviewer

The client's developers say your finding is a false positive and refuse to fix it. What do you do?

What they are testing: Evidence, humility and collaboration with the client

Strong answer

First I re-check it myself, because I might be wrong. If I'm confident, I walk them through the evidence on a call rather than by email: what I observed, what it shows and the conditions needed for it to matter. Often the disagreement is really about impact or exploitability in their environment, and they may know of a compensating control I didn't see. If so, I adjust the rating and document why. If it's still valid, I make the fix easy by pointing to the exact code or configuration and a recommended approach. If they still decline, it becomes the risk owner's decision to formally accept, in writing.

Weak answerInsisting you're right and escalating to their boss straight away. It damages the relationship, and the next test gets less cooperation.
Next they will askWho should formally accept a risk the client decides not to fix?
Behavioural · 2How you work with people. Templates below - fill them with your own story.
Q16BehaviouralSoft skills
Interviewer

Tell me about a time you found something serious and had to report it under time pressure or uncertainty.

What they are testing: Judgment, discretion and communication when the stakes are high

Strong answer (template)

This is a template for your own story; a lab, CTF or work example can fit. Situation: the environment and what you found, described without sensitive details. Task: why it was urgent or uncertain, for example exposed personal data discovered mid-engagement. Action: how you verified it quickly without causing harm, who you contacted and how, what you recorded, and how you balanced speed with accuracy. Result: what the client or team did, how fast it was fixed, and any feedback you got. Close with what you learned, such as confirming emergency contacts at kickoff. Interviewers listen for judgment and discretion, not drama.

Weak answerA story that reveals client details or brags about the access you got. It signals you can't be trusted with confidential information.
Next they will askHow do you protect sensitive data you come across during a test?
Q17BehaviouralSoft skills
Interviewer

Tell me about a time you had to learn a new technology quickly for an assessment.

What they are testing: Learning speed and honesty about the limits of your knowledge

Strong answer (template)

This is a template to fill with your own example. Situation: the technology you didn't know, such as a cloud platform, an industrial protocol or a new API framework, and the deadline you faced. Task: what you needed to assess and to what standard. Action: how you learned, for example vendor documentation, building a small lab, asking a colleague, and how you checked your understanding before touching the client's environment. Be honest about limits you flagged to the client. Result: what you delivered and how the findings landed. Close with how you keep learning now, such as a home lab, writeups or practice platforms.

Weak answerClaiming you already know everything. Security changes constantly, and panels hire people who learn fast and admit gaps.
Next they will askWhat are you learning right now, and why that?

Get the theory airtight before the interview

Interviewers build follow-ups on the fundamentals. The CEH app has exam-style CEH questions with an explanation for every option, so the basics stay automatic when the questions get harder.

App StoreGoogle PlayFree CEH practice test

The practical task

Expect some version of this. Companies vary the details, not the shape.

PRACTICAL TASKAssess a lab web application in scope and write the reportTake-home lab, 4-6 h

You receive access to an intentionally vulnerable web application in an isolated lab, a scope document listing the in-scope host and excluded functions, and written rules of engagement. Assess the application within scope and submit a short report: an executive summary, risk-rated findings with evidence and remediation, and a note on your methodology. The report is graded as heavily as the findings.

  1. Read the scope and rules of engagement first, and flag anything excluded or unclear before you begin.
  2. Map the application: roles, functions, inputs and APIs, and plan coverage against the OWASP testing guide.
  3. Confirm each issue with minimal, non-destructive evidence, recording timestamps and steps in your notes.
  4. Rate findings with CVSS plus context, and explain the business impact of each in plain language.
  5. Write remediation developers can act on, covering root-cause fixes and detection or logging improvements.
  6. Open with a one-page executive summary a non-technical manager could act on.

Hire vs no-hire:Hires stay in scope, prove impact without damage and write a clear, prioritized report. No-hires paste scanner output, touch excluded functions, or report issues they can't explain or fix.

Questions to ask them

"Do you have any questions for us?" is still being scored. Four that land well for a Penetration Tester role:

What does a typical engagement look like here, and how much time is set aside for reporting?Shows you value reporting and reveals whether testers are rushed through engagements.
How do you handle scope changes or unexpected findings during a test?Signals scope discipline and tells you how mature their engagement management is.
How do your testers share results with defenders, for example in purple-team sessions?Shows a defensive mindset and tells you whether your work improves security or just fills reports.
What training, lab time or certification support do junior testers get?Shows commitment to growth, and the answer tells you how much you'll learn in your first year.

Mistakes that sink candidates

MistakeTalking about hacking things without ever mentioning authorizationInsteadMention scope and written permission naturally whenever you describe testing, including home lab and CTF work.
MistakeDescribing tools instead of conceptsInsteadExplain why a weakness exists, how it's detected and how it's fixed. Tools change; understanding transfers.
MistakeTreating the report as an afterthoughtInsteadBring a sample report from a lab or CTF and talk through how you rate and explain findings.
MistakeMentioning access to systems you weren't authorized to testInsteadNever describe unauthorized activity, even as a joke. It ends the interview and can raise legal questions.
MistakeNo defensive recommendations in technical answersInsteadPair every attack you discuss with how defenders prevent and detect it. That is what clients pay for.

What the CEH v13 does and does not prove

What the CEH v13 gets you

CEH is one of the most recognized names on HR checklists for security roles and appears in many government and defense contracting postings, since EC-Council states it is approved under the US DoD 8140 framework. It can get a resume past filters for junior penetration testing, security analyst and SOC roles, and the optional six-hour practical exam, which together with the knowledge exam earns CEH Master, adds hands-on credibility.

What it does not prove

The knowledge exam is multiple choice, so hiring managers treat CEH as proof of breadth, not of hands-on skill. Interviews test what it can't: working methodically in a real or lab environment, staying in scope, explaining root causes, and writing a report a client can act on. Many teams also look for hands-on evidence such as lab writeups, practical certifications or CTF results.

Pay:The range is Indeed's reported US penetration tester base salary (job postings over 36 months, updated October 2026). BLS reports a May 2025 median of $129,180 for information security analysts, the closest occupation it tracks. Clearance, consulting versus in-house work, specialty and location move pay most.

Still sitting the CEH?

Pass it first time and walk into the interview with the credential on your CV. The CEH app has exam-style CEH questions with an explanation for every option.

App StoreGoogle PlayFree CEH practice test

FAQ

Is CEH enough to get a penetration testing job?

Usually not on its own. It helps with HR filters and government contracts, but technical teams want proof you can do the work. Pair it with hands-on evidence: a home lab, writeups of retired practice machines or CTF challenges, a sample report and, if possible, a practical certification. Many testers start in a SOC, IT operations or security analyst role and move into testing from there.

Which technical fundamentals will interviewers ask about?

Networking is near universal: TCP/IP, common ports and protocols, DNS, HTTP and TLS. Expect operating system basics for Windows and Linux, including permissions and how Active Directory works, plus web fundamentals such as sessions, authentication and the OWASP Top 10. Interviewers mostly ask how things work and how they fail, so understanding beats memorized tool syntax every time.

Can I talk about my home lab or CTF experience?

Yes, and you should. For junior candidates it is often the strongest evidence available. Describe what you built or solved, what you learned and how you would report it, and make clear it happened in an environment you were authorized to use. Never imply you tested a real organization's systems without permission, even casually or as a joke.

How important is report writing in pen testing interviews?

Very. The report is what the client pays for and what drives fixes. Many firms ask for a writing sample or grade a take-home mainly on the report. Practise writing an executive summary for a non-technical reader, and findings with clear evidence, impact, a severity rationale and specific remediation. Clear writing often separates candidates with similar technical skill.

What ethical questions might come up?

Expect scenarios about scope: discovering an out-of-scope system, finding signs of a live intrusion, coming across sensitive personal data, or a client verbally asking you to go beyond the written agreement. Interviewers want to hear that you stop, document and escalate through agreed contacts, protect data, and never act without written authorization. Calm, clear answers here carry a lot of weight.

Sources

Figures on this page come from EC-Council and the other primary sources below:

Checked November 4, 2026. Fees, outlines and eligibility rules change — confirm with EC-Council before you book.