-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathproxy.yara
More file actions
36 lines (28 loc) · 856 Bytes
/
proxy.yara
File metadata and controls
36 lines (28 loc) · 856 Bytes
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
rule proxy_auth {
meta:
description = "use HTTP proxy that requires authentication"
ref = "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization"
strings:
$ref = "Proxy-Authorization"
condition:
any of them
}
rule proxy_pac {
meta:
description = "discover proxy address via PAC file"
ref = "https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file"
strings:
$ref = "PACFile" fullword
condition:
any of them
}
rule http_proxy_env {
meta:
description = "discover proxy address via environment"
ref = "https://www.ibm.com/docs/en/ste/11.0.0?topic=node-proxy-configuration-using-environment-variables"
strings:
$ref = "HTTP_PROXY"
$ref2 = "HTTPS_PROXY"
condition:
any of them
}