Curated

Vulnerability Discovery and Analysis 1 (3.1)

0 votes

Questions76

  1. Question 1

    Vulnerability Discovery and Analysis

    Which activities are part of a manual assessment of an ICS environment? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersB. Physically inspecting controllers, cabling and access to cabinetsC. Interviewing operators and engineers about how the process runsE. Comparing device firmware versions with vendor advisoriesF. Reviewing network diagrams and system documentation

    AWhy not this: SPAN port mirroring is the separate passive capture technique, not a hands-on manual review activity.

    BWhy this is right: Walking the site reveals exposed ports, unlocked cabinets and unmanaged devices that scanners cannot see.

    CWhy this is right: Operators and engineers know the process, undocumented connections and operating constraints.

    DWhy not this: Aggressive scanning is an automated active technique and risks crashing live PLCs.

    EWhy this is right: Checking firmware against vendor advisories identifies known vulnerabilities without sending traffic to the device.

    FWhy this is right: Diagrams and documentation show architecture and asset inventory, which is core manual review work.

    Manual assessment relies on documentation review, physical inspection, firmware checks against advisories and talking with staff, all without disturbing fragile devices. Port mirroring is a passive traffic-capture technique, and aggressive scanning is an active automated technique that can disrupt ICS devices.

    Open this question
  2. Question 2

    Vulnerability Discovery and Analysis

    A water utility forbids injecting any traffic into its OT network, and its unmanaged switches cannot mirror ports. The assessor must find default credentials, unneeded services and patch gaps on RTUs. What is the BEST method?

    Show the answer

    Correct answerA. Reviewing exported RTU configurations and firmware versions with engineers against vendor hardening guidance

    AWhy this is right: Offline review of configurations and versions meets the no-traffic rule and covers credentials, services and patch level.

    BWhy not this: Unmanaged switches have no mirroring feature, and captured traffic would not show stored configuration or unused services.

    CWhy not this: An authenticated scan injects traffic and logs in to production RTUs, breaking the no-traffic constraint.

    DWhy not this: Even throttled, a script scan injects traffic into the OT network, which the utility prohibits.

    Reviewing exported configurations and firmware versions against vendor hardening guidance finds default accounts, extra services and patch gaps with no traffic injected. Port mirroring would be passive, but unmanaged switches cannot do it, and it would not reveal stored settings anyway.

    Open this question
  3. Question 3

    Vulnerability Discovery and Analysis

    A bottling-plant PLC reboots whenever it is actively scanned. The assessor must check its firmware, enabled services and key-switch mode against vendor guidance. Which approach is BEST?

    Show the answer

    Correct answerB. Manual assessment of the PLC, its configuration and firmware with plant engineers

    AWhy not this: Any scan still sends packets to a PLC known to crash, and a scanner cannot read the physical key-switch position.

    BWhy this is right: Inspection and configuration review cover firmware, services and key-switch position without touching the fragile PLC over the network.

    CWhy not this: Passive capture is safe but only shows traffic; it cannot reveal the physical key-switch mode or stored configuration.

    DWhy not this: Fuzzing is intrusive and would likely crash the PLC and disrupt production; it does not check configuration against guidance.

    Manual assessment lets the assessor inspect the device, review its configuration and compare the firmware to vendor advisories without sending risky traffic. Port mirroring is passive and safe, but it cannot show the key-switch position or settings that never cross the wire.

    Open this question
  4. Question 4

    Vulnerability Discovery and Analysis

    A client gives a tester only the URL of a running staging web application, with no source code and no permission to install agents. Which scan type finds reflected XSS and SQL injection by sending crafted requests?

    Show the answer

    Correct answerD. DAST

    AWhy not this: IAST relies on an agent instrumented inside the running app, which is not permitted here.

    BWhy not this: SAST analyses source code, which the tester does not have.

    CWhy not this: SCA identifies vulnerable third-party components; it does not send attack requests to the app.

    DWhy this is right: DAST black-box tests the running app with crafted requests, needing only its URL.

    DAST tests a running application from outside by sending crafted requests and observing responses, so it needs neither source code nor agents. IAST also finds runtime flaws but needs an instrumentation agent inside the application.

    Open this question
  5. Question 5

    Vulnerability Discovery and Analysis

    A DAST scan of a web application reports only the public login page and finds nothing behind it. How can the tester BEST extend the scan's coverage?

    Show the answer

    Correct answerD. Configure valid credentials or session tokens for the scanner

    AWhy not this: SCA checks dependency versions and is not a way to extend DAST coverage of the app's pages.

    BWhy not this: A SYN scan maps open ports; it does not let a web crawler get past the login page.

    CWhy not this: UDP ports have no bearing on web pages that sit behind an application login.

    DWhy this is right: Authenticated access lets the DAST crawler reach and test pages behind the login.

    A DAST crawler can only test pages it can reach, so giving it valid credentials or session tokens lets it crawl and attack authenticated areas. A port scan only shows open ports and does not help the crawler see pages behind the login.

    Open this question
  6. Question 6

    Vulnerability Discovery and Analysis

    A tester can deploy workloads to a Kubernetes namespace but has no access to the worker nodes, and the client forbids rebuilding the application image. A service listens only on localhost inside its pod. Which approach BEST scans that service?

    Show the answer

    Correct answerC. Add a scanning sidecar container to the application's pod

    AWhy not this: Localhost-only listeners are not reachable from outside the pod, so an external scan never sees the service.

    BWhy not this: SAST inspects source code statically; it does not probe the running service and needs no pod access.

    CWhy this is right: A sidecar shares the pod's network namespace, reaching localhost services without changing the image or needing node access.

    DWhy not this: The tester has no node access, so a host-based scan on the worker node is not possible.

    A sidecar container shares the pod's network namespace, so it can reach localhost-only services without touching the image or the node. An external TCP scan cannot reach a localhost listener, and SAST analyses code rather than the running service.

    Open this question
  7. Question 7

    Vulnerability Discovery and Analysis

    A tester is told the scanner will run as a sidecar for a containerized service on Kubernetes. Where does that scanner run?

    Show the answer

    Correct answerB. As a separate container in the same pod as the service

    AWhy not this: A pod in another namespace does not share the target's network namespace, so it is not a sidecar.

    BWhy this is right: A sidecar is a second container placed in the same pod, sharing its network namespace and optionally its volumes.

    CWhy not this: An agent on the node's OS is host-based scanning, not a sidecar, which lives in the pod.

    DWhy not this: A CI pipeline step runs before deployment and is not a container running beside the live service.

    A sidecar scanner is its own container deployed in the same pod as the application container, so it shares the pod's network and can share volumes. An agent on the node is a host-based approach, not a sidecar.

    Open this question
  8. Question 8

    Vulnerability Discovery and Analysis

    A tester needs to scan a web server for outdated software and dangerous default files. Which tool is built for this?

    Show the answer

    Correct answerB. Nikto

    AWhy not this: TruffleHog searches repositories and history for leaked secrets, not live web servers.

    BWhy this is right: Nikto is a web server scanner that tests for outdated software, risky files and misconfigurations.

    CWhy not this: Kube-hunter probes Kubernetes clusters for weaknesses, not general web servers.

    DWhy not this: BloodHound graphs Active Directory relationships and attack paths, not web server flaws.

    Nikto is an open-source web server scanner that checks for outdated server software, dangerous files and misconfigurations. BloodHound maps Active Directory attack paths, so it does not examine web servers.

    Open this question
  9. Question 9

    Vulnerability Discovery and Analysis

    A Nikto scan of a web server reports that /phpinfo.php exists and returns the phpinfo() page. What is the best conclusion?

    Show the answer

    Correct answerB. A leftover file exposes server details and needs manual verification

    AWhy not this: Nikto reports exposed content and known issues; it does not confirm code execution from a phpinfo page.

    BWhy this is right: Nikto flags known risky files; phpinfo output reveals configuration, so verify it by hand and report it.

    CWhy not this: Missing OS patches are found by credentialed host scans, not by Nikto's web server checks.

    DWhy not this: Committed secrets are found by repository scanners such as TruffleHog, not by Nikto's web checks.

    Nikto checks web servers for dangerous or leftover files and misconfigurations. A reachable phpinfo page is an information disclosure finding to verify and report, not proof of code execution. Credentialed patch checks and repository secrets belong to other tools.

    Open this question
  10. Question 10

    Vulnerability Discovery and Analysis

    A tester's Greenbone scan misses a vulnerability disclosed yesterday that a colleague's scan detects. Both use the same target and scan configuration. What should the tester do first?

    Show the answer

    Correct answerB. Synchronize the vulnerability test feed

    AWhy not this: Alive test method only affects host discovery, not which vulnerabilities are tested.

    BWhy this is right: New detections arrive through the feed, so syncing it adds the tests that the colleague's scanner already has.

    CWhy not this: A wider port list changes coverage, yet both scans use the same target settings.

    DWhy not this: Credentials enable local checks but do not add a test for a newly published vulnerability.

    Greenbone detects flaws by running vulnerability tests (NVTs) from its feed, so a newly disclosed issue is only found after the feed is synced. Credentials or port lists change scan coverage, but they do not add tests that are missing.

    Open this question
  11. Question 11

    Vulnerability Discovery and Analysis

    A tester must run Nikto against a web server at 10.10.5.20 that serves HTTPS on TCP 8443. Which command is correct?

    Show the answer

    Correct answerB. nikto -h 10.10.5.20 -p 8443 -ssl

    AWhy not this: -Tuning chooses which test categories run; it does not set the port.

    BWhy this is right: -h names the host, -p the port 8443 and -ssl forces TLS, matching the HTTPS service.

    CWhy not this: -nossl disables TLS, so the plain-HTTP request would fail against an HTTPS-only port.

    DWhy not this: Port 443 is the wrong port; the service listens on 8443.

    In Nikto, -h sets the target host, -p sets the port and -ssl forces TLS. Using -nossl would disable TLS and break the scan of an HTTPS service, and -Tuning selects test categories rather than a port.

    Open this question
  12. Question 12

    Vulnerability Discovery and Analysis

    An unauthenticated Greenbone scan of Linux servers reports only network-facing issues. The client allows a read-only SSH account but forbids agents, and wants missing-package findings. What should the tester configure?

    Show the answer

    Correct answerD. An SSH credential attached to the scan target

    AWhy not this: Host Discovery only finds live hosts and runs no vulnerability tests, so it reports fewer findings.

    BWhy not this: More ports reveal more network services but not locally installed package versions.

    CWhy not this: Nikto tests web servers and cannot enumerate installed OS packages.

    DWhy this is right: A credential on the target lets Greenbone log in over SSH and compare installed packages without agents.

    Attaching an SSH credential to the Greenbone target enables authenticated local security checks that read installed package versions without any agent. More ports or discovery-only scans do not expose package state.

    Open this question
  13. Question 13

    Vulnerability Discovery and Analysis

    A SAST scan of a Java application's own code is clean. The client still fears an open-source library pulled in through another dependency has a published CVE. Which scan BEST checks this?

    Show the answer

    Correct answerA. SCA of the project's dependencies

    AWhy this is right: Inventories direct and transitive dependencies and matches versions to known CVEs.

    BWhy not this: Reviews infrastructure definitions for misconfiguration, not application dependencies.

    CWhy not this: Still analyzes only first-party code, so stricter rules will not reveal a vulnerable library version.

    DWhy not this: Finds exposed credentials and keys; it does not assess library vulnerabilities.

    SCA inventories third-party components, including transitive ones, and matches their versions against known vulnerabilities. Rerunning SAST only reexamines first-party code and cannot identify a vulnerable library version.

    Open this question
  14. Question 14

    Vulnerability Discovery and Analysis

    A source code review flags a possible SQL injection. The client asks the tester to confirm it is exploitable in the deployed application, behind its reverse proxy and WAF. Which scan BEST does this?

    Show the answer

    Correct answerA. DAST against the live application

    AWhy this is right: Tests the running application with crafted requests, confirming exploitability end to end through the proxy and WAF.

    BWhy not this: Checks third-party components for known CVEs; it does not test the custom SQL logic.

    CWhy not this: Reads code at rest, so it cannot show whether the flaw is exploitable through the deployed proxy and WAF.

    DWhy not this: Reviews infrastructure definitions for misconfiguration; it does not exercise application input handling.

    DAST sends crafted requests to the running application, so it shows whether the flaw is reachable and exploitable through the proxy and WAF. SAST only reads code at rest, so its finding stays theoretical until tested in the deployed environment.

    Open this question
  15. Question 15

    Vulnerability Discovery and Analysis

    Why does IAST generally produce fewer false positives than SAST?

    Show the answer

    Correct answerD. It observes actual data flow in the running application during tests.

    AWhy not this: Describes DAST, which has no view inside the application.

    BWhy not this: Describes SCA, which matches components to CVEs and says nothing about data flow.

    CWhy not this: Describes SAST itself, which infers flaws without execution and is the source of the false positives.

    DWhy this is right: Watching real data flow at runtime confirms a flaw was reached, which cuts false positives.

    IAST confirms an issue by watching real data flow through the running application, so it reports flaws that were actually reached. SAST infers possible flaws from code alone and cannot tell whether they are reachable at runtime.

    Open this question
  16. Question 16

    Vulnerability Discovery and Analysis

    An IAST agent runs in a staging app while a tester drives it with a crawler. The report has no findings for the admin export module, yet manual review shows it concatenates user input into SQL. What is the MOST likely cause?

    Show the answer

    Correct answerB. The crawler never reached the module, so the agent observed no execution of it.

    AWhy not this: Describes SAST; an IAST agent watches execution at runtime rather than reading source at rest.

    BWhy this is right: IAST sees only code paths that test traffic exercises, so an unreached module yields no findings.

    CWhy not this: Describes SCA; an IAST agent monitors first-party code as it executes.

    DWhy not this: Describes DAST's outside view; an IAST agent runs inside and observes server-side queries.

    IAST reports only on code that actually executes while traffic exercises it, so a module the crawler never reached produces no findings. The agent runs inside the application and does see queries, unlike an external DAST view.

    Open this question
  17. Question 17

    Vulnerability Discovery and Analysis

    Which scan type monitors a running application from the inside, through instrumentation, while it is being tested?

    Show the answer

    Correct answerB. IAST

    AWhy not this: Probes from outside with requests and judges responses; it has no view inside the application.

    BWhy this is right: Instruments the running application to observe execution and data flow from the inside during testing.

    CWhy not this: Analyzes code without running it, so it does not observe a live application.

    DWhy not this: Inventories third-party components and their known vulnerabilities; it does not monitor execution.

    IAST instruments the running application and watches code execution and data flow during testing. DAST only observes the application from outside through requests and responses.

    Open this question
  18. Question 18

    Vulnerability Discovery and Analysis

    An assessor sets a managed switch to mirror port 3, which connects a PLC, to free port 24. Where should the capture laptop be connected to record the PLC's traffic?

    Show the answer

    Correct answerD. Port 24, the configured mirror destination

    AWhy not this: The console port provides switch administration only and carries no mirrored frames.

    BWhy not this: The uplink carries aggregate traffic but is not the mirror destination, so it does not deliver the copies.

    CWhy not this: Adding a hub to the PLC's live port alters the link and is unnecessary once mirroring is configured.

    DWhy this is right: The destination port receives copies of everything on the source port, so the laptop sees the PLC's traffic there.

    The laptop plugs into the mirror destination port, which receives copies of the source port's frames. Joining the source port through a hub alters the live PLC link, and the console port only manages the switch.

    Open this question
  19. Question 19

    Vulnerability Discovery and Analysis

    An assessor mirrors the HMI's switch port and captures no traffic between two PLCs, which are cabled to a different switch. What is the BEST explanation?

    Show the answer

    Correct answerC. PLC-to-PLC frames never cross the mirrored HMI port

    AWhy not this: Mirroring copies unicast, multicast and broadcast frames from the source port, not just broadcasts.

    BWhy not this: VLAN membership of the capture host does not decide what the mirror copies; the source port does.

    CWhy this is right: A mirror copies only traffic on its source port, and PLC-to-PLC frames on another switch never touch the HMI port.

    DWhy not this: Mirroring is protocol-agnostic and copies industrial protocol frames like any other traffic.

    A mirror copies only the traffic that passes through its source port or ports. Traffic between PLCs on another switch never reaches the HMI port, so the mirror must be set on that switch. VLAN membership of the capture host does not change what a mirror copies.

    Open this question
  20. Question 20

    Vulnerability Discovery and Analysis

    An assessor must list which hosts exchange Modbus/TCP traffic on a plant network without sending any packets to its fragile PLCs. The managed switch supports SPAN. What should the assessor do?

    Show the answer

    Correct answerD. Mirror the PLC-facing switch ports to a capture host

    AWhy not this: A panel review reveals local settings but not which hosts exchange Modbus traffic on the network.

    BWhy not this: A SYN scan sends probes to the PLCs, which can crash fragile devices and breaks the no-packets constraint.

    CWhy not this: ARP poisoning injects forged frames and can disrupt control traffic, so it is neither passive nor safe here.

    DWhy this is right: Mirroring copies PLC traffic to a capture host, so communicating hosts are seen passively with nothing sent to the PLCs.

    Port mirroring copies frames from chosen switch ports to a monitoring port, so the assessor sees who talks Modbus without sending traffic to the PLCs. A panel review shows device settings, not which hosts communicate.

    Open this question
  21. Question 21

    Vulnerability Discovery and Analysis

    A tester holds a low-privilege account in an on-premises Active Directory domain. Which tool, using collected AD data, graphs the shortest chain of group memberships, sessions and permissions leading to Domain Admins?

    Show the answer

    Correct answerA. BloodHound

    AWhy this is right: BloodHound uses graph analysis to show attack paths to high-value AD targets.

    BWhy not this: OpenVAS is a vulnerability scanner for network hosts; it does not map AD relationships.

    CWhy not this: Kube-hunter tests Kubernetes clusters and has nothing to do with AD paths.

    DWhy not this: Nessus reports host vulnerabilities and misconfigurations; it does not graph AD privilege paths.

    BloodHound ingests collected AD data into a graph and reveals attack paths, such as nested groups, sessions and ACL rights, to high-value targets like Domain Admins. Nessus finds host vulnerabilities and does not model privilege paths.

    Open this question
  22. Question 22

    Vulnerability Discovery and Analysis

    A client has no on-premises domain; all identities live in a Microsoft Entra ID tenant. The tester wants BloodHound to map attack paths. Which data collector should supply the graph?

    Show the answer

    Correct answerB. AzureHound

    AWhy not this: Kube-hunter probes Kubernetes clusters and does not collect identity data for BloodHound.

    BWhy this is right: AzureHound collects Entra ID and Azure data that BloodHound ingests for attack paths.

    CWhy not this: SharpHound gathers on-premises AD data, which this cloud-only tenant does not have.

    DWhy not this: PowerSploit is a PowerShell post-exploitation framework, not a BloodHound collector.

    AzureHound is BloodHound's collector for Entra ID and Azure resources, gathering data through Microsoft's APIs. SharpHound collects from on-premises Active Directory, so it would find nothing in a cloud-only tenant.

    Open this question
  23. Question 23

    Vulnerability Discovery and Analysis

    A developer committed a cloud access key and deleted it in the next commit. The tester must find it in the repository history and confirm it still works. Which approach fits best?

    Show the answer

    Correct answerA. Run TruffleHog on the Git history with credential verification enabled

    AWhy this is right: TruffleHog scans past commits and can verify whether a found credential is still valid.

    BWhy not this: Grype matches packages to known CVEs; it does not search commit history for secrets.

    CWhy not this: Nikto tests a web server for known issues; it does not read repository history.

    DWhy not this: OpenVAS scans network hosts for vulnerabilities; it does not inspect repository commits.

    TruffleHog walks the full commit history, so a key removed later is still found, and it can test detected credentials against the provider to confirm they are live. Grype only matches packages to known CVEs and never looks for secrets.

    Open this question
  24. Question 24

    Vulnerability Discovery and Analysis

    A tester is hunting for leaked credentials across a client's code and storage with TruffleHog. Which three statements describe what the tool does? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Runs in CI pipelines or pre-commit hooks to catch secrets before they reach a repositoryB. Scans sources beyond Git, such as filesystems, S3 buckets and container imagesD. Uses provider-specific detectors to recognise credential types such as cloud and API keys

    AWhy this is right: TruffleHog supports CI and pre-commit use to block secrets before they are merged.

    BWhy this is right: TruffleHog can scan filesystems, S3 buckets and Docker images as well as Git repositories.

    CWhy not this: Input fuzzing is done with web testing tools such as Burp Suite; TruffleHog searches data for secrets.

    DWhy this is right: Detectors for specific providers and key formats are how TruffleHog recognises secrets.

    EWhy not this: Graphing AD attack paths is what BloodHound does; TruffleHog does not enumerate AD.

    TruffleHog is a secrets scanner. It covers many source types, uses detectors for known credential formats, and can be wired into CI or pre-commit checks. Mapping AD relationships to Domain Admins is BloodHound's job, not a secrets scanner's. Fuzzing input fields for injection flaws is a web testing tool's job.

    Open this question
  25. Question 25

    Vulnerability Discovery and Analysis

    Which type of finding is TruffleHog designed to detect?

    Show the answer

    Correct answerC. Hard-coded secrets such as API keys and passwords

    AWhy not this: Kube-hunter probes Kubernetes clusters for weaknesses; TruffleHog does not.

    BWhy not this: Mapping AD permissions is BloodHound's function, not TruffleHog's.

    CWhy this is right: TruffleHog looks for embedded credentials like API keys, tokens and passwords.

    DWhy not this: Matching packages and images to known CVEs is done by Grype and Trivy, not TruffleHog.

    TruffleHog searches code and other data sources for hard-coded secrets such as API keys, tokens and passwords. Finding CVEs in packages and images is the role of Grype and Trivy.

    Open this question
  26. Question 26

    Vulnerability Discovery and Analysis

    Which scan analyzes an application's source code for flaws without executing it?

    Show the answer

    Correct answerD. Static application security testing

    AWhy not this: It instruments a running application and watches it during testing, so it needs execution.

    BWhy not this: It tests a running application by sending requests, so it does execute the target.

    CWhy not this: It identifies vulnerable third-party components and does not review the application's own code.

    DWhy this is right: It analyzes code at rest without running the application, looking for insecure coding patterns.

    SAST examines source code, bytecode or binaries without running the application, flagging insecure patterns. DAST is the tempting alternative, but it tests a running application from the outside.

    Open this question
  27. Question 27

    Vulnerability Discovery and Analysis

    A client provides only a pom.xml and package-lock.json from its build pipeline, with no source code and no running instance. The tester must flag components with known CVEs. Which scan works?

    Show the answer

    Correct answerB. Software composition analysis

    AWhy not this: It needs a running application to send requests to, and none exists here.

    BWhy this is right: It matches the component versions listed in manifests and lock files to known vulnerabilities.

    CWhy not this: It needs an instrumented running application and test traffic, which are unavailable.

    DWhy not this: It needs the application's source code to analyze, which the client has not provided.

    SCA reads dependency manifests and lock files and matches the listed component versions to known vulnerabilities, so it needs neither source code nor a running app. SAST needs source code to analyze, and DAST and IAST need a running application.

    Open this question
  28. Question 28

    Vulnerability Discovery and Analysis

    A tester reviews Terraform files that open SSH to 0.0.0.0/0 and make a storage bucket public. Nothing has been provisioned yet. Which approach finds these misconfigurations?

    Show the answer

    Correct answerB. Static analysis of the Terraform templates

    AWhy not this: It probes live hosts for open ports, and no resources exist to scan yet.

    BWhy this is right: It reads the IaC templates without deploying them and flags insecure settings before provisioning.

    CWhy not this: It needs a deployed, running application to test, and nothing has been provisioned.

    DWhy not this: It needs live instances to log in to, and none have been created.

    Static analysis of IaC templates flags insecure settings such as open security groups and public buckets before any resource exists. The other scans need deployed assets to probe, and none exist yet.

    Open this question
  29. Question 29

    Vulnerability Discovery and Analysis

    A development team wants to catch insecure code patterns at commit time, before any build is deployed to a test environment. Which scan fits BEST?

    Show the answer

    Correct answerB. Static application security testing

    AWhy not this: It needs an instrumented application running with test traffic, so it cannot run at commit time.

    BWhy this is right: It analyzes code without execution, so it can run at commit or build time before deployment.

    CWhy not this: It needs a deployed, running application to send requests to, which does not exist yet.

    DWhy not this: It checks third-party libraries for known CVEs and does not flag the team's own insecure code patterns.

    SAST analyzes code as written, so it can run at commit or build time before anything is deployed. DAST and IAST need a running application, and SCA checks third-party components rather than the team's own insecure patterns.

    Open this question
  30. Question 30

    Vulnerability Discovery and Analysis

    A client must confirm that the open-source components in its commercial product have no known CVEs and no licenses that conflict with distribution. Which scan covers both?

    Show the answer

    Correct answerD. Software composition analysis

    AWhy not this: It sends requests to a running app to find runtime flaws and does not inventory components or licenses.

    BWhy not this: It looks for exposed credentials and keys, not component vulnerabilities or license terms.

    CWhy not this: It analyzes first-party code for insecure patterns and does not inventory third-party licenses or library CVEs.

    DWhy this is right: It identifies third-party components, matches versions to known CVEs and reports their licenses.

    SCA inventories third-party components, matches their versions against vulnerability databases, and checks their licenses. SAST examines the product's own code and does not assess the licenses or CVEs of bundled libraries.

    Open this question
  31. Question 31

    Vulnerability Discovery and Analysis

    Before a full vulnerability scan of a /16 range, a tester wants only to find which hosts are live. Which Nessus scan template fits best?

    Show the answer

    Correct answerC. Host Discovery

    AWhy not this: It targets web application flaws and is not meant for finding live hosts.

    BWhy not this: It discovers hosts but then runs a full vulnerability assessment, more than the tester wants.

    CWhy this is right: It only identifies live hosts and open ports, which suits scoping before a full scan.

    DWhy not this: It needs credentials and audits patch levels on hosts that are already known.

    The Host Discovery template identifies live hosts and open ports without running full vulnerability checks, so the tester can scope the later scan. Basic Network Scan also finds hosts but goes on to run a full vulnerability assessment.

    Open this question
  32. Question 32

    Vulnerability Discovery and Analysis

    A tester holds a low-privileged account on a domain-joined Windows host in an on-premises Active Directory environment. The client wants the chain of group memberships, sessions and ACL rights that leads to Domain Admins, shown as a graph. What should the tester do?

    Show the answer

    Correct answerC. Collect AD data with SharpHound, import it into BloodHound and query paths to Domain Admins

    AWhy not this: Nikto checks web servers for outdated software and default files, not AD privilege paths.

    BWhy not this: Greenbone local security checks report host vulnerabilities, not chains of AD privilege relationships.

    CWhy this is right: SharpHound collects the relationship data and BloodHound graphs and queries paths to Domain Admins.

    DWhy not this: Nessus lists missing patches per host and does not map group, session or ACL relationships.

    SharpHound gathers AD objects, sessions, group memberships and ACLs, and BloodHound graphs them so shortest paths to Domain Admins can be queried. Vulnerability scanners such as Nessus report patch and configuration flaws per host, not relationships between accounts and groups.

    Open this question
  33. Question 33

    Vulnerability Discovery and Analysis

    A credentialed Nessus scan of Linux hosts uses a non-root SSH account. Authentication succeeds, but a plugin warns that local commands need privilege escalation. What should the tester change?

    Show the answer

    Correct answerD. Enable sudo privilege escalation in the SSH credential

    AWhy not this: Check concurrency affects scan speed and load, not the privileges of the logged-in account.

    BWhy not this: This template tests web applications and does not give local checks the privileges they need.

    CWhy not this: SMB credentials apply to Windows hosts and do nothing for privileges on Linux targets.

    DWhy this is right: Privilege escalation lets the non-root SSH account run the commands local checks require.

    Nessus SSH credentials can elevate privileges with sudo, su and similar methods, letting local checks run commands that a non-root account cannot. An SMB credential applies only to Windows targets and does not fix missing privileges on Linux.

    Open this question
  34. Question 34

    Vulnerability Discovery and Analysis

    A tester has a low-privileged PowerShell session on a Windows host. The tester wants to check locally for unquoted service paths and weak service permissions without installing any software. Which tool should be used?

    Show the answer

    Correct answerC. PowerSploit

    AWhy not this: It is a scanner engine that runs from outside the host and does not load into a PowerShell session.

    BWhy not this: It scans container images and filesystems for vulnerable packages, not Windows service flaws.

    CWhy this is right: Its PowerUp module checks locally for unquoted service paths and weak service permissions.

    DWhy not this: It graphs AD relationships and does not audit local service configuration.

    PowerSploit is a PowerShell framework whose PowerUp module (Invoke-AllChecks) finds local privilege escalation weaknesses such as unquoted service paths and modifiable services, and it can be loaded in memory. BloodHound maps AD relationships and does not inspect local service configuration.

    Open this question
  35. Question 35

    Vulnerability Discovery and Analysis

    A tester wants to rank Nessus findings by how likely each vulnerability is to be exploited soon, not only by severity. Which Nessus value should the tester sort on?

    Show the answer

    Correct answerA. VPR score

    AWhy this is right: Tenable's VPR uses threat intelligence to estimate how likely exploitation is soon.

    BWhy not this: It rates inherent severity and does not reflect current exploit activity.

    CWhy not this: It groups plugins by product or platform and carries no exploitability ranking.

    DWhy not this: It only identifies the plugin that raised the finding and says nothing about risk.

    Tenable's Vulnerability Priority Rating (VPR) uses threat intelligence to estimate the likelihood of near-term exploitation. The CVSS base score measures inherent severity and does not change with real-world exploit activity.

    Open this question
  36. Question 36

    Vulnerability Discovery and Analysis

    A tester runs an IaC static analyzer on a Terraform repository before anything is provisioned. Which four findings can the scan detect from the template files alone? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Security group allowing SSH from 0.0.0.0/0B. IAM policy granting all actions on all resourcesC. Object storage bucket with a public-read ACLE. Database instance with encryption at rest disabled

    AWhy this is right: The ingress rule is declared in the template, so the analyzer can flag it.

    BWhy this is right: The wildcard action and resource appear in the policy code and are flagged.

    CWhy this is right: The public ACL is a declared setting, so a static check catches it.

    DWhy not this: Patch state exists only on the running instance, not in the template text.

    EWhy this is right: The encryption flag is set in the template, so the analyzer sees it.

    FWhy not this: Running processes exist only on a live host, so a scan of template files cannot see them.

    IaC static analysis parses the declared configuration, so open ingress rules, public ACLs, disabled encryption and wildcard IAM permissions are visible in the files. Patch levels exist only on a running host, so they need a host-based or authenticated scan. Malware in memory likewise exists only on a running host.

    Open this question
  37. Question 37

    Vulnerability Discovery and Analysis

    A CloudFormation template passes an IaC static scan, yet a deployed instance has port 3389 open to the internet. An admin added the rule in the cloud console. Why did the scan miss it?

    Show the answer

    Correct answerC. The rule was added outside the template, so the scanned files never held it

    AWhy not this: IaC scanning does analyze templates; that is its purpose.

    BWhy not this: Static template analysis reads files and needs no login.

    CWhy this is right: The manual console change is drift: it exists only in the live environment, not in the files.

    DWhy not this: IaC scanners check many misconfigurations, not only secrets.

    IaC scanning checks only what the template declares. A change made in the console exists only in the live environment, which is configuration drift, so it needs a scan of the deployed resources. The scanner does analyze templates, so the first option is wrong.

    Open this question
  38. Question 38

    Vulnerability Discovery and Analysis

    A tester has only a repository. A scanner reports that a value read from an HTTP request reaches a SQL execution call with no sanitizing step between. Which analysis technique produced this finding?

    Show the answer

    Correct answerB. Taint analysis

    AWhy not this: Runtime instrumentation is IAST and needs a running application under test.

    BWhy this is right: Taint analysis follows untrusted input from source to sink in the code and flags missing sanitization.

    CWhy not this: Version matching is SCA; it checks library versions, not data flow in custom code.

    DWhy not this: Fuzzing sends malformed input to a running program; here only a repository exists.

    Taint analysis tracks untrusted input from a source to a dangerous sink through the code, without running it. Dependency matching compares library versions to known CVEs and cannot trace flows in first-party code.

    Open this question
  39. Question 39

    Vulnerability Discovery and Analysis

    A source code scan flags SQL injection in a Java method, but the code uses a PreparedStatement with bound parameters. What should the tester do next?

    Show the answer

    Correct answerC. Trace the data flow in the code to check for a false positive

    AWhy not this: SCA matches library versions to CVEs and does not examine how queries are built.

    BWhy not this: Unvalidated findings can be false positives, and reporting them as critical misleads the client.

    CWhy this is right: Manually tracing the flow confirms whether the finding is real or a false positive.

    DWhy not this: A credentialed host scan assesses the operating system, not query construction in code.

    Static tools can flag code that is actually safe, so findings must be validated. Tracing the flow and the parameter binding shows whether it is a false positive. SCA checks libraries, not how queries are built.

    Open this question
  40. Question 40

    Vulnerability Discovery and Analysis

    A tester reviews a C codebase for unbounded strcpy calls without running the program. Which technique is this?

    Show the answer

    Correct answerA. Source code analysis

    AWhy this is right: Reading the code for unsafe functions without executing it is source code analysis.

    BWhy not this: DAST tests a running application with crafted requests, not code.

    CWhy not this: SCA inventories third-party components, not first-party function calls.

    DWhy not this: IAST uses an agent inside a running application, which is not the case here.

    Source code analysis, the core of SAST, reads the code itself to find unsafe constructs such as unbounded string copies. DAST needs a running application and sends requests to it.

    Open this question
  41. Question 41

    Vulnerability Discovery and Analysis

    A client gives a tester only the compiled iOS .ipa file for its app: no source code, no build files and no permission to run it. The tester must find hardcoded API keys and insecure transport settings. Which approach works?

    Show the answer

    Correct answerB. Static analysis of the decompiled application package

    AWhy not this: Dynamic testing needs the app running on a device, which the client has not permitted.

    BWhy this is right: Static analysis of the unpacked package reads embedded strings and settings without executing the app.

    CWhy not this: SCA reads dependency manifests, which were not provided, and does not look for embedded keys.

    DWhy not this: Source code analysis requires the repository, and no source was supplied.

    A mobile static scan unpacks and decompiles the compiled package and inspects its contents and configuration, so it needs neither source nor a running app. Dynamic testing needs the app executing, which is not permitted here.

    Open this question
  42. Question 42

    Vulnerability Discovery and Analysis

    A static scan of an Android app flags that cleartext traffic is permitted. The client allows only observation of the app's own traffic, with no attack payloads sent to its production backend. Which step BEST confirms whether login tokens actually travel unencrypted?

    Show the answer

    Correct answerB. Run the app on a test device with its traffic routed through an intercepting proxy

    AWhy not this: A static scan only reads configuration and code, so it cannot prove what the app transmits at runtime.

    BWhy this is right: Observing live traffic from a running app through a proxy shows exactly what is sent, and it sends no attack payloads.

    CWhy not this: SCA looks for known CVEs in libraries and says nothing about whether tokens are sent in cleartext.

    DWhy not this: DAST with injection payloads is attack traffic, which the client has forbidden against production.

    Dynamic mobile analysis runs the app and captures its real traffic, showing whether tokens go out in cleartext without attacking the backend. A repeat static scan can only show that cleartext is allowed, not that it happens.

    Open this question
  43. Question 43

    Vulnerability Discovery and Analysis

    A tester on a Linux jump box has a non-root account with no sudo rights. Which Nmap scan will find open TCP ports on a target from there?

    Show the answer

    Correct answerA. nmap -sT

    AWhy this is right: The connect scan uses the system's connect() call, so an unprivileged user can run it.

    BWhy not this: A SYN scan crafts raw packets, which requires root privileges the account lacks.

    CWhy not this: An ACK scan needs raw sockets and maps firewall rules rather than listing open ports.

    DWhy not this: A UDP scan is the wrong protocol for TCP ports and also uses raw packets.

    A TCP connect scan (-sT) uses the operating system's connect() call and completes the full handshake, so it needs no raw-socket privileges. A SYN scan builds raw packets and needs root.

    Open this question
  44. Question 44

    Vulnerability Discovery and Analysis

    A tester is assessing an Android app and must check which permissions it requests and which components it exports. Which file does a mobile static scan read for this?

    Show the answer

    Correct answerC. AndroidManifest.xml

    AWhy not this: Info.plist holds configuration for iOS apps, not Android permissions or components.

    BWhy not this: build.gradle defines build settings and dependencies, not declared permissions or exported components.

    CWhy this is right: The manifest declares requested permissions and which activities, services and receivers are exported.

    DWhy not this: A Dockerfile describes a container image build and has no role in an Android app package.

    AndroidManifest.xml declares an Android app's requested permissions and exported components. Info.plist is the iOS counterpart, so it is the tempting wrong choice.

    Open this question
  45. Question 45

    Vulnerability Discovery and Analysis

    A SYN scan of all TCP ports on a server finds only ports 22 and 80 open. The tester suspects the server also runs SNMP. Which command checks for it?

    Show the answer

    Correct answerB. nmap -sU -p 161 target

    AWhy not this: An ACK scan maps firewall rules over TCP and does not probe UDP services.

    BWhy this is right: A UDP scan sends UDP probes to port 161, where SNMP listens.

    CWhy not this: A TCP connect scan of port 161 tests TCP, but SNMP uses UDP.

    DWhy not this: A SYN scan of all TCP ports already ran and can never see a UDP service.

    SNMP listens on UDP port 161, and TCP scans never probe UDP ports, so a UDP scan (-sU) is required. Rescanning every TCP port with -sS still tests only TCP.

    Open this question
  46. Question 46

    Vulnerability Discovery and Analysis

    A client's rules of engagement forbid any action that could alter cluster state, but allow scanning. The tester wants kube-hunter to find exposed Kubernetes components. What should the tester run?

    Show the answer

    Correct answerB. kube-hunter in its default passive mode

    AWhy not this: Nikto checks web server files and software and does not hunt Kubernetes-specific weaknesses.

    BWhy this is right: Passive hunting only discovers and reports exposed components without exploiting them.

    CWhy not this: Disabling safe checks in Greenbone allows riskier tests, the opposite of the restriction.

    DWhy not this: Active hunting tries to exploit vulnerabilities, which can modify the cluster and breaks the rules.

    Kube-hunter hunts passively by default, identifying exposed components without exploiting them. The --active option attempts exploitation of findings and can change cluster state, which the rules of engagement forbid.

    Open this question
  47. Question 47

    Vulnerability Discovery and Analysis

    A tester runs trivy image nginx:latest against a pulled image. What does the scan report?

    Show the answer

    Correct answerA. Known vulnerabilities in the image's packages and libraries

    AWhy this is right: Trivy matches the image's installed packages and libraries to known CVEs.

    BWhy not this: Finding exposed components in a running cluster describes kube-hunter.

    CWhy not this: Checking a live web server for default files and old software describes Nikto.

    DWhy not this: Mapping paths to Domain Admins in Active Directory describes BloodHound.

    The trivy image command inspects the image's OS packages and application libraries and matches them against vulnerability databases, reporting CVEs. Checking default files on a live web server is Nikto's job.

    Open this question
  48. Question 48

    Vulnerability Discovery and Analysis

    A tester must scan one container image for vulnerable OS packages and for hardcoded secrets in its layers, using a single tool. Which tool should the tester use?

    Show the answer

    Correct answerA. Trivy

    AWhy this is right: Trivy reports package vulnerabilities and embedded secrets from the same image scan.

    BWhy not this: Grype finds vulnerable packages in images but has no secret detection, so it misses the hardcoded credentials.

    CWhy not this: TruffleHog finds secrets but does not match packages against vulnerability data.

    DWhy not this: Kube-hunter probes a running Kubernetes cluster and does not inspect the contents of an image.

    Trivy scans images for vulnerable OS and language packages and can also detect secrets and misconfigurations in the same run. Grype matches packages against vulnerability data but does not look for secrets, so it covers only half the requirement.

    Open this question
  49. Question 49

    Vulnerability Discovery and Analysis

    A tester with approval to modify a non-production cluster has a shell in one pod. The tester wants kube-hunter to act as an insider pod, attempt exploitation of findings, and write the results as JSON. Which command meets all three needs?

    Show the answer

    Correct answerD. kube-hunter --pod --active --report json

    AWhy not this: It meets the mode and exploitation needs but writes YAML instead of the requested JSON.

    BWhy not this: Remote mode scans from outside a named address instead of acting as an insider pod.

    CWhy not this: Without --active it only hunts passively, so findings are not exploited.

    DWhy this is right: It combines insider pod mode, active exploitation and JSON output.

    The --pod option makes kube-hunter act as an insider pod, --active attempts exploitation, and --report json sets the output format. The same command without --active would only report findings passively.

    Open this question
  50. Question 50

    Vulnerability Discovery and Analysis

    A tester has no foothold in a client's Kubernetes environment and wants to scan the control plane node at 203.0.113.10 from outside. Which command fits best?

    Show the answer

    Correct answerC. kube-hunter --remote 203.0.113.10

    AWhy not this: Pod mode makes kube-hunter act as an insider pod, which needs a foothold the tester does not have.

    BWhy not this: Active only switches on exploitation of findings and does not choose a target.

    CWhy this is right: Remote mode scans the named IP address from outside the cluster.

    DWhy not this: The interface option scans the local machine's network subnets, not one named remote node.

    The --remote option points kube-hunter at a specific external address, which suits a tester with no access inside the cluster. Pod mode assumes the tool is already running inside a pod.

    Open this question