def rule(event):
    if any(
        [
            "\\Services\\HybridConnectionManager" in event.deep_get("TargetObject", default=""),
            all(
                [
                    event.deep_get("EventType", default="") == "SetValue",
                    "Microsoft.HybridConnectionManager.Listener.exe"
                    in event.deep_get("Details", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
