McAfee HISCDE-AB-IA Product Guide - Page 114

Note 1, matched against {url} and the query is matched against {query}. For example

Page 114 highlights

Appendix A - Writing Custom Signatures and Exceptions Windows custom signatures Section method directives Values Notes GET, POST, INDEX or any other One of the required parameters. See Note 4. allowed HTTP method isapi:request For all three types of incoming http requests. isapi:requrl For url requests. isapi:reqquery For query requests. isapi:rawdata For raw data requests. isapi:response For request response. Note 1 An incoming http request can be represented as: http://www.myserver.com/ {url}?{query}. In this document, we refer to {url} as the "URL" part of the http request and {query} as the "query" part of the http request. Using this naming convention, we can say that the section "URL" is matched against {url} and the section "query" is matched against {query}. For example the following rule is triggered if the http request http:// www.myserver.com/search/abc.exe?subject=wildlife&environment=ocean is received by IIS: Rule { tag "Sample6" Class Isapi Id 4001 level 1 url { Include "*abc*" } Executable { Include "*"} user_name { Include "*" } directives isapi:request } This rule is triggered because {url}=/search/abc.exe, which matches the value of the section "url" (i.e. abc). Note 2 Before matching is done, sections "url" and "query" are decoded and normalized so that requests cannot be filled with encoding or escape sequences. Note 3 A maximum length restriction can be defined for the sections "url" and "query". By adding ";number-of-chars" to the value of these sections, the rule can match only if the {url} or {query} have more characters than "number-of-chars". For example, "abc*;500" matches strings containing 'abc' that are 500 characters or more; "*abc;xyz*;" matches any string containing 'abc;xyz' regardless of length. Note 4 A rule needs to contain at least one of the optional sections url, query, method. 114 McAfee Host Intrusion Prevention 8.0 Product Guide for ePolicy Orchestrator 4.5

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154

Notes
Values
Section
One of the required parameters. See Note 4.
GET, POST, INDEX or any other
allowed HTTP method
method
For all three types of incoming http requests.
isapi:request
directives
For url requests.
isapi:requrl
For query requests.
isapi:reqquery
For raw data requests.
isapi:rawdata
For request response.
isapi:response
Note 1
An incoming http request can be represented as: http://www.myserver.com/ {url}?{query}. In
this document, we refer to {url} as the “URL” part of the http request and {query} as the “query”
part of the http request. Using this naming convention, we can say that the section “URL” is
matched against {url} and the section “query” is matched against {query}. For example the
following rule is triggered if the http request http://
www.myserver.com/search/abc.exe?subject=wildlife&environment=ocean is received by IIS:
Rule {
tag "Sample6"
Class Isapi
Id 4001
level 1
url { Include “*abc*” }
Executable { Include “*”}
user_name { Include “*” }
directives isapi:request
}
This rule is triggered because {url}=/search/abc.exe, which matches the value of the section
“url” (i.e. abc).
Note 2
Before matching is done, sections “url” and “query” are decoded and normalized so that requests
cannot be filled with encoding or escape sequences.
Note 3
A maximum length restriction can be defined for the sections “url” and “query”. By adding
“;number-of-chars” to the value of these sections, the rule can match only if the {url} or {query}
have more characters than “number-of-chars”. For example, "abc*;500" matches strings
containing 'abc' that are 500 characters or more; "*abc;xyz*;" matches any string containing
'abc;xyz' regardless of length.
Note 4
A rule needs to contain at least one of the optional sections url, query, method.
Appendix A — Writing Custom Signatures and Exceptions
Windows custom signatures
McAfee Host Intrusion Prevention 8.0 Product Guide for ePolicy Orchestrator 4.5
114