PT0-003 — CompTIA PenTest+ V3 Cheat Sheet

Compact PT0-003 Cheat sheet covering pentest methodology, recon, scanning, exploitation, cloud, reporting, and exam traps.

Use the tables for a quick pre-exam check. Expand a topic’s notes for explanations, examples, and additional distinctions.

Scope and study context
  • Know what to choose: tool, scan type, attack path, report section, or remediation.
  • Know why: active vs. passive, authenticated vs. unauthenticated, exploit vs. validate, proof-of-concept vs. production-safe.
  • Watch for exam traps around scope, authorization, safety, evidence handling, and least disruptive testing.

The exam mindset is practical: you are expected to understand how an authorized penetration test is planned, executed, documented, and communicated. Tool names matter, but the more important skill is choosing the right action given the scope, evidence, risk, and business context.

After this Cheat Sheet, move into IT Mastery practice:

  1. Start with topic drills for weak areas such as web apps, Active Directory, cloud, scripting, and reporting.
  2. Use original practice questions to test decision-making, not memorization.
  3. Review detailed explanations for both correct and incorrect answers.
  4. Run mixed question bank sets to practice switching between planning, enumeration, exploitation, and reporting scenarios.
  5. Finish with timed mock exams to build speed and reduce second-guessing.

Practical next step: choose one weak PT0-003 topic, complete a focused drill set, and review every explanation until you can justify the safest, most professional answer without relying on tool-name memorization.

Penetration Test Lifecycle Reference

PhasePrimary GoalHigh-Yield OutputsCommon Exam Traps
Pre-engagementDefine authorization, scope, rules, constraintsSOW, ROE, communication plan, escalation path, test windowsStarting scans before authorization; ignoring third-party/cloud approval
ReconnaissanceIdentify targets, technologies, people, exposuresDomains, IPs, DNS records, emails, tech stack, attack surfaceConfusing passive OSINT with active probing
EnumerationConfirm live hosts, services, versions, users, sharesOpen ports, banners, AD objects, APIs, web pathsTreating a vulnerability scanner result as confirmed exploitation
Vulnerability analysisMap findings to likely weaknessesCVEs, misconfigurations, weak auth, missing patchesChasing high CVSS findings outside scope
ExploitationValidate risk through controlled attackShell, data access proof, privilege boundary crossingCausing outage, persistence without permission, data overcollection
Post-exploitationAssess impact and pivot potentialPrivilege level, lateral movement path, sensitive data proofExpanding beyond scope or failing to preserve evidence
ReportingCommunicate risk, evidence, and remediationExecutive summary, technical findings, risk ratings, retest planWriting only tool output; missing business impact
Cleanup and debriefRemove artifacts and transfer knowledgeRemoved accounts/files, restored settings, lessons learnedLeaving payloads, test accounts, or scheduled tasks behind

Rules of Engagement and Scope Checklist

ItemWhat to VerifyWhy It Matters
Written authorizationWho approves testing and what systems are includedPrevents unauthorized access claims
In-scope targetsIP ranges, domains, APIs, apps, cloud accounts, facilitiesDefines legal and operational boundaries
Out-of-scope targetsShared infrastructure, third-party systems, production componentsPrevents collateral impact
Test windowsDates, times, maintenance periods, blackout periodsReduces business disruption
Allowed techniquesPhishing, password spraying, exploitation, DoS testing, physical testingSome tests require explicit approval
Data handlingCollection limits, storage, encryption, retention, disposalProtects sensitive evidence
Emergency contactsIncident escalation path and stop-test authorityNeeded for instability or detection events
Success criteriaObjectives, flags, crown jewels, demonstration requirementsKeeps testing aligned with client goals
Reporting formatAudience, due dates, severity model, evidence standardsAvoids unclear deliverables
Notes and examples

Exam cue: If the scenario asks what to do first, choose authorization, scope validation, or ROE review before scanning or exploitation.

Planning, scope, and rules of engagement

Planning questions are often about professional judgment. Before testing, the penetration tester needs clear written authorization and boundaries.

Core pre-engagement artifacts

ArtifactPurpose
Statement of workDefines services, deliverables, assumptions, constraints
ScopeIdentifies included and excluded IPs, domains, apps, facilities, users, cloud accounts, time windows
Rules of engagementDefines permitted techniques, testing windows, rate limits, escalation paths, emergency stop conditions
Authorization letterProvides written permission to conduct testing
Communication planDefines primary contacts, status updates, emergency contacts, and incident handling
Data handling requirementsDefines how evidence, credentials, logs, screenshots, and sensitive data are stored and transmitted
Success criteriaDefines what the test is intended to prove or measure

Decision rules

SituationBest professional response
Asset appears vulnerable but is out of scopeDo not test it; document and escalate through approved contacts
Testing causes instabilityStop or reduce activity; notify according to ROE
You discover evidence of active compromisePreserve evidence and follow the escalation plan
Client asks to add targets mid-testUpdate written scope/authorization before testing them
You obtain sensitive dataMinimize access, protect evidence, document impact, avoid unnecessary exfiltration
A destructive exploit is availablePrefer safe validation unless destructive testing is explicitly authorized

Common traps

  • Scope beats curiosity. If it is not authorized, do not test it.
  • ROE beats tool defaults. Scanner rate, brute-force attempts, payloads, and timing must match the engagement.
  • Safety matters. Denial-of-service, phishing, physical access, and social engineering usually require explicit permission.
  • Evidence must be enough, not excessive. Prove access without collecting unnecessary confidential data.

Passive vs. Active Reconnaissance

TechniquePassive or ActiveTypical Tools / SourcesUse When
WHOIS/RDAP lookupPassivewhois, registrar dataIdentifying ownership and contacts
DNS record reviewPassive or active depending methoddig, nslookup, DNSDumpsterMapping domains, MX, TXT, SPF, DKIM, DMARC
Certificate transparency searchPassivecrt.sh, search enginesFinding subdomains without touching target
Search engine dorkingPassiveGoogle/Bing operatorsDiscovering exposed files and admin portals
Social media reviewPassiveLinkedIn, public postsIdentifying roles, naming conventions, phishing targets
Port scanActivenmap, masscanDiscovering exposed services
Web crawlingActiveBurp Suite, OWASP ZAP, feroxbusterMapping application paths
Banner grabbingActivenetcat, curl, nmap scriptsIdentifying versions and service behavior
Password sprayingActivekerbrute, custom scripts, cloud login portalsTesting weak password patterns with lockout risk

Fast Tool Selection Matrix

