def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\Windows\\System32\\lsass.exe"),
            event.deep_get("Image", default="").endswith("\\Windows\\System32\\lsass.exe"),
        ]
    ):
        return True
    return False
