From abc8ba8820caaefbf2c3c191a577bc59b786be2b Mon Sep 17 00:00:00 2001 From: midas Date: Sat, 8 Mar 2025 12:05:50 +0100 Subject: [PATCH] add tor client auth gen explanation --- opsec/anonymous_server_monitoring/index.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/opsec/anonymous_server_monitoring/index.html b/opsec/anonymous_server_monitoring/index.html index b96ab2c..c92ff5e 100644 --- a/opsec/anonymous_server_monitoring/index.html +++ b/opsec/anonymous_server_monitoring/index.html @@ -260,6 +260,22 @@ cat /var/lib/tor/onion/prometheus/hostname [clientaddr].onion +What's that tor-client-auth-gen you ask? In order to protect this critical service from attacks that could be done against the grafana servers or from stolen credentials we need more than just security by obscurity +(relying on the attacker not knowing our hidden service address). + +
+When a client tries to connect to an onion service they request a server descriptor from a tor directory server that gives them a path to a rendez-vous point where they will be able to talk to each other. The keys we just created will be used to encrypt this descriptor. Without the proper private key, even with the onion service address, an attacker won't be able to connect to it because they won't be able to find the rendez-vous point. +
+
+This is better than basic-auth for the following reasons: + +
+
+

On the central monitoring server