Free guides

How to prepare for a penetration test

All free guides

This guide is for New Zealand SaaS companies and small or medium businesses that have decided to commission a penetration test, or have been asked for one by a customer, an insurer or an auditor. It explains how to get the scope clear, what to prepare, and what a typical engagement looks like. FixedPenTest tests follow a documented methodology aligned to OWASP, including the Web Security Testing Guide (WSTG), the Application Security Verification Standard (ASVS) and the API Security Top 10. That means "aligned to", not "certified to". A little preparation makes the test more useful and reduces the chance of delays, surprise fees or testing the wrong system.

Agree the scope in writing first

A useful test has a written boundary. Decide, and write down:

  • what will be tested: a web application, an API, a mobile app, or a combination
  • the exact URLs, API hosts and application names
  • the environment: staging, a dedicated test instance, or production if you have expressly agreed to that
  • the user roles to be tested, and the authentication method
  • anything that is out of scope, such as a third-party payment page, a marketing site, or denial-of-service testing
  • the testing window, and any times or systems to avoid

For a fixed-price package, the scope is what makes the price hold. If the application sits between tiers, a good provider will say so before work starts. FixedPenTest packages are bounded by functional pages, API endpoints, user roles, one authentication method and one environment, and the price is fixed once that scope is confirmed in writing. "Page" should mean a functional view or workflow, not every screen state in a single-page app. If you are unsure, walk through the main journeys on the scoping call: sign up, sign in, the core customer actions, and the administrator actions.

The OWASP WSTG is a methodology and technique reference, not a rigid compliance checklist. It is designed to be adapted to your application and your risk. The written scope is how you and the tester agree which parts apply to this engagement.

Get written authorisation before anyone tests

Testing a system without permission can be unlawful, even when the tester is trying to help. NIST's Technical Guide to Information Security Testing and Assessment (SP 800-115) treats a Rules of Engagement document as the place to record permission, scope, contacts, permitted and prohibited activities, and what happens if testing needs to stop. At a minimum, have a named person in your organisation sign written authorisation that covers:

  • the legal entity that owns or operates the application
  • the in-scope systems, and confirmation that you are entitled to authorise testing of them
  • any third-party hosted components. If a cloud provider, a payment processor or a parent company operates part of the target, you may need their approval as well
  • the agreed dates and hours
  • a primary contact and an after-hours contact if production is in scope
  • any activities that are not allowed

Do not start access setup until this is signed. If a related company, a customer tenancy or a shared platform is involved, resolve that early. It is a common reason a kickoff slips.

Prepare the environment and the test accounts

Most application tests need both unauthenticated testing (what an outsider can reach) and authenticated testing (what a logged-in user, or a user with a different role, can reach). To make that possible, prepare:

  • stable URLs for the in-scope application and API
  • API documentation or a collection, if you have one
  • at least one test account for each in-scope role, and enough accounts to compare two users in the same role where authorisation is important
  • a way to reset or refill those accounts if test data gets consumed
  • a note of test payment modes, feature flags, and any sample data the tester should use
  • access to a staging or test environment that resembles production closely enough for the findings to be meaningful

Production testing is sometimes necessary, but it needs extra care: agreed hours, rate limits, named contacts, and a clear rule about what must not be changed or deleted. If staging is recent and complete, it is often the calmer place to start. Tell the tester about web application firewalls, bot protection, IP allow lists and multi-factor prompts that could block the test. You may need to allow a tester IP address or issue a test MFA method. Record that in the scope so you know what sat in front of the application during the test.

What to expect during the test

A typical fixed-scope engagement looks like this:

  • A short scoping call to confirm the application, the package and the boundaries.
  • Written scope confirmation, authorisation, and access setup.
  • Testing over the agreed window. The tester will usually start with what is reachable without a login, then move through the agreed roles and API routes.
  • Questions if something is blocked, broken, or outside the expected behaviour. A named contact who can reply on the day helps.
  • A report, including a plain English summary, a findings list with severity and fix guidance, and evidence you can reuse in a questionnaire or an insurer conversation.
  • Time for your team to fix issues, then a retest of the agreed items.

FixedPenTest reports are delivered within 5 business days of testing, and the packages include one free retest within 60 days, so you can show that the fixes worked. Other providers will have their own timelines. What matters is that you know the dates before work starts. The report should describe what was tested and how, so a customer or an auditor can understand the boundary. It is not a certificate that the whole company is "secure", and it does not guarantee ISO 27001, SOC 2 or insurance outcomes. It is evidence for someone else to consider, alongside your other controls.

After the report

Read the executive summary with whoever will speak to customers or the board, and give the detailed findings to the people who can fix them. Prioritise by severity and by whether an issue is reachable from the internet or by a low-privilege user. Keep a simple register: the finding, the owner, the due date, and the date it was retested. That register, plus the report and the retest letter, is often what a customer or insurer wants to see. If the tester found something outside the agreed scope, treat that as a conversation, not an automatic expansion of the work.

Checklist

  • The in-scope URLs, APIs, environment, roles and exclusions are written down.
  • A named person has signed written authorisation, including any third-party hosted systems that need a separate approval.
  • Staging or the agreed environment is available, reasonably close to production, and stable for the test window.
  • Test accounts exist for each in-scope role, with a way to reset them.
  • API documentation or a collection has been shared, if you have one.
  • WAF, allow lists and MFA have been considered, and tester access has been arranged.
  • A primary contact is available during the test window.
  • We know when the report is due, and we have time booked afterwards to fix issues and use the retest.

Sources

Book a 20 minute scoping call

If you are ready to plan a test, or you want help deciding which package fits, book a 20 minute scoping call with FixedPenTest. We will talk through your app, agree the scope in writing, and confirm a fixed price before work starts. There is no obligation.

Book a 20 minute scoping call