I understand this category is for discussions, not support requests, and not for app requests.
on
This form is written in English but feel free to write in French if you’re more comfortable!
on
Discuss
I update my yuno fairly often, but I always wonder that to be honest I would not be sure that I’d notice if it were compromised. Obviously if there was a miner or similar it would be pretty easy but what about just data thief?
So… What do you suggest? I repeat, not for prevention but to find out if someone is already in.
A few checks that don’t need extra tools: last and journalctl -u ssh | grep Accepted to see successful logins and where they came from, then the authorized_keys of root and your users for anything you didn’t add. ss -tulpn shows unexpected listening ports, and debsums -c (package debsums) lists system files that no longer match the Debian packages. None of this proves the server is clean, but anything odd there is a good reason to dig further.
A quiet data thief may leave no obvious sign, and a root-level attacker can alter local logs. Check /var/log/auth.log for successful SSH logins, then inspect unfamiliar accounts and authorized_keys, plus unexpected systemd services, cron jobs, and outbound connections. YunoHost diagnostics can catch some configuration changes, but a clean result doesn’t prove the server is uncompromised. If you find evidence of root access, rebuild from trusted media and restore only known-clean backups.