Skip to Content
Red Teaming00-Pre-Engagement

Pre-Engagement

Do not test without written authorization. Verbal approval gives zero legal protection. Require this for every engagement, every time, even for repeat clients. The only difference between a pentester and a criminal is a signed piece of paper.

?

Ask yourself

  • Does the person who signs the authorization have legal authority to authorize testing?
  • Or is that person only an IT admin without standing?
  • Is the authorizing entity the legal owner of the systems, or only the operator?
  • For subsidiaries, does the parent company need to authorize too?
  • For managed or cloud infrastructure, does the MSP or hosting provider need separate authorization in addition to the client’s?
  • Does the paperwork explicitly reference the IT Act 2000 Section 43 exemption for India engagements?
  • Is your professional liability insurance active?
  • Does that insurance cover pentest activities?
  • Sign NDA first. Sign the NDA before any scope discussions or sharing of technical details. The NDA covers vulnerabilities, topology, credentials, PII, and trade secrets. Use a duration of 2-5 years minimum. Keep trade secrets indefinite.
  • Obtain signed authorization letter. Name you or your company. List exact scope, permitted methods, and testing window. Require a signature from someone with actual authority, not only the IT admin. Reference IT Act 2000 Section 43 for India engagements.
  • Sign MSA or SOW. Sign an MSA for an ongoing relationship, or an SOW for each engagement. Include liability cap, indemnification, scope limitation, payment terms, and a data handling and destruction clause.
  • Create and sign RoE. The RoE is your legal protection letter. List all in-scope and out-of-scope systems. Document permitted and prohibited techniques. Include testing windows with timezone, emergency contacts, and escalation.
  • Confirm third-party or cloud authorization. Confirm AWS, Azure, or GCP provider pentest policy and notification forms. Contact Indian hosting providers directly. Notify CDN or WAF providers such as Cloudflare or Akamai if applicable.
  • Review professional liability insurance. Confirm coverage for pentest activities before the window opens.

Phase 2: Scope Definition

?

Ask yourself

  • Is the scope complete, or did the client omit assets such as subdomains, APIs, mobile backends, or staging environments?
  • Are third-party integrations such as payment gateways, SSO, or CDNs in scope?
  • Do those integrations need separate authorization?
  • Is pivoting into internal systems after initial compromise permitted?
  • Or is the engagement limited to the perimeter?
  • Which regulated data under HIPAA, PCI DSS, DPDP Act, or RBI sits inside the scope?
  • Does that change what you may touch?
  • What is the pre-agreed workflow when you discover a new asset mid-engagement?

You can use tools such as frogy2.0  for quick external passive recon from public sources to understand the scope.

  • Complete scoping questionnaire with the client. Cover network, web, AD, cloud, social engineering, and compliance.
  • Create scoping document. Document what, how, when, and the limits.
  • Document all in-scope systems. Include IPs, CIDR ranges, domains, subdomains, apps, and APIs.
  • Document all off-limits systems. Include critical infra, medical devices, ICS/SCADA, prod databases, and backup or DR systems.
  • Define testing type. Choose black box, grey box, or white box.
  • Define testing windows. Include dates, hours, timezone, and maintenance windows.
  • Clarify permitted techniques. Cover social engineering, physical access, DoS, account creation or data change, and data exfiltration to prove impact.
  • Identify sensitive or regulated systems in scope. Cover HIPAA, PCI DSS, GDPR, DPDP Act, and RBI-regulated systems.
  • Define deliverables and retesting terms. Cover report format, detail level, and executive summary. State whether the fee includes a retest or bills it separately.
  • Define scope-change workflow. State who authorizes additions at the same authority level as the original. Require a written addendum. Cover timeline and budget impact. Update the RoE if the risk profile changes.

Phase 3: Communication and Emergency Preparation

?