TaskPreferred Tool TypesExamplesNotes
Port/service discoveryNetwork scannersNmap, MasscanUse slower, safer scans when stealth or stability matters
Vulnerability scanningVulnerability scannersNessus, OpenVAS/Greenbone, QualysAuthenticated scans produce better results
Web proxy testingIntercepting proxiesBurp Suite, OWASP ZAPBest for auth flows, parameter tampering, API testing
Directory/content discoveryWeb fuzzersffuf, gobuster, dirsearch, feroxbusterTune wordlists and extensions
Password auditingCrackers and online testersHashcat, John the Ripper, Hydra, MedusaDistinguish offline cracking from online guessing
AD enumerationAD toolsBloodHound, SharpHound, enum4linux-ng, ldapsearchFocus on relationships and privilege paths
Exploitation frameworkExploit frameworksMetasploitUse for validation, not as a substitute for understanding
Packet analysisProtocol analyzersWireshark, tcpdumpUseful for credentials, protocols, anomalies
Wireless testingWi-Fi toolsAircrack-ng suite, KismetRequires explicit wireless scope
Cloud assessmentCloud CLI and posture toolsAWS CLI, Azure CLI, ScoutSuite, ProwlerRequires tenant/account authorization
Container/Kubernetes reviewContainer and cluster toolsdocker, kubectl, Trivy, kube-benchCheck images, RBAC, secrets, exposed APIs
Source/code reviewStatic analysis and manual reviewSemgrep, Bandit, grep, IDE toolsTrace input validation, auth, crypto, secrets
ReportingEvidence and documentation toolsScreenshots, logs, issue trackersPreserve command, timestamp, target, result

Nmap and Network Scanning Cheat Sheet

Common Nmap Patterns

GoalCommand PatternExam Notes
Basic TCP SYN scannmap -sS <target>Requires privileges on many systems; stealthier than full connect but still active
TCP connect scannmap -sT <target>Uses OS TCP connect; useful without raw socket privileges
UDP scannmap -sU <target>Slower and less reliable; useful for DNS, SNMP, NTP, VPN services
Service/version detectionnmap -sV <target>Helps map CVEs but may be noisy
OS detectionnmap -O <target>Accuracy depends on network conditions and open/closed ports
Default scriptsnmap -sC <target>Runs common NSE scripts; can increase traffic
Aggressive scannmap -A <target>Combines OS, version, scripts, traceroute; noisier
Scan selected portsnmap -p 80,443,8080 <target>Better when scope is narrow
Scan all TCP portsnmap -p- <target>Finds nonstandard services; takes longer
Output all formatsnmap -oA basename <target>Saves normal, grepable, and XML output
Timing templatenmap -T0 to -T5Faster is noisier and more disruptive
No ping discoverynmap -Pn <target>Use when ICMP is blocked or hosts appear down
Script by categorynmap --script vuln <target>Validate script behavior before using against production
Notes and examples

Scan Decision Points

ScenarioBetter ChoiceWhy
Firewalled host appears down-PnTreat host as up and scan ports
Need safe initial discoveryLow-rate TCP scan of approved portsMinimizes disruption
Need reliable web service version-sV plus manual banner validationReduces false assumptions
Need confirm UDP exposureUDP scan plus protocol-specific queryUDP responses are often ambiguous
Need preserve evidence-oA, screenshots, timestampsSupports repeatable reporting

High-Yield Ports and Services

Port / ProtocolServiceCommon Test Focus
21/TCPFTPAnonymous access, cleartext credentials, writable directories
22/TCPSSHWeak passwords, old algorithms, exposed keys
23/TCPTelnetCleartext login, legacy systems
25/TCPSMTPOpen relay, user enumeration, spoofing controls
53/TCP/UDPDNSZone transfer, subdomain enumeration, misconfigured records
80/443/TCPHTTP/HTTPSWeb vulnerabilities, TLS configuration, auth/session flaws
88/TCP/UDPKerberosAD attacks, user enumeration, Kerberoasting paths
110/995/TCPPOP3/POP3SCleartext or weak mailbox auth
111/TCP/UDPRPCbindNFS/RPC enumeration
135/TCPMS RPCWindows enumeration and lateral movement context
139/445/TCPSMBShares, signing, null sessions, relay risk, legacy protocols
143/993/TCPIMAP/IMAPSMailbox access, credential testing
161/UDPSNMPCommunity strings, device info disclosure
389/636/TCPLDAP/LDAPSDirectory enumeration, weak binds
445/TCPSMBFile shares, named pipes, Windows auth
1433/TCPMSSQLDefault credentials, xp_cmdshell, weak permissions
1521/TCPOracle DBListener exposure, default accounts
2049/TCP/UDPNFSExport permissions, no_root_squash
3306/TCPMySQL/MariaDBWeak auth, exposed DB
3389/TCPRDPExternal exposure, weak passwords, NLA status
5432/TCPPostgreSQLWeak auth, exposed DB
5900/TCPVNCWeak/no password, exposed remote desktop
5985/5986/TCPWinRMRemote admin, credential reuse
6379/TCPRedisUnauthenticated access, data exposure
8080/8443/TCPAlternate HTTP(S)Admin panels, proxies, dev apps
9200/TCPElasticsearchUnauthenticated data exposure
11211/TCP/UDPMemcachedUnauthenticated access, amplification risk
27017/TCPMongoDBUnauthenticated DB exposure

Vulnerability Validation Logic

Scanner Finding SaysDo This Before Reporting as ConfirmedEvidence to Capture
Missing patch / CVEVerify version, configuration, and exploitability contextVersion output, package info, vendor advisory mapping
Default credentialsAttempt approved login with safe credentials listLogin proof without excessive data access
SQL injectionConfirm with controlled payloads and response differenceRequest/response pairs, parameter, impact
XSSDemonstrate script execution safelyPayload, affected parameter, browser evidence
Weak TLSValidate with TLS scanner and protocol/cipher evidenceProtocols, ciphers, certificate chain issues
SMB signing disabledConfirm host policy and relay relevanceSMB negotiation evidence
Exposed sensitive fileProve existence with minimal accessPath, headers, redacted content sample
Privilege escalationShow before/after privilege boundaryUser context, command output, access gained

Web Application Testing Reference

Web Vulnerability Matrix

VulnerabilityCore TestCommon Payload / SignalImpact
SQL injectionInput changes query logic' OR '1'='1, time delay, error differenceData disclosure, auth bypass, RCE in some stacks
Reflected XSSPayload returns in response and executes<script>alert(1)</script> or safe proof payloadSession theft, user action abuse
Stored XSSPayload persists and executes for othersComment/profile field executionBroader user compromise
DOM XSSClient-side JS writes unsafe input to DOMURL fragment reflected in sinkBrowser-side execution
CSRFState-changing request lacks anti-CSRF controlForced form submit or crafted requestUnwanted user actions
SSRFServer fetches attacker-controlled URLRequest to internal metadata or callback hostInternal service access, cloud credential exposure
IDOR/BOLAChange object ID and access another user’s data/api/users/123 to /api/users/124Unauthorized data access
Broken authenticationWeak login/session controlsNo lockout, weak reset, predictable tokensAccount takeover
Broken access controlUser reaches forbidden functionDirect admin URL/API callPrivilege abuse
File upload flawUpload executable or polyglot contentWeb shell, MIME bypass, extension trickRCE or stored payload
Path traversalAccess files outside web root../../../../etc/passwdSensitive file disclosure
Command injectionOS command executed by app; id, && whoamiRCE
XXEXML parser resolves external entityExternal entity callback/file readFile disclosure, SSRF
Insecure deserializationTampered serialized object changes behaviorSigned/unsigned object manipulationRCE, auth bypass
Security misconfigurationDefault config or verbose errorsStack traces, admin consolesInformation disclosure, takeover path
Sensitive data exposureSecrets or PII exposedKeys in JS, logs, backupsCredential/data compromise
Notes and examples

