def rule(event):
    if all(
        [
            any(
                [
                    "{IFS}" in event.deep_get("TargetFilename", default=""),
                    "base64" in event.deep_get("TargetFilename", default=""),
                    "bash" in event.deep_get("TargetFilename", default=""),
                    "curl" in event.deep_get("TargetFilename", default=""),
                    "http" in event.deep_get("TargetFilename", default=""),
                ]
            ),
            event.deep_get("TargetFilename", default="").startswith(
                "/opt/panlogs/tmp/device_telemetry/"
            ),
        ]
    ):
        return True
    return False
