Courseiva
Command and Control →hardMultiple Choice

GPEN Command and Control Practice Question

Which TWO methods are commonly used to achieve C2 persistence while ensuring the communication remains resilient against infrastructure takedowns?

⚠ Common exam trap

Test-takers frequently confuse persistence mechanisms meant to survive reboots (like registry run keys) with techniques designed specifically for resilient C2 infrastructure takedown defense.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Implementing Domain Generation Algorithms (DGA).

Resilient C2 infrastructure often relies on decentralized or dynamic components to ensure that the connection remains viable even if individual nodes are identified and blocked. By utilizing domain generation algorithms and cloud-based relay services, attackers create a moving target that is difficult for incident responders to fully dismantle in a timely manner. Mastery of these techniques is essential for assessing the robust nature of an organization's defense-in-depth posture.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Implementing Domain Generation Algorithms (DGA).

    Why this is correct

    DGA allows malware to generate a vast number of pseudo-random domain names daily. The attacker only needs to register a small subset of these to maintain connectivity. This provides massive redundancy, as defenders cannot easily block all potential future domains before they are registered by the adversary.

  • ✗

    Hardcoding the IP address of the C2 server.

    Why it's wrong here

    Hardcoding a static IP address creates a significant weakness, as it is trivial to identify and null-route the IP at the network boundary. Once the IP is blocked, the malware loses connectivity permanently unless it possesses an update mechanism to receive a new IP address configuration.

  • ✓

    Utilizing cloud providers for domain fronting.

    Why this is correct

    Domain fronting hides the true C2 destination by using a high-reputation domain hosted on the same Content Delivery Network or cloud provider as the malicious server. Traffic appears to go to a trusted site, making it highly effective at bypassing egress filters and complicating source attribution.

  • ✗

    Using unencrypted HTTP for all C2 traffic.

    Why it's wrong here

    Unencrypted HTTP traffic is easily analyzed by network security appliances and intrusion detection systems. Cleartext commands allow defenders to extract the C2 protocol's logic and potentially issue spoofed commands or intercept the traffic. Modern malware almost exclusively uses TLS/SSL to prevent such visibility and easy interception.

  • ✗

    Requiring manual operator interaction for beaconing.

    Why it's wrong here

    Manual interaction makes the C2 communication predictable and sporadic, which contradicts the concept of persistent automated beaconing. Reliable persistence requires autonomous check-ins, allowing the malware to reconnect automatically after a system reboot or network outage without waiting for the human operator to initiate the request.

About these practice questions

Courseiva writes every GPEN question from scratch — 298 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official GIAC exam blueprint

This GPEN practice question is part of Courseiva's free GIAC certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GPEN exam.