HTTP Status Codes Worth Knowing

CodeMeaningPentest Relevance
200OKContent exists; check authorization
301/302RedirectFollow auth flows and open redirect risk
400Bad requestInput validation clue
401UnauthorizedAuthentication required
403ForbiddenAuthenticated but not authorized, or blocked path
404Not foundMay hide resources; compare response size
405Method not allowedTry allowed methods if in scope
500Server errorPossible injection, parsing, or backend issue

Useful Web Testing Commands

## Inspect headers and TLS behavior
curl -k -I https://target.example

## Send a custom host header or token
curl -k -H "Host: app.target.example" -H "Authorization: Bearer TOKEN" https://IP/

## Basic directory fuzzing pattern
ffuf -u https://target.example/FUZZ -w wordlist.txt -mc all -fs <filter_size>

## Parameter fuzzing pattern
ffuf -u "https://target.example/search?q=FUZZ" -w payloads.txt

Web application and API Cheat Sheet

Web questions often test input validation, authentication, authorization, session handling, and evidence interpretation.

Common web vulnerabilities

VulnerabilityWhat it meansValidation ideaTypical remediation
SQL injectionUser input alters database query logicSafe boolean/time/error-based checksParameterized queries, ORM safeguards, input validation
Command injectionInput reaches OS command executionHarmless command proof within ROEAvoid shell calls, allowlists, escaping, least privilege
Cross-site scriptingInput executes in another user’s browserProve script execution contextOutput encoding, CSP, input validation
Stored XSSPayload persists for other usersConfirm persistence and affected rolesEncode output and sanitize stored content
Reflected XSSPayload reflected in immediate responseConfirm browser executionEncode output and validate inputs
DOM XSSClient-side JavaScript handles input unsafelyInspect sinks and sourcesSafe DOM APIs, client-side sanitization
IDOR / BOLAUser can access another user’s objectChange object IDs with different auth contextServer-side authorization checks
CSRFUser is tricked into performing an actionCheck missing anti-CSRF protectionsAnti-CSRF tokens, SameSite cookies, re-auth for sensitive actions
SSRFServer makes attacker-controlled requestsTest access to internal or metadata endpoints safelyURL allowlists, network egress controls
XXEXML parser processes external entitiesSafe entity testDisable external entities, secure parser config
File inclusionApp includes unintended local or remote filesTest controlled file pathsPath allowlists, sandboxing
Path traversalInput accesses files outside intended directoryUse safe traversal proofNormalize paths, restrict file access
Insecure deserializationUntrusted serialized data alters execution flowIdentify framework-specific payload riskAvoid unsafe deserialization, sign/validate objects
Mass assignmentClient sets fields that should be server-controlledTry role/isAdmin-style fields safelyExplicitly bind allowed fields
JWT weaknessToken can be forged or misusedCheck alg confusion, weak secrets, claims validationStrong signing, validate issuer/audience/expiry
Broken access controlUsers perform actions outside permissionsTest role boundariesCentralized authorization checks

HTTP status codes worth recognizing

CodeReview point
200Success; check content and authorization context
301 / 302Redirect; may reveal routing or auth flow
400Bad request; input handling issue may be visible
401Authentication required
403Authenticated or unauthenticated user lacks authorization
404Not found; may hide resources intentionally
500Server error; may indicate injection, parsing, or exception handling issue

API-specific traps

  • Authentication is not authorization. A valid token does not mean a user should access every object.
  • Object IDs are high-yield. Changing user IDs, account IDs, tenant IDs, or document IDs can reveal IDOR/BOLA.
  • JWTs must be validated server-side. Expiration, issuer, audience, signature, and algorithm handling matter.
  • Rate limiting matters. APIs often expose brute-force or enumeration risk.
  • Verbose errors leak information. Stack traces, framework versions, SQL errors, and internal hostnames are useful evidence.

API Testing Cheat Sheet

AreaWhat to TestCommon Failure
AuthenticationToken validation, expiration, refresh, signingAccepting expired or unsigned tokens
AuthorizationObject-level and function-level accessBOLA/IDOR, normal user reaches admin action
Rate limitingLogin, OTP, password reset, expensive queriesBrute force or resource exhaustion
Input validationJSON fields, types, nested objectsInjection or mass assignment
Error handlingVerbose errors, stack traces, debug infoInformation disclosure
VersioningOld endpoints still reachableDeprecated insecure functionality
CORSOrigins, credentials, methodsOverly permissive cross-origin access
GraphQLIntrospection, nested queries, auth on resolversData overexposure, expensive query abuse
Notes and examples

JWT inspection reminders:

header.payload.signature
JWT CheckRisk If Weak
Algorithm confusionToken signature bypass
Missing signature validationForged identity
Long token lifetimeExtended compromise
Sensitive data in payloadClient-side data exposure
Weak secretOffline token cracking

Authentication and Password Attack Reference

AttackOnline or OfflineTargetKey Constraint
Brute forceOnlineLogin serviceLockouts, rate limits, detection
Password sprayingOnlineMany accounts, few passwordsSafer than brute force but still risky
Credential stuffingOnlineKnown breached credentialsDepends on password reuse
Dictionary attackOffline or onlineHashes or login formsWordlist quality matters
Mask/rule attackOfflineHashesEfficient when pattern is known
Rainbow tableOfflineUnsalted hashesLess useful against salted hashes
KerberoastingOffline cracking after ticket requestAD service accountsRequires valid domain account
AS-REP roastingOffline crackingAD users without preauthRequires vulnerable account setting
Pass-the-hashOnline lateral movementNTLM environmentsUses hash without plaintext password
Pass-the-ticketOnline lateral movementKerberos ticketsUses ticket material
MFA fatigueOnline social/technicalPush-based MFADepends on user interaction
Notes and examples

Password cracking examples:

## Identify hash type separately; do not guess blindly
hashcat -m <mode> hashes.txt wordlist.txt

## John format example
john --wordlist=wordlist.txt hashes.txt

Active Directory Attack Path Reference

TechniqueRequired Starting PointWhat It AbusesEvidence / Outcome
LDAP enumerationNetwork access, sometimes credentialsDirectory visibilityUsers, groups, computers, SPNs
KerberoastingValid domain accountService ticket encrypted with service account keyCrackable TGS hash
AS-REP roastingUser without Kerberos preauthAS-REP encrypted with user keyCrackable AS-REP hash
Password sprayingUser list and password guessWeak/reused passwordsValid credential
SMB share enumerationNetwork access or credsExcessive share permissionsSensitive files, scripts, configs
GPP password discoverySYSVOL readLegacy Group Policy preference secretsRecoverable local admin password
NTLM relayCaptured authentication and unsigned/weak targetRelays auth to another serviceAccess without knowing password
Pass-the-hashNTLM hashNTLM authenticationLateral access
Pass-the-ticketKerberos ticketKerberos authenticationLateral access
DCSyncDirectory replication rightsReplication protocol permissionsDomain credential material
Golden ticketKRBTGT keyForged Kerberos TGTDomain persistence
Shadow credentialsWrite privileges on account attributesKey trust abuseAccount impersonation path
Notes and examples

