Metadata-Version: 2.4
Name: defense-core
Version: 1.3.0
Summary: Autonomous Agentic SOC with 20-Tier BlueSTAR Architecture for Cyber Defense
Author-email: Muh Agus <pmuhammadagus-byte@users.noreply.github.com>
License: MIT
Project-URL: Homepage, https://github.com/pmuhammadagus-byte/defense-core
Project-URL: Repository, https://github.com/pmuhammadagus-byte/defense-core
Project-URL: Issues, https://github.com/pmuhammadagus-byte/defense-core/issues
Keywords: cybersecurity,soc,agentic,defense,bluestar,autonomous,threat-intelligence,behavioral-analysis
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=7.4.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"
Requires-Dist: mypy>=1.5.0; extra == "dev"
Dynamic: license-file

# 🛡️ Defense Core: Autonomous Agentic SOC v0.9.0

<p align="center">
  <img src="https://img.shields.io/badge/Architecture-BlueSTAR-blue?style=for-the-badge&logo=shield" alt="BlueSTAR">
  <img src="https://img.shields.io/badge/Tiers-50_Plus-success?style=for-the-badge" alt="50+ Tiers">
  <img src="https://img.shields.io/badge/Version-0.9.0-orange?style=for-the-badge" alt="Version">
  <img src="https://img.shields.io/badge/License-MIT-green?style=for-the-badge" alt="License">
</p>

---

## 🚀 Overview
**Defense Core v0.9.0** menandai tonggak sejarah penting (**50-Tier Milestone**). Sistem ini kini mencakup perlindungan otonom yang komprehensif mulai dari **Endpoint**, **Cloud**, hingga **Container Security**, menjadikannya kerangka kerja SOC agentik paling lengkap berbasis arsitektur BlueSTAR.

---

## 🏗️ Hierarki Pertahanan (50 Tiers)

### 🛡️ Core Defense & Analytics (Tier 0-20)
*(Sensor, Responder, Reasoning, Heuristic, Behavioral, Intel, Predictive, Deception, Governance, Strategic, Resilience, Attribution, Ecosystem, Knowledge, Meta-Defense, Swarm, Economic, Legal, Psychological, Sync, Singularity)*

### ⚔️ Active Threat Hunting (Tier 21-30)
*(DNS, Command, File, Credential, Exfil, Network, Web, PrivEsc, DDoS, Hash)*
> Blokir domain jahat, ransomware, pencurian password, eksfiltrasi data, dan serangan web (SQLi/XSS).

### 🧠 Advanced Endpoint Defense (Tier 31-40)
*(Process Injection, Persistence, Log Tampering, Brute Force, Ransomware Behavior, Cryptojacking, Phishing, USB Control, SSRF, Secret Leak)*
> Deteksi anomali proses (LotL), proteksi anti-forensik, dan pencegahan kebocoran API Key.

### ☁️ Cloud & Container Security (Tier 41-50) - NEW!
| Tier | Scope | Capability |
| :--- | :--- | :--- |
| **41-45** | **Infra** | S3 Protection, IAM Abuse, Container Escape, K8s API Security, Network SG Audit |
| **46-50** | **Governance**| Cloud Audit Log, Secrets Manager Monitoring, DNS Hijacking, Backup Deletion Protection, GuardDuty Correlator |

---

## 🛠️ Instalasi & Penggunaan

### 1. Instalasi via PyPI
```bash
pip install defense-core
```

### 2. Monitoring Otomatis
```bash
# Pantau log sistem dan cloud audit secara real-time
run-soc --auto
```

### 3. Uji Coba Cloud (Contoh)
```bash
run-soc --guard-alert "UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration" --guard-severity "CRITICAL"
```

---

## 📈 Status Kematangan Proyek (Honesty Policy)
- ✅ **Tier 0-5**: **Production-Grade**. (Stabil & Teruji)
- ✅ **Tier 21-50**: **Production-Grade**. (Real Logic / Active Defense)
- ⚠️ **Tier 6-15**: **Working Minimal**. (Berjalan dengan placeholder)
- 🏗️ **Tier 16-20**: **Architecture Scaffold**. (Kerangka strategi)

---

## 📝 License
Distributed under the **MIT License**. See `LICENSE` for more information.

---
<p align="center">
  <i>Maintained with ❤️ by <b>Muh Agus</b></i>
</p>
