What is a backdoor?
A backdoor in the context of FiveM (or any software) is like a secret hidden entrance into a system. Imagine you have a house with a locked front door, but someone secretly installs a hidden door that only they know about. This hidden door allows them to get into your house whenever they want, without you knowing.
Why am I here?
You are here because your server keeps crashing while you have no clue why this happens. I hate to break it to you, but your server is infected with a backdoor.
How could this have happened??
The cause of this problem is installing leaked resources, these resources contain malware.
Locate the backdoor
Browse to your resources folder
- Open Visual Studio Code
- In the top left click "File"
- Click "Open Folder"
- Browse to your resources folder and open this entire folder in Visual Studio Code.
Look for the backdoor
- Press
Ctrl + Shift + F
on your keyboard, a textbox should now appear where you write the following:
const _ = Buffer.from
The result
If your results look like this
, that means that there is a backdoor in your server.
What do I do now???
Because your Operating System is now infected with malware, the only solution is to reset the entire Operating System.
How can I prevent this from happening in the future?
Like mentioned before, the only reason you have this backdoor in your server is because someone, either you or a developer, installed leaked resources into your server. The only place where you should get your resources from is from the Cfx forums (opens in a new tab) and Tebex stores.
After resetting your entire OS, you can use your old resources just fine BUT make sure they are safe and do not contain the backdoor.