AD Defensive Control Distinctions

ControlHelps AgainstNotes
SMB signingNTLM relayPrevents tampering/relay to SMB when required
LDAP signing/channel bindingLDAP relayHardens LDAP authentication
Least privilegeLateral movement, privilege escalationReduces blast radius
Tiered administrationDomain compromiseSeparates admin contexts
LAPS / local admin password managementLocal admin reuseUnique managed local passwords
Strong service account passwords/gMSAKerberoastingMakes offline cracking harder
Disable legacy protocolsDowngrade/relayReduce NTLM/LM exposure where possible
MFA for remote access/adminCredential replayDoes not protect every legacy protocol

Linux and Windows Privilege Escalation Checklist

Linux

CheckCommand ExamplesWhat to Look For
Current identityid, whoami, groupsGroup memberships, sudo rights
Kernel/versionuname -a, cat /etc/os-releaseKnown local privilege escalation context
Sudo rightssudo -lNOPASSWD, allowed binaries
SUID/SGID filesfind / -perm -4000 -type f 2>/dev/nullAbusable binaries
Writable pathsfind / -writable -type d 2>/dev/nullPATH hijacking, cron abuse
Cron/systemdls -la /etc/cron*, systemctl list-timersWritable scripts or timers
Capabilitiesgetcap -r / 2>/dev/nullDangerous capabilities like file read/write or shell execution
SecretsConfig files, history, backupsPasswords, tokens, private keys
Networkss -tulpnLocal-only services to pivot into
Notes and examples

Windows

CheckCommand ExamplesWhat to Look For
Current identitywhoami /allPrivileges, groups, integrity level
System infosysteminfoPatch and OS context
Users/groupsnet user, net localgroup administratorsPrivileged accounts
Servicessc query, PowerShell service queriesUnquoted paths, weak permissions
Scheduled tasksschtasks /query /fo LIST /vWritable task actions
Saved credentialscmdkey /listReusable credentials
Sharesnet share, net useSensitive data, writable shares
RegistryAutoruns, stored configCredentials, autostart abuse
Defender/exclusionsPowerShell security settingsAvoid assuming controls are disabled

Exploitation Safety Decision Table

SituationSafer ActionAvoid
Production database injection suspectedUse time-based or limited Boolean proof, confirm with ownerDumping full tables
RCE suspectedRun benign identity/hostname commandDestructive commands or persistence
File read suspectedRead a harmless known file or approved markerAccessing sensitive files unnecessarily
Weak credentials foundLogin once, capture minimal proofBroad mailbox or file browsing
Shell obtainedStabilize only if allowed, record contextInstalling persistence tools without approval
Service crash riskUse non-invasive checks or ask for test windowRunning DoS modules by default
Sensitive data encounteredStop, document path, redact evidenceCopying large datasets

Post-Exploitation Reference

ObjectiveExamplesExam Boundary
Establish contextHostname, user, groups, network interfacesDocument before changing anything
Identify sensitive accessConfig files, keys, DB connections, sharesCollect minimum proof
Privilege escalationLocal misconfigurations, credential reuseStay within ROE
Lateral movementSMB, WinRM, SSH, RDP, cloud rolesConfirm target is in scope
PivotingSOCKS proxy, SSH tunnel, port forwardAvoid unauthorized third-party routing
PersistenceScheduled task, service, startup itemOnly if explicitly permitted
CleanupRemove tools, accounts, payloads, logs as agreedDo not destroy audit evidence unless instructed
Notes and examples

Exploitation fundamentals

Exploitation is not about “running the biggest exploit.” It is about safely proving business impact within the engagement rules.

Exploitation decision rules

Question patternBest answer pattern
Need to prove impact safelyUse minimal proof-of-concept evidence
Exploit may crash serviceAvoid unless explicitly authorized; choose safer validation
Need shell accessConfirm payload architecture, egress path, listener, AV/EDR considerations, authorization
Need credentialsPrefer scoped password testing rules; avoid account lockouts
Need lateral movementConfirm segmentation, trust relationships, and allowed targets
Need persistenceOnly if explicitly authorized and documented
Need data proofCapture limited, relevant evidence; protect sensitive data

Bind shell vs. reverse shell

Shell typeHow it worksCommon issue
Bind shellTarget listens; tester connects to targetBlocked by inbound firewall rules
Reverse shellTarget connects back to testerRequires outbound path from target to tester
Web shellCommand execution through web-accessible scriptEasy to leave behind; cleanup is critical

Encoding, hashing, and encryption

ConceptPurposeReversible?
EncodingFormat data for transport or storage, such as Base64 or URL encodingYes
HashingOne-way digest for integrity or password storageNo, but weak passwords can be cracked by guessing
EncryptionProtect confidentiality with a keyYes, with the correct key
ObfuscationMake code or data harder to readUsually yes

A frequent exam trap is treating Base64 as encryption. Base64 is encoding.

Pivoting and Tunneling Patterns

NeedPatternExample Use
Reach internal service through compromised hostLocal port forwardAccess internal web admin from tester machine
Expose tester service to targetReverse port forwardReceive callback from isolated network
Route multiple tools through footholdSOCKS proxyProxychains with browser/scanner
Transfer files safelySCP/SFTP/HTTPSMove approved tooling or evidence
Avoid file transferLiving-off-the-land commandsUse native shell commands when allowed
## SSH local port forward: tester connects to localhost:8080 to reach internal target:80
ssh -L 8080:internal.target:80 user@pivot-host

## SSH dynamic SOCKS proxy
ssh -D 9050 user@pivot-host

Cloud Penetration Testing Reference

AreaWhat to CheckCommon Findings
Identity and accessUsers, roles, groups, service principals, policiesOverprivileged roles, stale keys, weak separation
StorageBuckets/blobs/shares, ACLs, public access settingsPublic data exposure, weak encryption settings
Network exposureSecurity groups, firewalls, load balancers, public IPsExposed admin ports, overly broad ingress
ComputeVM metadata, instance roles, startup scriptsCredential exposure, lateral movement via role
ServerlessFunction permissions, triggers, environment variablesSecrets in env vars, broad execution roles
ContainersRegistries, image vulnerabilities, cluster RBACPrivileged containers, exposed dashboards
LoggingAudit logs, flow logs, alertingMissing detection or retention gaps
SecretsKey vaults, secret managers, CI/CD variablesHardcoded or broadly accessible secrets
Notes and examples

Cloud-Specific Exam Traps

