def rule(event):
    if all(
        [
            event.deep_get("type", default="") == "EXECVE",
            "dd" in event.deep_get("a0", default=""),
            any(
                [
                    "if=/dev/null" in event.deep_get("a1", default=""),
                    "if=/dev/zero" in event.deep_get("a1", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
