"Victory. Such a tempting thing. Naturally, everyone wants to savor a taste." - Tanya von Degurechaff
We'll ensure that non-root users are unable to see the
project-tanya
service.
See libprocesshider
We'll ensure that non-root users cannot use ptrace
capabilities.
- Switch to the
root
user:
su
- Open
/etc/sysctl.d/10-ptrace.conf
with vim:
vim /etc/sysctl.d/10-ptrace.conf
- Change the
kernel.yama.ptrace_scope
value to2
:
kernel.yama.ptrace_scope = 2
- Reboot your system:
reboot
- Check that the
ptrace_scope
is set to2
:
sysctl kernel.yama.ptrace_scope
See this page for more information on process tracing.
We'll ensure that project-tanya
can be compiled with .NET.
- Switch to the
root
user:
su
- Add the Microsoft package repositories:
- See https://docs.microsoft.com/en-us/dotnet/core/install/linux.
- Be sure to carefully follow instructions for your Linux flavor.
- Install .NET 6.0:
apt update && apt install -y dotnet-sdk-6.0
We'll build project-tanya
, so we can register it as a service:
- Switch to
root
user:
su
- Open the
/root
directory:
cd ~
- Install dependencies:
apt install -y git
- Clone this repository:
git clone https://github.com/XRadius/project-tanya
- Open the
project-tanya
directory:
cd ~/project-tanya
- Enable execution of the build script:
chmod +x service-build.sh
- Run the build script:
./service-build.sh
We'll install project-tanya
as a service:
- Open the
bin
directory:
cd ~/project-tanya/bin
- Run the installation script and follow the instructions:
./service-install.sh
Once you've followed these instructions, project-tanya
is ready for use!