TrapCorrect Thinking
Treating cloud like only virtual machinesInclude IAM, managed services, metadata, storage, and APIs
Testing a cloud tenant without provider/client approvalConfirm scope, authorization, and acceptable use constraints
Reporting public bucket only as “misconfiguration”Explain data exposure and access path
Ignoring temporary credentialsSession tokens and instance role credentials matter
Assuming encryption solves access controlEncryption does not fix public or excessive permissions
Using destructive tests against managed servicesPrefer read-only validation unless explicitly approved

Container and Kubernetes Reference

ComponentWhat to ReviewRisk
ImageBase image, packages, secrets, build historyVulnerabilities, embedded credentials
DockerfileUser, permissions, exposed portsRunning as root, excessive capabilities
RuntimePrivileged mode, host mounts, socket mountsHost compromise path
RegistryPublic/private access, signing, scanningUnauthorized image pull/push
Kubernetes APIAuthentication, network exposureCluster takeover
RBACServiceAccount permissions, role bindingsExcessive pod/secret access
SecretsKubernetes Secrets, env vars, mounted filesCredential disclosure
Network policiesPod-to-pod restrictionsFlat internal network
Admission controlsPolicy enforcementUnsafe workloads allowed
EtcdAccess and encryptionCluster secret exposure
## Kubernetes context awareness
kubectl config current-context
kubectl auth can-i --list

## Check pods and service accounts in a namespace
kubectl get pods -n <namespace>
kubectl get serviceaccounts -n <namespace>
Notes and examples

Cloud, container, and Kubernetes review

Cloud questions usually test identity, permissions, exposed services, metadata, storage, logging, and boundaries.

Cloud testing concepts

AreaWhat to review
IAMOverly permissive roles, privilege escalation paths, unused keys, weak separation of duties
StoragePublic buckets, overly broad ACLs, sensitive files, versioned data
Metadata serviceInstance role credentials exposed through SSRF or local access
Network securitySecurity groups, firewall rules, public management ports
SecretsHardcoded keys in repos, images, environment variables, CI/CD logs
LoggingCloud audit logs, object access logs, detection coverage
ServerlessFunction permissions, event triggers, environment variables
SaaSTenant boundaries, delegated admin rights, app integrations

Container and Kubernetes quick table

ComponentRisk pattern
Container imageVulnerable packages, embedded secrets, running as root
Container runtimePrivileged mode, host namespace access, mounted host paths
Docker socketMounting the socket can lead to host-level control
Kubernetes RBACExcessive permissions, service account token misuse
SecretsBase64-encoded Kubernetes secrets are not encrypted by default in all configurations
Network policiesWeak pod-to-pod segmentation
Admission controlsMissing guardrails for privileged workloads
CI/CDPipeline secrets, artifact poisoning, dependency risks

Cloud trap: do not assume that finding a public cloud asset means it is in scope. Confirm account, tenant, region, and authorization.

Wireless and RF Testing Reference

TopicKey ConceptExam Relevance
WPA/WPA2/WPA3Wi-Fi security protocolsKnow handshake capture vs. online attack
PSK crackingOffline attack against captured handshakeDepends on passphrase strength
Evil twinRogue AP impersonates legitimate SSIDCredential capture/social engineering
DeauthenticationForces clients to reconnectDisruptive; requires explicit approval
WPS weaknessPIN-based enrollment riskCan expose network key when vulnerable
BluetoothPairing, discoverability, weak servicesMobile/IoT attack surface
RFID/NFCProximity credentialsCloning/relay considerations
SDRSoftware-defined radioRF signal analysis in approved scope

Mobile, IoT, OT, and ICS Testing Distinctions

EnvironmentTesting FocusExtra Caution
Mobile appsLocal storage, API calls, certificate validation, jailbreak/root detectionDevice and account authorization
IoTDefault creds, firmware, exposed services, update mechanismFragile devices, limited logging
OT/ICSProtocol exposure, segmentation, vendor access pathsSafety and availability are primary
Embedded firmwareHardcoded secrets, outdated libraries, debug interfacesAvoid bricking devices
Medical/industrial systemsNetwork segmentation and vendor-approved checksDo not disrupt operations

Exam cue: For OT/ICS, prefer passive discovery, maintenance windows, vendor coordination, and strict scope controls.

Social Engineering Reference

AttackDescriptionKey Control / Remediation
PhishingEmail lures for credentials/actionsUser training, email filtering, MFA, reporting process
Spear phishingTargeted phishingRole-based awareness and verification
VishingVoice-based manipulationCall-back verification, help desk scripts
SmishingSMS phishingMobile awareness, link filtering
PretextingFabricated scenarioIdentity verification procedures
TailgatingFollowing authorized person into facilityBadges, mantraps, challenge culture
USB dropMalicious removable mediaDevice control, awareness, endpoint controls
MFA fatigueRepeated push promptsNumber matching, phishing-resistant MFA, alerting
Notes and examples

Social engineering review

Social engineering tests people and processes. It is sensitive and must be explicitly authorized.

TechniqueReview focus
PhishingPretext, payload safety, tracking, reporting, training outcomes
VishingCall scripts, caller ID considerations, consent and recording rules if applicable
SmishingSMS-based pretexts and link tracking
Physical accessBadging, tailgating, visitor procedures, safety
USB dropsPayload safety, consent, tracking, endpoint response
ImpersonationPre-approved roles and escalation boundaries

Common trap: selecting a social engineering action when the scenario did not authorize social engineering.

Code Review and Scripting Cues

Common Insecure Code Patterns

PatternRiskSafer Direction
String-concatenated SQLSQL injectionParameterized queries
Shell command with user inputCommand injectionAvoid shell; validate allowlist
Hardcoded secretsCredential exposureSecret manager, environment isolation
Disabled TLS verificationMITM exposureValidate certificates
Unsafe deserializationRCE/data tamperingUse safe formats and integrity checks
Weak randomnessPredictable tokensCryptographic RNG
Verbose error outputInformation disclosureGeneric errors, server-side logging
Client-side authorization onlyAccess control bypassServer-side authorization checks

Regex and Search Patterns for Secrets

## Search recursively for likely secrets; tune to reduce false positives
grep -RniE "password|passwd|pwd|secret|token|api[_-]?key|client[_-]?secret" .

## Find private keys
grep -Rni "BEGIN .*PRIVATE KEY" .

Parameterized Query Concept

## Safer concept: parameter binding, not string concatenation
cursor.execute("SELECT * FROM users WHERE email = ?", (email,))

Cryptography and Hashing Distinctions

ConceptPurposePentest Relevance
EncodingData representationBase64 is not encryption
HashingOne-way integrity representationPassword hashes can be cracked offline
SaltingUnique value added before hashingDefeats rainbow table reuse
Key stretchingSlows password crackingbcrypt/scrypt/Argon2-style concepts
Symmetric encryptionSame key encrypts/decryptsKey protection is critical
Asymmetric encryptionPublic/private key pairUsed in TLS, SSH, signatures
Digital signatureIntegrity and authenticityValidates origin and tampering
CertificateBinds identity to public keyExpired/mismatched/untrusted certs are findings
HMACKeyed integrity checkPrevents tampering when key is secret

