def rule(event):
    if all(
        [
            event.deep_get("TargetImage", default="").endswith("\\lsass.exe"),
            event.deep_get("StartModule", default="") == "",
        ]
    ):
        return True
    return False