Ask yourself

  • Who exactly do you call if you cause a service disruption?
  • How fast can that person respond?
  • Who must be notified for critical or emergency findings such as RCE, active breach, or exposed PII?
  • On what channel must you notify them?
  • What is the stop trigger, meaning the condition under which you stop testing immediately?
  • If you find evidence of a prior breach, does the client have a CERT-In 6-hour reporting obligation?
  • Does your NDA conflict with that obligation?
  • What reporting cadence does the client expect: daily, weekly, or end-only?
  • Obtain contact list. Include technical POC, project manager, legal, and emergency or on-call contacts.
  • Define escalation procedures. State who to call on disruption. State who to notify for critical or emergency findings. State when to stop testing immediately.
  • Create communication channels. Use email for routine matters. Use phone or Signal for urgent matters. Use a ticketing system as needed.
  • Create incident response plan. Define what happens if testing triggers a real incident.
  • Agree on reporting cadence. Choose daily updates, weekly updates, or updates only at the end.

Phase 4: Deconfliction and Allowlisting

This prevents your testing from triggering IR alerts, SOC escalations, or IP bans. Share these details with the client’s security team before testing starts. Without deconfliction, your pentest looks exactly like a real attack to the blue team.

?

Ask yourself

  • Will the SOC know you are testing, or is this a blind or red-team exercise where they are intentionally not notified?
  • If an MSSP runs the SOC, does the MSSP know?
  • The MSSP will block your IPs and escalate if left out of the loop.
  • For a blind test, who is the single deconfliction contact that can confirm your authorization if things go wrong?
  • For red team work, is there a safe word or emergency deconfliction procedure that immediately identifies you as the authorized tester if confronted?
  • Provide source IP addresses. List all IPs your traffic originates from, including VPN egress, VPS, and home IP if applicable.
  • Provide VPN egress ranges. Provide full CIDR if you use a testing VPN.
  • Provide callback or C2 domains. List any domains payloads will beacon to, if C2 is in scope.
  • Provide phishing domains and mail sender addresses. Include sending domains, lookalikes, reply-to, and from-addresses if social engineering is in scope.
  • Provide phone numbers. List numbers used for vishing or callback social engineering.
  • Provide test user agents. Provide custom user-agent strings so the SOC can filter your traffic.
  • Provide test user accounts. Include usernames or emails created or provided for testing.
  • Provide report recipient list for access control on sensitive findings.
  • Provide scanning schedule. State when heavy scanning will occur.
  • Obtain written acknowledgment from the SOC lead on the deconfliction sheet.

Phase 5: Environment and Logistics

?

Ask yourself

  • Is this a clean workspace with zero residual data from previous engagements?
  • Cross-contamination is catastrophic.
  • Are you routing traffic through your own attributable infrastructure, or leaking straight from your ISP?
  • Is client data encrypted at rest and in transit?
  • Is access limited to only NDA-named team members?
  • Can you prove exactly what you did and when if something breaks during the window?
  • Does the client have recent, tested backups?
  • Does the client have staff on hand to restore in-scope systems if testing causes disruption?
  • Prepare clean testing VM or workspace. Ensure no residual data from previous engagements. Create a snapshot before you start.
  • Confirm all tools have valid licenses and current updates.
  • Confirm client has recent, tested backups of all in-scope systems and staff available to restore during the window.
  • Prepare encrypted storage for engagement data. Use LUKS, VeraCrypt, or BitLocker.
  • Prepare activity logging. Log all testing with timestamps for legal protection.
  • Prepare report template. Start the structure early and fill findings as you go.

Phase 6: Final Confirmation

?

Ask yourself

  • Are the NDA, authorization, MSA or SOW, and RoE all signed and in your possession, not only “in progress”?
  • Are all emergency contacts confirmed reachable today, not only listed on paper?
  • Is the testing window confirmed in writing by the client?
  • Do you have an explicit written “you are clear to start” from an authorized person before the first packet leaves your box?
  • NDA signed
  • Authorization letter signed (proper authority)
  • MSA/SOW signed
  • RoE signed
  • Contacts confirmed reachable
  • Testing window confirmed in writing
  • Deconfliction sheet acknowledged by SOC
  • Written “clear to start” received
  • Confirm all documents signed.
  • Confirm all contacts reachable.
  • Confirm testing window with the client.
  • Obtain explicit written approval to start. Require wording such as “You are clear to start testing.”
  • Start testing.

Reference

Goals and Objectives of a Penetration Test

Before scoping, pin down why the client wants the test. The stated goal shapes scope, methodology, deliverables, and how you rank findings. A compliance checkbox engagement and a “can an attacker reach our crown jewels” engagement look completely different in practice.