Vulnerability Severity and Risk Rating

Risk is commonly based on likelihood and impact, not scanner output alone.

\[ \text{Risk} = \text{Likelihood} \times \text{Impact} \]
FactorRaises LikelihoodRaises Impact
ExposureInternet-facing, no auth, known exploitPublic access to sensitive function
ComplexitySimple exploit, reliable payloadNo user interaction needed
PrivilegesNo credentials requiredAdmin/root/domain impact
DataEasy discoveryRegulated, financial, credential, or sensitive business data
Compensating controlsMissing logging, weak segmentationNo containment or monitoring
Exploit maturityPublic exploit availableWormable or repeatable at scale

Reporting Cheat Sheet

Report Structure

SectionAudienceInclude
Executive summaryBusiness and leadershipOverall posture, major risks, business impact
Scope and methodologyTechnical and managementSystems tested, dates, constraints, approach
Findings summaryBothSeverity list, affected assets, status
Technical findingsTechnical ownersEvidence, steps, affected components, root cause
Risk analysisBothLikelihood, impact, exploitability, compensating controls
RemediationSystem ownersSpecific fixes, priority, validation guidance
AppendixTechnical readersTool output, payloads, logs, references, artifacts
Cleanup/retest notesProject stakeholdersArtifacts removed, retest results, residual risk
Notes and examples

Finding Template

FieldWhat Good Looks Like
TitleClear vulnerability and affected component
SeverityJustified by likelihood and impact
DescriptionWhat is wrong, not just scanner text
Affected assetsHostnames, IPs, URLs, accounts, endpoints
EvidenceMinimal, redacted proof with timestamps
Reproduction stepsRepeatable steps within scope
ImpactBusiness and technical consequence
Root causeMissing patch, weak config, design flaw, process gap
RemediationActionable fix, not vague advice
ValidationHow to confirm the fix worked

Evidence Handling Checklist

  • Record command, target, timestamp, user/context, and result.
  • Redact secrets, tokens, customer data, and personal data where possible.
  • Preserve original logs or tool output when required by the engagement.
  • Avoid collecting more sensitive data than necessary to prove impact.
  • Use encrypted storage and approved transfer channels.
  • Track cleanup items: payloads, accounts, files, scheduled tasks, keys.

Reporting and communication

A professional penetration test is only useful if the findings are clear, accurate, and actionable.

Report structure

SectionPurpose
Executive summaryBusiness-level risk, major themes, overall impact
Scope and objectivesWhat was tested and what was excluded
MethodologyHigh-level approach and constraints
FindingsVulnerability details, evidence, impact, likelihood, affected assets
Risk ratingsConsistent severity reasoning
RemediationSpecific, practical fixes
Retest guidanceHow to verify fixes
AppendicesTool output, detailed evidence, technical notes

Executive vs. technical communication

AudienceEmphasize
ExecutivesBusiness impact, risk themes, priorities, remediation roadmap
IT operationsAffected systems, configuration changes, patching, detection
DevelopersRoot cause, vulnerable parameters, secure coding fixes
Security teamAttack path, evidence, detection opportunities, control gaps
Legal/complianceScope, authorization, data handling, evidence preservation

Finding quality checklist

A strong finding includes:

  • Clear title
  • Affected asset or application area
  • Severity and rationale
  • Reproduction steps appropriate for the report audience
  • Evidence, such as screenshots or sanitized output
  • Business and technical impact
  • Root cause where known
  • Practical remediation
  • References or validation guidance if appropriate
  • Retest recommendation

Avoid dumping raw scanner output as the report. Scanner output can support a finding, but it is not a complete finding.

Remediation Mapping

Finding TypeStrong Remediation
SQL injectionParameterized queries, input validation, least-privileged DB account
XSSOutput encoding, context-aware escaping, CSP as defense-in-depth
IDOR/BOLAServer-side object authorization checks
Weak passwordsStrong policy, breached password screening, MFA, lockout/rate limiting
Exposed admin serviceRestrict by VPN/bastion/allowlist, enforce MFA, monitor access
Missing patchesPatch management process and compensating controls
Public storageRemove public access, least privilege, monitor access, classify data
Hardcoded secretsRotate secret, remove from history if needed, use secret manager
Excessive IAMLeast privilege, role separation, periodic access review
Insecure TLSDisable weak protocols/ciphers, use trusted certificates
SMB relay riskRequire SMB signing, harden NTLM/LDAP, reduce broadcast name resolution
Container running as rootNon-root user, drop capabilities, avoid privileged mode
Kubernetes excessive RBACNarrow roles, namespace isolation, service account minimization
Missing logsEnable audit logs, centralize, alert on high-risk actions

Common Exam Decision Traps

If the Question Says…Usually Think…
“Before beginning testing”Authorization, scope, ROE, communication plan
“Least intrusive”Passive recon, authenticated scan, safe validation
“Production system”Avoid disruptive payloads; coordinate test window
“Scanner reports critical finding”Validate before claiming exploitability
“Cloud-hosted target”Confirm cloud account/provider scope and IAM context
“Third-party service”Verify permission before testing
“Need business audience”Executive summary and risk impact, not raw tool output
“Need technical remediation”Specific configuration/code fix
“Evidence contains sensitive data”Redact and minimize collection
“Credential discovered”Rotate/remediate; do not broadly reuse outside scope
“OT/ICS environment”Safety, availability, passive methods, vendor coordination
“Password attack with lockout risk”Password spraying carefully or offline cracking if hashes are available
“Need to test authorization”Use two accounts with different privilege levels
“Need to find hidden web paths”Content discovery/fuzzing
“Need to intercept and modify requests”Burp Suite or OWASP ZAP
“Need prove command injection”Benign command like identity/hostname
“Need identify lateral movement path in AD”BloodHound-style relationship analysis

Mini Workflow: From Target to Finding

    flowchart TD
	    A[Confirm scope and ROE] --> B[Passive recon]
	    B --> C[Active discovery]
	    C --> D[Enumeration]
	    D --> E[Vulnerability hypothesis]
	    E --> F{Safe to validate?}
	    F -- No --> G[Document risk and request approval/window]
	    F -- Yes --> H[Controlled validation]
	    H --> I{Impact proven?}
	    I -- No --> J[Report as potential or informational if relevant]
	    I -- Yes --> K[Capture minimal evidence]
	    K --> L[Map root cause and remediation]
	    L --> M[Cleanup and report]

Final Review Checklist

Before test day, be able to answer quickly:

  • Which action comes first: authorization/scope before testing.
  • Which method is passive vs. active.
  • Which tool fits the task: Nmap, Burp/ZAP, Hashcat/John, BloodHound, Wireshark, cloud CLI.
  • How to validate a finding safely without overcollecting data.
  • How AD attacks differ: Kerberoasting, AS-REP roasting, pass-the-hash, relay, DCSync.
  • How web flaws differ: SQLi, XSS, CSRF, SSRF, IDOR/BOLA, upload, traversal, deserialization.
  • How cloud findings differ from traditional network findings: IAM, storage, metadata, managed services.
  • How to write a report finding with impact, evidence, and remediation.
  • How to choose least disruptive testing in production, OT/ICS, and cloud scenarios.

