def rule(event):
    if any(
        [
            event.deep_get("Image", default="").endswith("\\hashcat.exe"),
            all(
                [
                    "-a " in event.deep_get("CommandLine", default=""),
                    "-m 1000 " in event.deep_get("CommandLine", default=""),
                    "-r " in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
