Glossary
Penetration testing
Definition
Penetration testing: Security testing in which authorized evaluators mimic real-world attacks to find ways to get around the security features of an application, system or network (NIST SP 800-115), confirming weaknesses by exploiting them under agreed rules of engagement.
Also known aspen testpen testingpentestethical hacking
In short
Penetration testing is security testing in which authorized testers mimic real attacks to find ways around a system's defenses. Unlike a vulnerability scan, which flags weaknesses that might exist, a pen test tries to exploit them to prove they're real. NIST SP 800-115 splits it into planning, discovery, attack and reporting, with written rules of engagement agreed before any testing starts.
Key takeaways
- A pen test exploits weaknesses to prove them; a vulnerability scan only flags that they might exist.
- NIST SP 800-115 describes four phases: planning, discovery, attack and reporting.
- No testing happens until the rules of engagement, scope and approval are written down.
- Third-party services stay out of scope unless the provider agrees in writing.
- The report should rate each finding and explain how to fix it.
Last reviewed 3 December 2026 by Foxcolab Team
Penetration testing is security testing in which authorized testers attack a system the way a real attacker would, to find out how far they can get. NIST's Technical Guide to Information Security Testing and Assessment (SP 800-115) describes it as testing "in which evaluators mimic real-world attacks in an attempt to identify ways to circumvent the security features of an application, system, or network." A vulnerability scan flags weaknesses that might exist. A pen test exploits them to prove they're real.
The four phases#
SP 800-115 describes four phases:
- Planning. "Rules are identified, management approval is finalized and documented, and testing goals are set." No testing happens in this phase.
- Discovery. Testers gather information and scan for possible weaknesses.
- Attack. They try to exploit what they found, then loop back to discovery with any new access.
- Reporting. It runs alongside the other phases and ends with a report that rates each finding and explains how to fix it.
Planning produces the rules of engagement: what's in scope, what's off limits, testing hours, and whom to call if something breaks.
A worked example#
A company hires testers for portal.example.com. The rules of engagement cover the portal and its sign-in page for one week, forbid denial-of-service tests and name an on-call engineer. The testers notice that the password reset form says whether an email address has an account. They try leaked passwords against the accounts it confirms and get into one that has no two-step verification. The report rates the finding high and recommends one reset message for every address and two-step verification for all staff.
Keep third-party services out of scope unless the provider agrees in writing. Your contract with a software vendor covers using its service, not attacking it.
In Foxcolab#
Foxcolab's terms don't allow probing, scanning or testing its network, rate limits or API endpoints, so leave Foxcolab's sites out of your test scope. If you notice a security problem while using Foxcolab, send it to support@foxcolab.com, the contact Foxcolab lists in its security.txt files (see vulnerability disclosure).
Point your testers at the parts you control: devices, accounts and people. Foxcolab's design narrows what a break-in on its servers could reveal: Drive files and file names, Docs, Sheets and Notes are end-to-end encrypted, so the servers hold them only as ciphertext. Check that everyone has two-step verification turned on, and record who holds your organization recovery key, because whoever holds it can reset the password of any account on your domains and keep its data readable. Talk to sales about Foxcolab for your organization.
Keep exploring
Related terms
- Vulnerability disclosureVulnerability disclosure is how a security flaw gets from the person who found it to the team that can fix it. Here's what a good policy says and how security.txt works.
- Attack surfaceYour attack surface is every point where an attacker could get in, cause harm or take data out, from accounts and apps to shared links, people and the providers that hold your data.
- Threat modelA threat model maps what you're protecting, who might attack it, how they could get in and what you'll do about it. Here's how to build one, with a worked example.
- Risk assessmentA risk assessment finds what could go wrong, rates how likely and how harmful each event is, and ranks the results. Here are NIST's four steps and a worked example.
Where Foxcolab uses it

Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.