Courseiva
Command and Control →hardMultiple Choice

GPEN Command and Control Practice Question

You are using a C2 framework that supports malleable C2 profiles. Your current profile uses a default HTTP GET beacon with a fixed User-Agent and a URI of /submit.php. The target's network monitoring has flagged this traffic as suspicious. You need to modify the profile to better blend with legitimate traffic. Which of the following changes is the MOST effective for evading network-based detection?

⚠ Common exam trap

The trap here is thinking that changing the User-Agent or URI is enough, but modern detection systems baseline application behavior and will flag random or inconsistent patterns.

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

✓

Mimic a legitimate application's traffic pattern by using its specific User-Agent, URI structure, and request headers, and set the beacon interval to match its typical polling frequency.

To evade network-based detection, the C2 traffic must closely resemble legitimate traffic. Simply changing the User-Agent or URI is insufficient because the overall pattern may still be anomalous. The most effective approach is to fully emulate a legitimate application, including its headers, URI structure, and timing. This makes the C2 traffic indistinguishable from the application's normal traffic, bypassing both signature and anomaly-based detection. The other options only partially address the problem.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Increase the beacon interval to several hours and add large amounts of jitter to make the traffic less frequent and more random.

    Why it's wrong here

    Increasing the beacon interval and jitter reduces the frequency of traffic, which might lower the chance of detection, but it also delays command execution and can make the C2 less responsive. It does not address the content or pattern of the traffic itself. If the traffic is inspected, the fixed User-Agent and URI will still stand out. This is a partial measure, not the most effective.

  • ✗

    Enable HTTPS with a valid certificate and use a domain that is categorized as 'business' by the firewall's URL filtering.

    Why it's wrong here

    Using HTTPS and a categorized domain can help bypass some filters, but it does not change the underlying traffic pattern. If the beacon still uses a fixed URI and User-Agent, it may still be flagged by behavioral analysis. Moreover, SSL inspection can decrypt the traffic and reveal the pattern. This option improves encryption but not the blending of application-layer characteristics.

  • ✓

    Mimic a legitimate application's traffic pattern by using its specific User-Agent, URI structure, and request headers, and set the beacon interval to match its typical polling frequency.

    Why this is correct

    The most effective way to blend in is to fully emulate a legitimate application's communication patterns. This includes not only the User-Agent and URI but also headers, parameter names, and timing. If the C2 traffic matches the application's normal behavior, network monitoring will have difficulty distinguishing it from legitimate traffic. This approach addresses multiple detection vectors simultaneously.

  • ✗

    Change the User-Agent to match a common browser and set the URI to a random string for each beacon.

    Why it's wrong here

    Changing the User-Agent and randomizing the URI can help evade simple signature-based detection, but random URIs are themselves anomalous because legitimate applications typically use consistent URIs. A browser would not request a random URI for each beacon. This pattern can be flagged by anomaly detection systems that baseline normal web traffic. It is not the most effective change.

About these practice questions

This GPEN question is part of Courseiva's 298-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.