{
  "Exam 02-1: Final Exam Preparation": [
    {
      "question": "126. Which technique is used by attackers to maintain access by adding a hidden user account with admin privileges on a Windows system?",
      "options": [
        "A. Creating a rogue local administrator account",
        "B. Enabling RDP logging",
        "C. Resetting the KRBTGT account",
        "D. Running Windows Update"
      ],
      "num_answers": 1,
      "answer": "A. Creating a rogue local administrator account",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Attackers often create secret local admin accounts to preserve persistent access.",
        "B": "❌ Logging RDP is a defensive activity.",
        "C": "❌ Resetting KRBTGT is a remediation step against Golden Tickets.",
        "D": "❌ Windows Update is unrelated to persistence."
      }
    },
    {
      "question": "127. Which Windows utility can be used to manage services, including enabling or disabling them for persistence?",
      "options": [
        "A. services.msc",
        "B. regsvr32",
        "C. taskkill",
        "D. ipconfig"
      ],
      "num_answers": 1,
      "answer": "A. services.msc",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ services.msc allows viewing and configuring Windows services.",
        "B": "❌ regsvr32 registers DLLs.",
        "C": "❌ taskkill terminates processes.",
        "D": "❌ ipconfig shows IP configuration."
      }
    },
    {
      "question": "128. Which of the following is a primary goal of privilege escalation?",
      "options": [
        "A. Gaining higher-level access than originally compromised",
        "B. Reducing log verbosity",
        "C. Flooding a target with traffic",
        "D. Discovering open ports"
      ],
      "num_answers": 1,
      "answer": "A. Gaining higher-level access than originally compromised",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Privilege escalation attempts to move from low-priv to higher-priv accounts or contexts.",
        "B": "❌ That is log manipulation, not the main goal here.",
        "C": "❌ Flooding with traffic is DoS.",
        "D": "❌ Port discovery is reconnaissance."
      }
    },
    {
      "question": "129. Which of the following authentication protocols is vulnerable to pass-the-hash (PtH) attacks in legacy Windows environments?",
      "options": [
        "A. NTLM",
        "B. Kerberos with PAC validation",
        "C. OAuth 2.0",
        "D. SAML 2.0"
      ],
      "num_answers": 1,
      "answer": "A. NTLM",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ NTLM hashes can be reused directly in PtH attacks without knowing the password.",
        "B": "❌ Kerberos is vulnerable to other abuses, but PtH is classically about NTLM.",
        "C": "❌ OAuth 2.0 is used for web authorization, not Windows LAN auth.",
        "D": "❌ SAML is for federated identity, not legacy LAN auth."
      }
    },
    {
      "question": "130. Which Windows process typically holds LSASS, whose memory attackers may dump to obtain credentials?",
      "options": [
        "A. lsass.exe",
        "B. svchost.exe",
        "C. winlogon.exe",
        "D. explorer.exe"
      ],
      "num_answers": 1,
      "answer": "A. lsass.exe",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ lsass.exe (Local Security Authority Subsystem Service) is the process that stores credential material.",
        "B": "❌ svchost.exe hosts generic services, not LSASS.",
        "C": "❌ winlogon.exe handles interactive logon, but not LSASS itself.",
        "D": "❌ explorer.exe is the shell process."
      }
    },
    {
      "question": "131. Which tool is commonly used to dump LSASS memory for offline credential extraction on Windows?",
      "options": [
        "A. procdump",
        "B. ipconfig",
        "C. ping",
        "D. arp"
      ],
      "num_answers": 1,
      "answer": "A. procdump",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Procdump can be used to create memory dumps of processes like lsass.exe.",
        "B": "❌ ipconfig is for IP configuration.",
        "C": "❌ ping tests reachability.",
        "D": "❌ arp shows MAC ↔ IP mappings."
      }
    },
    {
      "question": "132. Which type of Kerberos ticket do attackers forge in a Golden Ticket attack?",
      "options": [
        "A. Ticket Granting Ticket (TGT)",
        "B. Ticket Granting Service (TGS)",
        "C. Service ticket only",
        "D. PAC-only ticket"
      ],
      "num_answers": 1,
      "answer": "A. Ticket Granting Ticket (TGT)",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Golden Tickets are forged TGTs, granting broad access in the domain.",
        "B": "❌ Silver Tickets abuse TGS/service tickets, not TGTs.",
        "C": "❌ Service tickets alone are more limited.",
        "D": "❌ PAC is part of the ticket, not the main artifact name."
      }
    },
    {
      "question": "133. Which of the following is a common Windows UAC bypass technique?",
      "options": [
        "A. Abuse of autoElevate COM objects",
        "B. Resetting local admin password",
        "C. Adding entries to the hosts file",
        "D. Flushing the DNS cache"
      ],
      "num_answers": 1,
      "answer": "A. Abuse of autoElevate COM objects",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Some COM objects marked autoElevate can be abused to run code with elevated privileges.",
        "B": "❌ Resetting passwords is privilege escalation, not UAC bypass per se.",
        "C": "❌ hosts modification affects name resolution.",
        "D": "❌ DNS flush is benign system maintenance."
      }
    },
    {
      "question": "134. Which of the following best describes lateral movement?",
      "options": [
        "A. Moving from one compromised host to other internal hosts",
        "B. Increasing privileges on a single host",
        "C. Redirecting traffic through a proxy",
        "D. Obfuscating code to evade AV"
      ],
      "num_answers": 1,
      "answer": "A. Moving from one compromised host to other internal hosts",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Lateral movement is the process of pivoting to additional systems in the same environment.",
        "B": "❌ That is privilege escalation.",
        "C": "❌ Proxies are used for tunneling, not necessarily lateral movement.",
        "D": "❌ Code obfuscation is an evasion technique."
      }
    },
    {
      "question": "135. Which protocol is commonly abused for Windows lateral movement using tools like PsExec?",
      "options": [
        "A. SMB",
        "B. SNMP",
        "C. SMTP",
        "D. IMAP"
      ],
      "num_answers": 1,
      "answer": "A. SMB",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ PsExec and similar tools often use SMB (TCP 445) to copy binaries and execute remotely.",
        "B": "❌ SNMP is for management and monitoring.",
        "C": "❌ SMTP is for email.",
        "D": "❌ IMAP is for mail retrieval."
      }
    },
    {
      "question": "136. Which of the following Windows services is most commonly used for remote command execution over WinRM?",
      "options": [
        "A. HTTP/HTTPS on ports 5985/5986",
        "B. Telnet on port 23",
        "C. FTP on port 21",
        "D. POP3 on port 110"
      ],
      "num_answers": 1,
      "answer": "A. HTTP/HTTPS on ports 5985/5986",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ WinRM listens by default on HTTP 5985 and HTTPS 5986.",
        "B": "❌ Telnet is an older remote shell protocol.",
        "C": "❌ FTP is for file transfer.",
        "D": "❌ POP3 is mail retrieval."
      }
    },
    {
      "question": "137. Which technique involves using stolen Kerberos service tickets to authenticate to services without knowing the password?",
      "options": [
        "A. Pass-the-Ticket",
        "B. Pass-the-Hash",
        "C. Credential stuffing",
        "D. Ticket harvesting"
      ],
      "num_answers": 1,
      "answer": "A. Pass-the-Ticket",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Pass-the-Ticket reuses stolen Kerberos tickets to gain access.",
        "B": "❌ Pass-the-Hash uses NTLM hashes.",
        "C": "❌ Credential stuffing reuses username/password pairs.",
        "D": "❌ Ticket harvesting is collecting tickets, not the re-use technique name."
      }
    },
    {
      "question": "138. In which Windows security database are local user account password hashes stored?",
      "options": [
        "A. SAM database",
        "B. SECURITY hive",
        "C. SYSTEM hive",
        "D. NTUSER.DAT"
      ],
      "num_answers": 1,
      "answer": "A. SAM database",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ The Security Account Manager (SAM) stores local account hashes.",
        "B": "❌ SECURITY hive holds security policy information.",
        "C": "❌ SYSTEM hive contains system configuration.",
        "D": "❌ NTUSER.DAT holds per-user profile info."
      }
    },
    {
      "question": "139. Which tool can be used to perform pass-the-hash and pass-the-ticket attacks on Windows domains?",
      "options": [
        "A. Mimikatz",
        "B. Nikto",
        "C. sqlmap",
        "D. Nmap"
      ],
      "num_answers": 1,
      "answer": "A. Mimikatz",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Mimikatz can manipulate Kerberos tickets and NTLM hashes for PtH/PtT.",
        "B": "❌ Nikto is a web server scanner.",
        "C": "❌ sqlmap is SQLi automation.",
        "D": "❌ Nmap is a port scanner."
      }
    },
    {
      "question": "140. Which of the following is a persistence mechanism where malware registers itself as a Windows service?",
      "options": [
        "A. Service-based persistence",
        "B. DLL search order hijacking",
        "C. Scheduled task persistence",
        "D. Bootkit installation"
      ],
      "num_answers": 1,
      "answer": "A. Service-based persistence",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Installing as a Windows service ensures automatic start and persistence.",
        "B": "❌ DLL hijacking abuses DLL loading paths.",
        "C": "❌ Scheduled tasks are a different persistence vector.",
        "D": "❌ Bootkits infect boot loaders."
      }
    },
    {
      "question": "141. Which Windows command-line tool displays current scheduled tasks that may indicate persistence?",
      "options": [
        "A. schtasks",
        "B. net use",
        "C. route print",
        "D. whoami"
      ],
      "num_answers": 1,
      "answer": "A. schtasks",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ schtasks lists, creates, and modifies scheduled tasks.",
        "B": "❌ net use shows mapped drives.",
        "C": "❌ route print shows routing table.",
        "D": "❌ whoami shows the current user."
      }
    },
    {
      "question": "142. Which of the following is a common indicator of credential dumping on Windows?",
      "options": [
        "A. Unexpected lsass.exe memory dump files in temp directories",
        "B. High ICMP echo traffic",
        "C. Large DNS TXT records",
        "D. Frequent ARP broadcasts from user machines"
      ],
      "num_answers": 1,
      "answer": "A. Unexpected lsass.exe memory dump files in temp directories",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Credential dumping tools often dump lsass memory to disk for offline parsing.",
        "B": "❌ ICMP echoes may indicate scanning, not specifically dumping.",
        "C": "❌ Large TXT records relate more to data exfil or DNS tunneling.",
        "D": "❌ ARP broadcasts are normal in many networks."
      }
    },
    {
      "question": "143. Which Windows log typically records successful and failed logons?",
      "options": [
        "A. Security log",
        "B. Application log",
        "C. System log",
        "D. Setup log"
      ],
      "num_answers": 1,
      "answer": "A. Security log",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ The Security log (event IDs like 4624/4625) contains logon events.",
        "B": "❌ Application logs app-specific events.",
        "C": "❌ System logs OS-related events.",
        "D": "❌ Setup logs installation events."
      }
    },
    {
      "question": "144. Which of the following is the BEST defense against pass-the-hash attacks in modern Windows domains?",
      "options": [
        "A. Enforce credential guard and use local admin password solution (LAPS)",
        "B. Use only static local admin passwords across all systems",
        "C. Disable event logging to reduce overhead",
        "D. Turn off firewalls on all hosts"
      ],
      "num_answers": 1,
      "answer": "A. Enforce credential guard and use local admin password solution (LAPS)",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Credential Guard protects secrets; LAPS prevents shared local admin passwords.",
        "B": "❌ Shared static passwords make PtH easier.",
        "C": "❌ Disabling logging helps attackers, not defenders.",
        "D": "❌ Turning off firewalls expands the attack surface."
      }
    },
    {
      "question": "145. Which of the following techniques uses WMI for lateral movement?",
      "options": [
        "A. Executing remote commands via wmic or PowerShell WMI cmdlets",
        "B. Sending crafted SNMP traps",
        "C. Injecting shellcode into ARP packets",
        "D. Modifying DNS TXT records"
      ],
      "num_answers": 1,
      "answer": "A. Executing remote commands via wmic or PowerShell WMI cmdlets",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Attackers use WMI to spawn processes or run scripts on remote hosts.",
        "B": "❌ SNMP traps are unrelated to WMI-based movement.",
        "C": "❌ ARP is not used this way.",
        "D": "❌ DNS TXT changes are more about exfiltration or misconfig."
      }
    },
    {
      "question": "146. Which Windows feature provides single sign-on and can be abused via Kerberos ticket attacks?",
      "options": [
        "A. Active Directory",
        "B. BitLocker",
        "C. EFS",
        "D. AppLocker"
      ],
      "num_answers": 1,
      "answer": "A. Active Directory",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ AD with Kerberos provides SSO and is target of Golden/Silver Ticket attacks.",
        "B": "❌ BitLocker is full disk encryption.",
        "C": "❌ EFS encrypts files.",
        "D": "❌ AppLocker enforces whitelisting."
      }
    },
    {
      "question": "147. An attacker compromises one workstation in a domain and then uses that machine to access file shares on another server using the same user’s credentials. What is this an example of?",
      "options": [
        "A. Lateral movement",
        "B. Initial compromise",
        "C. Data-in-transit attack",
        "D. Drive-by exploit"
      ],
      "num_answers": 1,
      "answer": "A. Lateral movement",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Using an initial foothold to move to internal resources is lateral movement.",
        "B": "❌ Initial compromise was already done.",
        "C": "❌ Data-in-transit refers to sniffing or tampering with traffic.",
        "D": "❌ Drive-by exploit happens in the browser, not here."
      }
    },
    {
      "question": "148. Which of the following best describes a 'living off the land' (LotL) technique?",
      "options": [
        "A. Using built-in admin tools like PowerShell and WMI instead of custom malware",
        "B. Launching attacks from cloud infrastructure only",
        "C. Storing payloads exclusively on removable media",
        "D. Only using buffer overflow exploits"
      ],
      "num_answers": 1,
      "answer": "A. Using built-in admin tools like PowerShell and WMI instead of custom malware",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ LotL abuses legitimate OS tools to blend in and evade detection.",
        "B": "❌ Cloud origin doesn’t define LotL.",
        "C": "❌ Removable media is about infection vector, not LotL.",
        "D": "❌ Buffer overflows are a separate exploit category."
      }
    },
    {
      "question": "149. Which built-in Windows tool can be abused for downloading and executing scripts over HTTP without dropping traditional binaries?",
      "options": [
        "A. PowerShell",
        "B. chkdsk",
        "C. defrag",
        "D. notepad"
      ],
      "num_answers": 1,
      "answer": "A. PowerShell",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ PowerShell can download and execute code directly from URLs (e.g., Invoke-WebRequest + IEX).",
        "B": "❌ chkdsk is for disk checks.",
        "C": "❌ defrag optimizes disks.",
        "D": "❌ notepad is just a text editor."
      }
    },
    {
      "question": "150. Which of the following is a defensive measure to detect suspicious remote PowerShell execution across the network?",
      "options": [
        "A. Enabling PowerShell script block and transcription logging",
        "B. Disabling all Windows event logs",
        "C. Allowing unrestricted PowerShell execution policy",
        "D. Turning off antivirus to reduce false positives"
      ],
      "num_answers": 1,
      "answer": "A. Enabling PowerShell script block and transcription logging",
      "answer_keys": ["A"],
      "explanations": {
        "A": "✅ Script block and transcription logs provide rich telemetry on PowerShell usage.",
        "B": "❌ Disabling logs hides evidence.",
        "C": "❌ Unrestricted policy makes attacks easier.",
        "D": "❌ Turning off AV benefits attackers, not defenders."
      }
    }
  ]
}
