Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Data Exfiltration | AnomalyNinja</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| </head> | |
| <body class="bg-gray-900 text-white"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-12"> | |
| <div class="max-w-6xl mx-auto"> | |
| <div class="flex items-center gap-4 mb-8"> | |
| <i data-feather="download-cloud" class="w-8 h-8 text-red-500"></i> | |
| <h1 class="text-4xl font-bold">Data Exfiltration Detection</h1> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-8"> | |
| <div class="lg:col-span-2 space-y-6"> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-lg"> | |
| <h2 class="text-2xl font-semibold mb-4">Data Transfer Volume</h2> | |
| <canvas id="dataChart" height="300"></canvas> | |
| </div> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-lg"> | |
| <h2 class="text-2xl font-semibold mb-4">Recent Alerts</h2> | |
| <div class="space-y-4"> | |
| <div class="p-4 bg-red-900/30 rounded-lg border-l-4 border-red-500"> | |
| <div class="flex justify-between"> | |
| <h3 class="font-medium">Large CSV Export</h3> | |
| <span class="text-xs text-red-300">HIGH RISK</span> | |
| </div> | |
| <p class="text-sm text-gray-300 mt-1">User exported 1.2M customer records to personal cloud storage</p> | |
| <div class="flex items-center gap-2 mt-2 text-sm"> | |
| <span class="text-gray-400">user@example.com</span> | |
| <span class="text-gray-500">•</span> | |
| <span class="text-gray-400">2 hours ago</span> | |
| </div> | |
| </div> | |
| <div class="p-4 bg-yellow-900/30 rounded-lg border-l-4 border-yellow-500"> | |
| <div class="flex justify-between"> | |
| <h3 class="font-medium">Unusual Database Backup</h3> | |
| <span class="text-xs text-yellow-300">MEDIUM RISK</span> | |
| </div> | |
| <p class="text-sm text-gray-300 mt-1">Service account initiated full DB dump to external IP</p> | |
| <div class="flex items-center gap-2 mt-2 text-sm"> | |
| <span class="text-gray-400">backup-agent</span> | |
| <span class="text-gray-500">•</span> | |
| <span class="text-gray-400">5 hours ago</span> | |
| </div> | |
| </div> | |
| <div class="p-4 bg-purple-900/30 rounded-lg border-l-4 border-purple-500"> | |
| <div class="flex justify-between"> | |
| <h3 class="font-medium">API Data Scraping</h3> | |
| <span class="text-xs text-purple-300">LOW RISK</span> | |
| </div> | |
| <p class="text-sm text-gray-300 mt-1">Repeated API calls for all product data from new client</p> | |
| <div class="flex items-center gap-2 mt-2 text-sm"> | |
| <span class="text-gray-400">192.168.1.22</span> | |
| <span class="text-gray-500">•</span> | |
| <span class="text-gray-400">1 day ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="space-y-6"> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-lg"> | |
| <h2 class="text-2xl font-semibold mb-4">Exfiltration Stats</h2> | |
| <div class="flex flex-col gap-4"> | |
| <div class="p-4 bg-gray-700 rounded-lg"> | |
| <div class="text-3xl font-bold text-red-400">18</div> | |
| <div class="text-gray-400">Attempts Today</div> | |
| </div> | |
| <div class="p-4 bg-gray-700 rounded-lg"> | |
| <div class="text-3xl font-bold text-yellow-400">214MB</div> | |
| <div class="text-gray-400">Data Volume</div> | |
| </div> | |
| <div class="p-4 bg-gray-700 rounded-lg"> | |
| <div class="text-3xl font-bold text-purple-400">93%</div> | |
| <div class="text-gray-400">Prevented</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-lg"> | |
| <h2 class="text-2xl font-semibold mb-4">Common Indicators</h2> | |
| <ul class="space-y-3"> | |
| <li class="flex items-start gap-2"> | |
| <i data-feather="download" class="w-5 h-5 text-red-500 mt-0.5"></i> | |
| <div> | |
| <h3 class="font-medium">Large Data Exports</h3> | |
| <p class="text-sm text-gray-400">Unusual size or frequency</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start gap-2"> | |
| <i data-feather="external-link" class="w-5 h-5 text-yellow-500 mt-0.5"></i> | |
| <div> | |
| <h3 class="font-medium">External Transfers</h3> | |
| <p class="text-sm text-gray-400">Data sent to unknown destinations</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start gap-2"> | |
| <i data-feather="database" class="w-5 h-5 text-purple-500 mt-0.5"></i> | |
| <div> | |
| <h3 class="font-medium">Full Extractions</h3> | |
| <p class="text-sm text-gray-400">Complete table dumps</p> | |
| </div> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-lg"> | |
| <h2 class="text-2xl font-semibold mb-4">Quick Actions</h2> | |
| <div class="space-y-3"> | |
| <button class="w-full flex items-center gap-2 bg-red-600 hover:bg-red-700 px-4 py-2 rounded-lg transition"> | |
| <i data-feather="pause-circle"></i> | |
| Block Suspicious IP | |
| </button> | |
| <button class="w-full flex items-center gap-2 bg-yellow-600 hover:bg-yellow-700 px-4 py-2 rounded-lg transition"> | |
| <i data-feather="alert-circle"></i> | |
| Notify Security Team | |
| </button> | |
| <button class="w-full flex items-center gap-2 bg-purple-600 hover:bg-purple-700 px-4 py-2 rounded-lg transition"> | |
| <i data-feather="lock"></i> | |
| Enable Enhanced Protection | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| // Data Chart | |
| const dataCtx = document.getElementById('dataChart').getContext('2d'); | |
| const dataChart = new Chart(dataCtx, { | |
| type: 'bar', | |
| data: { | |
| labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'], | |
| datasets: [ | |
| { | |
| label: 'Normal Traffic', | |
| data: [120, 190, 130, 170, 150, 220, 180], | |
| backgroundColor: 'rgba(59, 130, 246, 0.7)', | |
| borderColor: 'rgba(59, 130, 246, 1)', | |
| borderWidth: 1 | |
| }, | |
| { | |
| label: 'Anomalies', | |
| data: [10, 15, 12, 25, 8, 30, 18], | |
| backgroundColor: 'rgba(239, 68, 68, 0.7)', | |
| borderColor: 'rgba(239, 68, 68, 1)', | |
| borderWidth: 1 | |
| } | |
| ] | |
| }, | |
| options: { | |
| responsive: true, | |
| plugins: { | |
| legend: { | |
| position: 'top', | |
| }, | |
| }, | |
| scales: { | |
| y: { | |
| beginAtZero: true | |
| } | |
| } | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> |