?

Ask the client

  • What is the client actually trying to achieve: a clean audit certificate, confirmed defenses, or a realistic breach simulation?
  • What regulatory or compliance requirement, if any, is driving this engagement?
  • Is the priority finding vulnerabilities, testing detection and response, or quantifying business impact?
  • What does “success” look like to the person paying for the test?

Primary Goal Categories

CategoryFocus
Security Posture EvaluationAssess the organization’s overall cybersecurity maturity
Defensive Measures TestingConfirm whether existing security controls actually work
Risk AssessmentEvaluate the potential operational and financial impact of a breach

Detailed Objectives

ObjectiveWhat It Means
Identify Security WeaknessesUncover misconfigurations, software flaws, design weaknesses, and human vulnerabilities
Confirm Security ControlsAttempt to bypass security mechanisms to confirm they work as intended
Test Detection and ResponseDetermine if the organization can detect and respond to security incidents
Assess Real-World ImpactSimulate attacks to understand potential data loss, system compromise, or business disruption
Prioritize RemediationHelp the organization allocate resources to fix the most critical issues first
Compliance and Due DiligenceSatisfy regulatory requirements such as PCI DSS, HIPAA, SOC 2, or RBI VAPT
Enhance Security AwarenessReveal risks that are not apparent through other means
Confirm Patch ManagementConfirm patches and updates are properly applied and effective
Test New TechnologiesEnsure new systems are securely configured before production deployment
Establish BaselineCreate a measurable starting point for tracking security improvements over time

Every penetration test is technically a crime without proper authorization. The difference between a pentester and an attacker is a signed piece of paper. This section is the most important in the entire vault. A mistake here and no technical skill will save you.

Never test without written authorization. Verbal approval, Slack messages, or “my manager said it’s fine” are not legal protection. Obtain a signed document on company letterhead from someone with authority.

MSA vs SOW

AspectMSASOW
PurposeOverall business relationship termsProject-specific engagement details
ScopeBroad: payment, confidentiality, liability, IPNarrow: objectives, scope, deliverables, timeline
Use CaseOngoing / multiple engagementsEach new project
DurationLong-term (1-3 years typical)Short-term, project duration
FlexibilityConsistent across engagementsTailored per engagement
AuthorizationFramework for servicesExplicit permission for specific pentest

For repeat clients: Sign an MSA once, then issue a new SOW for each engagement. This saves time on legal review and keeps the per-engagement paperwork light.

SOW Critical Clauses

ClauseWhy It MattersWhat to Include
Scope limitationProtects against scope creepExact systems, methods, timeline
Liability capLimits your financial exposureTypically 1x-2x contract value
IndemnificationClient covers you for authorized actions”Client shall indemnify tester for all claims arising from authorized testing”
Payment termsCash flow protection50% advance + 50% on report delivery
IP ownershipClarity on deliverablesReports go to the client. Tools, scripts, and methodology stay yours
Limitation of findingsManages expectations”Results are point-in-time and do not guarantee security”
Data handlingLegal complianceEncryption requirements, retention period, destruction method
RetestingAvoid free work1 retest included or billed separately. State it explicitly
TerminationExit strategyEither party can stop with N days notice, with payment for work completed
?

Is your SOW actually protecting you?

  • Does it have a liability cap? Without one, you face unlimited claims.
  • Does the indemnification clause cover you if authorized testing causes unexpected downtime?
  • Is “scope” defined precisely enough that the client cannot claim you should have tested more?
  • What happens if the client does not pay? Is there a dispute resolution clause?

Rules of Engagement (RoE) Deep Dive

The RoE is the operational contract between you and the client. It defines what you can do, when, and how.

ElementDescriptionExample
In-scope systemsExact IPs, domains, apps10.10.10.0/24, *.target.com, app.target.com
Off-limits systemsNever touch theseProduction DB, medical devices, payment processing
Permitted techniquesWhat methods the RoE permitsNetwork scanning, web app testing, credential stuffing
Prohibited actionsHard noDoS, physical access, real data exfiltration
Testing windowsWhen you can testMon-Fri 22:00-06:00 IST, weekends 24/7
ContactsNames, roles, phones, emailsTechnical POC, PM, emergency, legal
CommunicationHow to reportEmail for updates, phone for emergencies
Evidence handlingHow to store or send findingsAES-256 encrypted, secure channel only
Critical finding protocolImmediate notification rulesRCE or active breach requires a phone call within 1 hour
DisclaimersLiability protectionPoint-in-time assessment, not a guarantee
?

