def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\mpiexec.exe"),
                    "IMPHASH=d8b52ef6aaa3a81501bdfff9dbb96217"
                    in event.deep_get("Hashes", default=""),
                ]
            ),
            any(
                [
                    " /n 1 " in event.deep_get("CommandLine", default=""),
                    " -n 1 " in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
