Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Nyx

Nyx (goddess of the night in Greek mythology) is a self-contained script for cleaning forensic traces on Linux, macOS, and Windows.

⚠️ DISCLAIMER: Nyx is alpha software.

Nyx

Join the project community on our server!

Features

The following table details which artifacts are cleaned by each module:

OSModuleArtifacts
LinuxshellShell history files (bash, zsh, python, mysql, redis, mongo, docker, IPython, Ruby IRB, PHP, Perl, Erlang, Lua, Julia, Scala, Haskell, Octave, MATLAB, etc.), command histories, recently used files
LinuxlogsSystem logs (auth, syslog, kernel, boot, package managers), web server logs (Apache, Nginx), journald, database logs (MySQL, PostgreSQL, Redis, MongoDB), VPN/proxy logs (OpenVPN, Squid), mail server logs (Postfix, Dovecot), monitoring logs (Elasticsearch, Logstash, Kibana), sysstat
LinuxauditAudit logs, search logs, in-kernel audit rules
LinuxtempScripts in temp dirs, hidden files, thumbnail caches, core dumps, crash reports, systemd coredumps, trash
LinuxnetworkARP cache, NetworkManager connections, DHCP leases, database data files (MySQL binary logs, InnoDB logs), VPN configs (OpenVPN, WireGuard), mail server spool files, iptables rules
LinuxuserLogin records, thumbnails, GTK bookmarks, GNOME Tracker, Zeitgeist, editor traces (VS Code, JetBrains), development tools (Git, SVN, Mercurial, Maven, Gradle, npm, pip, Cargo), cloud services (AWS, Google Cloud, Azure, Kubernetes, Terraform), monitoring tools (Prometheus, Grafana), backup tools (Rsync, Restic, Borg, Duplicity), security tools (Metasploit, Nmap, Aircrack-ng, John the Ripper, Hashcat), messaging/chat (IRC, Weechat, Pidgin, Discord, Slack), virtualization (VMware, VirtualBox, QEMU, Vagrant), network analysis (Wireshark, tcpdump, Ettercap), forensic analysis (Autopsy, Volatility, Sleuth Kit, Foremost), remote access (RDP, VNC, TeamViewer, AnyDesk), system monitoring (htop, Nagios, Zabbix), games/entertainment (Steam, Minecraft, Discord), file sharing (Transmission, qBittorrent, Deluge, aMule), multimedia (VLC, Audacity, GIMP, OBS Studio), productivity (LibreOffice, Thunderbird, Evolution, KeePass)
LinuxpackagePackage caches and logs (APT, YUM, DNF, Pacman)
LinuxbrowserFirefox (cache, storage, databases), Chrome/Chromium (history, cookies, cache)
LinuxsshSSH known_hosts, connection logs, auth log entries
LinuxcontainerDocker logs/config, Podman/K8s overlays, libvirt/QEMU logs
LinuxsystemdRandom seed, live session journals
LinuxprintCUPS job history and logs
LinuxcicdCI/CD tools (Jenkins, GitLab Runner, GitHub Actions, CircleCI, Travis CI)
LinuxidsipsIDS/IPS logs (Snort, Suricata, OSSEC, Fail2ban, Samhain)
LinuxcryptoCryptocurrency wallets and mining configs (Bitcoin, Ethereum, Monero, XMRig, Electrum)
LinuxprivacyPrivacy tools (Tor Browser, Tor config, I2P, ProtonVPN, Mullvad, Tails)
LinuxpentestPenetration testing tools (Burp Suite, OWASP ZAP, Cobalt Strike, Empire, BeEF)
LinuxosintOSINT tools (Maltego, SpiderFoot, theHarvester, Recon-ng, Shodan)
LinuxiotIoT/Smart Home (Home Assistant, Mosquitto MQTT, Node-RED, OpenHAB)
LinuxmlML/AI frameworks (Jupyter, TensorBoard, PyTorch, Keras, MLflow, Weights & Biases)
macOSshellShell history files (same as Linux)
macOSmacos.DS_Store files, user trash, Spotlight indexes, QuickLook thumbnails, system logs
macOSauditBSM audit trail
macOSbrowserSafari history and cache
macOSunifiedUnified logs (10.12+), diagnostics, log archives
macOSfileeventsFSEvents, quarantine databases
macOSusageKnowledgeC database, Notification Center, recent items
WindowseventsEvent logs (Security, System, Application, Sysmon, WinRM, PowerShell/Operational, AppLocker, AMSI)
WindowshistoryPowerShell/CMD history, prefetch, jump lists, recent documents, Windows Timeline, Search history, IE/Edge history
WindowsregistryRegistry MRUs, USB history, BAM/DAM, ShellBags, UserAssist, Terminal Server Client, Media Player, Office MRUs
WindowsfilesystemUSN journal, recycle bin, thumbcache, shortcuts, index files, SRUM database, notification history
WindowstempTemp files, DNS cache, shadow copies, WER archives, crash dumps, Cortana history, Office telemetry, OneDrive/Teams logs
WindowssecurityEDR/AV logs (CrowdStrike Falcon, SentinelOne, Carbon Black, McAfee, Symantec), Windows Defender ATP, Firewall logs, WMI activity, BitLocker keys, Group Policy cache, authentication cache, Hyper-V/WSL/Docker logs, FTK Imager artifacts
WindowsadvancedCertificates, scheduled tasks, services, wireless profiles, VPN connections, Chrome extensions, cryptographic data, TPM logs, Windows Update logs, Push Notifications, Outlook search, WSA logs, Xbox Game Bar

Quick Start

Linux/macOS

# Download nyx.sh wget https://github.com/evilsocket/nyx/raw/refs/heads/main/nyx.sh chmod +x nyx.sh # Run with dry-run first sudo ./nyx.sh --dry-run # Run all modules sudo ./nyx.sh --force

Windows

# Download nyx.ps1 (run as Administrator) Invoke-WebRequest -Uri "https://github.com/evilsocket/nyx/raw/refs/heads/main/nyx.ps1" -OutFile "nyx.ps1" # Run with dry-run first .\nyx.ps1 -DryRun # Run all modules .\nyx.ps1 -Force # Enable audit logging .\nyx.ps1 -Force -LogFile "nyx-audit.log"

Usage

Linux/macOS (nyx.sh)

# Show help ./nyx.sh --help # List available modules ./nyx.sh --list # Dry run with verbose output ./nyx.sh --dry-run --debug # Clean specific modules sudo ./nyx.sh -m shell,logs # Force run without confirmation sudo ./nyx.sh --force

Windows (nyx.ps1)

# Show help .\nyx.ps1 -Help # List available modules .\nyx.ps1 -List # Dry run with verbose output .\nyx.ps1 -DryRun -Debug # Clean specific modules (case-insensitive) .\nyx.ps1 -Modules EVENTS,TEMP -Force # Advanced mode with memory hardening .\nyx.ps1 -Advanced -Force # Enable comprehensive audit logging .\nyx.ps1 -Force -LogFile "audit.log" -Debug

Contributors

nyx project contributors

License

nyx is made with ♥ and released under the GPL 3 license.

Stargazers over time

Stargazers over time

关于 About

Self-contained script for cleaning forensic traces on Linux, macOS, and Windows.

语言 Languages

Shell68.6%
PowerShell30.7%
Dockerfile0.6%
Batchfile0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
22
Total Commits
峰值: 22次/周
Less
More

核心贡献者 Contributors