QuestionQ53

VerifiedObject Configuration Creation and Application

You are creating a custom spyware signature that must implement a pattern match against both the HTTP header content and the HTTP message body.

Which context type should be used for the signature's standards?

Explanation

PAN-OS classifies custom signature contexts into two categories: String Contexts and Integer Contexts. String Contexts are used for pattern comparison against textual data such as HTTP headers, message bodies, and banner content (for example, http-req-headers and http-req-message-body), and they are used with the Pattern Match operator and a regular expression. Integer Contexts, by contrast, are used only for numeric equality/comparison operators (less than, greater than, equal to), such as content length or response codes—not for matching text patterns within headers or bodies. Because the goal is to pattern-match text in both the HTTP header and the HTTP message body, the String context type is the correct choice for the signature's standards.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!