Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
323 changes: 323 additions & 0 deletions frontend/db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,323 @@
{
"monitoringStatus": {
"active": true,
"uptime": 145200,
"packets_captured": 2847392,
"active_sessions": 12,
"threats_detected": 23,
"last_updated": "2025-11-14T20:00:00.000Z"
},

"trafficStats": {
"total_packets": 2847392,
"suspicious_packets": 1247,
"blocked_packets": 342,
"data_transferred": "1.2TB",
"hourly_data": [
{ "hour": "00:00", "packets": 12000, "suspicious": 45, "blocked": 12 },
{ "hour": "01:00", "packets": 8500, "suspicious": 32, "blocked": 8 },
{ "hour": "02:00", "packets": 6200, "suspicious": 28, "blocked": 5 },
{ "hour": "03:00", "packets": 5800, "suspicious": 15, "blocked": 3 },
{ "hour": "04:00", "packets": 7200, "suspicious": 22, "blocked": 7 },
{ "hour": "05:00", "packets": 9800, "suspicious": 38, "blocked": 11 },
{ "hour": "06:00", "packets": 15200, "suspicious": 52, "blocked": 18 },
{ "hour": "07:00", "packets": 22400, "suspicious": 78, "blocked": 25 },
{ "hour": "08:00", "packets": 28600, "suspicious": 95, "blocked": 32 },
{ "hour": "09:00", "packets": 35200, "suspicious": 112, "blocked": 41 },
{ "hour": "10:00", "packets": 42800, "suspicious": 134, "blocked": 48 },
{ "hour": "11:00", "packets": 38900, "suspicious": 128, "blocked": 44 },
{ "hour": "12:00", "packets": 45200, "suspicious": 145, "blocked": 52 },
{ "hour": "13:00", "packets": 41600, "suspicious": 138, "blocked": 49 },
{ "hour": "14:00", "packets": 39800, "suspicious": 132, "blocked": 46 },
{ "hour": "15:00", "packets": 44200, "suspicious": 141, "blocked": 51 },
{ "hour": "16:00", "packets": 47800, "suspicious": 152, "blocked": 56 },
{ "hour": "17:00", "packets": 52400, "suspicious": 168, "blocked": 62 },
{ "hour": "18:00", "packets": 48900, "suspicious": 159, "blocked": 58 },
{ "hour": "19:00", "packets": 45600, "suspicious": 147, "blocked": 53 },
{ "hour": "20:00", "packets": 42200, "suspicious": 139, "blocked": 50 },
{ "hour": "21:00", "packets": 38800, "suspicious": 129, "blocked": 45 },
{ "hour": "22:00", "packets": 32400, "suspicious": 108, "blocked": 37 },
{ "hour": "23:00", "packets": 26200, "suspicious": 89, "blocked": 29 }
]
},

"alerts": [
{
"id": 1,
"type": "critical",
"title": "Suspicious Data Exfiltration Detected",
"description": "Large volume of data transfer detected to unknown external IP 185.199.108.153",
"timestamp": "2025-11-14T19:55:00.000Z",
"source_ip": "192.168.1.45",
"destination_ip": "185.199.108.153",
"severity": "high",
"status": "open",
"packets": 15420,
"data_size": "847MB"
},
{
"id": 2,
"type": "warning",
"title": "Unauthorized VNC Access Attempt",
"description": "Multiple failed VNC authentication attempts from external IP",
"timestamp": "2025-11-14T19:45:00.000Z",
"source_ip": "203.0.113.42",
"destination_ip": "192.168.1.100",
"severity": "medium",
"status": "investigating",
"packets": 342,
"data_size": "12KB"
},
{
"id": 3,
"type": "info",
"title": "VNC Session Established",
"description": "New VNC session established for legitimate user",
"timestamp": "2025-11-14T19:00:00.000Z",
"source_ip": "192.168.1.25",
"destination_ip": "192.168.1.100",
"severity": "low",
"status": "resolved",
"packets": 1205,
"data_size": "2.1MB"
},
{
"id": 4,
"type": "critical",
"title": "Potential Malware Communication",
"description": "Suspicious network pattern detected - possible C&C communication",
"timestamp": "2025-11-14T18:00:00.000Z",
"source_ip": "192.168.1.67",
"destination_ip": "198.51.100.89",
"severity": "high",
"status": "open",
"packets": 8930,
"data_size": "156MB"
},
{
"id": 5,
"type": "warning",
"title": "Unusual Port Activity",
"description": "High traffic detected on non-standard port 8447",
"timestamp": "2025-11-14T17:00:00.000Z",
"source_ip": "192.168.1.33",
"destination_ip": "172.16.254.1",
"severity": "medium",
"status": "investigating",
"packets": 2847,
"data_size": "45MB"
}
],

"alertSummary": {
"total": 147,
"critical": 23,
"high": 45,
"medium": 52,
"low": 27,
"last_24h": 18,
"last_week": 89,
"resolved": 124,
"open": 23
},

"vncSessions": [
{
"id": 1,
"name": "Production Server Monitor",
"host": "192.168.1.100",
"port": 5901,
"status": "active",
"created_at": "2025-11-14T18:00:00.000Z",
"last_activity": "2025-11-14T19:58:00.000Z",
"user": "admin",
"vnc_type": "TigerVNC",
"screen_resolution": "1920x1080",
"active_connections": 2,
"data_transferred": "847MB",
"session_duration": 3600
},
{
"id": 2,
"name": "Development Environment",
"host": "192.168.1.101",
"port": 5902,
"status": "active",
"created_at": "2025-11-14T16:00:00.000Z",
"last_activity": "2025-11-14T19:45:00.000Z",
"user": "developer",
"vnc_type": "RealVNC",
"screen_resolution": "1366x768",
"active_connections": 1,
"data_transferred": "234MB",
"session_duration": 7200
},
{
"id": 3,
"name": "Database Server Access",
"host": "192.168.1.102",
"port": 5903,
"status": "inactive",
"created_at": "2025-11-13T20:00:00.000Z",
"last_activity": "2025-11-14T18:00:00.000Z",
"user": "dbadmin",
"vnc_type": "TigerVNC",
"screen_resolution": "1024x768",
"active_connections": 0,
"data_transferred": "1.2GB",
"session_duration": 14400
},
{
"id": 4,
"name": "Test Server",
"host": "192.168.1.103",
"port": 5904,
"status": "stopped",
"created_at": "2025-11-12T20:00:00.000Z",
"last_activity": "2025-11-13T20:00:00.000Z",
"user": "tester",
"vnc_type": "RealVNC",
"screen_resolution": "1920x1200",
"active_connections": 0,
"data_transferred": "567MB",
"session_duration": 0
}
],

"firewallRules": [
{
"id": 1,
"name": "Block Suspicious IPs",
"action": "BLOCK",
"protocol": "TCP",
"source_ip": "185.199.108.0/24",
"destination_port": "*",
"enabled": true,
"priority": 100,
"created_at": "2025-11-13T20:00:00.000Z",
"hits": 1247,
"last_hit": "2025-11-14T19:55:00.000Z"
},
{
"id": 2,
"name": "Allow VNC Traffic",
"action": "ALLOW",
"protocol": "TCP",
"source_ip": "192.168.1.0/24",
"destination_port": "590x",
"enabled": true,
"priority": 50,
"created_at": "2025-11-12T20:00:00.000Z",
"hits": 15420,
"last_hit": "2025-11-14T19:58:00.000Z"
},
{
"id": 3,
"name": "Block Port 8447",
"action": "BLOCK",
"protocol": "TCP",
"source_ip": "*",
"destination_port": "8447",
"enabled": true,
"priority": 75,
"created_at": "2025-11-14T17:00:00.000Z",
"hits": 342,
"last_hit": "2025-11-14T18:00:00.000Z"
},
{
"id": 4,
"name": "Allow HTTP/HTTPS",
"action": "ALLOW",
"protocol": "TCP",
"source_ip": "*",
"destination_port": "80,443",
"enabled": true,
"priority": 10,
"created_at": "2025-11-11T20:00:00.000Z",
"hits": 234789,
"last_hit": "2025-11-14T20:00:00.000Z"
}
],

"networkData": {
"interfaces": [
{
"name": "eth0",
"status": "up",
"rx_bytes": 2847392000,
"tx_bytes": 1847392000,
"rx_packets": 2847392,
"tx_packets": 1847392,
"errors": 0,
"drops": 12
},
{
"name": "eth1",
"status": "up",
"rx_bytes": 847392000,
"tx_bytes": 647392000,
"rx_packets": 847392,
"tx_packets": 647392,
"errors": 2,
"drops": 5
}
],
"protocols": {
"TCP": 65,
"UDP": 25,
"ICMP": 8,
"Other": 2
},
"top_talkers": [
{ "ip": "192.168.1.100", "bytes": 847392000, "packets": 847392 },
{ "ip": "192.168.1.101", "bytes": 234789000, "packets": 234789 },
{ "ip": "192.168.1.102", "bytes": 156423000, "packets": 156423 },
{ "ip": "185.199.108.153", "bytes": 89456000, "packets": 89456 },
{ "ip": "203.0.113.42", "bytes": 34567000, "packets": 34567 }
]
},

"users": [
{
"id": 1,
"username": "admin",
"email": "admin@exfilsentry.com",
"role": "Administrator",
"status": "active",
"last_login": "2025-11-14T19:00:00.000Z",
"created_at": "2025-10-14T20:00:00.000Z",
"permissions": ["all"]
},
{
"id": 2,
"username": "analyst",
"email": "analyst@exfilsentry.com",
"role": "Security Analyst",
"status": "active",
"last_login": "2025-11-14T18:00:00.000Z",
"created_at": "2025-11-01T20:00:00.000Z",
"permissions": ["view_alerts", "manage_alerts", "view_monitoring"]
},
{
"id": 3,
"username": "operator",
"email": "operator@exfilsentry.com",
"role": "Network Operator",
"status": "active",
"last_login": "2025-11-14T17:00:00.000Z",
"created_at": "2025-11-05T20:00:00.000Z",
"permissions": ["view_monitoring", "manage_vnc"]
}
],

"systemInfo": {
"version": "2.1.0",
"uptime": 2592000,
"cpu_usage": 23.5,
"memory_usage": 67.2,
"disk_usage": 45.8,
"network_interfaces": 2,
"active_rules": 4,
"total_sessions": 4
}
}
Loading
Loading