CCFA-200b practice question 11 of 25

When creating a custom IOA for a specific domain, which syntax would be best for detecting or preventing on all subdomains as well?

Full set: 153 questions

Domain Visibility and Detections

Answer options
A: *\.baddomain\.xyz|baddomain\. xyz Correct answer
B: *baddomain\. xyz|baddomain\. xyz. *
C: Custom IOA rules cannot be created for domains
D: **baddomain\. xyz|baddomain\. xyz**
Correct Answer:
A. *\.baddomain\.xyz|baddomain\. xyz
Explanation

The syntax \.baddomain\.xyz|baddomain\.xyz is the most effective regular expression for this purpose within CrowdStrike's custom IOA engine. The first part, \.baddomain\.xyz, uses the as a wildcard to match any preceding characters (the subdomain) and \. to match the literal dots, thereby covering all subdomains (e.g., sub1.baddomain.xyz). The | character functions as a logical "OR". The second part, baddomain\.xyz, explicitly matches the parent domain itself. This combination ensures the rule triggers on network activity related to the parent domain and any of its subdomains, providing comprehensive coverage as intended by the question.

Why Incorrect

B. This syntax is incorrect because the first dot is not escaped (baddomain.xyz), causing it to act as a wildcard that would match any character, leading to false positives.
C. This statement is false. Custom IOAs can be created for various event types, including network connections and DNS requests, which inherently involve domain names.
D. The double asterisk is not the standard syntax for this context. It is typically used as a wildcard for matching recursive directory paths, not for domain name components.

References

1. CrowdStrike Falcon® Platform Documentation, "Host and Cloud Security > Response > Custom IOAs > Create a custom IOA rule": This official documentation outlines the regular expression syntax used in the Falcon platform. It specifies that is used as a wildcard for zero or more characters, \ is the escape character for special characters like the dot (.), and | is the logical OR operator. The combination in option A correctly applies these principles to match a domain and its subdomains.

2. CrowdStrike Falcon® Platform Documentation, "Custom IOA Rule Writing Guide": This guide provides examples and best practices for rule creation. In sections discussing string matching for domains or file paths, it consistently demonstrates the necessity of escaping special regex characters (like .) with a backslash (\) to match them literally and using wildcards () to match variable components, validating the structure of the correct answer.

Scroll to Top