For your next step, move from review to timed practice: answer scenario-based PT0-003 questions, then explain why each wrong option is unsafe, out of scope, too disruptive, or the wrong tool for the objective.

High-yield exam mindset

For PT0-003, think like a professional tester, not just an attacker.

If the question is about…The best answer usually emphasizes…
Starting workWritten authorization, scope, rules of engagement, contacts, timing
Unexpected accessStop, preserve evidence, notify according to escalation procedures
Production systemsAvoid unnecessary disruption; validate safely
Vulnerability findingsEvidence, impact, likelihood, remediation, reproducibility
Exploit selectionAuthorized, scoped, proportional, and aligned to objectives
Tool outputConfirm false positives; do not trust a scanner blindly
ReportingAudience-appropriate communication and actionable remediation
CredentialsSecure handling, minimal exposure, cleanup, and documentation
Cloud or SaaSShared responsibility, IAM permissions, logs, and tenant boundaries
OT/ICS or fragile systemsSafety, availability, and explicit permission before active testing

A common candidate mistake is choosing the most technically aggressive option when the best professional answer is to verify authorization, reduce risk, or communicate with the client.

Penetration testing lifecycle at a glance

PhaseWhat you should rememberCommon exam traps
Pre-engagementScope, objectives, statement of work, authorization, ROE, timelines, communication planStarting scans before authorization
ReconnaissancePassive and active information gatheringConfusing passive OSINT with active probing
EnumerationIdentify hosts, services, users, shares, technologies, trust pathsTreating open ports as confirmed vulnerabilities
Vulnerability analysisCorrelate findings, validate risk, remove false positivesRanking solely by scanner severity
ExploitationProve impact safely and within scopeExploiting out-of-scope assets or causing denial of service
Post-exploitationPrivilege escalation, lateral movement, data access validation, persistence only if authorizedCollecting excessive sensitive data
CleanupRemove test artifacts, accounts, shells, payloads, temporary filesLeaving tools or credentials behind
ReportingExecutive summary, technical findings, evidence, risk, remediation, retest guidanceWriting only a tool-output dump

Reconnaissance and enumeration

Reconnaissance identifies the attack surface. Enumeration turns discovered systems and services into useful test targets.

Passive vs. active reconnaissance

TypeExamplesRisk profile
Passive reconnaissancePublic websites, search engines, certificate transparency, WHOIS/RDAP, social media, job postings, breach data, code repositoriesLower chance of interacting directly with target systems
Active reconnaissanceDNS queries, port scans, web crawling, banner grabbing, directory brute forcing, service enumerationDirect interaction with target systems; must follow ROE
Notes and examples

High-yield recon targets

TargetWhat to look for
DNSSubdomains, MX records, TXT records, SPF/DMARC/DKIM, zone transfer exposure
CertificatesSubject alternative names revealing hidden hosts
Web appsFrameworks, login portals, APIs, admin panels, robots.txt, sitemap.xml
Source repositoriesSecrets, tokens, API keys, credentials, internal hostnames
Cloud storagePublic buckets, exposed files, permissive access policies
Email infrastructurePhishing targets, SPF/DMARC gaps, exposed mail services
Job postingsTechnology stack, cloud platforms, security tools
Breach dataReused passwords, username formats, leaked credentials

Common service and port review

Port / serviceWhat to consider during authorized testing
21 FTPAnonymous login, cleartext credentials, writable directories
22 SSHVersion, weak credentials, exposed keys, password authentication
23 TelnetCleartext remote access, default credentials
25 SMTPOpen relay, user enumeration, spoofing controls
53 DNSZone transfer, subdomain enumeration, misconfigured records
80 / 443 HTTP(S)Web app vulnerabilities, headers, TLS configuration, exposed admin panels
110 / 143 / 993 / 995 MailCleartext protocols, weak authentication, exposed mailboxes
135 / 139 / 445 SMB/RPCShares, signing, null sessions, outdated Windows services
161 SNMPDefault community strings, information disclosure
389 / 636 LDAPAnonymous bind, directory enumeration, AD information leakage
1433 MSSQLWeak credentials, excessive privileges, xp_cmdshell exposure
3306 MySQLWeak credentials, exposed databases
3389 RDPInternet exposure, weak credentials, NLA configuration
5900 VNCWeak or no authentication
6379 RedisUnauthenticated access, data exposure, possible code execution paths
8080 / 8443Alternate web services, admin consoles, proxy interfaces

Tool-output interpretation traps

ObservationDo not assumeBetter next step
Open portVulnerability existsEnumerate service/version and configuration
Scanner says “critical”Exploitability is confirmedValidate manually or with safe proof
HTTP 403No access path existsCheck alternate methods, headers, paths, auth context
HTTP 500Exploit confirmedDetermine input and reproducibility
Old bannerSystem is vulnerableConfirm patch/backport status
No ping responseHost is downTry permitted TCP/UDP discovery methods

Vulnerability analysis and prioritization

A penetration tester should prioritize based on risk, not just scanner output. Risk combines exploitability, business impact, asset criticality, exposure, and compensating controls.

Prioritization quick table

FactorHigher-risk signal
ExposureInternet-facing, unauthenticated, broadly reachable
ExploitabilityPublic exploit, low complexity, reliable exploit path
Privilege requiredNo credentials or low-privilege access required
ImpactRemote code execution, sensitive data access, privilege escalation
Asset valueDomain controller, payment system, customer database, production API
EvidenceReproducible proof, confirmed access, meaningful data exposure
Compensating controlsWeak or absent monitoring, segmentation, MFA, patching
Notes and examples

Scanner findings: how to think

Finding typeReview approach
Missing patchConfirm version, configuration, and exploitability
Weak TLSDetermine actual risk based on supported protocols/ciphers and exposure
Default credentialsAttempt only within ROE; document successful authentication
SQL injectionValidate with safe payloads before using automated exploitation
XSSProve execution context and impact, not just reflected input
Open storage bucketVerify permissions and exposure without over-collecting data

Password attacks and credential testing

Credential attacks must follow the rules of engagement because they can lock accounts, trigger alerts, or expose sensitive data.

Password attack types

AttackDescriptionKey risk
Password sprayingFew common passwords across many usersAccount lockout if not rate-limited properly
Brute forceMany guesses against one or more accountsNoisy; often prohibited or tightly limited
Dictionary attackWordlist-based guessingDepends heavily on password policy and user behavior
Credential stuffingTesting known breached credentialsLegal/ethical and scope concerns; must be authorized
Offline crackingCracking captured hashes outside live systemSafer for lockouts; still requires secure hash handling
Pass-the-hashUse NTLM hash without knowing plaintext passwordRequires compatible environment and captured hash
Pass-the-ticketUse Kerberos ticket to authenticateRequires ticket material and Kerberos context
Notes and examples

