cyanide-framework 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cyanide_framework-1.0.0/LICENSE +21 -0
- cyanide_framework-1.0.0/PKG-INFO +236 -0
- cyanide_framework-1.0.0/README.md +166 -0
- cyanide_framework-1.0.0/pyproject.toml +151 -0
- cyanide_framework-1.0.0/setup.cfg +4 -0
- cyanide_framework-1.0.0/src/cyanide/__init__.py +12 -0
- cyanide_framework-1.0.0/src/cyanide/assets/branding/logo.png +0 -0
- cyanide_framework-1.0.0/src/cyanide/assets/branding/logo.txt +13 -0
- cyanide_framework-1.0.0/src/cyanide/assets/branding/name.png +0 -0
- cyanide_framework-1.0.0/src/cyanide/assets/models/cyanideML.pkl +0 -0
- cyanide_framework-1.0.0/src/cyanide/assets/models/knowledge_base.pkl +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/app.yaml +207 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/debian/base.yaml +108 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/debian/static.yaml +206 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/base.yaml +122 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/bash +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/cat +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/chmod +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/chown +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/cp +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/date +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/dd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/df +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/dmesg +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/echo +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/egrep +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/false +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/fgrep +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/grep +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/gunzip +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/gzip +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/kill +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/ln +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/ls +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/mkdir +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/more +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/mount +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/mv +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/ps +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/rm +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/rmdir +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/sed +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/sh +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/sleep +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/su +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/sync +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/test +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/touch +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/true +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/umount +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/uname +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/bin/zcat +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/boot/grub2/grub.cfg +25 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/NetworkManager/NetworkManager.conf +5 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/bashrc +83 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/crontab +17 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/default/grub +8 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/dnf/dnf.conf +6 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/environment +7 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/fstab +14 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/group +30 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/gshadow +6 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/hostname +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/hosts +3 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/hosts.allow +2 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/hosts.deny +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/locale.conf +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/logrotate.conf +35 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/logrotate.d/syslog +11 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/machine-id +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/os-release +17 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/pam.d/password-auth +29 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/pam.d/sshd +17 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/pam.d/system-auth +29 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/passwd +20 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release +3 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/pki/tls/certs/localhost.crt +3 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/pki/tls/private/localhost.key +3 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/profile +74 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/profile.d/aliases.sh +16 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/profile.d/lang.sh +3 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/redhat-release +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/resolv.conf +4 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/rhsm/rhsm.conf +34 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/rsyslog.conf +8 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/security/limits.conf +43 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/selinux/config +2 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/shadow +20 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/ssh/ssh_config +12 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/ssh/ssh_host_ecdsa_key.pub +2 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/ssh/ssh_host_ed25519_key.pub +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/ssh/ssh_host_rsa_key.pub +5 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/ssh/sshd_config +103 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sudoers +35 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sudoers.d/10-wheel +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sysconfig/clock +2 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sysconfig/crond +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sysconfig/network +3 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sysconfig/network-scripts/ifcfg-eth0 +19 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sysconfig/network-scripts/ifcfg-lo +14 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sysconfig/ntpdate +4 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sysctl.conf +19 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/sysctl.d/99-rhel.conf +2 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/systemd/system/sshd.service +13 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/systemd/timesyncd.conf +6 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/timezone +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/etc/yum.repos.d/redhat.repo +21 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/root/anaconda-ks.cfg +33 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/root/notes.txt +4 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/run/NetworkManager/NetworkManager.pid +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/run/sshd.pid +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/auditd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/firewalld +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/groupadd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/ip +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/iptables +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/reboot +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/shutdown +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/ss +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/sshd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/systemctl +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/useradd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/usermod +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/sbin/visudo +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/srv/www/html/index.html +1 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/tmp/dnf_payload_d34b2.tmp +15 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/tmp/yum_save_tx.2024-03-24.14.32.10.root.cron +3 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/awk +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/basename +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/bash +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/blkid +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/bzip2 +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/cat +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/chgrp +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/chmod +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/chown +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/cp +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/cut +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/date +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/dd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/df +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/dirname +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/dmesg +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/dnf +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/du +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/echo +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/ed +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/egrep +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/env +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/false +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/fgrep +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/find +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/free +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/gawk +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/grep +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/groups +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/gunzip +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/gzip +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/head +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/hostname +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/id +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/ip +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/kill +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/less +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/ln +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/locate +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/logger +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/ls +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/lsblk +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/mkdir +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/mktemp +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/more +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/mount +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/mv +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/numfmt +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/pgrep +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/ping +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/pkill +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/printenv +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/ps +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/pwd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/readlink +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/realpath +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/rm +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/rmdir +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/sed +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/sh +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/sleep +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/sort +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/ss +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/stat +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/stty +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/su +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/sudo +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/sync +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/systemctl +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/tail +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/tar +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/tee +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/test +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/top +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/touch +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/tr +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/true +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/tty +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/umount +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/uname +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/uniq +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/unzip +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/uptime +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/vi +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/wc +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/whereis +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/which +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/whoami +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/xargs +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/yum +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/zcat +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/bin/zip +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/auditd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/firewalld +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/groupadd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/groupmod +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/halt +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/ip +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/ipables +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/iptables +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/nft +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/reboot +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/shutdown +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/ss +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/sshd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/systemctl +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/useradd +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/usermod +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/sbin/visudo +0 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/share/bash-completion/bash_completion +11 -0
- cyanide_framework-1.0.0/src/cyanide/configs/profiles/rhel/rootfs/usr/share/doc/redhat-release/COPYRIGHT +10 -0
- cyanide_framework-1.0.0/src/cyanide/core/__init__.py +9 -0
- cyanide_framework-1.0.0/src/cyanide/core/aesthetics.py +72 -0
- cyanide_framework-1.0.0/src/cyanide/core/async_logger.py +104 -0
- cyanide_framework-1.0.0/src/cyanide/core/cleanup.py +82 -0
- cyanide_framework-1.0.0/src/cyanide/core/config.py +386 -0
- cyanide_framework-1.0.0/src/cyanide/core/config_schema.py +259 -0
- cyanide_framework-1.0.0/src/cyanide/core/defaults.py +12 -0
- cyanide_framework-1.0.0/src/cyanide/core/emulator.py +530 -0
- cyanide_framework-1.0.0/src/cyanide/core/fs_utils.py +48 -0
- cyanide_framework-1.0.0/src/cyanide/core/geoip.py +90 -0
- cyanide_framework-1.0.0/src/cyanide/core/libvirt_pool.py +289 -0
- cyanide_framework-1.0.0/src/cyanide/core/paths.py +57 -0
- cyanide_framework-1.0.0/src/cyanide/core/security.py +88 -0
- cyanide_framework-1.0.0/src/cyanide/core/server.py +2376 -0
- cyanide_framework-1.0.0/src/cyanide/core/session_pool.py +114 -0
- cyanide_framework-1.0.0/src/cyanide/core/stats.py +198 -0
- cyanide_framework-1.0.0/src/cyanide/core/telemetry.py +45 -0
- cyanide_framework-1.0.0/src/cyanide/core/terminal_utils.py +29 -0
- cyanide_framework-1.0.0/src/cyanide/core/vm_pool.py +188 -0
- cyanide_framework-1.0.0/src/cyanide/core/vt_scanner.py +118 -0
- cyanide_framework-1.0.0/src/cyanide/logger.py +357 -0
- cyanide_framework-1.0.0/src/cyanide/main.py +58 -0
- cyanide_framework-1.0.0/src/cyanide/ml/__init__.py +1 -0
- cyanide_framework-1.0.0/src/cyanide/ml/classifier.py +309 -0
- cyanide_framework-1.0.0/src/cyanide/ml/context_analyzer.py +179 -0
- cyanide_framework-1.0.0/src/cyanide/ml/model.py +167 -0
- cyanide_framework-1.0.0/src/cyanide/ml/pipeline.py +210 -0
- cyanide_framework-1.0.0/src/cyanide/ml/rule_engine.py +297 -0
- cyanide_framework-1.0.0/src/cyanide/ml/tokenizer.py +71 -0
- cyanide_framework-1.0.0/src/cyanide/network/__init__.py +9 -0
- cyanide_framework-1.0.0/src/cyanide/network/ssh_proxy.py +408 -0
- cyanide_framework-1.0.0/src/cyanide/network/tcp_proxy.py +156 -0
- cyanide_framework-1.0.0/src/cyanide/output/__init__.py +0 -0
- cyanide_framework-1.0.0/src/cyanide/output/base.py +109 -0
- cyanide_framework-1.0.0/src/cyanide/output/discord.py +232 -0
- cyanide_framework-1.0.0/src/cyanide/output/elasticsearch.py +54 -0
- cyanide_framework-1.0.0/src/cyanide/output/hpfeeds.py +56 -0
- cyanide_framework-1.0.0/src/cyanide/output/mongodb.py +70 -0
- cyanide_framework-1.0.0/src/cyanide/output/mysql.py +94 -0
- cyanide_framework-1.0.0/src/cyanide/output/postgresql.py +81 -0
- cyanide_framework-1.0.0/src/cyanide/output/rethinkdb.py +68 -0
- cyanide_framework-1.0.0/src/cyanide/output/slack.py +73 -0
- cyanide_framework-1.0.0/src/cyanide/output/splunk_hec.py +63 -0
- cyanide_framework-1.0.0/src/cyanide/output/sqlite.py +73 -0
- cyanide_framework-1.0.0/src/cyanide/output/syslog.py +98 -0
- cyanide_framework-1.0.0/src/cyanide/output/telegram.py +229 -0
- cyanide_framework-1.0.0/src/cyanide/pool/__init__.py +0 -0
- cyanide_framework-1.0.0/src/cyanide/scripts/__init__.py +0 -0
- cyanide_framework-1.0.0/src/cyanide/scripts/management/cyanide-framework +153 -0
- cyanide_framework-1.0.0/src/cyanide/scripts/training/train.py +172 -0
- cyanide_framework-1.0.0/src/cyanide/services/analytics.py +429 -0
- cyanide_framework-1.0.0/src/cyanide/services/ioc_reporter.py +209 -0
- cyanide_framework-1.0.0/src/cyanide/services/quarantine.py +156 -0
- cyanide_framework-1.0.0/src/cyanide/services/session_manager.py +120 -0
- cyanide_framework-1.0.0/src/cyanide/services/smtp_handler.py +170 -0
- cyanide_framework-1.0.0/src/cyanide/services/telnet_handler.py +364 -0
- cyanide_framework-1.0.0/src/cyanide/tests/__init__.py +0 -0
- cyanide_framework-1.0.0/src/cyanide/tests/conftest.py +95 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/__init__.py +0 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/smoke_test.py +226 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/test_advanced_verification.py +143 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/test_concurrency.py +70 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/test_fingerprinting.py +115 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/test_logging_monitoring.py +55 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/test_malware_flow.py +108 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/test_scp_protocol.py +133 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/test_services.py +99 -0
- cyanide_framework-1.0.0/src/cyanide/tests/integration/vfs_smoke_test.py +48 -0
- cyanide_framework-1.0.0/src/cyanide/tests/load/test_concurrent_sessions.py +75 -0
- cyanide_framework-1.0.0/src/cyanide/tests/test_config_validation.py +45 -0
- cyanide_framework-1.0.0/src/cyanide/tests/test_realism_v2.py +68 -0
- cyanide_framework-1.0.0/src/cyanide/tests/test_vm_pool.py +141 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/__init__.py +0 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/__init__.py +0 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_alias.py +54 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_apt_extra.py +130 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_awk.py +55 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_awk_redos.py +31 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_content.py +70 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_content_extra.py +83 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_coverage_boost.py +88 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_crontab_advanced.py +79 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_dev_tools.py +209 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_dns_security.py +70 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_editor_boost.py +131 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_editor_extra.py +265 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_extra_commands.py +109 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_file_ops.py +100 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_interactive_commands.py +84 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_ls_extra.py +174 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_massive_suite.py +110 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_nav.py +70 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_network.py +93 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_network_commands.py +286 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_package_managers.py +67 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_pkg_mgr_env.py +30 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_registry_smoke.py +70 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_security_network.py +66 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_su.py +73 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_system.py +56 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_text_tools_extra.py +56 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_vfs_commands_extra.py +83 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/commands/test_vfs_extra.py +77 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_aesthetics.py +44 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_analytics_service.py +99 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_analytics_service_deep.py +123 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_async_logger.py +49 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_auth_delay.py +40 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_bash_command.py +23 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_bash_scripts.py +50 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_bot_detection.py +58 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_cleanup.py +59 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_config_logic.py +60 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_config_validation.py +119 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_context_analyzer.py +55 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_core_and_logger.py +176 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_coverage_boost.py +54 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_coverage_boost_final.py +194 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_coverage_booster.py +152 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_coverage_final_push.py +195 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_cp_command.py +42 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_editor_boost_final.py +76 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_fake_filesystem.py +112 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_file_transfer_config.py +27 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_final_coverage.py +145 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_final_push.py +178 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_fs_utils.py +33 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_full_system_smoke.py +101 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ioc_reporter.py +72 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_libvirt_pool.py +93 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_log_restructuring.py +93 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_logger.py +102 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_main.py +47 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_massive_coverage.py +156 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ml.py +101 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ml_classifier_advanced.py +95 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ml_logging_fix.py +130 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ml_model.py +53 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ml_tokenizer.py +38 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_network_extra.py +45 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_output_plugins.py +186 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_package_managers.py +72 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ping_command.py +28 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_profile_loader_extra.py +105 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_quarantine_service.py +177 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_rate_limiting.py +71 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_retraining.py +29 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_rsync_logic.py +87 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_sandbox_security.py +31 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_scp_advanced.py +117 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_scp_handler.py +80 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_scp_logic.py +88 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_scp_recursive.py +92 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_scp_sftp_coverage.py +155 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_security.py +39 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_server.py +32 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_server_boost.py +103 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_server_deep.py +191 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_server_extra.py +73 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_server_handlers.py +117 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_server_logic.py +358 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_sftp_logic.py +261 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_shell_depth.py +33 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_shell_emulator.py +218 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_shell_emulator_core.py +136 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_slack_output.py +52 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_smtp_handler.py +156 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ssh_advanced_logic.py +178 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ssh_logic.py +103 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_ssh_proxy.py +128 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_tcp_proxy.py +54 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_telemetry.py +22 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_telnet_extra.py +142 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_telnet_handler.py +71 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_uname_command.py +38 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_vfs_deep.py +152 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_vfs_dynamic.py +68 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_vfs_engine_extra.py +77 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_vfs_handlers_extra.py +167 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_vfs_resiliency.py +27 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_virtual_file_transfers.py +86 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_vt_scanner.py +88 -0
- cyanide_framework-1.0.0/src/cyanide/tests/unit/test_webhook_outputs.py +275 -0
- cyanide_framework-1.0.0/src/cyanide/utils/__init__.py +9 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/backend.py +97 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/__init__.py +143 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/alias.py +60 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/apt.py +100 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/awk.py +122 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/base.py +274 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/bash.py +63 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/cat.py +45 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/cd.py +29 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/chmod.py +74 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/cp.py +43 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/crontab.py +115 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/curl.py +176 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/doas.py +31 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/dpkg.py +73 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/echo.py +19 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/editor.py +638 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/env.py +21 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/export.py +24 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/find.py +35 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/finger.py +50 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/free.py +39 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/gcc.py +55 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/grep.py +112 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/head.py +54 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/help.py +20 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/history.py +12 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/id.py +22 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/ifconfig.py +30 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/ip.py +39 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/journalctl.py +19 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/last.py +20 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/ls.py +146 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/lsof.py +18 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/make.py +25 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/misc_sys.py +26 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/mkdir.py +67 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/mv.py +38 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/nc.py +41 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/netstat.py +16 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/perl.py +66 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/ping.py +41 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/pkexec.py +27 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/ps.py +50 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/pwd.py +16 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/python.py +122 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/rm.py +37 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/rmdir.py +40 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/route.py +29 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/rpm.py +72 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/ss.py +15 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/su.py +74 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/sudo.py +93 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/systemctl.py +36 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/tail.py +54 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/touch.py +24 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/uname.py +47 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/uptime.py +28 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/visudo.py +21 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/w.py +22 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/wget.py +108 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/who.py +22 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/whoami.py +16 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/commands/yum.py +129 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/context.py +22 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/dynamic.py +335 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/engine.py +740 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/nodes.py +48 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/profile_loader.py +469 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/rsync.py +244 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/scp.py +382 -0
- cyanide_framework-1.0.0/src/cyanide/vfs/sftp.py +297 -0
- cyanide_framework-1.0.0/src/cyanide_framework.egg-info/PKG-INFO +236 -0
- cyanide_framework-1.0.0/src/cyanide_framework.egg-info/SOURCES.txt +498 -0
- cyanide_framework-1.0.0/src/cyanide_framework.egg-info/dependency_links.txt +1 -0
- cyanide_framework-1.0.0/src/cyanide_framework.egg-info/entry_points.txt +2 -0
- cyanide_framework-1.0.0/src/cyanide_framework.egg-info/requires.txt +49 -0
- cyanide_framework-1.0.0/src/cyanide_framework.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 tanhiowyatt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cyanide-framework
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A medium-interaction framework with ML-based anomaly detection.
|
|
5
|
+
Author: tanhiowyatt
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/tanhiowyatt/cyanide-framework
|
|
8
|
+
Project-URL: Bug Tracker, https://github.com/tanhiowyatt/cyanide-framework/issues
|
|
9
|
+
Project-URL: Documentation, https://github.com/tanhiowyatt/cyanide-framework/tree/main/docs
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Information Technology
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
18
|
+
Classifier: Operating System :: MacOS
|
|
19
|
+
Classifier: Topic :: Security
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: asyncssh<3.0,>=2.14.2
|
|
24
|
+
Requires-Dist: cryptography>=46.0.7
|
|
25
|
+
Requires-Dist: pyyaml>=6.0
|
|
26
|
+
Requires-Dist: aiofiles>=23.0
|
|
27
|
+
Requires-Dist: aiohttp>=3.13.4
|
|
28
|
+
Requires-Dist: scikit-learn>=1.3.0
|
|
29
|
+
Requires-Dist: numpy<2.0,>=1.24.0
|
|
30
|
+
Requires-Dist: prometheus_client>=0.17.0
|
|
31
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
32
|
+
Requires-Dist: telnetlib3>=2.0.0
|
|
33
|
+
Requires-Dist: pydantic>=2.0.0
|
|
34
|
+
Requires-Dist: opentelemetry-api>=1.20.0
|
|
35
|
+
Requires-Dist: opentelemetry-sdk>=1.20.0
|
|
36
|
+
Requires-Dist: opentelemetry-exporter-otlp>=1.20.0
|
|
37
|
+
Requires-Dist: requests>=2.33.0
|
|
38
|
+
Requires-Dist: torch>=2.2.0
|
|
39
|
+
Requires-Dist: jinja2>=3.1.6
|
|
40
|
+
Requires-Dist: urllib3>=2.6.3
|
|
41
|
+
Requires-Dist: joblib>=1.3.2
|
|
42
|
+
Provides-Extra: libvirt
|
|
43
|
+
Requires-Dist: libvirt-python>=10.0.0; extra == "libvirt"
|
|
44
|
+
Provides-Extra: dev
|
|
45
|
+
Requires-Dist: pytest>=9.0.3; extra == "dev"
|
|
46
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
|
|
47
|
+
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
|
|
48
|
+
Requires-Dist: pytest-mock>=3.11.0; extra == "dev"
|
|
49
|
+
Requires-Dist: pytest-timeout>=2.1.0; extra == "dev"
|
|
50
|
+
Requires-Dist: freezegun>=1.2.0; extra == "dev"
|
|
51
|
+
Requires-Dist: pytest-black>=0.3.12; extra == "dev"
|
|
52
|
+
Requires-Dist: pytest-isort>=3.1.0; extra == "dev"
|
|
53
|
+
Requires-Dist: pytest-mypy>=0.10.3; extra == "dev"
|
|
54
|
+
Requires-Dist: pytest-ruff>=0.2.1; extra == "dev"
|
|
55
|
+
Requires-Dist: black>=23.0; extra == "dev"
|
|
56
|
+
Requires-Dist: isort>=5.12.0; extra == "dev"
|
|
57
|
+
Requires-Dist: mypy>=1.5.0; extra == "dev"
|
|
58
|
+
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
|
59
|
+
Requires-Dist: types-aiofiles>=23.1.0; extra == "dev"
|
|
60
|
+
Requires-Dist: types-PyYAML>=6.0.12.12; extra == "dev"
|
|
61
|
+
Requires-Dist: types-requests>=2.32.4; extra == "dev"
|
|
62
|
+
Provides-Extra: outputs
|
|
63
|
+
Requires-Dist: psycopg[binary,pool]>=3.1.0; extra == "outputs"
|
|
64
|
+
Requires-Dist: mysql-connector-python>=8.0.0; extra == "outputs"
|
|
65
|
+
Requires-Dist: pymongo>=4.5.0; extra == "outputs"
|
|
66
|
+
Requires-Dist: elasticsearch<10.0.0,>=8.0.0; extra == "outputs"
|
|
67
|
+
Requires-Dist: rethinkdb>=2.4.9; extra == "outputs"
|
|
68
|
+
Requires-Dist: hpfeeds>=2.0.0; extra == "outputs"
|
|
69
|
+
Dynamic: license-file
|
|
70
|
+
|
|
71
|
+
<p align="center">
|
|
72
|
+
|
|
73
|
+
[](https://github.com/tanhiowyatt/cyanide-framework/stargazers)
|
|
74
|
+
[](https://github.com/tanhiowyatt/cyanide-framework/actions/workflows/ci.yml)
|
|
75
|
+
[](https://github.com/tanhiowyatt/cyanide-framework/actions/workflows/security_scan.yml)
|
|
76
|
+
[](https://sonarcloud.io/dashboard?id=tanhiowyatt_cyanide_framework)
|
|
77
|
+
[](https://sonarcloud.io/component_measures/metric/coverage/list?id=tanhiowyatt_cyanide_framework)
|
|
78
|
+
[](https://opensource.org/licenses/MIT)
|
|
79
|
+
[](https://deepwiki.com/tanhiowyatt/cyanide-framework)
|
|
80
|
+
</p>
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
<p align="center">
|
|
84
|
+
<a target="_blank" href="https://github.com/tanhiowyatt/cyanide-framework/blob/main/README.md">ENG</a> |
|
|
85
|
+
<a target="_blank" href="https://github.com/tanhiowyatt/cyanide-framework/blob/main/docs/translations/readme-ru.md">RU</a> |
|
|
86
|
+
<a target="_blank" href="https://github.com/tanhiowyatt/cyanide-framework/blob/main/docs/translations/readme-pl.md">PL</a>
|
|
87
|
+
</p>
|
|
88
|
+
|
|
89
|
+
<p align="center">
|
|
90
|
+
<img src="https://raw.githubusercontent.com/tanhiowyatt/cyanide-framework/main/src/cyanide/assets/branding/name.png" alt="Cyanide" width="500" height="auto">
|
|
91
|
+
</p>
|
|
92
|
+
|
|
93
|
+
# Cyanide Medium-Interaction SSH and Telnet Honeypot
|
|
94
|
+
|
|
95
|
+
**Cyanide** is a medium-interaction SSH and Telnet honeypot designed to deceive attackers and analyze their behavior in depth. It combines realistic Linux filesystem emulation, advanced command simulation (with pipes and redirections), robust anti-detection mechanisms, and a hybrid ML engine for anomaly detection.
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
### Features
|
|
101
|
+
|
|
102
|
+
#### 1) Machine Learning for Automated Attack Classification and IOC Extraction
|
|
103
|
+
- The system automatically categorizes network activity into attack types (brute-force, credential stuffing, reconnaissance, exploit attempts) based on session behavior and payload characteristics.
|
|
104
|
+
- Events are normalized with extraction of Indicators of Compromise (IOCs), including IP addresses, ports, credentials, user agents/banners, commands, URLs, artifact hashes, and attacker frequency dictionaries.
|
|
105
|
+
- A session summary is generated, detailing the attack intent, deviations from baseline norms, and recommended IOCs for blocking or integration into detection rules.
|
|
106
|
+
|
|
107
|
+
#### 2) Enhanced Realism to Evade Honeypot Detection
|
|
108
|
+
- Realistic timing and response variability (errors, delays, message formats) increase misclassification rates by automated honeypot detectors.
|
|
109
|
+
- Dynamic environment profiles: service banners, versions, and operational narratives evolve naturally, avoiding static templates.
|
|
110
|
+
- Human-like interface behavior: plausible constraints, error messaging, and minor inconsistencies characteristic of production systems.
|
|
111
|
+
|
|
112
|
+
#### 3) Advanced SOC and Analytics Integrations
|
|
113
|
+
- Structured JSON logs with a standardized event schema to facilitate correlation and search.
|
|
114
|
+
- Event export to external systems: SIEM/log stacks (ELK/Splunk), webhook alerts (Slack, Discord, Telegram) for real-time notifications.
|
|
115
|
+
- Support for batching and message limit control to prevent spam and platform bans.
|
|
116
|
+
- Configurable triggers and rules for critical pattern alerts (e.g., anomalous brute-force velocity, dropper uploads, suspicious commands/payloads).
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
### Documentation
|
|
121
|
+
|
|
122
|
+
For complete guides on installation, configuration, and integration, visit our **[Documentation Hub](docs/index.md)**.
|
|
123
|
+
|
|
124
|
+
* [Quick Start](docs/user-reference/QuickStart.md)
|
|
125
|
+
* [Advanced Configuration](docs/user-reference/AdvancedUsage.md)
|
|
126
|
+
* [Developer Reference](docs/developer-reference/core/index.md)
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
### Quick Start
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
1. Clone the repository
|
|
134
|
+
git clone https://github.com/tanhiowyatt/cyanide-framework.git
|
|
135
|
+
|
|
136
|
+
2. Navigate to the project directory
|
|
137
|
+
cd cyanide-framework
|
|
138
|
+
|
|
139
|
+
3. Launch the environment
|
|
140
|
+
docker-compose up -d
|
|
141
|
+
|
|
142
|
+
4. Connect via SSH, Telnet, or SFTP
|
|
143
|
+
ssh root@localhost -p 2222
|
|
144
|
+
telnet localhost -p 2222
|
|
145
|
+
sftp root@localhost -p 2222
|
|
146
|
+
|
|
147
|
+
* With Local Changes
|
|
148
|
+
docker-compose up -d --build
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Quick Start via PyPI
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
1. Install the package
|
|
155
|
+
pip install cyanide-framework
|
|
156
|
+
|
|
157
|
+
2. Run the honeypot
|
|
158
|
+
cyanide-framework
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
### How the Framework Works
|
|
164
|
+
|
|
165
|
+
Cyanide framework deploys a **decoy service** and guides attackers through a **controlled scenario**: it emulates a realistic service without granting actual host access.
|
|
166
|
+
|
|
167
|
+
#### Dynamic Profiles and Hardware Emulation
|
|
168
|
+
The framework's identity is defined by OS-specific profiles in `src/cyanide/configs/profiles/<os>/`.
|
|
169
|
+
- **`base.yaml`**: The master configuration for the profile, containing metadata (kernel version, hostname), honeytokens, and **system templates**.
|
|
170
|
+
- **System Templates**: You can now customize the hardware "fingerprint" directly in the YAML.
|
|
171
|
+
- `cpuinfo`: Emulated `/proc/cpuinfo` output.
|
|
172
|
+
- `meminfo`: Emulated `/proc/meminfo` output.
|
|
173
|
+
- `processes`: A list of background processes that will appear in `ps` and `top`.
|
|
174
|
+
|
|
175
|
+
Example `base.yaml` hardware definition:
|
|
176
|
+
```yaml
|
|
177
|
+
system_templates:
|
|
178
|
+
cpuinfo: |
|
|
179
|
+
vendor_id : GenuineIntel
|
|
180
|
+
model name : Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz
|
|
181
|
+
...
|
|
182
|
+
processes:
|
|
183
|
+
- pid: 1
|
|
184
|
+
user: root
|
|
185
|
+
cmd: "/sbin/init"
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
#### Libvirt Infrastructure (Advanced Emulation)
|
|
189
|
+
Cyanide supports an optional **Libvirt backend** for high-fidelity VM-based emulation:
|
|
190
|
+
- **VM Pools**: Automatically manage a pool of clones from a base image.
|
|
191
|
+
- **NAT & Snapshots**: Seamless networking and instant state rollback for every session.
|
|
192
|
+
- **Docker Ready**: The official Docker image includes `libvirt0` runtime dependencies to support remote Libvirt connections (e.g., `qemu+ssh://...`).
|
|
193
|
+
|
|
194
|
+
To enable, configure the `pool` section in your `cyanide.yaml`:
|
|
195
|
+
```yaml
|
|
196
|
+
pool:
|
|
197
|
+
enabled: true
|
|
198
|
+
mode: libvirt
|
|
199
|
+
libvirt_uri: "qemu:///system"
|
|
200
|
+
max_vms: 5
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
#### SQLite (Fast Runtime)
|
|
204
|
+
YAML serves as the "source code," compiled/cached into **SQLite** (`.compiled.db`) for production:
|
|
205
|
+
- Faster loading/decoding than YAML/JSON;
|
|
206
|
+
- Smaller footprint, easier caching/distribution;
|
|
207
|
+
- More stable high-load performance.
|
|
208
|
+
|
|
209
|
+
#### Session Flow
|
|
210
|
+
The system processes each interaction through a structured **Session Flow**:
|
|
211
|
+
- Incoming event (login/command/payload)
|
|
212
|
+
- State update
|
|
213
|
+
- Profile rules application (YAML/SQLite)
|
|
214
|
+
- Response generation (with realistic timing)
|
|
215
|
+
- Logging + IOC extraction
|
|
216
|
+
|
|
217
|
+
#### Logs and IOCs
|
|
218
|
+
Structured events are captured: IP/session ID, login attempts, commands/payloads, timings, and outcomes. From this, **IOCs** are extracted, attacks classified, and alerts/exported to SOC systems.
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
### Creators
|
|
223
|
+
|
|
224
|
+
This framework was created by **tanhiowyatt** and **koshanzov**. Our initial collaboration on advanced honeypot prototypes evolved into the current open-source cybersecurity project, focusing on realistic threat simulation, ML-driven attack classification, and seamless SOC integration.
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
### Disclaimer
|
|
229
|
+
|
|
230
|
+
This software is for educational and research purposes only. Running a framework involves significant risks. The author is not responsible for any damage or misuse.
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
<p align="center">
|
|
235
|
+
<i>Revision: 1.0 - May 2026 - Cyanide Framework</i>
|
|
236
|
+
</p>
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
|
|
3
|
+
[](https://github.com/tanhiowyatt/cyanide-framework/stargazers)
|
|
4
|
+
[](https://github.com/tanhiowyatt/cyanide-framework/actions/workflows/ci.yml)
|
|
5
|
+
[](https://github.com/tanhiowyatt/cyanide-framework/actions/workflows/security_scan.yml)
|
|
6
|
+
[](https://sonarcloud.io/dashboard?id=tanhiowyatt_cyanide_framework)
|
|
7
|
+
[](https://sonarcloud.io/component_measures/metric/coverage/list?id=tanhiowyatt_cyanide_framework)
|
|
8
|
+
[](https://opensource.org/licenses/MIT)
|
|
9
|
+
[](https://deepwiki.com/tanhiowyatt/cyanide-framework)
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
<p align="center">
|
|
14
|
+
<a target="_blank" href="https://github.com/tanhiowyatt/cyanide-framework/blob/main/README.md">ENG</a> |
|
|
15
|
+
<a target="_blank" href="https://github.com/tanhiowyatt/cyanide-framework/blob/main/docs/translations/readme-ru.md">RU</a> |
|
|
16
|
+
<a target="_blank" href="https://github.com/tanhiowyatt/cyanide-framework/blob/main/docs/translations/readme-pl.md">PL</a>
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
<p align="center">
|
|
20
|
+
<img src="https://raw.githubusercontent.com/tanhiowyatt/cyanide-framework/main/src/cyanide/assets/branding/name.png" alt="Cyanide" width="500" height="auto">
|
|
21
|
+
</p>
|
|
22
|
+
|
|
23
|
+
# Cyanide Medium-Interaction SSH and Telnet Honeypot
|
|
24
|
+
|
|
25
|
+
**Cyanide** is a medium-interaction SSH and Telnet honeypot designed to deceive attackers and analyze their behavior in depth. It combines realistic Linux filesystem emulation, advanced command simulation (with pipes and redirections), robust anti-detection mechanisms, and a hybrid ML engine for anomaly detection.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
#### 1) Machine Learning for Automated Attack Classification and IOC Extraction
|
|
33
|
+
- The system automatically categorizes network activity into attack types (brute-force, credential stuffing, reconnaissance, exploit attempts) based on session behavior and payload characteristics.
|
|
34
|
+
- Events are normalized with extraction of Indicators of Compromise (IOCs), including IP addresses, ports, credentials, user agents/banners, commands, URLs, artifact hashes, and attacker frequency dictionaries.
|
|
35
|
+
- A session summary is generated, detailing the attack intent, deviations from baseline norms, and recommended IOCs for blocking or integration into detection rules.
|
|
36
|
+
|
|
37
|
+
#### 2) Enhanced Realism to Evade Honeypot Detection
|
|
38
|
+
- Realistic timing and response variability (errors, delays, message formats) increase misclassification rates by automated honeypot detectors.
|
|
39
|
+
- Dynamic environment profiles: service banners, versions, and operational narratives evolve naturally, avoiding static templates.
|
|
40
|
+
- Human-like interface behavior: plausible constraints, error messaging, and minor inconsistencies characteristic of production systems.
|
|
41
|
+
|
|
42
|
+
#### 3) Advanced SOC and Analytics Integrations
|
|
43
|
+
- Structured JSON logs with a standardized event schema to facilitate correlation and search.
|
|
44
|
+
- Event export to external systems: SIEM/log stacks (ELK/Splunk), webhook alerts (Slack, Discord, Telegram) for real-time notifications.
|
|
45
|
+
- Support for batching and message limit control to prevent spam and platform bans.
|
|
46
|
+
- Configurable triggers and rules for critical pattern alerts (e.g., anomalous brute-force velocity, dropper uploads, suspicious commands/payloads).
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
### Documentation
|
|
51
|
+
|
|
52
|
+
For complete guides on installation, configuration, and integration, visit our **[Documentation Hub](docs/index.md)**.
|
|
53
|
+
|
|
54
|
+
* [Quick Start](docs/user-reference/QuickStart.md)
|
|
55
|
+
* [Advanced Configuration](docs/user-reference/AdvancedUsage.md)
|
|
56
|
+
* [Developer Reference](docs/developer-reference/core/index.md)
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
### Quick Start
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
1. Clone the repository
|
|
64
|
+
git clone https://github.com/tanhiowyatt/cyanide-framework.git
|
|
65
|
+
|
|
66
|
+
2. Navigate to the project directory
|
|
67
|
+
cd cyanide-framework
|
|
68
|
+
|
|
69
|
+
3. Launch the environment
|
|
70
|
+
docker-compose up -d
|
|
71
|
+
|
|
72
|
+
4. Connect via SSH, Telnet, or SFTP
|
|
73
|
+
ssh root@localhost -p 2222
|
|
74
|
+
telnet localhost -p 2222
|
|
75
|
+
sftp root@localhost -p 2222
|
|
76
|
+
|
|
77
|
+
* With Local Changes
|
|
78
|
+
docker-compose up -d --build
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Quick Start via PyPI
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
1. Install the package
|
|
85
|
+
pip install cyanide-framework
|
|
86
|
+
|
|
87
|
+
2. Run the honeypot
|
|
88
|
+
cyanide-framework
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
### How the Framework Works
|
|
94
|
+
|
|
95
|
+
Cyanide framework deploys a **decoy service** and guides attackers through a **controlled scenario**: it emulates a realistic service without granting actual host access.
|
|
96
|
+
|
|
97
|
+
#### Dynamic Profiles and Hardware Emulation
|
|
98
|
+
The framework's identity is defined by OS-specific profiles in `src/cyanide/configs/profiles/<os>/`.
|
|
99
|
+
- **`base.yaml`**: The master configuration for the profile, containing metadata (kernel version, hostname), honeytokens, and **system templates**.
|
|
100
|
+
- **System Templates**: You can now customize the hardware "fingerprint" directly in the YAML.
|
|
101
|
+
- `cpuinfo`: Emulated `/proc/cpuinfo` output.
|
|
102
|
+
- `meminfo`: Emulated `/proc/meminfo` output.
|
|
103
|
+
- `processes`: A list of background processes that will appear in `ps` and `top`.
|
|
104
|
+
|
|
105
|
+
Example `base.yaml` hardware definition:
|
|
106
|
+
```yaml
|
|
107
|
+
system_templates:
|
|
108
|
+
cpuinfo: |
|
|
109
|
+
vendor_id : GenuineIntel
|
|
110
|
+
model name : Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz
|
|
111
|
+
...
|
|
112
|
+
processes:
|
|
113
|
+
- pid: 1
|
|
114
|
+
user: root
|
|
115
|
+
cmd: "/sbin/init"
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
#### Libvirt Infrastructure (Advanced Emulation)
|
|
119
|
+
Cyanide supports an optional **Libvirt backend** for high-fidelity VM-based emulation:
|
|
120
|
+
- **VM Pools**: Automatically manage a pool of clones from a base image.
|
|
121
|
+
- **NAT & Snapshots**: Seamless networking and instant state rollback for every session.
|
|
122
|
+
- **Docker Ready**: The official Docker image includes `libvirt0` runtime dependencies to support remote Libvirt connections (e.g., `qemu+ssh://...`).
|
|
123
|
+
|
|
124
|
+
To enable, configure the `pool` section in your `cyanide.yaml`:
|
|
125
|
+
```yaml
|
|
126
|
+
pool:
|
|
127
|
+
enabled: true
|
|
128
|
+
mode: libvirt
|
|
129
|
+
libvirt_uri: "qemu:///system"
|
|
130
|
+
max_vms: 5
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
#### SQLite (Fast Runtime)
|
|
134
|
+
YAML serves as the "source code," compiled/cached into **SQLite** (`.compiled.db`) for production:
|
|
135
|
+
- Faster loading/decoding than YAML/JSON;
|
|
136
|
+
- Smaller footprint, easier caching/distribution;
|
|
137
|
+
- More stable high-load performance.
|
|
138
|
+
|
|
139
|
+
#### Session Flow
|
|
140
|
+
The system processes each interaction through a structured **Session Flow**:
|
|
141
|
+
- Incoming event (login/command/payload)
|
|
142
|
+
- State update
|
|
143
|
+
- Profile rules application (YAML/SQLite)
|
|
144
|
+
- Response generation (with realistic timing)
|
|
145
|
+
- Logging + IOC extraction
|
|
146
|
+
|
|
147
|
+
#### Logs and IOCs
|
|
148
|
+
Structured events are captured: IP/session ID, login attempts, commands/payloads, timings, and outcomes. From this, **IOCs** are extracted, attacks classified, and alerts/exported to SOC systems.
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
### Creators
|
|
153
|
+
|
|
154
|
+
This framework was created by **tanhiowyatt** and **koshanzov**. Our initial collaboration on advanced honeypot prototypes evolved into the current open-source cybersecurity project, focusing on realistic threat simulation, ML-driven attack classification, and seamless SOC integration.
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
### Disclaimer
|
|
159
|
+
|
|
160
|
+
This software is for educational and research purposes only. Running a framework involves significant risks. The author is not responsible for any damage or misuse.
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
<p align="center">
|
|
165
|
+
<i>Revision: 1.0 - May 2026 - Cyanide Framework</i>
|
|
166
|
+
</p>
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=78.1.1", "wheel>=0.46.2"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "cyanide-framework"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "A medium-interaction framework with ML-based anomaly detection."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
authors = [
|
|
11
|
+
{ name = "tanhiowyatt" },
|
|
12
|
+
]
|
|
13
|
+
license = { text = "MIT" }
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 5 - Production/Stable",
|
|
16
|
+
"Intended Audience :: Information Technology",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
"Programming Language :: Python :: 3.12",
|
|
19
|
+
"Programming Language :: Python :: 3.13",
|
|
20
|
+
"Programming Language :: Python :: 3.14",
|
|
21
|
+
"License :: OSI Approved :: MIT License",
|
|
22
|
+
"Operating System :: POSIX :: Linux",
|
|
23
|
+
"Operating System :: MacOS",
|
|
24
|
+
"Topic :: Security",
|
|
25
|
+
]
|
|
26
|
+
requires-python = ">=3.11"
|
|
27
|
+
|
|
28
|
+
dependencies = [
|
|
29
|
+
"asyncssh>=2.14.2,<3.0",
|
|
30
|
+
"cryptography>=46.0.7",
|
|
31
|
+
"pyyaml>=6.0",
|
|
32
|
+
"aiofiles>=23.0",
|
|
33
|
+
"aiohttp>=3.13.4",
|
|
34
|
+
"scikit-learn>=1.3.0",
|
|
35
|
+
"numpy>=1.24.0,<2.0",
|
|
36
|
+
"prometheus_client>=0.17.0",
|
|
37
|
+
"python-dotenv>=1.0.0",
|
|
38
|
+
"telnetlib3>=2.0.0",
|
|
39
|
+
"pydantic>=2.0.0",
|
|
40
|
+
"opentelemetry-api>=1.20.0",
|
|
41
|
+
"opentelemetry-sdk>=1.20.0",
|
|
42
|
+
"opentelemetry-exporter-otlp>=1.20.0",
|
|
43
|
+
"requests>=2.33.0",
|
|
44
|
+
"torch>=2.2.0",
|
|
45
|
+
# Security fixes and required transitive pins
|
|
46
|
+
"jinja2>=3.1.6",
|
|
47
|
+
"urllib3>=2.6.3",
|
|
48
|
+
"joblib>=1.3.2",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[project.optional-dependencies]
|
|
52
|
+
libvirt = [
|
|
53
|
+
"libvirt-python>=10.0.0",
|
|
54
|
+
]
|
|
55
|
+
dev = [
|
|
56
|
+
|
|
57
|
+
"pytest>=9.0.3",
|
|
58
|
+
"pytest-asyncio>=0.21.0",
|
|
59
|
+
"pytest-cov>=4.1.0",
|
|
60
|
+
"pytest-mock>=3.11.0",
|
|
61
|
+
"pytest-timeout>=2.1.0",
|
|
62
|
+
"freezegun>=1.2.0",
|
|
63
|
+
"pytest-black>=0.3.12",
|
|
64
|
+
"pytest-isort>=3.1.0",
|
|
65
|
+
"pytest-mypy>=0.10.3",
|
|
66
|
+
"pytest-ruff>=0.2.1",
|
|
67
|
+
"black>=23.0",
|
|
68
|
+
"isort>=5.12.0",
|
|
69
|
+
"mypy>=1.5.0",
|
|
70
|
+
"ruff>=0.1.0",
|
|
71
|
+
"types-aiofiles>=23.1.0",
|
|
72
|
+
"types-PyYAML>=6.0.12.12",
|
|
73
|
+
"types-requests>=2.32.4",
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
outputs = [
|
|
77
|
+
"psycopg[binary,pool]>=3.1.0",
|
|
78
|
+
"mysql-connector-python>=8.0.0",
|
|
79
|
+
"pymongo>=4.5.0",
|
|
80
|
+
"elasticsearch>=8.0.0,<10.0.0",
|
|
81
|
+
"rethinkdb>=2.4.9",
|
|
82
|
+
"hpfeeds>=2.0.0",
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
[project.scripts]
|
|
86
|
+
cyanide-framework = "cyanide.main:main"
|
|
87
|
+
|
|
88
|
+
[project.urls]
|
|
89
|
+
"Homepage" = "https://github.com/tanhiowyatt/cyanide-framework"
|
|
90
|
+
"Bug Tracker" = "https://github.com/tanhiowyatt/cyanide-framework/issues"
|
|
91
|
+
"Documentation" = "https://github.com/tanhiowyatt/cyanide-framework/tree/main/docs"
|
|
92
|
+
|
|
93
|
+
[tool.setuptools.packages.find]
|
|
94
|
+
where = ["src"]
|
|
95
|
+
include = ["cyanide*"]
|
|
96
|
+
|
|
97
|
+
[tool.setuptools.package-data]
|
|
98
|
+
"cyanide.configs" = ["*.yaml", "*.example", "*.env", "*.txt", "profiles/**/*"]
|
|
99
|
+
"cyanide.assets" = ["**/*"]
|
|
100
|
+
"cyanide.scripts" = ["**/*"]
|
|
101
|
+
"cyanide.tests" = ["**/*"]
|
|
102
|
+
|
|
103
|
+
[tool.setuptools]
|
|
104
|
+
include-package-data = true
|
|
105
|
+
|
|
106
|
+
[tool.pytest.ini_options]
|
|
107
|
+
minversion = "6.0"
|
|
108
|
+
addopts = "-v --asyncio-mode=auto --color=yes --tb=short"
|
|
109
|
+
testpaths = ["src/cyanide/tests"]
|
|
110
|
+
pythonpath = ["src"]
|
|
111
|
+
log_cli = true
|
|
112
|
+
log_cli_level = "INFO"
|
|
113
|
+
markers = [
|
|
114
|
+
"integration: mark test as integration test",
|
|
115
|
+
"slow: mark test as slow",
|
|
116
|
+
]
|
|
117
|
+
filterwarnings = [
|
|
118
|
+
"ignore:.*ARC4 has been moved.*",
|
|
119
|
+
"ignore:.*TripleDES has been moved.*",
|
|
120
|
+
# "ignore::cryptography.utils.CryptographyDeprecationWarning",
|
|
121
|
+
"ignore:.*Trying to unpickle estimator.*",
|
|
122
|
+
]
|
|
123
|
+
|
|
124
|
+
[tool.black]
|
|
125
|
+
line-length = 100
|
|
126
|
+
target-version = ['py311']
|
|
127
|
+
|
|
128
|
+
[tool.ruff]
|
|
129
|
+
line-length = 100
|
|
130
|
+
target-version = "py311"
|
|
131
|
+
|
|
132
|
+
[tool.isort]
|
|
133
|
+
profile = "black"
|
|
134
|
+
known_first_party = ["cyanide"]
|
|
135
|
+
|
|
136
|
+
[tool.mypy]
|
|
137
|
+
python_version = "3.11"
|
|
138
|
+
warn_return_any = true
|
|
139
|
+
warn_unused_configs = true
|
|
140
|
+
disallow_untyped_defs = false
|
|
141
|
+
ignore_missing_imports = true
|
|
142
|
+
check_untyped_defs = true
|
|
143
|
+
files = "src"
|
|
144
|
+
|
|
145
|
+
[[tool.mypy.overrides]]
|
|
146
|
+
module = ["torch", "torch.*", "pytest", "_pytest.*", "libvirt"]
|
|
147
|
+
follow_imports = "skip"
|
|
148
|
+
ignore_errors = true
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Cyanide Library
|
|
3
|
+
---------------
|
|
4
|
+
Core utilities for the Cyanide Framework, including logging and filesystem management.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
__version__ = "2.1.1"
|
|
8
|
+
__author__ = "DeepMind Agent"
|
|
9
|
+
|
|
10
|
+
from .logger import CyanideLogger
|
|
11
|
+
|
|
12
|
+
__all__ = ["CyanideLogger"]
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@@@@@@@@@@@@@
|
|
2
|
+
@@@@@@@@@@@@@@@@@@@@@
|
|
3
|
+
@@@@@@@ @@@@@@@
|
|
4
|
+
@@@@@ @@@@@@@ @@@@@
|
|
5
|
+
@@@@ @@@@@@@@@@@@@ @@@@
|
|
6
|
+
@@@@ @@@ @@@ @@@@
|
|
7
|
+
@@@@ @@@@ @@@@ @@@@
|
|
8
|
+
@@@@ @@@ @@@ @@@@
|
|
9
|
+
@@@@ @@@@@@@@@@@@@ @@@@
|
|
10
|
+
@@@@@ @@@@@@@ @@@@@
|
|
11
|
+
@@@@@@ @@@@@@
|
|
12
|
+
@@@@@@@@@@@@@@@@@@@@@
|
|
13
|
+
@@@@@@@@@@@@@
|
|
Binary file
|
|
Binary file
|
|
Binary file
|