Nexus Fleet — agent/manager/cli/dashboard keamanan endpoint (ala-Wazuh, ringan, stdlib-only)
Project description
Nexus Fleet — Security Platform (agent · manager · cli · dashboard)
1 platform, 4 komponen ala-Wazuh, stdlib-only (Python 3.8+). Amankan jaringan, server, dan website dari satu titik: agent ringan mengirim telemetri keamanan ke manager pusat yang menjalankan rule engine → alert (level 0–15 + MITRE ATT&CK), lalu ditampilkan di dashboard/CLI.
endpoint ──(HMAC/HTTP)──► nexus-manager ──► SQLite (events, alerts, audit)
nexus-agent FIM·SCA· rule+alert engine ▲ ▲
inventory·webaudit·ports policy·retention │ │
◄── policy/perintah ── nexus-dashboard nexus-cli
Install
pip (disarankan):
pip install . # dari folder ini; memasang 4 perintah:
# nexus-manager · nexus-agent · nexus-cli · nexus-dashboard
npm (wrapper Node → Python):
npm install -g . # perintah sama; butuh Python 3.8+ di PATH
tanpa install: cd python/fleet && python -m nexus_manager run (dst.).
Pakai
# 1) Manager (server pusat + dashboard di http://host:8765/)
nexus-manager run --host 0.0.0.0 --port 8765
nexus-manager info # enrollment key + admin token
# 2) Agent di tiap endpoint
nexus-agent enroll --host <manager> --port 8765 --key <ENROLL_KEY> --labels prod,web
nexus-agent start # daemon: FIM/SCA/inventory/webaudit/ports/...
# 3) Admin / SOC
nexus-cli # console interaktif: menu Network & Website security
nexus-cli --token <ADMIN_TOKEN> alerts # alert (rule engine + MITRE + rekomendasi)
nexus-cli --token <ADMIN_TOKEN> ack --id <ALERT_ID> --status resolved
nexus-cli --token <ADMIN_TOKEN> report # report konsisten (schema nexus.report/v1)
nexus-dashboard --port 8080 # (opsional) host dashboard di port terpisah
Service (jalan saat boot)
- Linux:
deploy/systemd/nexus-{manager,agent}.service→systemctl enable --now. - Windows:
deploy/windows/install-agent-service.ps1(Scheduled Task, SYSTEM, AtStartup).
Konsep kunci
- Skema baku (
nexus_common/schema.py): event/alert/report seragam, condong OCSF,origin: real|demo. - Real findings only: manager menolak event
demosecara default (accept_demo=0). - Rule engine (
nexus_manager/rules.py): rule native + MITRE + rekomendasi + response; bisa di-push. - Alert engine: dedup anti-fatigue, ack/resolve, retensi, audit log.
- Keamanan: HMAC per-agent, enrollment key, admin token; HTTP LAN (offline-first).
Uji end-to-end: python ../tests/test_fleet.py (28 seksi).
Lisensi & monetisasi (freemium / open-core)
Manager memberlakukan tier berdasarkan token lisensi yang ditandatangani vendor (Anda):
| FREE (tanpa lisensi) | PRO | ENTERPRISE | |
|---|---|---|---|
| Jumlah agent | 2 | seat (mis. 50) | unlimited |
| Rule | dasar (firewall/port/disk/login) | semua (FIM .env, web-audit, SCA, vuln) |
semua |
| Sigma import | ❌ | ✅ | ✅ |
| Active Response | ❌ | ✅ | ✅ |
| Web/app audit, report, posture | terbatas | ✅ | ✅ |
Cara Anda (vendor) berjualan:
nexus-license keygen --out vendor_private.key # SEKALI — simpan private key RAHASIA;
# public key ditanam ke paket (verifikasi)
nexus-license issue --key vendor_private.key \ # terbitkan utk pelanggan yg sudah bayar
--licensee "PT Contoh" --tier pro --days 365 --max-agents 50 --out pt-contoh.license
Pelanggan memasang lisensi: NEXUS_LICENSE=/path/pt-contoh.license lalu jalankan manager.
Tanpa lisensi valid → otomatis tier FREE. Lisensi ditandatangani Ed25519 — pelanggan tak bisa
memalsukan tanpa private key Anda. (Kejujuran open-core: pada kode publik, gerbang ini menahan
penyalahgunaan kasual; perlindungan kuat = simpan modul premium privat / jalankan sisi-server.)
Roadmap menuju standar industri penuh: agent Go/Rust, OpenSearch/Postgres, mTLS/gRPC, YARA, OCSF penuh, AI remediation, RBAC multi-tenant, server lisensi + pembayaran (Midtrans/Stripe). Pembeda: developer-first (audit Laravel/React/Next, parser log app, security posture score).
For Personal / Ethical Hacking Study Only.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nexus_fleet-1.0.1.tar.gz.
File metadata
- Download URL: nexus_fleet-1.0.1.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55186528f9319ca4649c7d47ae89953b41df2bda718bbf621a28e493a89e4a84
|
|
| MD5 |
5b18808f77437cfac9528936fd0dbf73
|
|
| BLAKE2b-256 |
ee05367c816abc9579ea0c3b2bd5f1510a3e35c187bbeffb8368d14a11c0c5ca
|
File details
Details for the file nexus_fleet-1.0.1-py3-none-any.whl.
File metadata
- Download URL: nexus_fleet-1.0.1-py3-none-any.whl
- Upload date:
- Size: 53.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e05d1c9250047eb595aa754f3394f4e1b609bb82dbcbd0c5cd15eabd0f8e4f7a
|
|
| MD5 |
adf7eff1cac7036a9288d273432a4ebc
|
|
| BLAKE2b-256 |
aaed98bd0f6252fc246e5a55a4ba399bb09c50fa0d24c9f6c54de4cd4ade2a94
|