Curated

Post-exploitation and Lateral Movement 1 (5.1)

0 votes

Questions33

  1. Question 1

    Post-exploitation and Lateral Movement

    A tester has no foothold on a finance laptop that runs no web services and blocks inbound connections. Its user installs only software that looks approved. Which backdoor fits?

    Show the answer

    Correct answerB. A legitimate-looking utility installer carrying a hidden callback agent

    AWhy not this: A web shell needs a web server to run on, and the laptop has no web services.

    BWhy this is right: A Trojan is disguised as trusted software, the user installs it, and its agent calls out past the inbound block.

    CWhy not this: A remote scheduled task needs credentials and access the tester does not yet have, and it does not use the user's installing habit.

    DWhy not this: A bind shell waits for inbound connections, which the laptop blocks.

    A Trojan hides a backdoor inside software the user willingly installs, so it needs no inbound access or existing foothold, and its agent can call out. A web shell needs a web server to host it, and a bind shell needs an inbound port that the firewall blocks.

    Open this question
  2. Question 2

    Post-exploitation and Lateral Movement

    After exploiting a file upload flaw, a tester leaves a script on the web server that runs OS commands sent in HTTP requests. What was installed?

    Show the answer

    Correct answerD. Web shell

    AWhy not this: A Trojan disguises itself as legitimate software; this script is not disguised and takes commands through web requests.

    BWhy not this: A reverse shell is an outbound connection to the tester, not a script waiting for HTTP requests.

    CWhy not this: A scheduled task runs code at set times and does not take commands through web requests.

    DWhy this is right: A script on a web server that executes commands received over HTTP is the definition of a web shell.

    A web shell is a script on a web server that accepts commands over HTTP and runs them on the host, giving persistent access through the web application. A reverse shell is a connection the target opens back to the tester, not a script that stays on the server and takes commands in HTTP requests.

    Open this question
  3. Question 3

    Post-exploitation and Lateral Movement

    A tester has code execution as a standard user on a workstation with no local admin rights. Which persistence method would let them keep access to the user's web sessions and cookies across reboots?

    Show the answer

    Correct answerC. Install a malicious browser extension in the user's profile

    AWhy not this: Creating a local administrator account requires admin rights the standard user does not have.

    BWhy not this: Replacing a system service binary needs write access to protected paths, which needs elevated rights.

    CWhy this is right: Extensions install per user without admin rights, reload with the browser and can read cookies and pages.

    DWhy not this: Loading a kernel driver requires administrative or root privileges the tester lacks.

    A malicious browser extension installs in the user's own profile without admin rights. It reloads whenever the browser starts and can read cookies and page content. A kernel rootkit, a new admin account and a service binary replacement all need elevated privileges.

    Open this question
  4. Question 4

    Post-exploitation and Lateral Movement

    A tester has root on a Linux server and wants persistence that hides the implant's process and files from ps, ls and netstat output. Which technique achieves this?

    Show the answer

    Correct answerA. Loading a kernel module rootkit that filters system call results

    AWhy this is right: A kernel rootkit intercepts system calls and filters their output, hiding processes, files and connections.

    BWhy not this: A browser extension runs only inside the browser and cannot hide server processes or files.

    CWhy not this: A cron job persists the implant but shows up in crontab listings and the process list.

    DWhy not this: A systemd service survives reboots but is listed by service tools; a plausible name is not true hiding.

    A kernel-mode rootkit hooks system calls so tools like ps, ls and netstat do not show the implant. A cron job or a systemd service persists but is visible to administrators in job and service listings.

    Open this question
  5. Question 5

    Post-exploitation and Lateral Movement

    A tester has implants running on 30 compromised hosts and needs to task them, collect output and rotate callback domains from one console. Which tool type fits this need?

    Show the answer

    Correct answerA. C2 framework such as Sliver or Mythic

    AWhy this is right: C2 frameworks centrally manage many implants, task them, collect output and change callback infrastructure.

    BWhy not this: A bind shell opens a listening port on one host; it gives no central tasking or callback rotation.

    CWhy not this: A Run key only launches a program at logon; it does not manage or task implants.

    DWhy not this: Hashcat recovers passwords from hashes and does not control compromised hosts.

    A C2 framework gives a central server that manages many implants, tasks them and handles callbacks and channels. A bind shell gives only one listener per host and offers no central management or callback rotation.

    Open this question
  6. Question 6

    Post-exploitation and Lateral Movement

    After gaining local admin on a Windows host, a tester wants the implant to survive without detection. Which action BEST maintains persistence by tampering with a security control?

    Show the answer

    Correct answerD. Add a Microsoft Defender exclusion for the implant's directory

    AWhy not this: A reverse shell is a connection method and does not stop the endpoint protection from flagging the implant.

    BWhy not this: A scheduled task provides a launch mechanism only; the antivirus can still detect and remove the file.

    CWhy not this: A Run key is a launch mechanism and leaves the file exposed to endpoint scanning.

    DWhy this is right: An exclusion modifies the endpoint control so the implant's directory is skipped by scanning.

    Adding an antivirus exclusion tampers with a security control so the implant is not scanned or removed. A scheduled task, a Run key and a reverse shell give execution or access but do nothing to stop the endpoint protection from detecting the implant.

    Open this question
  7. Question 7

    Post-exploitation and Lateral Movement

    A user runs a tester's trojanized installer for a PDF viewer. What should the installer do so the user notices nothing unusual?

    Show the answer

    Correct answerA. Install a working PDF viewer plus the hidden payload

    AWhy this is right: The expected application works normally, so the user has no reason to suspect the hidden payload installed with it.

    BWhy not this: Asking for approval would reveal the backdoor; a Trojan hides its true purpose.

    CWhy not this: If no viewer appears, the user will notice the failure and likely report or remove the file.

    DWhy not this: Self-copying across the network is worm behavior, not how a Trojan stays hidden from the user.

    A Trojan stays unnoticed by delivering the legitimate function the user expects while the hidden payload installs alongside it. Skipping the viewer would make the user suspicious and likely lead to removal. Copying itself to other hosts is worm behavior.

    Open this question
  8. Question 8

    Post-exploitation and Lateral Movement

    After the upload flaw is patched, which item left in the web root still gives the tester command execution?

    Show the answer

    Correct answerD. A script that passes request parameters to the OS shell

    AWhy not this: Static HTML only displays content and never executes anything on the server, so it gives no command execution.

    BWhy not this: robots.txt is a plain text file for crawlers; it executes nothing and gives the tester no access.

    CWhy not this: A trojanized installer is a Trojan that needs a user to run it; it does not run commands on the web server.

    DWhy this is right: A server-side script that runs request input as OS commands is a web shell, so it gives access whatever happens to the original flaw.

    A server-side script that hands request parameters to the OS shell is a web shell. It keeps working through normal web requests after the original flaw is fixed. A trojanized installer needs a user to run it and does not execute commands on the server.

    Open this question
  9. Question 9

    Post-exploitation and Lateral Movement

    A tester hands a developer a useful file-compression tool that secretly installs a backdoor. Which statements describe how this Trojan works? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. The tool reaches the user through a trusted download page or attachmentB. The payload is packaged inside a tool that performs a useful functionC. The user runs the program, which launches the payloadD. The payload calls out to the tester's C2 server

    AWhy this is right: A Trojan depends on a pretext, such as a trusted download page or attachment, to get the user to accept the file.

    BWhy this is right: A Trojan disguises its payload inside software that appears legitimate and does something useful.

    CWhy this is right: A Trojan does not run itself; the user's own execution of the program starts the payload.

    DWhy this is right: A backdoor payload typically beacons outbound to the tester's C2 server, which works even when inbound traffic is blocked.

    EWhy not this: A script that runs commands from HTTP requests is a web shell, which needs a web server and not a user-run program.

    FWhy not this: Self-propagation by exploiting a service flaw is worm behavior; a Trojan relies on user action to spread.

    A Trojan hides its payload in software that looks useful, arrives through a channel the user trusts, and depends on the user to run it. The payload then calls out to the tester's C2 server. Self-spreading through a service flaw describes a worm, not a Trojan.

    Open this question
  10. Question 10

    Post-exploitation and Lateral Movement

    A tester has a foothold on a user's workstation and wants to log keystrokes and alter page content in an internal web app each time the user browses. Which persistence method fits BEST?

    Show the answer

    Correct answerD. A malicious browser extension with content scripts

    AWhy not this: A web shell gives server command execution but has no view of keystrokes typed in the user's browser.

    BWhy not this: A bind shell offers remote command access but does not hook into the browser or its pages.

    CWhy not this: A cron job schedules commands, which does not interact with browser page content.

    DWhy this is right: Content scripts run in the loaded pages, capturing input and changing content on every browser launch.

    A browser extension can declare content scripts that run inside pages the user opens, so it can capture input and modify content every time the browser starts. A web shell sits on the server and cannot see the user's local keystrokes.

    Open this question
  11. Question 11

    Post-exploitation and Lateral Movement

    A tester's C2 implant calls back to the team server every 5 seconds, and the client's network monitoring flags the fixed-interval traffic. Which change BEST reduces the chance of detection?

    Show the answer

    Correct answerB. Raise the beacon sleep interval and add jitter

    AWhy not this: A new account gives another way in but does nothing to the network traffic pattern.

    BWhy this is right: Longer, randomized callback timing removes the regular pattern that monitoring flagged.

    CWhy not this: A Run key restarts the implant after logon but leaves the beacon timing unchanged.

    DWhy not this: A bind shell waits for inbound connections; it does not change callback timing and is often blocked by firewalls.

    C2 frameworks let the operator set the beacon sleep time and jitter, so callbacks are slower and irregular and no longer form a fixed-interval pattern. A bind shell opens an inbound listener, which does not hide the pattern and is often blocked.

    Open this question
  12. Question 12

    Post-exploitation and Lateral Movement

    A tester with local admin on a Windows server has started a bind shell listener on TCP 4444 and wants it to stay reachable and unnoticed. Which actions tamper with security controls to support this? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Disable auditing of process creation eventsD. Add an inbound host firewall rule allowing TCP 4444

    AWhy not this: A new admin account is persistence through accounts, not a change to a control.

    BWhy this is right: Turning off auditing stops the host recording the listener's process, reducing detection.

    CWhy not this: A reverse shell is an alternate access method that does not modify a control.

    DWhy this is right: The host firewall would block the inbound listener, so a new allow rule weakens that control.

    EWhy not this: A scheduled task restarts the listener but does not change any security control.

    FWhy not this: A Run key relaunches the listener at logon but leaves defenses untouched.

    A firewall rule lets inbound traffic reach the bind shell, and disabling process-creation auditing removes the log evidence; both weaken security controls. The scheduled task, new account and Run key are persistence mechanisms that leave the controls themselves intact.

    Open this question
  13. Question 13

    Post-exploitation and Lateral Movement

    A tester needs persistence on a server that must survive a full operating system reinstall and disk wipe. Which technique BEST meets this requirement?

    Show the answer

    Correct answerC. A UEFI firmware rootkit

    AWhy not this: Its driver file is on the system disk, so wiping the disk removes it.

    BWhy not this: A service definition and its binary are stored in the OS and disk, so both are lost.

    CWhy this is right: The implant resides in firmware flash, which a disk wipe and OS reinstall do not touch.

    DWhy not this: A scheduled task is part of the OS installation and disappears with a reinstall.

    A firmware (UEFI) rootkit lives in motherboard flash, outside the disk, so a reinstall or wipe does not remove it. A kernel-mode driver rootkit is also a rootkit, but its files sit on the disk and are destroyed by the wipe.

    Open this question
  14. Question 14

    Post-exploitation and Lateral Movement

    On an authorized internal test, a host blocks all outbound connections, but its firewall allows inbound TCP 8080 from the tester's subnet. Which shell BEST gives persistent interactive access?

    Show the answer

    Correct answerA. Bind shell listening on the port the host firewall allows inbound

    AWhy this is right: The shell listens on the allowed inbound port and the tester connects in, so no outbound traffic is needed.

    BWhy not this: An HTTPS beacon to an external server also needs outbound connectivity, which is blocked.

    CWhy not this: The task would need an outbound connection to fetch the stager, so it fails.

    DWhy not this: A reverse shell must connect out, and all outbound connections are blocked.

    A bind shell listens on the target and the tester connects in, which fits a host that permits inbound TCP 8080 from the tester's subnet but no outbound traffic. A reverse shell, a beacon and a download task all depend on outbound connections.

    Open this question
  15. Question 15

    Post-exploitation and Lateral Movement

    A tester runs a payload on a client server whose firewall drops all unsolicited inbound connections but allows outbound TCP 443. Which shell type gives interactive access?

    Show the answer

    Correct answerD. Reverse shell connecting out to a tester listener on TCP 443

    AWhy not this: Opening a listener only creates another inbound-dependent service, which the firewall still blocks.

    BWhy not this: A remote login with a new account is also an inbound connection, which the firewall blocks.

    CWhy not this: A bind shell needs an inbound connection to its listening port, which the firewall drops.

    DWhy this is right: The target initiates the connection outbound on an allowed port, so the inbound block does not matter.

    A reverse shell makes the target initiate the connection to the tester's listener, so it passes through the permitted outbound path. A bind shell waits for an inbound connection, which the firewall drops.

    Open this question
  16. Question 16

    Post-exploitation and Lateral Movement

    A tester has a shell as an unprivileged service account on a Linux server with no root access. The implant must relaunch every five minutes if killed and after a reboot. What should the tester use?

    Show the answer

    Correct answerA. Add a scheduled entry to the account's own crontab

    AWhy this is right: A per-user crontab needs no root and can run the implant every five minutes and at boot.

    BWhy not this: Registry Run keys are a Windows mechanism and do not exist on a Linux server.

    CWhy not this: System service units live in root-owned directories, so an unprivileged account cannot create one.

    DWhy not this: Loading a kernel module requires root and is a rootkit technique, not a relaunch scheduler.

    Every user can have a crontab, and it supports both a periodic schedule and a run-at-boot entry, so no root is needed. A system-level systemd service looks similar but requires root to write to the system unit directory.

    Open this question
  17. Question 17

    Post-exploitation and Lateral Movement

    A tester has local administrator rights on a Windows server. The implant must start at boot before anyone logs on, run as SYSTEM, and restart automatically if the process is killed. Which action BEST meets all three needs?

    Show the answer

    Correct answerD. Create an auto-start service under SYSTEM with recovery set to restart on failure

    AWhy not this: An HKCU Run value runs only when that user logs on, with that user's rights, and has no restart handling.

    BWhy not this: A logon trigger waits for a user session and runs as that user, so it misses the boot and SYSTEM needs.

    CWhy not this: A new account gives login access but does not start or restart the implant at boot as SYSTEM.

    DWhy this is right: An auto-start service starts at boot, runs as SYSTEM, and its recovery options restart the process.

    An auto-start Windows service is launched by the service control manager at boot, can run as SYSTEM, and can have recovery actions that restart it after a failure. A logon-triggered task or HKCU Run value waits for a user session and runs with that user's rights.

    Open this question
  18. Question 18

    Post-exploitation and Lateral Movement

    A tester has a shell as a standard user on a Windows 11 workstation, with no privilege escalation available. The implant must restart at each logon of that user. Which option fits?

    Show the answer

    Correct answerC. A value under the HKCU Run key

    AWhy not this: HKLM is machine-wide and writable only by administrators, which the tester is not.

    BWhy not this: Creating a task that runs as SYSTEM needs administrative rights the tester lacks.

    CWhy this is right: HKCU Run is writable by the user and launches the program at that user's logon.

    DWhy not this: Registering a service needs administrative rights and starts at boot, not at user logon.

    The HKCU Run key is per-user and writable by that user, so the implant starts at each logon without admin rights. The HKLM Run key is machine-wide and needs admin rights, which the tester lacks.

    Open this question
  19. Question 19

    Post-exploitation and Lateral Movement

    With admin rights on a Windows host, a tester creates a local user in the Administrators group for later access. Which technique is this?

    Show the answer

    Correct answerB. Adding a new account

    AWhy not this: A registry key launches a program at logon or boot; no program is being configured here.

    BWhy this is right: Creating a new privileged local user is the add-new-accounts technique for returning later.

    CWhy not this: A bind shell is a listener on the target; the tester made a user, not a listener.

    DWhy not this: A service starts a program automatically; here the tester created a login, not a service.

    Creating a new privileged local user gives the tester a login that works whenever needed. Service creation also needs admin rights, but it registers a program to start at boot instead of creating a login.

    Open this question
  20. Question 20

    Post-exploitation and Lateral Movement

    A tester plans to add a new local account on a client's Windows server for persistence during an authorized test. Which two statements are true? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Creating the account requires administrative privileges already held on the host.D. Account creation generates audit events that defenders can use to detect it.

    AWhy this is right: Only an administrator or root can create accounts, so the tester needs elevated rights first.

    BWhy not this: The account is independent of any shell and stays after the reverse shell closes.

    CWhy not this: Run keys launch programs; they do not create accounts, and writing to them is not account creation.

    DWhy this is right: Account creation is logged, such as Windows event 4720, which gives defenders a detection point.

    EWhy not this: An account is only useful if a service such as RDP or SSH is reachable to log in through.

    FWhy not this: Local accounts are stored on disk and persist across reboots.

    Creating accounts needs elevated rights, and the creation is logged (for example, Windows event 4720), so defenders can detect it. A local account is stored on disk and survives reboots, so the claim that it vanishes is wrong.

    Open this question
  21. Question 21

    Post-exploitation and Lateral Movement

    A client alerts on new account creation and unknown binaries. A tester recovered a reused service-account password from a config file. Which persistence approach is MOST likely to avoid alerts?

    Show the answer

    Correct answerC. Sign in with the recovered credentials through the permitted remote access service

    AWhy not this: A new service adds an unknown binary and a service-install event, both likely to be alerted on.

    BWhy not this: A new account triggers the account-creation alert, whatever name it carries.

    CWhy this is right: A legitimate credential used over an allowed service blends in and adds no new account or binary.

    DWhy not this: A rootkit adds an unknown kernel component, which the alerting covers and which is not needed here.

    Logging in with a valid credential looks like normal use and creates no new account or binary to trigger the alerts. A new account is exactly what the client's alerting watches for, even if the name blends in.

    Open this question
  22. Question 22

    Post-exploitation and Lateral Movement

    Which statement describes how a reverse shell session is established?

    Show the answer

    Correct answerB. The tester's host listens, and the target connects out to it.

    AWhy not this: Signing in with an added account is persistence through a new account, not a shell the target sends back.

    BWhy this is right: The tester prepares a listener and the payload on the target calls out to it, which is what makes the shell reverse.

    CWhy not this: This describes a bind shell, where the target opens the listening port and the tester initiates the connection.

    DWhy not this: Pulling commands from a share is a polling mechanism, not a shell session sent from the target to a listener.

    In a reverse shell the tester's system waits with a listener and the target initiates the connection back, handing over a shell. The reverse direction, where the target listens and the tester connects in, describes a bind shell.

    Open this question
  23. Question 23

    Post-exploitation and Lateral Movement

    A tester with local administrator rights on a Windows server installs the implant as an auto-start service, and the client's defenders will review the activity afterward. Which four statements about this technique are accurate? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersB. It should be removed and documented at the end of the engagement.C. Creating it requires administrative rights on the host.D. Installing it writes an event to the System log.F. Its configuration is stored under the Services key in the registry.

    AWhy not this: A lookalike name only disguises it; the service still appears in the service list and can be found.

    BWhy this is right: Authorized testing requires removing persistence artifacts and recording them in the report.

    CWhy this is right: Registering a service with the service manager is a privileged action, so administrative rights are required.

    DWhy this is right: Service installation is logged in the System log, which gives defenders a detection point.

    EWhy not this: A service runs in its own session independent of any logon, so it does not depend on the creating user staying signed in.

    FWhy this is right: Each service has its configuration stored under the Services registry key, which defenders can inspect.

    Installing a service needs admin rights, records an event, stores its configuration in the Services registry key, and must be cleaned up and reported. A service is not tied to a logon session, and a lookalike name does not hide it from the service list.

    Open this question
  24. Question 24

    Post-exploitation and Lateral Movement

    A tester has local administrator rights on a Windows server and wants the implant to run only at 02:00 each night, with no process resident the rest of the day. Which option BEST fits?

    Show the answer

    Correct answerB. A scheduled task with a daily 02:00 trigger

    AWhy not this: A bind shell keeps a listening port open all day, so it is resident and is not tied to a schedule.

    BWhy this is right: A task with a daily trigger starts the implant at the chosen time and leaves no running process between runs.

    CWhy not this: An auto-start service runs continuously from boot, so a process stays resident all day, which the requirement rules out.

    DWhy not this: A Run key value launches at user logon, not at a set clock time, so it cannot target 02:00.

    A scheduled task fires on a time trigger and leaves nothing running between executions, matching the 02:00-only requirement. An auto-start service stays resident all day, so it fails the no-resident-process requirement.

    Open this question
  25. Question 25

    Post-exploitation and Lateral Movement

    After an authorized test, what should happen to a local account the tester added to a server for persistence?

    Show the answer

    Correct answerB. Remove it and document it

    AWhy not this: Leaving it enabled keeps an unmanaged access path in the client's systems after the engagement ends.

    BWhy this is right: Cleanup means deleting the account and listing it in the report so the client can confirm the change was reversed.

    CWhy not this: Renaming it to hide among staff accounts is evasion, and it leaves the account in place.

    DWhy not this: A disabled account that is not reported still leaves an unknown artifact, and the client cannot verify it was cleaned up.

    An account added for persistence is an access path left in the client's environment, so the tester removes it during cleanup and records it in the report. Merely disabling it and not reporting it leaves an artifact the client does not know about.

    Open this question
  26. Question 26

    Post-exploitation and Lateral Movement

    A tester finds that a payload on a compromised server has opened TCP port 4444 in a listening state, with no outbound sessions. The tester then connects to that port from their own workstation and gets a command prompt. Which shell type is this?

    Show the answer

    Correct answerC. Bind shell

    AWhy not this: A web shell is a script served over HTTP that runs commands from requests, not a payload listening on its own port.

    BWhy not this: A reverse shell has the target dial out to the tester's listener, so the target would show an outbound session, not a listening port.

    CWhy this is right: The payload listens on the target and the tester connects in, which is the defining behaviour of a bind shell.

    DWhy not this: A beaconing C2 implant calls out to a team server at intervals, so it would not wait for an inbound connection.

    A bind shell makes the target listen on a port, and the tester connects in to it. Here the target is listening and the tester initiates the connection. A reverse shell would reverse this: the target would connect out to a listener on the tester's host.

    Open this question
  27. Question 27

    Post-exploitation and Lateral Movement

    A tester keeps access to a client's VPN using an employee's username and password recovered earlier in the test. Which event would MOST directly end that access?

    Show the answer

    Correct answerA. The employee's password is reset

    AWhy this is right: The access depends entirely on the credential, so changing the password invalidates it.

    BWhy not this: Inbound port blocking hits bind shells and listeners, but a VPN login with a credential is not one.

    CWhy not this: Signature updates target malware, and a legitimate login with a real credential contains no malicious code to detect.

    DWhy not this: No implant on that workstation is involved, so a reboot does not affect a login made with the credential itself.

    Access based on valid credentials depends only on the credential staying valid, so a password reset or account disablement ends it. A reboot of the host where the password was recovered does not matter, because no implant on that host is involved.

    Open this question
  28. Question 28

    Post-exploitation and Lateral Movement

    A tester with local administrator rights on a Windows workstation needs the implant to start each time any user logs on, without creating a service. Which registry location fits?

    Show the answer

    Correct answerC. HKLM\Software\Microsoft\Windows\CurrentVersion\Run

    AWhy not this: RunOnce entries are removed after they run once, so the implant would not start at every logon.

    BWhy not this: The HKCU Run key applies only to the current user, so other users' logons would not start the implant.

    CWhy this is right: This machine-wide Run key launches its entries at every user's logon, every time, and needs no service.

    DWhy not this: The Services key is used to create a service, which is not wanted here, and services start at boot, not at user logon.

    The HKLM Run key is machine-wide and its entries launch at each user logon, which needs admin rights to write. The HKLM RunOnce key is tempting, but its entries are deleted after one execution, so persistence would end after a single logon.

    Open this question
  29. Question 29

    Post-exploitation and Lateral Movement

    A tester keeps access by logging in with an employee's recovered credentials at 03:00 from an unfamiliar network, with no malware on any host. Which control is MOST likely to flag it?

    Show the answer

    Correct answerD. Anomalous-logon alerting on login time and source location

    AWhy not this: There is no malware on any host, so a signature scan has nothing to match.

    BWhy not this: No service is created; the tester only logs in with an existing account.

    CWhy not this: No system binaries are changed, so integrity monitoring has nothing to report.

    DWhy this is right: The login itself is valid, so the telltale signs are its odd hour and unfamiliar source compared with the user's normal pattern.

    Valid credentials leave no malware or system changes, so defenders can only spot the unusual logon time and source location. Antivirus, file integrity monitoring and service alerts look for artifacts that this technique never creates.

    Open this question
  30. Question 30

    Post-exploitation and Lateral Movement

    A tester adds a new account on a client's server for persistence. What is the MOST likely way defenders will notice it?

    Show the answer

    Correct answerC. An account-creation event in the audit log

    AWhy not this: Beaconing comes from a C2 implant calling home; an account creates no network traffic by itself.

    BWhy not this: Hidden processes are a rootkit effect; adding an account does not hide or create any process.

    CWhy this is right: Creating an account is an administrative change that is normally logged, and the account also appears in user lists.

    DWhy not this: A new account opens no network port; a listening port points to a bind shell instead.

    Creating an account is an administrative change that the operating system normally records, so defenders can find it in audit logs and user lists. A listening port, beaconing and hidden processes belong to bind shells, C2 implants and rootkits, not account creation.

    Open this question
  31. Question 31

    Post-exploitation and Lateral Movement

    A tester uses registry Run and RunOnce keys to keep an implant on a Windows host, and the client will review the result afterward. Which three statements are accurate? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. A Run key value starts the program at user logon, not at boot before anyone logs on.D. A value under RunOnce is deleted after it runs, so it gives one start unless re-added.F. Reviewing the autostart locations in the registry can reveal the entry to defenders.

    AWhy this is right: Run keys are processed when a user logs on, so nothing starts at boot before a logon, unlike a service.

    BWhy not this: The registry lives on the disk, so a reinstall and wipe removes the key and the value with it.

    CWhy not this: HKCU is per-user, so the value runs only for that user's logons; every-user logon needs HKLM.

    DWhy this is right: RunOnce entries are removed once executed, so repeated starts need a Run key or the value must be written again.

    EWhy not this: Run keys only launch at logon; restarting a killed process is a service recovery feature.

    FWhy this is right: Autostart registry locations are a standard place to review, so a planted value can be found and reported.

    RunOnce values are removed after they execute, Run keys fire at logon rather than at boot, and autostart registry locations can be reviewed by defenders. Run keys do not restart killed processes, and HKCU entries apply only to that user.

    Open this question
  32. Question 32

    Post-exploitation and Lateral Movement

    A tester leaves a payload on a client's internet-facing server that listens on a high TCP port and gives a command shell to whoever connects. Which risk is MOST specific to this shell type?

    Show the answer

    Correct answerD. Any host that can reach the port can connect and use the shell

    AWhy not this: Egress filtering blocks outbound callbacks, which a bind shell does not use because the tester connects in.

    BWhy not this: Fixed-interval beaconing is a C2 implant trait, not a feature of a listener waiting for an inbound connection.

    CWhy not this: This describes a reverse shell, where the target dials out; a bind shell makes no outbound session to the tester.

    DWhy this is right: The listener sits on the target and accepts connections from any source that can reach the port, so third parties could use it too.

    A bind shell leaves a listener on the target, and a plain listener does not check who connects, so anyone who can reach the port gets a shell. Outbound callback logging and egress filtering are reverse shell concerns, because there the target initiates the session.

    Open this question
  33. Question 33

    Post-exploitation and Lateral Movement

    A tester's reverse shell from an internal server to the tester's host got past the client's firewall, which already denies inbound connections. Which change would MOST directly stop it?

    Show the answer

    Correct answerB. Default-deny outbound rules allowing only required destinations

    AWhy not this: Counters a bind shell, which waits on an inbound port. A reverse shell opens no listening port on the target.

    BWhy this is right: Egress filtering blocks the outbound callback to the tester's listener, which a reverse shell depends on.

    CWhy not this: Protects remote logins, but the reverse shell uses an outbound connection from the server, not a VPN login.

    DWhy not this: Stops added-account persistence, but the reverse shell needs no new account to call out.

    A reverse shell is started by the target, which calls out to the tester's listener. Default-deny egress filtering blocks that callback. Closing inbound ports only counters a bind shell, which waits for an inbound connection.

    Open this question