Active Directory Security Concepts & CompTIA Linux+ (XK0-006) Administration
High-yield flashcards covering Active Directory authentication vulnerabilities and defenses (Kerberoasting, AS-REP Roasting, Pass-the-Hash/Ticket, Golden/Silver Tickets, DCSync, SMB signing, BloodHound, SSH pivoting, LOLBins/GTFOBins) alongside CompTIA Linux+ (XK0-006) PAM, SELinux/AppArmor, LUKS, systemd, Ansible, Podman, Kubernetes, cloud-init, and eBPF troubleshooting.
- Category
- Offensive Security, Privacy/AI Governance, Enterprise Architecture & Cloud Data/AI — CompTIA PenTest+ (PT0-003) & Linux+ (XK0-006), CEH, IAPP CIPP/AIGP (EU AI Act), TOGAF 10, Fabric DP-700 & Azure AI-102
- Level
- basic
- Languages
- en → en
- Cards
- 32
- Markdown
- Active Directory Security Concepts & CompTIA Linux+ (XK0-006) Administration (.md)
Flashcards (32)
| # | Front (Term / Question) | Back (Definition / Answer) | Example | Multiple-Choice Options |
|---|---|---|---|---|
| 1 | What makes eBPF (Extended Berkeley Packet Filter) uniquely safe and fast for Linux networking, tracing, and security? | An in-kernel verifier guarantees termination and memory safety before JIT-compiling sandboxed eBPF programs without kernel mods. | ||
| 2 | What security risk do Living-off-the-Land binaries (LOLBins on Windows / GTFOBins on Linux) pose, and how is it reduced? | Trusted OS utilities can bypass naive signature AV or escalate sudo rights; mitigate with WDAC/AppLocker and least-priv sudo. | ||
| 3 | Which Active Directory directory-replication permissions enable a DCSync credential exposure if granted to non-DC principals? | Replicating Directory Changes and Replicating Directory Changes All (DS-Replication-Get-Changes-All) at the domain root. | ||
| 4 | What are the distinct behaviors of the SGID (2000) and Sticky Bit (1000) special permissions on Linux directories? | SGID makes new files inherit the directory's group; the Sticky Bit restricts file deletion in shared dirs like /tmp to owners. | ||
| 5 | What three architectural traits define Ansible automation in CompTIA Linux+ (XK0-006)? | Agentless SSH/WinRM transport, declarative idempotent YAML playbooks, and encrypted secret storage via ansible-vault. | ||
| 6 | Which Active Directory user-account flag creates exposure to AS-REP Roasting, and how is it remediated? | UF_DONT_REQUIRE_PREAUTH ('Do not require Kerberos preauthentication'); remediate by enabling Kerberos preauthentication. | ||
| 7 | What defines a GitOps operational workflow in CompTIA Linux+ (XK0-006) infrastructure management? | Git serves as the single declarative source of truth, continuously reconciled to target clusters by pull-based agents. | ||
| 8 | Why must defenders reset the Active Directory krbtgt account password twice during Golden Ticket incident recovery? | Domain controllers validate both the current and previous (N-1) krbtgt keys, so only a double reset revokes forged TGTs. | ||
| 9 | Which journalctl flags inspect only error-or-higher messages from the previous boot for a specific systemd unit? | Use journalctl -u <unit> -p err -b -1 (requires /var/log/journal persistent storage to retain logs across reboots). | ||
| 10 | Which LVM command sequence expands a Logical Volume and grows its underlying XFS or ext4 filesystem online in one step? | Extend the Volume Group if needed via vgextend, then run 'lvextend -r -L +<size> /dev/<vg>/<lv>' to resize LV and filesystem. | ||
| 11 | Which modern iproute2 command replaces deprecated 'netstat' to list listening TCP/UDP sockets with numeric ports and PIDs? | ss -tulnp (displaying TCP, UDP, listening sockets, numeric port numbers, and owning users/process IDs). | ||
| 12 | What is the role of cloud-init when provisioning Linux virtual machines across public and private clouds? | It reads instance metadata and user-data on first boot to automate hostnames, SSH keys, packages, mounts, and networking. | ||
| 13 | Conceptually, how does Pass-the-Hash (PtH) differ from Pass-the-Ticket (PtT) in Windows authentication? | PtH authenticates directly using an NTLM password hash, whereas PtT reuses a stolen Kerberos TGT or TGS ticket in memory. | ||
| 14 | Which /etc/ssh/sshd_config directives are baseline CompTIA Linux+ hardening controls against brute-force SSH attacks? | Set PermitRootLogin no and PasswordAuthentication no, enforcing Ed25519 or hardware-backed FIDO2 public-key authentication. | ||
| 15 | Why should administrators use 'systemctl edit <service>' drop-in files instead of modifying /usr/lib/systemd/system/ units? | Package upgrades overwrite vendor files in /usr/lib/systemd/system/, whereas /etc/systemd/system/*.d/ overrides persist. | ||
| 16 | What are the maximum item count, duration, and passing score for the CompTIA Linux+ (XK0-006) certification exam? | Up to 90 multiple-choice and performance-based items in 90 minutes, with a passing score of 720 on a 100–900 scale. | ||
| 17 | Which two Active Directory hardening controls effectively mitigate Kerberoasting risk? | Migrate services to Group Managed Service Accounts (gMSAs) with 120-char rotating passwords and enforce Kerberos AES-256. | ||
| 18 | Which Linux subsystem and configuration file manage block-device full-disk encryption unlocked automatically or at boot? | LUKS managed via cryptsetup (luksFormat/luksOpen), with persistent encrypted volume mappings defined in /etc/crypttab. | ||
| 19 | In Kubernetes troubleshooting on Linux+, how does CrashLoopBackOff differ from ImagePullBackOff, and what flag checks prior logs? | ImagePullBackOff fails registry retrieval; CrashLoopBackOff means container processes exit repeatedly (check logs --previous). | ||
| 20 | In Linux PAM (/etc/pam.d/), how does the 'requisite' control flag differ from 'required' when a module check fails? | 'Requisite' aborts authentication immediately on failure, whereas 'required' runs remaining modules before returning failure. | ||
| 21 | On an SELinux-enabled Linux host, how does Permissive mode differ from Enforcing mode, and what persists custom file labels? | Permissive logs AVC denials without blocking access; semanage fcontext plus restorecon applies persistent SELinux labels. | ||
| 22 | What Kerberos protocol behavior makes Active Directory service accounts vulnerable to Kerberoasting? | Any domain user can request an SPN's Kerberos TGS ticket, which is encrypted with the service account's password hash. | ||
| 23 | How do security teams use BloodHound during an Active Directory security posture audit? | It models AD permissions, sessions, and nested groups as a graph to identify and remediate attack paths to Tier-0 assets. | ||
| 24 | How does SELinux differ architecturally from AppArmor as a Linux Mandatory Access Control (MAC) framework? | SELinux enforces inode-level security context labels (user:role:type:level), whereas AppArmor restricts processes by file path. | ||
| 25 | In Linux container runtimes, what is the division of responsibility between kernel namespaces and cgroups v2? | Namespaces isolate process visibility (PID, net, mount, user), while cgroups v2 meter and cap CPU, memory, and I/O usage. | ||
| 26 | In Active Directory Kerberos security, how does a Golden Ticket differ from a Silver Ticket? | A Golden Ticket forges a domain-wide TGT using the KRBTGT hash; a Silver Ticket forges a TGS using one service's hash. | ||
| 27 | How do SSH -L, -R, and -D port-forwarding modes differ conceptually during authorized network pivoting? | -L forwards a local port to a remote target, -R exposes a remote port back locally, and -D creates a dynamic SOCKS proxy. | ||
| 28 | In modern Linux packet filtering, what subsystem supersedes legacy iptables/ip6tables/arptables under a unified kernel framework? | nftables (managed via the nft CLI and often fronted by firewalld or ufw) unifies IPv4, IPv6, ARP, and bridge filtering. | ||
| 29 | A Linux filesystem shows 100% full in 'df -h' even though 'du -sh' totals much less; how do you diagnose and resolve this? | Run 'lsof +L1' to find running processes holding open file descriptors to deleted files, then restart or reload the service. | ||
| 30 | During Linux process troubleshooting, when should an engineer choose 'strace' versus 'ltrace'? | Use strace to inspect kernel system calls and signals, and ltrace to trace dynamic shared-library function calls. | ||
| 31 | How does Podman's container execution architecture differ from a traditional root-privileged Docker daemon? | Podman uses a daemonless fork-exec architecture supporting rootless containers in user namespaces and systemd Quadlet units. | ||
| 32 | Which protocol-hardening controls prevent NTLM relay against Active Directory SMB and LDAP services? | Enforce mandatory SMB Signing on all hosts, require LDAP Signing/LDAPS, and enable Extended Protection (Channel Binding). |