Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MBilling Suddenly Started Using 100% CPU #690

Open
Lampard11 opened this issue Nov 15, 2024 · 7 comments
Open

MBilling Suddenly Started Using 100% CPU #690

Lampard11 opened this issue Nov 15, 2024 · 7 comments

Comments

@Lampard11
Copy link

Our system was running smoothly, and had very low amount of usage, but suddenly, mbilling is using all the CPU cores 100%.

I checked server logs, but couldn't find anything that could be causing it.

full-cpu

@ccabrerar
Copy link

Pretty sure you were hacked. If I were to guess, that mbilling file is a renamed crypto miner, and is thus using all your CPU to mine bitcoint or anything else. The file mbilling.conf should contain the address of the pool which the miner should be posting to.

You can try using lsof -p (in your case, lsof -p 1852) to find the related files to this process, so you can find what else is running and how to delete it.

@Lampard11
Copy link
Author

Pretty sure you were hacked. If I were to guess, that mbilling file is a renamed crypto miner, and is thus using all your CPU to mine bitcoint or anything else. The file mbilling.conf should contain the address of the pool which the miner should be posting to.

You can try using lsof -p (in your case, lsof -p 1852) to find the related files to this process, so you can find what else is running and how to delete it.

Thank you very much. The way attacker put it really felt like Magnus Billing was using all that CPU. On inspecting the code, it is really a crypto miner, thanks again.

@atorresa
Copy link

you are hacked. y has the same problem, any idea to prevent are hacked?

@yurikurka
Copy link
Contributor

yurikurka commented Nov 15, 2024 via email

@atorresa
Copy link

i find 3 php.ini files, what is the php file to change

@williamfjm
Copy link

The vulnerability was located a while ago, here is the solution to remote command execution, I hope.
It doesn't seem to be corrected in the main branch... (delete the file)

https://www.incibe.es/incibe-cert/alerta-temprana/vulnerabilidades/cve-2023-30258
CVE-2023-30258
ccff9f6

@atorresa
Copy link

i install new machine using Debian 12 and the las version of magnus with the same behavior, i see calls from magnus to my users, tring to register.

i don't know how to secure the magnus

magnus and debian are full upgraded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants