1 Microsoft Penetration Tester Interview Questions & Answers

microsoft icon

Questions with Detailed ExplanationsWith Detailed Explanations

(Last Updated: September 13, 2026)

1. In an authorized network-security review, how can you defend against NTLM relay?Network And Active DirectoryMediumMicrosoft

Short Interview Answer (30-60 seconds)

I would prefer Kerberos and reduce NTLM, then make remaining NTLM authentication non-relayable. I would require SMB signing, enforce LDAP signing and channel binding where applicable, enable Extended Protection for Authentication on supported web services, restrict unnecessary network paths, and audit legacy NTLM dependencies before enforcement.

Detailed Explanation

NTLM relay happens when an attacker forwards a captured NTLM authentication exchange to another service that accepts it. The practical defense is therefore to remove NTLM where possible and make services reject authentication that is not sufficiently protected or bound to the intended connection or service. In an authorized review, I would verify the Windows client-to-service authentication path, the network boundary, and the services that still accept NTLM. I would then validate SMB signing, LDAP protections, Extended Protection for Authentication, segmentation, and the organization's plan for safely reducing legacy NTLM use.

Useful Questions to Ask the Interviewer
  1. Which Windows services and network segments are in scope for the review?
  2. Are SMB, LDAP, and Windows-authenticated web applications included?
  3. Is NTLM still required by any known legacy applications or devices?
  4. Are we expected only to review configuration, or also to perform a safely bounded validation of denied authentication paths?
  5. Is there an existing NTLM audit or migration program that I should use as evidence?
In an authorized network-security review, how can you defend against NTLM relay? diagram
How to Explain It in an Interview

I would start with the main decision: prevent captured NTLM authentication from being successfully forwarded to another service.

The client is the source of the authentication. In the preferred path shown in the diagram, I would use Kerberos where feasible because it reduces reliance on NTLM and provides stronger service authentication properties. Where NTLM must remain, the receiving services need controls that make a relayed authentication unusable.

For SMB file servers, I would require SMB signing on the relevant connection. SMB signing protects message integrity and helps defend against relay and spoofing attacks. When the receiving SMB server requires signing, an attacker who merely relays NTLM authentication cannot continue with arbitrary SMB operations unless valid signed SMB messages can be produced for that authenticated session.

For Active Directory LDAP, I would enforce LDAP signing for applicable LDAP authentication and configure LDAP channel binding appropriately for TLS-protected LDAP connections. LDAP signing protects the integrity and authenticity of LDAP messages. Channel Binding Tokens, or CBTs, bind application-layer authentication to the underlying TLS session. When CBT is required and the token is missing or does not match the current TLS session, authentication is rejected.

For IIS or other supported Windows web applications using Windows authentication, I would enable Extended Protection for Authentication, or EPA. EPA uses channel-binding information for SSL/TLS connections and service-binding information where applicable. This helps prevent captured Windows authentication from being successfully relayed to a different connection or service.

I would also reduce the number of reachable targets. Firewall rules and segmentation should prevent ordinary or untrusted client networks from reaching sensitive services unless the path is required. This is a supporting control: it reduces relay opportunities, but it does not replace SMB signing, LDAP protections, EPA, or reducing NTLM itself.

Finally, I would audit NTLM use before restricting it. The goal is to identify legacy systems that still depend on NTLM, migrate them to Kerberos or another supported authentication path where possible, and then progressively restrict or block NTLM. NTLM auditing provides evidence of dependency; it is not itself a preventive control.

For evidence, I would review effective service and Group Policy configuration, relevant authentication and NTLM audit logs, and permitted versus denied network paths from authorized vantage points. I would prefer non-destructive configuration and policy validation over actually relaying credentials unless the rules of engagement explicitly authorize a tightly controlled relay test.

A safe failure state is that SMB traffic that does not meet a required signing policy, LDAP authentication that does not satisfy required signing or channel-binding checks, or Windows authentication that fails required EPA checks is rejected rather than silently accepted. Unnecessary network paths should also be denied at the segmentation boundary.

The main limitation is compatibility. Older applications or devices may require NTLM or may not support the strongest signing, channel-binding, or EPA settings. That is why auditing and staged enforcement matter. Residual risk remains wherever NTLM is still accepted by a reachable service without an effective relay-resistant control.

Technical Approach
  1. Confirm the written authorization, in-scope Windows clients, services, and network boundaries.
  2. Map where NTLM is still used and distinguish it from Kerberos authentication.
  3. Identify relay-relevant receiving services, especially SMB, LDAP, and Windows-authenticated HTTP services.
  4. Verify that relevant SMB servers require signing rather than merely supporting it.
  5. Verify that Active Directory LDAP signing is enforced for applicable authentication and that LDAP channel binding is configured appropriately for TLS-protected LDAP connections.
  6. Verify Extended Protection for Authentication on supported IIS or Windows web applications that use Windows authentication.
  7. Review firewall and segmentation rules so ordinary or untrusted client segments cannot reach unnecessary authentication targets.
  8. Audit legacy NTLM dependencies before tightening NTLM restrictions, then migrate or remediate those dependencies.
  9. Validate allowed and denied paths using non-destructive checks, effective configuration, and log evidence. Perform an actual relay only if it is explicitly authorized and safely constrained.
  10. Retest after remediation and document any systems where NTLM or weaker compatibility settings must remain.
