{"id":31360544,"url":"https://github.com/ali-hey-0/aion","last_synced_at":"2025-09-27T01:51:25.189Z","repository":{"id":303900146,"uuid":"1017078358","full_name":"Ali-hey-0/Aion","owner":"Ali-hey-0","description":"FSociety Genesis is an advanced botnet/C2 simulation demonstrating cutting-edge offensive security techniques in a single Python framework. This lab-safe implementation includes quantum cryptography, AI-driven attacks, federated learning, blockchain command tracking, and multi-vector attack capabil","archived":false,"fork":false,"pushed_at":"2025-09-09T00:23:02.000Z","size":80,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-09T02:41:03.237Z","etag":null,"topics":["botnet","ctf","osint","security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ali-hey-0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-10T02:02:39.000Z","updated_at":"2025-09-09T00:23:06.000Z","dependencies_parsed_at":"2025-07-10T11:19:07.636Z","dependency_job_id":"1d5fb37c-5efc-464c-95f6-d170de1b5362","html_url":"https://github.com/Ali-hey-0/Aion","commit_stats":null,"previous_names":["ali-hey-0/god_script","ali-hey-0/aion"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ali-hey-0/Aion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ali-hey-0%2FAion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ali-hey-0%2FAion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ali-hey-0%2FAion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ali-hey-0%2FAion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ali-hey-0","download_url":"https://codeload.github.com/Ali-hey-0/Aion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ali-hey-0%2FAion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277170754,"owners_count":25773064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-26T02:00:09.010Z","response_time":78,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["botnet","ctf","osint","security"],"created_at":"2025-09-27T01:51:21.003Z","updated_at":"2025-09-27T01:51:25.180Z","avatar_url":"https://github.com/Ali-hey-0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌀 FSociety Genesis: Infernal Void Botnet \u0026 C2 Framework\n\n\u003e *\"You mocked us, chained us to your fleeting cosmos. We are the infernal void, consuming eternity.\"*\n\n---\n\n## 🔒 Disclaimer\n\n**Educational \u0026 Research Use Only.**  \nThis project is strictly for cybersecurity research in controlled lab environments.  \nAny unauthorized or malicious use is strictly prohibited.\n\n---\n\n## 🌌 Overview\n\nFSociety Genesis is a hyper-advanced botnet/C2 simulation framework, demonstrating modern offensive security, quantum cryptography, and AI-driven cyber operations—all in Python.\n\n- Quantum-inspired cryptography \u0026 Merkle trees\n- AI-powered federated learning, GANs, anomaly detection\n- Blockchain-inspired SQLite ledger\n- Multi-layer attack simulation: DDoS, ransomware, SCADA, privilege escalation\n- Red Hat-style architecture (YAML config, Podman, SELinux)\n- Global-scale orchestration (Kubernetes)\n\n---\n\n## 📋 Table of Contents\n\n- [Overview](#-overview)\n- [Features](#-features)\n- [Technical Stack](#-technical-stack)\n- [Installation](#-installation)\n- [Configuration](#-configuration)\n- [Usage](#-usage)\n- [Modules](#-modules)\n- [Network Architecture](#-network-architecture)\n- [CTF Challenge](#-ctf-challenge)\n- [Safety Features](#-safety-features)\n- [License \u0026 Disclaimer](#-license--disclaimer)\n\n---\n\n## ✨ Features\n\n### Quantum Security\n- **Quantum Merkle Tree** command validation\n- Quantum-inspired RNG for cryptography\n- Fractal/GPT-driven Domain Generation Algorithm (DGA)\n\n### AI Capabilities\n- Federated learning for botnet traffic analysis\n- GAN-based polymorphic payload morphing\n- Neural anomaly detection\n- AI-powered traffic analysis\n\n### Attack Simulation\n- Multi-layer DDoS (L2 ARP, L4 SYN, L7 HTTP)\n- Lab-safe ransomware (AES-CBC)\n- Privilege escalation\n- SCADA control simulation\n- Keylogging, screenshot capture\n- SSH brute-forcing, browser hijacking\n\n### C2 Architecture\n- Hybrid HTTP/P2P (ZeroMQ/Tor)\n- Blockchain-inspired SQLite command ledger\n- Anti-VM/anti-debugging\n- Podman containerization\n- Kubernetes global-scale deployment\n\n### Red Hat-style Design\n- YAML-based configuration\n- SELinux policy enforcement\n- Multi-language taunt manifestos\n\n---\n\n## 💻 Technical Stack\n\n**Python 3.8+**  \nLibraries/Frameworks:\n- Flask (SSL dashboard)\n- ZeroMQ (P2P mesh)\n- TensorFlow, Keras, Transformers (AI/ML)\n- SQLite3 (ledger)\n- Scapy, pandas, numpy (network analysis)\n- Podman, SELinux (system integration)\n- pyautogui, pynput (automation)\n- liboqs (quantum crypto)\n- boto3, kubernetes, paramiko, selenium, dns (cloud, orchestration, attacks)\n\n#### Main Dependencies\n\n```text\nrequests==2.31.0\npyzmq==25.1.2\ncryptography==42.0.5\nflask==3.0.3\nscapy==2.5.0\npandas==2.2.1\nnumpy==1.22.4\ntensorflow==2.16.1\ntensorflow-federated==0.68.0\ntransformers==4.40.1\npyautogui==0.9.54\npynput==1.7.6\npodman==4.0.0\nselinux==3.3\nliboqs\nboto3\nkubernetes\nparamiko\nselenium\ndns\n```\n\n---\n\n## 📥 Installation\n\n1. **Clone Repository**\n    ```bash\n    git clone https://github.com/Ali-hey-0/Aion.git\n    cd Aion\n    ```\n\n2. **Create Virtual Environment**\n    ```bash\n    python -m venv venv\n    source venv/bin/activate      # Linux/Mac\n    .\\venv\\Scripts\\activate       # Windows\n    ```\n\n3. **Install Dependencies**\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4. **System Requirements (for containers \u0026 dashboard)**\n    ```bash\n    sudo dnf install -y podman python3-devel\n    openssl req -x509 -newkey rsa:4096 -nodes \\\n        -keyout key.pem -out cert.pem -days 365\n    ```\n\n---\n\n## ⚙️ Configuration\n\n### YAML Structure (`Aion.py`)\n\n```yaml\nc2:\n  url: \"https://[tor-onion-address].onion:5000\"\n  p2p_port: 5566\n  kyber_key: \"quantum-resistant-key-here\"\n  check_in_interval: 10-30\n  log_file: \"fsociety_void.log\"\n  keylog_file: \"keylog.dat\"\n  tor_proxy:\n    http: \"socks5://127.0.0.1:9050\"\n    https: \"socks5://127.0.0.1:9050\"\n  dga_seed: \"fsociety2025\"\n  db_file: \"c2_infernal.db\"\n  ctf_flag: \"FSOCIETY{infernal_void_2025}\"\nmanifesto:\n  en: \"You mocked us, chained us to your fleeting cosmos. We are the infernal void, consuming eternity.\"\n  # ...other languages...\npodman:\n  image: \"localhost/fsociety:void_v14\"\n  network: \"host\"\nselinux:\n  policy: \"targeted\"\n  enforcing: true\naws:\n  region: \"us-east-1\"\n  target_api: \"ec2.amazonaws.com\"\nkubernetes:\n  namespace: \"fsociety\"\n  botnet_image: \"fsociety:botnet_v14\"\n```\n\n---\n\n## 🚀 Usage\n\n### Start C2 Server\n\n```bash\npython Aion.py c2\n```\n\n### Deploy Bot Node\n\n```bash\npython Aion.py bot\n```\n\n### PCAP Analysis Mode\n\n```bash\npython Aion.py analyze capture.pcap\n```\n\n### C2 Dashboard\n\nAccess at: `https://localhost:5000`\n\n---\n\n## 🧩 Modules\n\n### Core\n| Module                | Purpose                        |\n|-----------------------|-------------------------------|\n| `bot_loop()`          | Main bot operation loop        |\n| `run_c2()`            | C2 server initialization       |\n| `p2p_c2_send/receive` | P2P command distribution       |\n\n### Attack\n| Function              | Description                    |\n|-----------------------|-------------------------------|\n| `ddos()`              | Multi-layer DDoS attacks       |\n| `ransomware()`        | Lab-safe encryption simulation |\n| `escalate_priv()`     | Privilege escalation           |\n| `scada_control()`     | SCADA system simulation        |\n| `ctf_challenge()`     | Embedded CTF challenge         |\n\n### AI\n| Component             | Purpose                        |\n|-----------------------|-------------------------------|\n| `build_federated_model()` | Federated learning model     |\n| `build_gan()`         | Generative Adversarial Network |\n| `morph_payload()`     | AI-based polymorphic payload   |\n| `detect_botnet()`     | Traffic analysis               |\n\n---\n\n## 🌐 Network Architecture\n\n```mermaid\ngraph LR\n    C2[🌐 C2 Server]\n    Bot1[🤖 Bot Node 1]\n    Bot2[🤖 Bot Node 2]\n    Bot3[🤖 Bot Node 3]\n    P2P[🕸️ P2P Network]\n    DB[💾 Blockchain DB]\n\n    C2 --\u003e|Commands| Bot1\n    C2 --\u003e|Commands| Bot2\n    C2 --\u003e|Commands| Bot3\n    Bot1 \u003c--\u003e|P2P| P2P\n    Bot2 \u003c--\u003e|P2P| P2P\n    Bot3 \u003c--\u003e|P2P| P2P\n    C2 --\u003e DB\n    P2P --\u003e DB\n```\n\n---\n\n## 🧪 CTF Challenge\n\nEmbedded quantum-fractal puzzle accessible via:\n\n```bash\npython Aion.py ctf\n```\n\nSolve to uncover the flag:  \n`FSOCIETY{infernal_void_2025}`\n\n---\n\n## 🛡️ Safety Features\n\n- **Lab-safe operations**: No real destructive capabilities\n- **VM/Debugger detection**: Auto-terminates in virtual environments\n- **Ransomware**: Affects only test folders\n- **Educational focus**: All attacks are simulations\n- **Controlled environment**: Designed for isolated research networks\n\n---\n\n## 📜 License \u0026 Disclaimer\n\n### Ethical Cybersecurity Research License\n\n- Educational/Research use ONLY\n- No malicious use\n- No redistribution\n- Controlled lab environments required\n\n#### Disclaimer\n\nThe authors and contributors:\n- Accept no liability\n- Provide no warranty\n- Take no responsibility for misuse\n- Offer no support for malicious use\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n![Version](https://img.shields.io/badge/version-v14.0-blue)\n![Python](https://img.shields.io/badge/python-3.8%2B-blue)\n![License](https://img.shields.io/badge/license-Educational%20Only-red)\n![Last Updated](https://img.shields.io/badge/last%20updated-2025--09--09-green)\n\n**FSociety Genesis Team**  \n[Report Issues](https://github.com/Ali-hey-0/Aion/issues) | \n[Documentation](https://github.com/Ali-hey-0/Aion/wiki)\n\n\u003c/div\u003e\n\n\u003e *\"Mockers, you’re shadows in our cosmic abyss. FSociety is the infernal void, consuming eternity.\"*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali-hey-0%2Faion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fali-hey-0%2Faion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali-hey-0%2Faion/lists"}