def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 4624,
            event.deep_get("ProcessName", default="").endswith("\\WmiPrvSE.exe"),
        ]
    ):
        return True
    return False