Practical Insights

The main cost is compatibility and operational work, not computation. Requiring SMB signing, LDAP signing, channel binding, or EPA can expose old clients and applications that rely on weaker behavior. Restricting NTLM may require application changes, service-account review, testing, and staged rollout. Segmentation adds firewall-policy and maintenance work. Auditing and monitoring also create log-review overhead. The benefit is a strong reduction in relay opportunities, but organizations should audit first and enforce gradually so security improvements do not unexpectedly interrupt required business services.

Why Interviewers Ask This

This question tests whether the candidate understands that NTLM relay is primarily prevented by making captured authentication unusable at another service, rather than by relying on password strength alone. It also tests whether the candidate can select service-specific protections such as SMB signing, LDAP signing and channel binding, Extended Protection for Authentication, Kerberos preference, NTLM reduction, and network segmentation while planning a safe migration for legacy systems.

Common interview mistakes

A common mistake is saying that disabling NTLM is the only answer without considering legacy dependencies or staged migration. Another is relying only on segmentation; firewalls reduce reachable targets but do not make an exposed service relay-resistant. Candidates also confuse encryption with relay protection: TLS by itself does not necessarily stop NTLM relay unless authentication is correctly bound to the TLS channel or intended service. Other mistakes include enabling SMB signing without requiring it where protection is needed, discussing LDAP signing without distinguishing it from LDAP channel binding, treating NTLM auditing or monitoring as prevention, or attempting a live relay during a review without explicit authorization.

Interview tip

Lead with the principle: make captured NTLM authentication unusable at another service. Then name the service-specific controls in order: prefer Kerberos and reduce NTLM, require SMB signing, enforce LDAP signing and appropriate channel binding, use EPA for supported web services, limit reachable targets, and audit legacy dependencies before enforcement. Clearly state that segmentation and monitoring support the defense but do not replace protocol-level protections.

Interviewer may ask next
Why does SMB signing help prevent NTLM relay?

SMB signing protects the integrity of SMB messages and helps defend against relay attacks. If the target SMB server requires signing, authentication alone is not enough for an attacker to carry out arbitrary SMB requests; subsequent SMB traffic must contain valid signatures for that authenticated session. In an assessment, I would verify that signing is actually required on the relevant path rather than merely supported.

What if some legacy systems still require NTLM?

I would not disable NTLM blindly. I would first audit where NTLM is used, identify the specific legacy dependencies, and move supported systems to Kerberos or another stronger authentication path. While exceptions remain, I would reduce exposure with service protections such as SMB signing, LDAP signing and appropriate channel binding, EPA where supported, and network segmentation. Then I would progressively narrow the NTLM exceptions and retest until the remaining residual risk is understood and managed.

Disclaimer: This interview guide is for educational and informational purposes only. It is designed to help readers prepare, but it does not guarantee any interview result, hiring decision, offer, or outcome. Interview questions, hiring criteria, and preferred answers can vary by employer, interviewer, industry, location, and time. All answers, examples, and explanations in this guide are suggested examples for interview preparation, not definitive answers or instructions for professional practice. They are based on research and judgment, are provided without warranties of any kind, and should be adapted to the question, role, and applicable laws and professional requirements. Diagrams are simplified illustrations intended to highlight the main concepts and their relationships; actual situations, systems, and practices may be more complex. Alternative approaches may be equally valid or better suited to a particular question, context, or interviewer. To the fullest extent permitted by applicable law, the contributors and publisher are not liable for decisions made, actions taken, or losses incurred based on this guide.

State Laws and Professional Responsibilities: Laws and requirements governing an occupation vary by state and jurisdiction. You are responsible for checking the current laws, licensing requirements, and scope-of-practice rules that apply to your location and role, and for ensuring that your answers and actions comply with them. Adapt examples in this guide to those requirements. This guide is not legal advice.

Company Notice: This guide is an independent educational resource and is not affiliated with, endorsed by, sponsored by, or approved by the company named in this guide. Company names identify reported interview experiences or the employer context of clearly labeled original practice exercises. Interview practices can change without notice, and inclusion of company-specific content does not mean these questions are official, complete, or guaranteed to be asked. To the fullest extent permitted by law, the author, contributors, and publisher are not responsible for outcomes related to use of this material.

Content Accuracy and Verification: To the fullest extent permitted by applicable law, we do not represent or warrant that interview guides, questions, answers, examples, or diagrams are accurate, complete, current, error-free, or suitable for any particular purpose. You are responsible for independently reviewing and verifying the information before relying on it.