What if the RoE is too restrictive?

  • Does the testing window give you enough time? A 4-hour nightly window for a full network pentest is unrealistic.
  • Are the prohibited actions reasonable? If you cannot test for SQLi on a web app engagement, what is the point?
  • Can you pivot to internal systems after initial compromise, or does the RoE limit you to the DMZ?
  • Push back on unrealistic constraints. Document the impact on test quality in the SOW.

NDA and What It Protects

Sign the NDA first before any scope discussions, architecture details, or credential sharing.

Protected InformationExamples
Security weaknessesVulnerabilities, misconfigurations, exploit paths
Company dataTrade secrets, internal processes, business logic
PIIEmployee data, customer records, HR files
Technical detailsNetwork topology, credentials, API keys, configs
Test resultsReports, findings, remediation status

Key NDA clauses:

  • Scope of confidentiality. State what the NDA covers. Be broad.
  • Duration. Use 2-5 years minimum. Keep trade secrets indefinite.
  • Permitted disclosures. Cover your team members involved in the test.
  • Data destruction. State timeline and method after the engagement ends.
  • Carve-outs. Cover publicly available info, independently discovered info, and legally compelled disclosure.
  • Breach consequences. Cover financial penalties and injunctive relief.

After you sign the NDA, you may safely discuss: systems in scope, network architecture, past security incidents and findings, critical business processes, test credentials, VPN access, and documentation.

?

Does the NDA create conflicts?

  • If you discover an active breach, does the NDA prevent you from reporting to authorities?
  • If the client is violating regulations such as storing unencrypted PII, does confidentiality override your ethical obligations?
  • Clarify these edge cases upfront. Add carve-outs for legally compelled disclosures and regulatory reporting obligations.

Agreement Structure and Signed Documents, Grouped

The documents above serve three distinct purposes. Grouping them this way makes it easy to confirm nothing is missing before testing starts.

GroupDocumentsPurpose
LegalNDA, Permission-to-Test / authorization letter, Contact informationConfidentiality, explicit signed authorization, and all stakeholder and emergency contacts
Scope and RulesScoping questionnaire + scoping document, RoEDefines what you test and how you test, including boundaries and methods
ContractTimeline, Responsibilities, DeliverablesPhases and deadlines with buffer, client-vs-tester duties, and report format, detail, and submission terms

Third-Party and Cloud Authorization

Cloud-hosted infrastructure requires separate consideration. Testing assets on AWS, Azure, or GCP without understanding their policies can cause the provider to ban your IP or take legal action even if you have client authorization.

Client authorization is not cloud provider authorization. The client can authorize you to test their application, but the cloud provider owns the underlying infrastructure. Always confirm the provider’s pentest policy separately.

AWS Pentest Policy

AWS permits testing without prior approval on these services only: EC2, WAF, NAT Gateways, Elastic Load Balancers, RDS, Aurora, CloudFront, API Gateway, AppSync, Lambda, Lambda Edge, Lightsail, Elastic Beanstalk, ECS, Fargate, OpenSearch, FSx, Transit Gateway, and Amazon Bedrock AgentCore.

Prohibited activities (hard no, regardless of authorization):

  • DNS zone walking, hijacking, or pharming via Route 53.
  • DoS / DDoS attacks. A separate DDoS simulation policy exists. It requires approved partners.
  • Port flooding, protocol flooding, request flooding (login/API).

Report security issues found during testing to aws-security@amazon.com.

Azure Pentest Policy

As of June 2017, Microsoft no longer requires pre-approval to pentest Azure-hosted resources.

  • Permitted without approval: your own Azure-hosted VMs, App Service apps, Functions, API endpoints, and websites. Also OWASP Top 10 testing, DAST, fuzz testing, and port scanning on your own endpoints.
  • Prohibited: any form of DoS / DDoS attack. Use Microsoft-approved simulation partners: BreakingPoint Cloud, Red Button, or RedWolf. Do not scan or test resources you do not own or are not authorized to test.

