A detection is a hypothesis encoded as logic

Every detection is somebody's theory about what an attacker would do, written down in a form a computer can evaluate.

That framing is useful because it makes the assumptions visible. The rule fires when this pattern appears, which assumes the attacker behaves this way, that the relevant data is being collected, and that the pattern is rare in normal use. Any of those can be wrong, and when a detection underperforms it is nearly always one of them rather than the logic.

More on Detection engineering