def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 4732,
            any(
                [
                    event.deep_get("TargetUserName", default="").startswith("Administr"),
                    event.deep_get("TargetSid", default="") == "S-1-5-32-544",
                ]
            ),
            not event.deep_get("SubjectUserName", default="").endswith("$"),
        ]
    ):
        return True
    return False