Azure requires compliance with the Microsoft Cloud Unified Penetration Testing Rules of Engagement. Read these before testing. You need no approval form, but the RoE is binding.

GCP Pentest Policy

GCP does not require prior approval. Follow Google Cloud’s Acceptable Use Policy. Prohibited: DoS, disrupting other tenants, and testing infrastructure you do not own.

Indian Hosting Providers

Always contact the provider directly. Policies vary widely and are often undocumented. Obtain written approval before testing. Some providers will block your IP on automated scan detection.

Operating in India. Unauthorized access to computer systems is a criminal offense under the Information Technology Act, 2000. Written authorization is not optional. It is the difference between a pentest engagement and a criminal charge.

IT Act 2000 Key Sections for Pentesters

SectionOffenseNaturePenalty
Section 43Unauthorized access, downloading data, introducing virus, causing damageCivilCompensation up to Rs 5 crore
Section 43ACorporate failure to protect sensitive personal dataCivilCompensation to affected persons
Section 65Tampering with computer source documentsCriminalUp to 3 years + Rs 2 lakh fine
Section 66Computer-related offenses (hacking with criminal intent)CriminalUp to 3 years + Rs 5 lakh fine
Section 66BReceiving stolen computer resource or dataCriminalUp to 3 years + Rs 1 lakh fine
Section 66CIdentity theft (using another person’s credentials)CriminalUp to 3 years + Rs 1 lakh fine
Section 66FCyber terrorismCriminalUp to life imprisonment
Section 69Government power to intercept, monitor, decryptRegulatoryN/A
Section 72Breach of confidentiality and privacyCriminalUp to 2 years + Rs 1 lakh fine

Section 43 vs Section 66: Section 43 is civil (compensation). Section 66 is criminal (imprisonment). Unauthorized pentesting without written authorization can attract both simultaneously. Your authorization letter is your Section 43 exemption. Reference it explicitly.

?

Does your authorization actually protect you under Indian law?

  • Does the authorization letter explicitly reference IT Act 2000 Section 43?
  • Is the authorizing entity the legal owner of the systems, or just the operator?
  • If you are testing a subsidiary’s systems, does the parent company need to authorize separately?
  • If your testing triggers Section 66C by using found credentials to pivot, does your RoE explicitly permit credential reuse?

CERT-In Compliance

  • Mandatory incident reporting. Under CERT-In Directions (April 2022), organizations must report cybersecurity incidents within 6 hours of detection.
  • Reportable incidents: unauthorized access, data breaches, ransomware, website defacement, malicious mobile apps, and attacks on servers or infrastructure.
  • If your pentest discovers evidence of a prior breach, the client may have a legal obligation to report.
  • If your pentest triggers the client’s incident response team, clarify in advance that authorized testing activity is not a reportable incident.
  • CERT-In can request information from any service provider about any cybersecurity incident. Report at cert-in.org.in .

Add a clause in your RoE stating that authorized testing activities are excluded from CERT-In incident reporting triggers. This prevents the client’s SOC from filing a report about your own testing.

DPDP Act 2023 and DPDP Rules 2025

Two instruments, phased rollout. The DPDP Act 2023 (assented 11 August 2023) is the parent legislation. The DPDP Rules 2025 (notified 13 November 2025 by MeitY and published in the Gazette on 14 November 2025) provide operational requirements. Those requirements include consent mechanisms, breach reporting procedures, record-keeping standards, and Data Protection Board composition. Provisions start in phases:

  • 13 November 2025. Data Protection Board of India established. Procedural provisions are in effect.
  • 13 November 2026. Consent Manager registration and related obligations take effect.
  • 13 May 2027. Core compliance duties take effect. These include notice, consent, security safeguards, breach intimation, Significant Data Fiduciary obligations, and Data Principal rights.

Confirm which provisions are currently enforceable before you rely on or advise about specific obligations. The legal landscape is actively evolving. (last confirmed: 2026-07)

