def rule(event):
    if any(
        [
            "tasklist" in event.deep_get("CommandLine", default=""),
            event.deep_get("Image", default="").endswith("\\tasklist.exe"),
            event.deep_get("OriginalFileName", default="") == "tasklist.exe",
        ]
    ):
        return True
    return False
