IT Glossary
What is a penetration test?
A penetration test is a simulated attack, authorised in writing, in which specialists try to get into your systems to show which weaknesses can really be exploited.
- 7
- sections
- 6
- questions answered
A penetration test (pentest) is a simulated cyberattack, carried out with the owner’s written consent and inside agreed limits, in which security specialists actually try to break into an application, a network or an infrastructure, to demonstrate which vulnerabilities can be exploited and how far an attacker would get. The written authorisation is the legal difference: the same actions without it are unauthorised access to a computer system, an offence under the Romanian Criminal Code, art. 360, punishable by 3 months to 3 years in prison or a fine, with a heavier penalty if the access was restricted. Unlike an automated scan, which lists theoretical weak points, a pentest report does not say that a port runs an old version; it says that combining two findings produced administrator access, here is the evidence, and here are the fixes in order of risk.
It makes sense when launching applications that hold data or money, when corporate customers and cyber insurers ask for it in their questionnaires, periodically on critical systems, and after major changes. The value is not the report but the system repaired on the basis of it. One calibration note: pentesters almost always find something, even at well-run companies. A report with findings is not a verdict on your team’s competence but exactly the service you bought: better in a report than in the news.
Why it matters for your business
Real gaps found under contract
Demonstrated attack paths rather than theorised ones show exactly what an intruder would find: the same information, with the invoice pointing the other way.
Fixes ordered by real risk
A report prioritised on demonstrated impact puts the security budget on the holes that matter instead of on an alphabetical list of theoretical alerts.
A requirement ticked for larger contracts
Periodic testing answers the vendor questionnaires used by corporate buyers and cyber insurers, opening doors that would otherwise stay politely shut.
How a penetration test runs
The usual stages are, in order: defining scope and rules of engagement (what is tested, what is off limits, which environment, which time window, written authorisation); reconnaissance; scanning and enumeration; exploitation; post-exploitation (what data or control is obtained after the first way in); the report; and a retest of the fixes.
A good report has a management summary, findings with severity (usually on the CVSS scale), evidence and prioritised fixes. Web applications are usually tested against the OWASP Web Security Testing Guide (the current stable version is 4.2, with 5.0 in development, per owasp.org), and for infrastructure testers use public methodologies such as PTES or the NIST SP 800-115 guide.
Types of penetration test: black box, grey box, white box
By what the tester knows at the start: in black box the tester knows nothing beyond a name, domain or public IP, simulates an outside attacker and spends much time on reconnaissance; in grey box the tester has partial knowledge, such as an ordinary user account, and simulates a customer or an employee; in white box the tester receives code, architecture and administrator access, and coverage is deepest in the same number of days.
In practice grey box is the usual compromise, since it simulates a customer or employee without spending the days on reconnaissance; white box finds the most in the same number of days, so it is the most efficient on a limited budget if you can share the code. That is common practice, not a rule.
By target: external (what is exposed to the internet), internal (an attacker already inside the network), web applications and APIs (the most requested), mobile applications, wireless, cloud (configuration), social engineering (simulated phishing) and physical access.
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
Penetration test vs vulnerability scan: the difference
A vulnerability scan is automated, cheap and recurring: it produces a list of known weak points (a vulnerability is a weakness in a system that an attacker can use). A penetration test is creative human work that chains small weaknesses into serious paths and demonstrates real exploitability and business impact.
A security audit is the wider check (policies, access, backup, training), and a penetration test can be one module of it.
When a penetration test is required
DORA (Regulation (EU) 2022/2554) applies from 17 January 2025 and only to financial entities (banks, insurers, payment and investment firms and so on). All of them except microenterprises run a testing programme that can include penetration tests (art. 24–25). Only entities identified by the competent authority under art. 26(8) must run an advanced threat-led penetration test (TLPT) at least once every three years, on live production systems. Microenterprises and entities under the simplified framework of art. 16 are outside that duty. A non-financial company is not covered by DORA, but as an ICT supplier it can be included in the test scope of a financial-sector client (art. 26(3)).
NIS2 (Directive (EU) 2022/2555, transposed in Romania by Emergency Ordinance 155/2024) requires, in art. 21(2)(f), policies and procedures to assess the effectiveness of risk-management measures, without naming the penetration test. A pentest is one usual way to prove that effectiveness, not a named obligation.
In contracts, the vendor questionnaires of corporate customers and cyber insurers often ask explicitly for a recent test.
How to buy a penetration test
Ask for a clear scope and limits, testers with recognised certifications (for example OSCP), a firm with references, and an anonymised sample report. Budget for what comes after: a pentest not followed by remediation and a retest is an expensive piece of paper.
Indicatively, a penetration test starts from €1,500–3,000 excluding VAT; the figure rises with the number of applications and user roles tested, with the internal network, and with simulated phishing.
Frequently asked questions
What does a penetration test cost, and why do prices vary so much?
Indicatively from €1,500–3,000 excluding VAT for a serious test of a typical SME web application or a small perimeter; more for internal infrastructure and combined engagements (applications + network + phishing). Suspiciously cheap offers usually buy an automated scan under a better name, and the difference shows in the report: demonstrated exploitation and concrete fixes versus a tool export. Compare days of manual work and anonymised sample reports.
Can testing break something in our live systems?
The risk exists and is managed contractually: agreed limits exclude destructive techniques and denial-of-service attempts, aggressive testing ideally runs against a staging environment, windows are scheduled, and an emergency channel to your team stays open throughout. Professionals treat this as basic care and genuine incidents are rare. Even so, a verified backup before the engagement is standard hygiene, and the liability clauses are read rather than assumed.
The report came back with thirty findings — where do we start?
From the matrix of severity against effort: externally exploitable critical issues are fixed now, and serious providers announce those during the test rather than saving them for the document. Then the high-severity wave on exposed systems, then the rest on a plan. Two closing disciplines: a retest on the fixes, negotiated at the outset because an unverified claim of repair is only a hope; and treating process causes, since three findings in one category point at a development practice to correct at source.
What do black box, grey box and white box mean in a pentest?
Black box: the tester starts with no information, like a stranger. Grey box: the tester starts with partial knowledge, such as an ordinary account, like a customer or an employee. White box: the tester gets code, architecture and administrator access, so coverage is deepest. The choice depends on what you want to simulate and on budget.
How often should a penetration test be done?
Yearly on critical systems and after every major change, as usual practice rather than a legal duty. Financial entities designated by their authority under DORA run the advanced TLPT at least once every three years.
Is a penetration test legal?
Yes, if the system owner has authorised it in writing and the limits are fixed in the contract; without consent, the same actions fall under the Romanian Criminal Code, art. 360 (unauthorised access to a computer system). If the application runs at a hosting or cloud provider, check that provider’s policy on security testing before you start.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851