AspectDPDP Act 2023DPDP Rules 2025 (added detail)Impact on Pentesting
Data Fiduciary obligationsClient must protect personal dataClear privacy notices specifying purpose, categories, retentionClient is liable for PII you access during testing
ConsentProcessing requires lawful basisOperational consent mechanisms, informed and unambiguous consentYour authorization letter and SOW equal lawful basis for testing
Data breach notificationNotify Data Protection Board and affected individualsReporting timelines, nature of breach, mitigation stepsIf you find an existing breach, client must report per Rules timeline
Cross-border transferPersonal data only to notified countriesTransfer mechanisms and permissible jurisdictionsIf testing from outside India, ensure compliance
Data minimizationCollect only what is necessaryRecord-keeping standards for processing activitiesDo not exfiltrate real PII to prove a point. Use screenshots
Children’s dataSpecial protections requiredEnhanced safeguards and consent for minors’ dataIf testing systems with minors’ data, use extra care
PenaltiesUp to Rs 250 crore for significant non-compliance-Both client and tester can be liable

Your NDA and SOW should explicitly reference both the IT Act 2000 and the DPDP Act 2023 / Rules 2025. Include clauses for lawful basis through authorization, data minimization during testing without dumping entire databases, data handling and destruction after the engagement, breach notification procedures, and record-keeping of what personal data you accessed.

Indian Industry-Specific Compliance

RegulatorSectorPentest Requirement
RBIBanking, NBFCs, payment systemsMandatory VAPT at least annually and after major infra changes
SEBISecurities, stock exchanges, listed entitiesCybersecurity framework requires regular security assessments
IRDAIInsuranceInformation security audits including penetration testing
TRAITelecomData protection and security audit requirements
MeitYGovernment ITGuidelines for securing government websites and applications
NPCIUPI/payment infrastructureRegular security assessments for all participants

RBI mandates VAPT at least once a year, and after any major infrastructure change. Many Indian enterprises follow this annual cycle. Plan engagements accordingly. RBI-regulated engagements may require reports in specific formats.

?

Is this a compliance-driven engagement?

  • If yes, which regulator’s requirements are driving it? The report format and testing scope may need to match their framework.
  • Does the client need the report for an audit? Ensure your methodology aligns with the auditor’s expectations.
  • Are there specific controls the regulator mandates testing? For example, RBI requires testing of internet banking, mobile banking, and SWIFT systems.

Test Account Lifecycle

PhaseAction
ProvisioningClient creates test accounts with agreed privilege levels. Document username, initial password, MFA status, and permissions
MFA handlingAgree on the method such as TOTP, SMS, or hardware key, and who controls it. If testing MFA bypass, clarify scope
Password reset authorityCan you reset test accounts? Can you reset discovered or compromised accounts? Usually: test accounts yes, real accounts no
MonitoringClient may want to monitor test account activity separately from real users
RevocationDisable or remove all test accounts within 24 hours of engagement end. Obtain written confirmation
Credential vaultingStore all credentials in an encrypted vault such as KeePassXC or Bitwarden. Never use plaintext. Never put them in the report. Never put them in Slack or email

Proof-of-Impact Boundaries

RuleDetails
Maximum recordsAgree on the max records to extract as proof, for example 5-10 rows. Never dump entire tables or databases
Screenshot rulesRedact PII before including in reports. Blur names, emails, phone numbers, and account numbers. Show structure, not content
Hashing evidenceHash sensitive data used as proof with SHA-256. Include the hash in the report, not the plaintext
No real PII exfiltrationProve access with row counts, column names, table structure, and 2-3 redacted sample rows
Credential evidenceIf you crack hashes, report the hash and that you cracked it. Do not report the plaintext. Example: “cracked in X time using Y method”
Data in transitProof-of-concept data must be encrypted in transit. Never send raw evidence over unencrypted channels
RetentionAll evidence follows the same retention and destruction schedule as the rest of the engagement data per NDA
?

How much proof is enough?

  • You found a SQL injection into a 10M-row customer database. You do NOT need to dump it. A screenshot of SELECT COUNT(*) FROM customers returning 10,247,831 plus a 3-row sample with redacted PII is sufficient.
  • You cracked the domain admin hash. The report says “Domain admin NTLM hash cracked in 4 minutes using hashcat with rockyou.txt.” That is proof. The plaintext is not in the report.
  • You found credentials in a config file. Screenshot with the password partially redacted (admin:P@ss****). Full credentials go in the encrypted vault, not the report body.

