{"id":27000071,"url":"https://github.com/arec1b0/rootkit-detector","last_synced_at":"2026-04-18T14:01:50.662Z","repository":{"id":264666914,"uuid":"894015208","full_name":"arec1b0/Rootkit-Detector","owner":"arec1b0","description":"Kernel-based rootkit detection tool with modules for detecting hidden processes, files, and kernel anomalies.","archived":false,"fork":false,"pushed_at":"2024-11-26T01:44:24.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T03:18:44.755Z","etag":null,"topics":["forensics","kernel","linux","rootkit-detection","security","system-security"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arec1b0.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-25T15:48:18.000Z","updated_at":"2024-11-26T01:44:27.000Z","dependencies_parsed_at":"2024-11-25T17:26:28.697Z","dependency_job_id":"e3dbab95-0747-4eed-8bb6-53d8695d4abf","html_url":"https://github.com/arec1b0/Rootkit-Detector","commit_stats":null,"previous_names":["dkrizhanovskyi/rootkit-detector","arec1b0/rootkit-detector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arec1b0/Rootkit-Detector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arec1b0%2FRootkit-Detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arec1b0%2FRootkit-Detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arec1b0%2FRootkit-Detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arec1b0%2FRootkit-Detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arec1b0","download_url":"https://codeload.github.com/arec1b0/Rootkit-Detector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arec1b0%2FRootkit-Detector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31971489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["forensics","kernel","linux","rootkit-detection","security","system-security"],"created_at":"2025-04-04T03:18:43.012Z","updated_at":"2026-04-18T14:01:45.650Z","avatar_url":"https://github.com/arec1b0.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Rootkit-Detector**\n\nA kernel-based security tool to detect hidden processes, kernel modules, and anomalies in the system's IDT/SSDT. The project includes kernel modules and user-space tools to facilitate rootkit detection and analysis.\n\n---\n\n## **Features**\n\n- **Kernel Module Checks**:\n  - Detect hidden kernel modules.\n  - Monitor syscall table for tampering.\n  - Validate IDT and SSDT integrity.\n\n- **File System Scanning**:\n  - Identify hidden files in critical directories.\n\n- **Process Scanning**:\n  - Detect hidden or malicious processes bypassing the `/proc` filesystem.\n\n- **Modular Design**:\n  - Kernel modules (`.ko` files) for various detection mechanisms.\n  - User-space Python scripts for seamless interaction and monitoring.\n\n---\n\n## **Installation**\n\n### Prerequisites\n1. A Linux system with kernel headers installed.\n   - **Fedora**:  \n     ```bash\n     sudo dnf install kernel-devel kernel-headers\n     ```\n2. GCC and make tools:\n   - **Fedora**:  \n     ```bash\n     sudo dnf install gcc make\n     ```\n3. Python 3 and pip:\n   - **Fedora**:  \n     ```bash\n     sudo dnf install python3 python3-pip\n     ```\n\n### Steps\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/dkrizhanovskyi/Rootkit-Detector.git\n   cd Rootkit-Detector\n   ```\n\n2. Build the kernel modules:\n   ```bash\n   cd kernel\n   make\n   ```\n\n3. Install the user-space dependencies (if any):\n   ```bash\n   cd ../user\n   pip3 install -r requirements.txt\n   ```\n\n4. Load the kernel modules (requires `sudo`):\n   ```bash\n   sudo insmod kernel/module_checker.ko\n   sudo insmod kernel/process_scanner.ko\n   # Add other modules as needed\n   ```\n\n---\n\n## **Usage**\n\n### Kernel Modules\n1. Load the desired kernel module:\n   ```bash\n   sudo insmod kernel/module_checker.ko\n   ```\n\n2. Check the kernel logs for output:\n   ```bash\n   dmesg | grep \"Detected\"\n   ```\n\n3. Unload the kernel module after use:\n   ```bash\n   sudo rmmod module_checker\n   ```\n\n### User-Space Tools\nRun the CLI tool for various checks:\n```bash\npython3 user/detector.py scan-processes    # Scan for hidden processes\npython3 user/detector.py check-modules    # Check loaded kernel modules\npython3 user/detector.py scan-files       # Scan for hidden files\npython3 user/detector.py check-idt-ssdt   # Validate IDT and SSDT integrity\n```\n\n---\n\n## **Architecture**\n\nThe project is divided into two main components:\n\n1. **Kernel Modules**:\n   - Responsible for performing low-level checks in kernel space.\n   - Modules include:\n     - `syscall_checker`: Monitors syscalls for tampering.\n     - `process_scanner`: Scans for hidden processes.\n     - `module_checker`: Detects anomalies in kernel modules.\n     - `idt_ssdt_checker`: Checks IDT and SSDT for anomalies.\n     - `file_scanner`: Scans directories for hidden files.\n\n2. **User-Space Tools**:\n   - Python scripts to load/unload kernel modules and interpret their output.\n   - Interact with kernel logs (`dmesg`) to extract relevant results.\n\n---\n\n## **Contributing**\n\nWe welcome contributions to improve the project! Here’s how you can help:\n1. Fork the repository.\n2. Create a feature branch:\n   ```bash\n   git checkout -b feature-name\n   ```\n3. Commit your changes:\n   ```bash\n   git commit -m \"Description of your feature\"\n   ```\n4. Push to your fork:\n   ```bash\n   git push origin feature-name\n   ```\n5. Open a pull request on the main repository.\n\n---\n\n## **License**\n\nThis project is licensed under the **GPL v3**. See the [LICENSE](../LICENSE) file for details.\n\n---\n\n## **Acknowledgements**\n\nSpecial thanks to:\n- Linux Kernel Documentation.\n- The open-source community for contributing to kernel module development.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farec1b0%2Frootkit-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farec1b0%2Frootkit-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farec1b0%2Frootkit-detector/lists"}