def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 4799,
            event.deep_get("TargetUserName", default="").startswith("Administr"),
            event.deep_get("CallerProcessName", default="").endswith("\\checkadmin.exe"),
        ]
    ):
        return True
    return False
