├── .gitignore ├── .gitlab-ci.yml ├── .gitmodules ├── LICENSE ├── README.md ├── livebuild ├── auto │ ├── build │ ├── clean │ └── config └── config │ ├── binary │ ├── bootstrap │ ├── chroot │ ├── common │ ├── hooks │ ├── live │ │ ├── 0010-disable-kexec-tools.hook.chroot │ │ ├── 0050-disable-sysvinit-tmpfs.hook.chroot │ │ ├── 0060-install-pip-requirement.chroot │ │ ├── 0070-qemu.chroot │ │ ├── 0080-install-proxy.chroot │ │ └── all_chroot_update-initramfs.chroot │ └── normal │ │ ├── 0020-create-mtab-symlink.hook.chroot │ │ ├── 0030-enable-cryptsetup.hook.chroot │ │ ├── 0040-create-locales-files.hook.chroot │ │ ├── 0100-remove-adjtime-configuration.hook.chroot │ │ ├── 0110-remove-backup-files.hook.chroot │ │ ├── 0120-remove-dbus-machine-id.hook.chroot │ │ ├── 0130-remove-gnome-icon-cache.hook.chroot │ │ ├── 0140-remove-log-files.hook.chroot │ │ ├── 0150-remove-mdadm-configuration.hook.chroot │ │ ├── 0160-remove-openssh-server-host-keys.hook.chroot │ │ ├── 0170-remove-python-py.hook.chroot │ │ ├── 0180-remove-systemd-machine-id.hook.chroot │ │ ├── 0190-remove-temporary-files.hook.chroot │ │ ├── 0195-remove-ssl-cert-snakeoil.hook.chroot │ │ ├── 0200-remove-udev-persistent-cd-rules.hook.chroot │ │ ├── 0300-remove-udev-persistent-net-rules.hook.chroot │ │ ├── 0400-update-apt-file-cache.hook.chroot │ │ ├── 0410-update-apt-xapian-index.hook.chroot │ │ ├── 0420-update-glx-alternative.hook.chroot │ │ ├── 0430-update-mlocate-database.hook.chroot │ │ ├── 0440-update-nvidia-alternative.hook.chroot │ │ └── 0500-reproducible-glibc.hook.chroot │ ├── includes.chroot_after_packages │ ├── etc │ │ └── skel │ │ │ └── exploit │ │ │ └── TPMEE │ └── lib │ │ └── udev │ │ └── rules.d │ │ └── 99-tpm-udev.rules │ ├── package-lists │ └── live.list.chroot │ └── source ├── setup.sh ├── test └── OVMF.fd ├── tpm_kernel_exploit └── script.py └── tpm_proxy ├── .gitignore ├── README.md ├── img └── windows_installation.png ├── qemu.patch ├── requirements.txt ├── setup.py ├── test_proxy.py └── tpm_proxy ├── __init__.py ├── __main__.py └── server.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/README.md -------------------------------------------------------------------------------- /livebuild/auto/build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/auto/build -------------------------------------------------------------------------------- /livebuild/auto/clean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/auto/clean -------------------------------------------------------------------------------- /livebuild/auto/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/auto/config -------------------------------------------------------------------------------- /livebuild/config/binary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/binary -------------------------------------------------------------------------------- /livebuild/config/bootstrap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/bootstrap -------------------------------------------------------------------------------- /livebuild/config/chroot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/chroot -------------------------------------------------------------------------------- /livebuild/config/common: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/common -------------------------------------------------------------------------------- /livebuild/config/hooks/live/0010-disable-kexec-tools.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/live/0010-disable-kexec-tools.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/live/0050-disable-sysvinit-tmpfs.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/live/0050-disable-sysvinit-tmpfs.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/live/0060-install-pip-requirement.chroot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/hooks/live/0060-install-pip-requirement.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/live/0070-qemu.chroot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/hooks/live/0070-qemu.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/live/0080-install-proxy.chroot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/hooks/live/0080-install-proxy.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/live/all_chroot_update-initramfs.chroot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/hooks/live/all_chroot_update-initramfs.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0020-create-mtab-symlink.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0020-create-mtab-symlink.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0030-enable-cryptsetup.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0030-enable-cryptsetup.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0040-create-locales-files.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0040-create-locales-files.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0100-remove-adjtime-configuration.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0100-remove-adjtime-configuration.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0110-remove-backup-files.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0110-remove-backup-files.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0120-remove-dbus-machine-id.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0120-remove-dbus-machine-id.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0130-remove-gnome-icon-cache.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0140-remove-log-files.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0140-remove-log-files.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0150-remove-mdadm-configuration.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0150-remove-mdadm-configuration.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0160-remove-openssh-server-host-keys.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0160-remove-openssh-server-host-keys.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0170-remove-python-py.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0170-remove-python-py.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0180-remove-systemd-machine-id.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0180-remove-systemd-machine-id.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0190-remove-temporary-files.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0190-remove-temporary-files.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0195-remove-ssl-cert-snakeoil.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0195-remove-ssl-cert-snakeoil.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0200-remove-udev-persistent-cd-rules.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0200-remove-udev-persistent-cd-rules.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0300-remove-udev-persistent-net-rules.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0300-remove-udev-persistent-net-rules.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0400-update-apt-file-cache.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0400-update-apt-file-cache.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0410-update-apt-xapian-index.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0410-update-apt-xapian-index.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0420-update-glx-alternative.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0420-update-glx-alternative.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0430-update-mlocate-database.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0430-update-mlocate-database.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0440-update-nvidia-alternative.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0440-update-nvidia-alternative.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/hooks/normal/0500-reproducible-glibc.hook.chroot: -------------------------------------------------------------------------------- 1 | /usr/share/live/build/hooks/normal/0500-reproducible-glibc.hook.chroot -------------------------------------------------------------------------------- /livebuild/config/includes.chroot_after_packages/etc/skel/exploit/TPMEE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/includes.chroot_after_packages/etc/skel/exploit/TPMEE -------------------------------------------------------------------------------- /livebuild/config/includes.chroot_after_packages/lib/udev/rules.d/99-tpm-udev.rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/includes.chroot_after_packages/lib/udev/rules.d/99-tpm-udev.rules -------------------------------------------------------------------------------- /livebuild/config/package-lists/live.list.chroot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/package-lists/live.list.chroot -------------------------------------------------------------------------------- /livebuild/config/source: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/livebuild/config/source -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/setup.sh -------------------------------------------------------------------------------- /test/OVMF.fd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/test/OVMF.fd -------------------------------------------------------------------------------- /tpm_kernel_exploit/script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_kernel_exploit/script.py -------------------------------------------------------------------------------- /tpm_proxy/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_proxy/.gitignore -------------------------------------------------------------------------------- /tpm_proxy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_proxy/README.md -------------------------------------------------------------------------------- /tpm_proxy/img/windows_installation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_proxy/img/windows_installation.png -------------------------------------------------------------------------------- /tpm_proxy/qemu.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_proxy/qemu.patch -------------------------------------------------------------------------------- /tpm_proxy/requirements.txt: -------------------------------------------------------------------------------- 1 | sty 2 | scapy 3 | -------------------------------------------------------------------------------- /tpm_proxy/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_proxy/setup.py -------------------------------------------------------------------------------- /tpm_proxy/test_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_proxy/test_proxy.py -------------------------------------------------------------------------------- /tpm_proxy/tpm_proxy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_proxy/tpm_proxy/__init__.py -------------------------------------------------------------------------------- /tpm_proxy/tpm_proxy/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_proxy/tpm_proxy/__main__.py -------------------------------------------------------------------------------- /tpm_proxy/tpm_proxy/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarkslab/tpmee/HEAD/tpm_proxy/tpm_proxy/server.py --------------------------------------------------------------------------------