import json


def rule(event):
    if all(
        [
            event.deep_get("type", default="") == "EXECVE",
            "touch" in json.dumps(event.to_dict()),
            any(
                [
                    "-t" in json.dumps(event.to_dict()),
                    "-acmr" in json.dumps(event.to_dict()),
                    "-d" in json.dumps(event.to_dict()),
                    "-r" in json.dumps(event.to_dict()),
                ]
            ),
        ]
    ):
        return True
    return False