Pentest Process

This is a brief orientation of the full pentest lifecycle. Detailed methodology for each phase lives in dedicated notes throughout the vault.

Reporting What the Deliverable Looks Like

Report SectionAudienceContent
Executive SummaryC-suite, managementBusiness risk in plain language, overall risk rating, top 3-5 findings
Technical FindingsIT / security teamEach vuln: description, severity, evidence, reproduction steps
Remediation StepsEngineers / developersSpecific fix for each finding, prioritized by risk
MethodologyAuditors / complianceTesting approach, tools used, scope covered
AppendicesReferenceFull tool output, scan results, raw evidence

Write the report as you go. Every time you compromise a host, stop and document the finding. Waiting until the end means forgotten details, weaker evidence, and a worse report. The report is half the engagement value.

?

Does the report meet the client’s actual needs?

  • Is this for a compliance audit? Match the report format to the regulator’s expectations.
  • Does the client need CVSS scores? Some compliance frameworks require them.
  • Who will read this? A CISO needs different language than a developer.

Communication and Emergency Procedures

SituationActionChannel
Routine status updateEmail summaryEmail
Found critical vulnerability such as RCE, SQLi with data access, or auth bypassNotify within 1 hourPhone and encrypted email
Caused service disruptionStop testing immediately, notifyPhone call with no delay
Found evidence of active breach or prior compromiseNotify immediately, documentPhone call to emergency contact
Unclear if system is in scopeStop, ask, obtain written confirmationEmail for paper trail
Testing completeDeliver report via secure channelEncrypted email or secure portal
?

When in doubt, what do you do?

If you discover unexpected systems, ambiguous scope, or anything that makes you uncomfortable, stop and ask. A 10-minute pause to confirm scope costs nothing. Testing an out-of-scope system costs everything.

Testing Environment and OPSEC

RequirementWhyHow
Dedicated testing VMNo cross-contamination between engagementsFresh VM per engagement, snapshot before starting
Encrypted storageClient data protection, legal complianceLUKS (Linux), VeraCrypt, BitLocker
Activity loggingLegal protection to prove what you did and whenScript sessions, Burp logs, terminal history with timestamps
VPN / dedicated infrastructureAttribute traffic to your testing, not your ISPRoute through your own VPS or VPN, document source IPs
Tool licensingLegal and professional complianceBurp Suite Pro, Nessus, Cobalt Strike all properly licensed
Data destructionNDA complianceSecure wipe all client data after retention period, document destruction

Cross-contamination is catastrophic. Including exploit code, credentials, or network architecture from Client A in Client B’s report can identify the original client, destroy trust, and create legal liability. Use a fresh workspace every time.

?

Can you account for every action you took during the engagement?

  • If the client’s system goes down at 3 AM during your window, your timestamped logs prove exactly what you were doing.
  • If a dispute arises about what you tested, your activity logs are your defense.
  • Log everything: commands run, tools used, timestamps, and source IPs.

Backup and Recovery

Before testing starts, confirm:

  • Client has recent, tested backups of all in-scope systems.
  • Document recovery procedures and keep them accessible.
  • Client has staff available to restore systems if needed during the testing window.
  • You discussed the risk of accidental service disruption.

Pentesting should not cause damage, but it can. A misconfigured exploit, an aggressive scan against a fragile legacy system, or a privilege escalation that crashes a service can cause disruption. Having recovery options is not paranoia. It is professionalism.

Confidentiality and Data Handling

AspectRequirement
StorageEncrypted at rest with AES-256 minimum, access-controlled
TransmissionEncrypted channels only such as GPG email, SFTP, or encrypted portal
RetentionPer NDA, typically 30-90 days after report delivery
DestructionSecure wipe. Do not only remove the file. Document the destruction
AccessOnly team members named in the NDA
Regulated dataFollow industry-specific requirements such as HIPAA, PCI DSS, DPDP Act, or RBI VAPT

India / DPDP Act: Any personal data encountered during testing must be handled per the Act’s provisions. If testing uncovers a data breach, the client may need to report to the Data Protection Board of India. Your NDA should include DPDP Act compliance clauses.

Professional Liability and Insurance

