Linux-SWAT
Forum Addict!
- Joined
- Feb 13, 2010
- Messages
- 9,189
Hey, we can do that too for the Pyra (not on kernel level, this is on software level), it goes like this:
Debian (as opposed to Devuan) has systemd. You see, you can start services just by probing a port. This is called: systemd socket activation. (this is not a new backdoor, the old inetd also has it; it is also disabled by default in Debian, and easy to enable/disable)
More information about it:
https://www.freedesktop.org/software/systemd/man/systemd.socket.html
http://0pointer.de/blog/projects/socket-activation.html
Now, what neat things can you do with it, you ask? For example:
https://leonardoce.wordpress.com/2015/03/08/systemd-socket-based-activation/
well.. somebody needs to write the "undocumented debugging" feature first, of course...Are you implying that it's a backdoor? You'd still need root access in order to start most services.
That's (a slight development on) port knocking, a pretty common obfuscation approach which I'd consider pretty much essential if I was running a public facing ssh server.imagine an extra layer of protection: Pyra connected to the internet, sshd disabled. probe another port, start a small program. Send magic key, sshd is started, now you can sshd into the Pyra...
If someone gets you to run their malicious code on your computer as root, you're screwed systemd or not. Any "vulnerability" that requires root access is not really a vulnerability, just one more thing to do on already compromised systems.well.. somebody needs to write the "undocumented debugging" feature first, of course...
imagine an extra layer of protection: Pyra connected to the internet, sshd disabled. probe another port, start a small program. Send magic key, sshd is started, now you can sshd into the Pyra...
or connect to a port, which starts usb (with a camera connected, uses VLC (there is other software) to make a snapshot, receive picture... stop everything, stop usb).
Or server initiated backups... Pyra will be fun...
That's (a slight development on) port knocking, a pretty common obfuscation approach which I'd consider pretty much essential if I was running a public facing ssh server.
That's why you built your house by yourself, so it's your own backdoor. (At least that's what I did)After reading this thread and other discussions and coverage I am starting to get a little concerned. The people that built my house put a backdoor in it.
I plan to, eventually. Funny thing is my plan does not allow for a back door, but it has nothing to do with security.That's why you built your house by yourself, so it's your own backdoor. (At least that's what I did)
Yes, a MITM type attack would be able to see what you're doing. But anyone who's not already compromised your connectivity just will only see the 'knock' port open on port scanning you.I'm not sure that this method would have any security advantages. An attacker would see that you just sent your magic key and then recognize the typical ssh fingerprint.
Almost everyone puts a standard lock in their door, very easy to by-pass.I plan to, eventually. Funny thing is my plan does not allow for a back door, but it has nothing to do with security.