File size: 1,226 Bytes
43ecebd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
Python 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)] on win32
Enter "help" below or click "Help" above for more information.
{
  "threat_threshold": 50,
  "log_level": "INFO",
  "monitoring_interfaces": [
    "eth0",
...     "wlan0"
...   ],
...   "rules": {
...     "network_traffic_spike": {
...       "active": true,
...       "baseline_mbps": 100,
...       "spike_threshold_percent": 200,
...       "threat_level": 75
...     },
...     "resource_usage_spike": {
...       "active": true,
...       "cpu_threshold": 80,
...       "memory_threshold": 85,
...       "threat_level": 60
...     },
...     "data_exfiltration": {
...       "active": true,
...       "size_threshold_mb": 100,
...       "suspicious_extensions": [
...         ".zip",
...         ".rar",
...         ".exe",
...         ".pdf",
...         ".docx"
...       ],
...       "threat_level": 90
...     },
...     "unauthorized_access": {
...       "active": true,
...       "attempt_threshold": 5,
...       "restricted_accounts": [
...         "admin",
...         "root",
...         "administrator"
...       ],
...       "threat_level": 85
...     }
...   }
... }