-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
123 lines (123 loc) · 2.9 KB
/
config.json
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
{
"LOG_DIR": "logs",
"GENERAL_SETTINGS": {
"ENABLE_LOGGING": true,
"LOG_LEVEL": "INFO",
"INTERFACE": "auto",
"CAPTURE_TIMEOUT": 0
},
"IP_RULES": {
"BLACKLISTED_IPS": [
"192.168.1.100",
"10.0.0.100",
"8.8.8.8"
],
"WHITELISTED_IPS": [],
"IP_RANGES_TO_MONITOR": [],
"MAX_CONNECTIONS_PER_IP": 10,
"CONNECTION_TIMEOUT": 300
},
"PORT_RULES": {
"SUSPICIOUS_PORTS": [
22,
23,
445,
1433,
3389,
4444,
5554
],
"ALLOWED_PORTS": [
80,
443,
53
],
"PORT_SCAN_DETECTION": {
"ENABLED": true,
"THRESHOLD": 20,
"TIME_WINDOW": 60
}
},
"DNS_RULES": {
"DNS_BLACKLIST": [
"malware.com",
"suspicious.net",
"evil.org"
],
"DGA_DETECTION": {
"ENABLED": true,
"MIN_ENTROPY": 3.5,
"MIN_LENGTH": 10,
"CONSONANT_THRESHOLD": 0.7
},
"DNS_MONITORING": {
"CACHE_TIMEOUT": 300,
"MAX_QUERIES_PER_DOMAIN": 100,
"SUSPICIOUS_TLD": [
".xyz",
".tk",
".top"
]
}
},
"TRAFFIC_ANALYSIS": {
"PACKET_INSPECTION": {
"MAX_PACKETS_PER_SEC": 1000,
"UNUSUAL_PACKET_SIZE": 9000,
"ENABLE_DEEP_INSPECTION": false
},
"PROTOCOL_MONITORING": {
"BLOCKED_PROTOCOLS": [
"TELNET",
"FTP"
],
"ALERT_ON_UNENCRYPTED": true
},
"RATE_LIMITING": {
"ENABLED": true,
"SYN_FLOOD_THRESHOLD": 100,
"TIME_WINDOW_SECONDS": 60
}
},
"ALERT_SETTINGS": {
"ALERT_LEVELS": {
"INFO": {
"COLOR": "WHITE",
"LOG": true
},
"WARNING": {
"COLOR": "YELLOW",
"LOG": true
},
"ALERT": {
"COLOR": "RED",
"LOG": true,
"NOTIFY": true
}
},
"ALERT_ACTIONS": {
"EMAIL_NOTIFICATIONS": {
"ENABLED": false,
"SMTP_SERVER": "",
"SMTP_PORT": 587,
"SENDER_EMAIL": "",
"RECIPIENT_EMAIL": ""
},
"AUTO_BLOCK": {
"ENABLED": true,
"BLOCK_DURATION": 3600,
"MAX_STRIKES": 3
}
}
},
"GEOLOCATION": {
"ENABLED": true,
"SUSPICIOUS_COUNTRIES": [
"NK",
"IR",
"CU"
],
"ALLOWED_COUNTRIES": [],
"GEO_DB_PATH": "geo.mmdb"
}
}