def rule(event):
    if any(
        [
            event.deep_get("Image", default="").endswith("\\LocalPotato.exe"),
            all(
                [
                    ".exe -i C:\\" in event.deep_get("CommandLine", default=""),
                    "-o Windows\\" in event.deep_get("CommandLine", default=""),
                ]
            ),
            any(
                [
                    "IMPHASH=E1742EE971D6549E8D4D81115F88F1FC"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=DD82066EFBA94D7556EF582F247C8BB5"
                    in event.deep_get("Hashes", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
