-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefinitions.toml
84 lines (66 loc) · 1.8 KB
/
definitions.toml
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
[[patterns]]
description = "Password properties"
pattern = "Password = \"[^\"]+\"[^;]+"
[[patterns]]
description = "Password nodes"
pattern = "description=\"[^\"]+Password\""
[[patterns]]
description = "Machine keys useful for RCE"
pattern = "<machineKey "
enabled = true
[[patterns]]
description = "SQL Server Credential"
pattern = ";\\w*User ID="
enabled = true
[[patterns]]
description = "Azure Account Keys"
pattern = "AccountKey="
enabled = true
[[patterns]]
description = "Azure Account Keys"
pattern = "Accountdescription="
enabled = true
[[patterns]]
description = "NetworkCredential"
pattern = "Network-Credential "
enabled = true
[[patterns]]
description = "SQL Server Connection String"
pattern = "(Data Source=|Initial Catalog=).+Password=.+(Data Source=|Initial Catalog=)"
enabled = true
[[patterns]]
description = "Password properties"
pattern = "Password="
enabled = true
[[patterns]]
description = "XML description attribute containing password"
pattern = "description=\"[^\"]+Password\""
enabled = true
[[patterns]]
description = "Secret Keys"
pattern = "=\"[\\w\\s]+(Secret|Key)\""
[[patterns]]
description = "Service Bus"
pattern = ";SharedAccessKey="
[[patterns]]
description = "Password in code"
pattern = "Password = \"[^\"]+\"[^;]+"
[[patterns]]
description = "X509Certificate2 Constructor with Password"
pattern = "X509Certificate2\\([A-Za-z09]+, \"[^\"]+\""
[[filters]]
description = "Remove obvious bad hits for things like designer documents"
pattern = "TKey"
[[filters]]
description = "Remove bad hits in documentation"
pattern = "cref"
[[filters]]
description = "Remove bad hits in documentation"
pattern = "</param>"
[[files]]
description = "Publisher settings file for Azure Management"
extension = "publishsettings"
[[files]]
description = "Private key file"
extension = "pfx"
binary = true