I access my apache error log and i saw many records like the below:
[Sun Aug 25 21:04:51.937280 2019] [php7:error] [pid 18975] [client 132.232.131.248:46198] script ‘/var/www/mydomain.com/cloud/aotu7.php’ not found or unable to stat
[Sun Aug 25 21:04:52.180715 2019] [php7:error] [pid 18975] [client 132.232.131.248:46198] script ‘/var/www/mydomain.com/cloud/cmd.php’ not found or unable to stat
[Sun Aug 25 21:04:52.423648 2019] [php7:error] [pid 18975] [client 132.232.131.248:46198] script ‘/var/www/mydomain.com/cloud/cmd.php’ not found or unable to stat
[Sun Aug 25 21:04:53.313171 2019] [php7:error] [pid 18975] [client 132.232.131.248:46198] script ‘/var/www/mydomain.com/cloud/bak.php’ not found or unable to stat
It seems to be a bot that is trying to run some scripts on my server, however how can i block such attacks? I am a paid Cloudflare members so i have already enable the WAF. Blocking each single IP and also blocking China, is not a valid solution!
What you could try for a start is to impose a JavaScript challenge on China. That wont block Chinese requests, but those requests are unlikely to pass.
I am not asking a third time for access log entries.
No, Cloudflare does not automatically block something, as long as it could be legitimate and the IP address is not flagged. You can also try to increase your security level to High.