Hash-cracking review

ConceptWhy it matters
SaltMakes identical passwords produce different hashes
Slow hashIncreases cracking cost, such as bcrypt/scrypt/Argon2-style approaches
Fast hashEasier to crack at scale if passwords are weak
Rules/masksEfficiently mutate wordlists based on likely patterns
Rainbow tablesPrecomputed hashes; less useful against proper salting

Do not confuse password cracking with decryption. Hashes are not decrypted; candidates are guessed and hashed for comparison.

Active Directory and Windows environment review

Active Directory questions often test enumeration, privilege paths, credential exposure, and lateral movement.

AD attack concepts

ConceptWhat to remember
KerberoastingRequest service tickets for SPNs and crack them offline if service account passwords are weak
AS-REP roastingTargets accounts not requiring Kerberos preauthentication
LLMNR/NBT-NS poisoningCaptures authentication attempts on local networks when name resolution falls back insecurely
NTLM relayRelays captured authentication to another service when protections such as signing/channel binding are absent
Pass-the-hashAuthenticates using NTLM hash rather than plaintext password
Pass-the-ticketUses Kerberos ticket material for access
Unconstrained or constrained delegation abuseMisconfigured delegation can allow privilege escalation
ACL abuseOver-permissive object rights can allow password reset, group membership changes, or replication rights
DCSync-style riskDirectory replication rights can expose credential material
Local admin reuseSame local admin credentials across hosts enable lateral movement
Notes and examples

AD enumeration focus

AreaWhat to enumerate
Users and groupsPrivileged groups, service accounts, stale accounts
ComputersWorkstations, servers, domain controllers
SharesSensitive files, scripts, backups, passwords
Group PolicyLogin scripts, local admin settings, security configuration
SPNsKerberoastable service accounts
TrustsCross-domain or forest relationships
SessionsWhere privileged users are logged in
ACLsMisconfigured permissions and privilege paths

Windows privilege escalation signals

  • Unquoted service paths
  • Weak service permissions
  • Writable directories in privileged execution paths
  • Stored credentials
  • Scheduled tasks running as privileged users
  • AlwaysInstallElevated-style installer misconfiguration
  • Insecure registry permissions
  • Token privileges that enable elevation paths
  • Missing patches combined with local exploit feasibility

Linux and network service exploitation review

Linux-focused questions may involve permissions, services, sudo rules, cron jobs, web app deployment mistakes, and exposed keys.

AreaHigh-yield checks
File permissionsWorld-writable files, sensitive readable files, SUID/SGID binaries
SudoCommands allowed without password; command escape paths
CronWritable scripts executed by privileged users
SSHPrivate keys, authorized_keys misuse, weak permissions
Web servicesApp config files, database credentials, upload directories
ContainersMounted Docker socket, privileged containers, host mounts
Environment variablesSecrets or tokens exposed to processes
Logs and backupsCredentials, tokens, database dumps

Candidate trap: finding a local privilege escalation exploit does not mean you should run it. Consider kernel version, stability, scope, and authorization.

Wireless, mobile, IoT, and OT review

Wireless testing

TopicWhat to know
WPA/WPA2 personalCapture handshake and attempt offline cracking if authorized
WPSPIN weaknesses can expose wireless access
Evil twinRogue AP impersonates legitimate network
DeauthenticationOften disruptive; requires explicit authorization
WPA EnterpriseEAP configuration, certificate validation, credential capture risk
Guest networksSegmentation from internal resources
Notes and examples

Mobile testing

AreaCommon weakness
Local storageTokens, credentials, or PII stored insecurely
Transport securityWeak TLS validation or certificate pinning issues
API authorizationMobile APIs vulnerable to IDOR/BOLA
Hardcoded secretsAPI keys or credentials embedded in app package
LoggingSensitive data written to logs
Platform permissionsExcessive app permissions

IoT and OT considerations

EnvironmentTesting priority
IoTDefault credentials, insecure firmware, exposed services, weak update mechanisms
OT/ICSSafety and availability, vendor constraints, passive analysis, explicit approvals
Embedded devicesDebug interfaces, hardcoded credentials, outdated libraries
Medical/industrial systemsAvoid disruptive testing unless specifically authorized and controlled

For OT and safety-critical systems, the exam answer often favors caution, passive techniques, coordination, and strict adherence to the engagement plan.

Scripting and automation

PT0-003 candidates should be comfortable reading and reasoning about simple automation. You may need to understand what a script does, identify a bug, parse output, or select the right logic.

Scripting concepts to review

ConceptWhy it matters
VariablesStore hostnames, ports, tokens, paths, counters
ConditionalsBranch based on status codes, strings, or errors
LoopsIterate through hosts, users, URLs, or files
FunctionsReuse logic and reduce errors
Input validationAvoid unsafe command construction
Error handlingContinue safely or fail clearly
File handlingRead wordlists, write logs, parse results
JSON/YAML/CSV parsingCommon for API results and tool output
Regular expressionsExtract IPs, emails, URLs, tokens, or hashes
APIsAuthenticate, send requests, handle responses
Exit codesDetermine whether commands succeeded
Notes and examples

Automation traps

  • Unsafe string concatenation can create command injection.
  • Hardcoded credentials should not be embedded in scripts.
  • Scripts should respect rate limits and ROE.
  • Output should not expose secrets unnecessarily.
  • Error handling matters during long scans or batch testing.
  • A script that “works” may still be unsafe for production systems.

Common PT0-003 candidate mistakes

MistakeBetter exam habit
Choosing exploitation before authorizationVerify scope and ROE first
Treating every scanner alert as trueValidate and prioritize
Ignoring business impactTie findings to risk and affected assets
Over-collecting sensitive dataCapture minimal proof and protect evidence
Confusing authentication and authorizationTest role and object-level access
Confusing encoding with encryptionBase64 is not encryption
Ignoring cleanupRemove artifacts and document cleanup
Assuming cloud assets are in scopeConfirm account, tenant, and written scope
Using disruptive tests casuallyConfirm explicit authorization
Reporting only technical detailsMatch detail to audience

Fast decision table for scenario questions

Scenario clueLikely best answer
“Before beginning testing…”Obtain written authorization and confirm ROE
“Out-of-scope host discovered…”Do not test; report through approved channel
“Production service becomes unstable…”Stop or throttle testing and notify contact
“Scanner reports critical vulnerability…”Validate safely and document evidence
“Need to avoid account lockouts…”Use approved password spraying limits or offline cracking
“Need to prove SQL injection…”Use safe payloads; avoid dumping entire database
“Found credentials in repository…”Protect evidence, validate only if scoped, recommend secret rotation
“Need to test fragile OT system…”Prefer passive methods and explicit coordination
“Executive audience…”Summarize business risk and remediation priorities
“Developer audience…”Explain root cause and code/configuration remediation

Put the review into practice

Browse Certification Practice Tests