← Interview Prep

INTERVIEW · SECURITY · PENTEST & RED TEAM · EASY → HARD · 22 QUESTIONS

Penetration Testing and Red Team, Interview Questions.

securitypentestred-teamowaspreporting
easy fundamentals and screening medium applied, most loops hard senior, design and debugging

Easy: fundamentals

Penetration testing concepts, scope and ethics. This page stays at the level of method and defence, not step-by-step exploitation.

What is penetration testing and how does it differ from a vulnerability scan? easy

A scan finds and lists potential weaknesses automatically. A penetration test is a goal-oriented, authorised assessment where a person validates weaknesses, chains them and shows real impact, then reports remediation. Scans give breadth, pentests give depth and proof.

Black box, grey box and white box testing? easy

Black box: no prior knowledge, simulates an outsider. Grey box: partial knowledge such as a low-privilege account. White box: full access to design and code, giving the deepest coverage in the least time.

What phases does a penetration test follow? easy

Planning and scoping, reconnaissance, scanning and enumeration, exploitation and validation, post-exploitation (assessing impact within scope), and reporting with retest. Frameworks include PTES, OWASP testing guide and NIST SP 800-115.

Why are scope and rules of engagement essential? easy

They are the legal and safety boundary. They define targets, allowed techniques, times, contacts, data handling and stop conditions. Testing outside written authorisation can be illegal, and mistakes can cause outages.

Red team, blue team, purple team? easy

Red simulates adversaries, blue defends and detects, purple coordinates both so findings immediately improve detection. Red team engagements test detection and response, not just find vulnerabilities.

What is OSINT? easy

Open-source intelligence: information from public sources such as domain records, code repositories, job posts and social media. Defenders use it to see what an attacker can learn and reduce that exposure.

Medium: methodology and reporting

What good testers and defenders know.

What makes a good penetration test report? medium

An executive summary in business terms, scope and method, findings with severity, evidence, clear impact, reproduction steps appropriate for engineers, and prioritised remediation. Include positive observations and a retest plan. A report is judged by whether it gets things fixed.

How do you rate and prioritise findings? medium

Combine technical severity (CVSS), exploitability, business impact, exposure and chaining potential. Two medium issues that combine into account takeover may be critical overall.

What are common findings in web applications and how are they fixed? medium
  • Broken access control: server-side authorisation checks.
  • Injection: parameterised queries and encoding.
  • Weak authentication: MFA, rate limits, secure session handling.
  • Misconfiguration: hardening baselines and headers.
  • Vulnerable components: dependency management.
What are common weaknesses in Active Directory environments, from a defender view? medium

Weak service account passwords, excessive privileges, unconstrained delegation, legacy protocols (NTLM, SMBv1), unpatched domain controllers, flat admin practices, and exposed credentials in shares and scripts. Fixes: tiering, strong random service account passwords or gMSA, LAPS, protocol hardening and monitoring.

How do you handle sensitive data found during a test? medium

Minimise access, do not copy more than needed as proof, store evidence encrypted, report it promptly, and delete per the agreement. Some findings (such as personal data exposure) are reported immediately, not at the end.

What should you do if a test causes an outage? medium

Stop, notify the agreed contact at once, document actions and times, help restore service, and review the testing approach with the client. Having safe testing windows and emergency contacts agreed in advance is part of good scoping.

How can defenders detect common testing activity? medium

Port and service scans in firewall and flow logs, many failed logons, unusual enumeration against directory services, new admin sessions from odd hosts, tool signatures in EDR, and odd outbound connections. Detecting test activity is a good measure of monitoring maturity.

Hard: depth

Engagement design and security leadership view.

How do you design a red team engagement with meaningful objectives? hard

Set objectives tied to business risk (for example, reach a specific crown-jewel dataset without being detected), agree rules of engagement, deconfliction, and a white cell of a few informed staff. Measure time to detect and respond, not just whether the goal was achieved, and run a purple debrief.

What is the difference between a penetration test and a bug bounty? hard

A pentest is a time-boxed engagement with a known team and defined scope. A bounty is continuous, crowd-sourced and pays for valid findings, giving broad perspective but less control and predictable coverage. They complement each other.

How would you test and secure a cloud environment? hard

Review identity and permissions for privilege escalation paths, public exposure, secrets in repositories and metadata, network controls and logging, and check that detections catch simulated misuse. Provider rules for testing must be followed, and findings should include IaC-level fixes.

Explain how attackers chain low-severity issues, and why this matters for triage. hard

An information leak plus a weak reset flow plus missing rate limiting can add up to account takeover even if each is rated low. Triage should consider chains, which is why root-cause fixes beat patching symptoms.

What ethical and legal issues arise in security testing? hard

Written authorisation, third-party systems in scope (cloud, SaaS), privacy and data protection law, responsible disclosure, avoiding collateral damage and honest reporting. When unsure, stop and ask.

How do you measure the value of a pentest programme? hard

Track remediation rate and time, recurring finding classes, improvement between tests, detection performance in red team exercises and whether lessons changed engineering practice. A test that produces a report no one acts on has little value.

Scenarios

Answer from both tester and defender angles.

A client wants a full pentest next week with no scoping call. What do you do? hard

Insist on scoping: targets, dates, permissions, contacts, restrictions, and written authorisation. Without them the work is unsafe and possibly illegal. Offer a short call to settle it quickly.

Your test finds that an admin panel is exposed with default credentials. How do you report it? hard

Notify the client contact immediately as a critical issue, supply minimal evidence without further misuse, and recommend removing exposure, changing credentials, enforcing MFA and checking logs for earlier abuse.

Management says "we passed last year, why test again?". Response? hard

Environments, code and attackers change. A pass is a snapshot. Retest after major changes and on a regular cadence, and use results to track improvement and validate that old fixes held.

what interviewers actually ask

Pentest interviews cover method, ethics, reporting and communication as much as technique. Show that you scope carefully, avoid harm, write findings people can fix, and understand the defender's view of what your activity would look like in logs.

← Vulnerability Management next: Cryptography & PKI →
© cvam. written in plaintext, served warm