wordpress_xmlrpc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wordpress_xmlrpc [2016/03/04 10:12] – luke7858 | wordpress_xmlrpc [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 15: | Line 15: | ||
\\ | \\ | ||
\\ | \\ | ||
- | ==What is an xmlrpc attack?== | + | == What is an xmlrpc attack?== |
xml-rpc can use **// | xml-rpc can use **// | ||
\\ | \\ | ||
Line 29: | Line 29: | ||
**__NOTE__**: | **__NOTE__**: | ||
\\ | \\ | ||
- | It can be used with Perl, Java, Python, C, C++, PHP and many other programming languages | + | It can be used with Perl, Java, Python, C, C++, PHP and many other programming languages. |
\\ | \\ | ||
\\ | \\ | ||
+ | Checking apache and nginx logs for xmlrpc | ||
+ | \\ | ||
+ | <sxh bash> | ||
+ | awk '/ | ||
+ | </ | ||
\\ | \\ | ||
Basic configuration: | Basic configuration: | ||
<sxh bash> | <sxh bash> | ||
To prevent xmlrpc attacks add the following to a .htaccess | To prevent xmlrpc attacks add the following to a .htaccess | ||
- | <sxh bash> | ||
<Files " | <Files " | ||
Order Allow,Deny | Order Allow,Deny | ||
Line 46: | Line 50: | ||
**__Apache .htaccess: | **__Apache .htaccess: | ||
<sxh bash> | <sxh bash> | ||
- | <files xmlrpc.php=""> | + | <Files "xmlrpc.php"> |
Order Deny,Allow | Order Deny,Allow | ||
Deny from all | Deny from all | ||
Line 66: | Line 70: | ||
</ | </ | ||
\\ | \\ | ||
+ | \\ | ||
+ | Allowing Wordpress IPs | ||
+ | <sxh bash> | ||
+ | | ||
+ | allow 192.0.64.0/ | ||
+ | deny all; | ||
+ | access_log off; #to prevent from filling up the access log file | ||
+ | error_log off; #to prevent from filling up the error log file | ||
+ | } | ||
+ | </ | ||
\\ | \\ | ||
== JetPack == | == JetPack == | ||
Line 76: | Line 90: | ||
\\ | \\ | ||
\\ | \\ | ||
- | === Wordfence === | ||
\\ | \\ | ||
+ | === Wordfence === | ||
##CURRENTLY INVESTIGATING ## | ##CURRENTLY INVESTIGATING ## | ||
\\ | \\ |
wordpress_xmlrpc.1457086340.txt.gz · Last modified: 2024/05/23 07:26 (external edit)