def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("/sudo"),
            " tc " in event.deep_get("CommandLine", default=""),
            " enp0s3 " in event.deep_get("CommandLine", default=""),
            any(
                [
                    " qdisc " in event.deep_get("CommandLine", default=""),
                    " filter " in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