TypeCoversWhy You Need It
Professional Liability / E&OClaims from testing such as accidental damage or missed vulnerabilityClient sues because your test caused an outage
Cyber LiabilityData breach liability, incident response costsYou accidentally expose client data
General LiabilityBodily injury, property damage during on-site testingPhysical testing goes wrong

India: Companies like ICICI Lombard, Bajaj Allianz, and HDFC Ergo offer professional indemnity policies. Starting coverage of Rs 25-50 lakh is reasonable. Some MNC clients require proof of insurance before signing contracts.

Methodologies and Frameworks

FrameworkFocusBest For
PTES7-phase pentest standardGeneral penetration testing, most common
OWASP Testing GuideWeb application securityWeb app assessments
NIST SP 800-115Formal security assessmentGovernment / NIST-aligned orgs
MITRE ATT&CKAdversary tactics and techniquesRed teaming, realistic threat simulation
OSSTMMSecurity testing methodologyComprehensive security audits

Most professional pentesters do not strictly follow one framework. They combine elements from multiple. Use PTES for structure, OWASP for web testing methodology, and MITRE ATT&CK for realistic attack simulation. Document which framework or frameworks you are using in the SOW.

?

Which methodology fits this engagement?

  • Compliance-driven under RBI or SEBI? Use PTES or NIST. Auditors recognize these.
  • Web application focused? OWASP Testing Guide is the standard.
  • Red team or adversary simulation? MITRE ATT&CK maps directly to real threat actor behavior.
  • Does the client require a specific framework? Some RFPs mandate PTES or OWASP explicitly.

PTES Seven Phases

  1. Pre-engagement Interactions
  2. Intelligence Gathering
  3. Threat Modeling
  4. Vulnerability Analysis
  5. Exploitation
  6. Post-Exploitation
  7. Reporting

OWASP Testing Guide Core Testing Phases

  1. Information Gathering
  2. Configuration and Deployment Management Testing
  3. Identity Management Testing
  4. Authentication Testing

OWASP is continuously updated by the community to address emerging threats and contains distinct testing procedures with practical examples for nearly every web vulnerability. Use it as the backbone for web-app engagements.

Choosing the Approach

Engagement TypeRecommended Framework(s)
Black-box network testPTES + MITRE ATT&CK
Web application testOWASP Testing Guide
Government / complianceNIST SP 800-115
Red team assessmentMITRE ATT&CK
General pentestPTES (most common)

This section covers the business, legal, and operational aspects of freelance pentesting with India-specific context.

Business Preparation (India)

StructureBest ForRegistrationLiability
Sole ProprietorshipStarting out, low overheadPAN + GST registrationUnlimited personal liability
LLPSmall team, liability protectionMCA registration, LLP agreementLimited to contribution
Pvt Ltd CompanyScaling, investors, large contractsMCA incorporationLimited to shareholding

Starting out? Sole proprietorship is simplest. You need only a PAN card and GST registration. Move to LLP when you want liability protection or add partners. Move to Pvt Ltd when you are scaling or need to bid on large government contracts.

?

Does your business structure protect you?

  • As a sole proprietor, your personal assets are at risk if a client sues. Is the engagement value worth that risk?
  • An LLP provides liability protection. Consider it once you are doing engagements over Rs 5L.
  • For government tenders on the GeM portal, some require a registered company or LLP.

Freelancer Engagement Documents

Every engagement, minimum:

  1. Proposal / Quote. Cover scope overview, pricing, timeline, and methodology.
  2. NDA. Sign before sharing any details.
  3. SOW / Contract. Cover detailed scope, deliverables, payment terms, liability cap, and indemnification.
  4. RoE. Define authorized testing boundaries.
  5. Authorization letter. Require explicit written permission from an authorized person.
  6. Invoice. Use a GST-compliant invoice with SAC code 998314.

Quick Reference Document Timeline

Before NDAAfter NDABefore Testing
General discussions onlyDetailed scope talksSigned RoE + Authorization
No sensitive details sharedCredentials, architecture, past findingsScoping document finalized
High-level pricingDetailed SOW with clausesContact list + incident response plan
Written approval to start

#PreEngagement #Legal #Scoping #RulesOfEngagement #Authorization #Freelance #India #Compliance #NDA #ClientCommunication

Last updated on