def rule(event):
    if all(
        [
            event.deep_get("Image", default="") in ["/bin/dd", "/usr/bin/dd"],
            "of=" in event.deep_get("CommandLine", default=""),
            any(
                [
                    "if=/dev/zero" in event.deep_get("CommandLine", default=""),
                    "if=/dev/null" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
