def rule(event):
    if all(
        [
            event.deep_get("TargetObject", default="")
            == "HKLM\\System\\CurrentControlSet\\Services\\Fax\\ObjectName",
            not "NetworkService" in event.deep_get("Details", default=""),
        ]
    ):
        return True
    return False
