WordPress
      Mini Word Camp 7
Basic WordPress Security Tips


           By Catch Internet Pvt. Ltd.
WordPress Security

• WordPress popularity and usage brings
in new threat

• WordPress basic security is necessary
for all the users

• Most hackers in the internet are looking
for the easy way
Purpose of the Presentation
Is to Scare the crap out of you!




       Image by http://blog.mysanantonio.com
Purpose of the Presentation
And then make everyone feel better
What We Will Cover

• WordPress Hosting Servers

• Example of Link Injection Hacks

• How to Secure your WordPress site
basics

• WordPress Security Plugins
Do I Really Need To Secure WP

• There is nothing valuable on my site

• I only have limited visitors on my site

• I thought I already was secured

• Who is going to hack my site

• I already turned off the comments for
security
Yes You Have to Secure Your WP

        Check your Hosting:
  Well Known, Customer Service,
   Secure, Review Check, Linux
  Based, Control Panel, Backup
Server Minimum Requirements
• PHP 5.2.4 or greater
•MySQL 5.0 or greater
• The mod_rewrite Apache module
Recommended Hosting

•Bluehost

•MediaTemple

•WestHost

•DreamHost

• WordPress VIP, Choppa, VPS
(Premium Servers)
Hidden Link Injection Hacks
• Upload/ Plugin/ Themes (TimThumb)/Core
Wordpress/Multi WordPress

• Uses css to hide it in style. Display:none;

• Mostly used for get your SEO Ranking

• Mostly initiated by basicpills.com and many other
domains located at 212.117.161.190

• Another easy hacks
Hidden Link Injection Hacks
•These are some of the links you will see in an infected site:
<a href="http://basicpills .
com/">online prescription drugs without a prescription..
<a href="http://generic-ed-pharmacy . com/">Buy Generic Viagra Onlin.
<a href="http://getrxpills . com/buy/levitra.html”>levitra 10 mg..

•Mostly these spam links are all related to pharmacy products
leading you to one of the following domains:
antibioticsordrer.com, antibiotics-shop.com, basicpills.com,
buynolvadexcheap.com, cheappillsonline.net, dacompliasale.com
dlevitraonline.com, dzithromaxsbuy.com, generic-ed-pharmacy.com,
getrxpills.com, kamagrasorder.com, onlineacompliacheap.com,
onlinecialischeap.net, onlinelevitracheap.com, onlinelevitracheap.net,
onlineviagracheap.com, onlineviagracheap.net, peampicillinonline.com,
rx-prices.com, sclomidbuy.com, sdoxycyclinebuy.com, sviagrarbuy.com,
vicialisabuy.com, wpropecianonline.com
How to Secure your WP Site basics
• Keep your Core WordPress, Theme, Plugins
Updated.

• No Admin user account

• Use Secure Username and Password
(http://goodpassword.com/)

• Folder Permission: Rule of Thumb, file 644,
folder 755
How to Secure your WP Site basics
•Remove WordPress Version from Header
//Removing wp version
generatorremove_action('wp_head',
'wp_generator');

•Use a Secret Key in wp-config.php
https://api.wordpress.org/secret-key/1.1/salt/

•Change WP Table Prefix in wp-config.php
$table_prefix = 'yourtable_12';
How to Secure your WP Site basics
•Directories should not be left open for
public browsing
.htaccess
Options All –Indexes

•Nobody should be allowed to search your
entire server.
Do not use this search code in your search
form <?php echo $_SERVER ['PHP_SELF']; ?> and
use this instead <?phpbloginfo (‘home’); ?>
How to Secure your WP Site basics
•Block WP-folder from being indexed by
Search Engine.
Best way to block, add the following code in
your robots.txt file
Disallow: /wp-*

• Prevent Unnecessary Info From Being
Displayed
Add the following filter in function.php
add_filter('login_errors',create_function('$a', "return null;"));
How to Secure your WP Site basics
•Protect WordPress Admin:
Use .htaccess and allow only specific IP address
(http://whatismyip.com)
AuthUserFile/dev/null
AuthGroupFile/dev/null
AuthName “Access Control”
AuthType Basic
<LIMIT GET>
order deny, allow
deny from all
#IP address to Whitelist
allow from xxx.xxx.xxx.xxx
allow from xxx.xxx.xxx.xxx
</LIMIT>
How to Secure your WP Site basics
• Restrict File Access to wp-content
WordPress doesn’t access the PHP files in the
plugins and theme directory via HHTP.
The Only request from web browser are for
images, havascripts and css.

In .htaccess file in wp-content
Oder Allow, Deny
Deny From all <Files ~ ".(css|jpe?g|png|gif|js)$">
Allow from all
</files>
How to Secure your WP Site basics
• Protect from Script Injections
Protect from script injections and any attempt to
modify the PHP GLOBALS and
_REQUESTvariables.
In .htaccess file in wp-content
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} (|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
How to Secure your WP Site basics
• Fight Back Against Content Scrapers
Protect you site against hot-linking and content
scrapers

Add the following code in your .htaccess file
RewriteEngine On
#Replace ?mysite.com/ with your blog url
RewriteCond %{HTTP_REFERER} !^http://(.+.)?mysite.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
#Replace /images/nohotlink.jpg with your "don't hotlink" image url
RewriteRule .*.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L]
How to Secure your WP Site basics
• Protect your wp-config.php file
During the server problem, wp-config.php might
be shown
• To Make it secure by adding the following
code in .htaccess at root
<FilesMatch ^wp-config.php$>deny from all</FilesMatch>

• Backup Your Database and Files
Schedule backup your Database and File. You can use the following
plugins:
•VaultPress
•BAckupBuddy
WordPress Security Plugins
WordPress Security Plugins
        Signup in websitedefender.com
WordPress Security Plugins
WordPress Security Plugins
WordPress Security Plugins
WordPress Security Basics
                     Thanks you
For more visit our site
Catchintenet.com
http://catchinternet.com/blog/wordpress-security-tips/

My personal Blog
Sakinshrestha.com
http://sakinshrestha.com/wordpress/fix-if-your-wordpress-
site-is-hacked/
http://sakinshrestha.com/wordpress/wordpress-security-tips/

More Related Content

PPTX
20 tips to Improving Your WordPress Site...for Beginners
PDF
Identifying a Compromised WordPress Site
PPTX
Building Secure WordPress Sites
PDF
8 Ways to Hack a WordPress website
PPTX
20 Tips to Improving WordPress Website - for Beginners-Aus-2017
PPTX
How To Lock Down And Secure Your Wordpress
PDF
8 Simple Ways to Hack Your Joomla
PPT
Securing Your WordPress Website - WordCamp GC 2011
20 tips to Improving Your WordPress Site...for Beginners
Identifying a Compromised WordPress Site
Building Secure WordPress Sites
8 Ways to Hack a WordPress website
20 Tips to Improving WordPress Website - for Beginners-Aus-2017
How To Lock Down And Secure Your Wordpress
8 Simple Ways to Hack Your Joomla
Securing Your WordPress Website - WordCamp GC 2011

What's hot (20)

PDF
Beating Spam On Your WordPress Website - WordCamp Melbourne 2013
PDF
Secure Wordpress - 2016[17May - Mashhad]
KEY
Securing WordPress by Jeff Hoffman
PDF
WORDPRESS SECURITY: HOW TO AVOID BEING HACKED
PPT
WordPress Security
PDF
Be Securious – Hack Your Own Site for Better Security
PDF
Word press security checklist
PPTX
WordPress Security Updated - NYC Meetup 2009
PDF
ResellerClub Ctrl+F5 - WordPress Security session
PDF
WordPress Security WordCamp OC 2013
PPTX
Dan Catalin Vasile - Hacking the Wordpress Ecosystem
PDF
Http only cookie
PDF
Basic Plugin Recommendations to get your WordPress Website Started
PPTX
WordPress End-User Security
PPTX
WordPress Security - WordPress Meetup Copenhagen 2013
PPTX
Joomla! security jday2015
PPT
WordCamp Chicago 2011 - WordPress End User Security - Dre Armeda
PPTX
GDPR and EA Commissioning a web site Part 6 of 8
PPTX
WordPress Security: Defend yourself against digital invaders
PPT
WordPress End-User Security - WordCamp Las Vegas 2011
Beating Spam On Your WordPress Website - WordCamp Melbourne 2013
Secure Wordpress - 2016[17May - Mashhad]
Securing WordPress by Jeff Hoffman
WORDPRESS SECURITY: HOW TO AVOID BEING HACKED
WordPress Security
Be Securious – Hack Your Own Site for Better Security
Word press security checklist
WordPress Security Updated - NYC Meetup 2009
ResellerClub Ctrl+F5 - WordPress Security session
WordPress Security WordCamp OC 2013
Dan Catalin Vasile - Hacking the Wordpress Ecosystem
Http only cookie
Basic Plugin Recommendations to get your WordPress Website Started
WordPress End-User Security
WordPress Security - WordPress Meetup Copenhagen 2013
Joomla! security jday2015
WordCamp Chicago 2011 - WordPress End User Security - Dre Armeda
GDPR and EA Commissioning a web site Part 6 of 8
WordPress Security: Defend yourself against digital invaders
WordPress End-User Security - WordCamp Las Vegas 2011

Similar to WordPress Security Tips (20)

PPTX
Wordpress Security & Hardening Steps
PPTX
Protect Your WordPress From The Inside Out
PDF
WordCamp Mid-Atlantic WordPress Security
PPT
WordPress Security - WordCamp Boston 2010
PPT
WordPress Security - WordCamp NYC 2009
PPT
Now That's What I Call WordPress Security 2010
PDF
Security Presentation for Boulder WordPress Meetup
PPTX
How to Secure your WordPress Website - WordCamp UK 2014
PDF
How to Secure Your WordPress Site
PDF
Intro to Security (Beginner's Edition) WordCamp St. Louis 2015
PPTX
WordPress Plugins and Security
PDF
WordPress 201
PDF
How to Increase Security on your Wordpress Website
PPTX
WordPress Security Best Practices
PDF
Your WordPress Site is and is not Hacked - You don't know until you check
PDF
Top Ten WordPress Security Tips for 2012
PPTX
Word camp pune 2013 security
PPT
Is your Wordpress safe enough?
PPT
Secure All The Things!
PPT
2010 11 pubcon_hendison-hosting
Wordpress Security & Hardening Steps
Protect Your WordPress From The Inside Out
WordCamp Mid-Atlantic WordPress Security
WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp NYC 2009
Now That's What I Call WordPress Security 2010
Security Presentation for Boulder WordPress Meetup
How to Secure your WordPress Website - WordCamp UK 2014
How to Secure Your WordPress Site
Intro to Security (Beginner's Edition) WordCamp St. Louis 2015
WordPress Plugins and Security
WordPress 201
How to Increase Security on your Wordpress Website
WordPress Security Best Practices
Your WordPress Site is and is not Hacked - You don't know until you check
Top Ten WordPress Security Tips for 2012
Word camp pune 2013 security
Is your Wordpress safe enough?
Secure All The Things!
2010 11 pubcon_hendison-hosting

More from Catch Themes (10)

PDF
Building WordPress Theme Business: My Story
PDF
Speaking at WordCamps? What not to do…
PDF
Opening Remarks - WordCamp Kathmandu, 2016
PDF
Breaking social barriers and creating opportunities
PDF
World of Creative Designer & Front-end-Developer
PDF
Approaches To WordPress Theme Development
PPTX
Contributing to WordPress Theme Review at WordPress.org
PDF
How to get your theme on Top 15 Popular Themes at WordPress.org
PPTX
Starting WordPress Theme Review
PPT
WordPress Uses & Scope
Building WordPress Theme Business: My Story
Speaking at WordCamps? What not to do…
Opening Remarks - WordCamp Kathmandu, 2016
Breaking social barriers and creating opportunities
World of Creative Designer & Front-end-Developer
Approaches To WordPress Theme Development
Contributing to WordPress Theme Review at WordPress.org
How to get your theme on Top 15 Popular Themes at WordPress.org
Starting WordPress Theme Review
WordPress Uses & Scope

Recently uploaded (20)

PDF
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
PDF
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
PDF
1_Keynote_Breaking Barriers_한계를 넘어서_Charith Mendis.pdf
PDF
Intravenous drug administration application for pediatric patients via augmen...
PPTX
Blending method and technology for hydrogen.pptx
PPTX
Report in SIP_Distance_Learning_Technology_Impact.pptx
PPTX
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
PPTX
Information-Technology-in-Human-Society (2).pptx
PPTX
From XAI to XEE through Influence and Provenance.Controlling model fairness o...
PDF
Secure Java Applications against Quantum Threats
PPT
Overviiew on Intellectual property right
PDF
Fitaura: AI & Machine Learning Powered Fitness Tracker
PDF
Child-friendly e-learning for artificial intelligence education in Indonesia:...
PDF
substrate PowerPoint Presentation basic one
PDF
Advancements in abstractive text summarization: a deep learning approach
PPTX
Presentation - Principles of Instructional Design.pptx
PDF
Optimizing bioinformatics applications: a novel approach with human protein d...
PPTX
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
PDF
Applying Agentic AI in Enterprise Automation
PDF
Introduction to c language from lecture slides
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
1_Keynote_Breaking Barriers_한계를 넘어서_Charith Mendis.pdf
Intravenous drug administration application for pediatric patients via augmen...
Blending method and technology for hydrogen.pptx
Report in SIP_Distance_Learning_Technology_Impact.pptx
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
Information-Technology-in-Human-Society (2).pptx
From XAI to XEE through Influence and Provenance.Controlling model fairness o...
Secure Java Applications against Quantum Threats
Overviiew on Intellectual property right
Fitaura: AI & Machine Learning Powered Fitness Tracker
Child-friendly e-learning for artificial intelligence education in Indonesia:...
substrate PowerPoint Presentation basic one
Advancements in abstractive text summarization: a deep learning approach
Presentation - Principles of Instructional Design.pptx
Optimizing bioinformatics applications: a novel approach with human protein d...
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
Applying Agentic AI in Enterprise Automation
Introduction to c language from lecture slides

WordPress Security Tips

  • 1. WordPress Mini Word Camp 7 Basic WordPress Security Tips By Catch Internet Pvt. Ltd.
  • 2. WordPress Security • WordPress popularity and usage brings in new threat • WordPress basic security is necessary for all the users • Most hackers in the internet are looking for the easy way
  • 3. Purpose of the Presentation Is to Scare the crap out of you! Image by http://blog.mysanantonio.com
  • 4. Purpose of the Presentation And then make everyone feel better
  • 5. What We Will Cover • WordPress Hosting Servers • Example of Link Injection Hacks • How to Secure your WordPress site basics • WordPress Security Plugins
  • 6. Do I Really Need To Secure WP • There is nothing valuable on my site • I only have limited visitors on my site • I thought I already was secured • Who is going to hack my site • I already turned off the comments for security
  • 7. Yes You Have to Secure Your WP Check your Hosting: Well Known, Customer Service, Secure, Review Check, Linux Based, Control Panel, Backup Server Minimum Requirements • PHP 5.2.4 or greater •MySQL 5.0 or greater • The mod_rewrite Apache module
  • 9. Hidden Link Injection Hacks • Upload/ Plugin/ Themes (TimThumb)/Core Wordpress/Multi WordPress • Uses css to hide it in style. Display:none; • Mostly used for get your SEO Ranking • Mostly initiated by basicpills.com and many other domains located at 212.117.161.190 • Another easy hacks
  • 10. Hidden Link Injection Hacks •These are some of the links you will see in an infected site: <a href="http://basicpills . com/">online prescription drugs without a prescription.. <a href="http://generic-ed-pharmacy . com/">Buy Generic Viagra Onlin. <a href="http://getrxpills . com/buy/levitra.html”>levitra 10 mg.. •Mostly these spam links are all related to pharmacy products leading you to one of the following domains: antibioticsordrer.com, antibiotics-shop.com, basicpills.com, buynolvadexcheap.com, cheappillsonline.net, dacompliasale.com dlevitraonline.com, dzithromaxsbuy.com, generic-ed-pharmacy.com, getrxpills.com, kamagrasorder.com, onlineacompliacheap.com, onlinecialischeap.net, onlinelevitracheap.com, onlinelevitracheap.net, onlineviagracheap.com, onlineviagracheap.net, peampicillinonline.com, rx-prices.com, sclomidbuy.com, sdoxycyclinebuy.com, sviagrarbuy.com, vicialisabuy.com, wpropecianonline.com
  • 11. How to Secure your WP Site basics • Keep your Core WordPress, Theme, Plugins Updated. • No Admin user account • Use Secure Username and Password (http://goodpassword.com/) • Folder Permission: Rule of Thumb, file 644, folder 755
  • 12. How to Secure your WP Site basics •Remove WordPress Version from Header //Removing wp version generatorremove_action('wp_head', 'wp_generator'); •Use a Secret Key in wp-config.php https://api.wordpress.org/secret-key/1.1/salt/ •Change WP Table Prefix in wp-config.php $table_prefix = 'yourtable_12';
  • 13. How to Secure your WP Site basics •Directories should not be left open for public browsing .htaccess Options All –Indexes •Nobody should be allowed to search your entire server. Do not use this search code in your search form <?php echo $_SERVER ['PHP_SELF']; ?> and use this instead <?phpbloginfo (‘home’); ?>
  • 14. How to Secure your WP Site basics •Block WP-folder from being indexed by Search Engine. Best way to block, add the following code in your robots.txt file Disallow: /wp-* • Prevent Unnecessary Info From Being Displayed Add the following filter in function.php add_filter('login_errors',create_function('$a', "return null;"));
  • 15. How to Secure your WP Site basics •Protect WordPress Admin: Use .htaccess and allow only specific IP address (http://whatismyip.com) AuthUserFile/dev/null AuthGroupFile/dev/null AuthName “Access Control” AuthType Basic <LIMIT GET> order deny, allow deny from all #IP address to Whitelist allow from xxx.xxx.xxx.xxx allow from xxx.xxx.xxx.xxx </LIMIT>
  • 16. How to Secure your WP Site basics • Restrict File Access to wp-content WordPress doesn’t access the PHP files in the plugins and theme directory via HHTP. The Only request from web browser are for images, havascripts and css. In .htaccess file in wp-content Oder Allow, Deny Deny From all <Files ~ ".(css|jpe?g|png|gif|js)$"> Allow from all </files>
  • 17. How to Secure your WP Site basics • Protect from Script Injections Protect from script injections and any attempt to modify the PHP GLOBALS and _REQUESTvariables. In .htaccess file in wp-content Options +FollowSymLinks RewriteEngine On RewriteCond %{QUERY_STRING} (|%3E) [NC,OR] RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR] RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2}) RewriteRule ^(.*)$ index.php [F,L]
  • 18. How to Secure your WP Site basics • Fight Back Against Content Scrapers Protect you site against hot-linking and content scrapers Add the following code in your .htaccess file RewriteEngine On #Replace ?mysite.com/ with your blog url RewriteCond %{HTTP_REFERER} !^http://(.+.)?mysite.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ #Replace /images/nohotlink.jpg with your "don't hotlink" image url RewriteRule .*.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L]
  • 19. How to Secure your WP Site basics • Protect your wp-config.php file During the server problem, wp-config.php might be shown • To Make it secure by adding the following code in .htaccess at root <FilesMatch ^wp-config.php$>deny from all</FilesMatch> • Backup Your Database and Files Schedule backup your Database and File. You can use the following plugins: •VaultPress •BAckupBuddy
  • 21. WordPress Security Plugins Signup in websitedefender.com
  • 25. WordPress Security Basics Thanks you For more visit our site Catchintenet.com http://catchinternet.com/blog/wordpress-security-tips/ My personal Blog Sakinshrestha.com http://sakinshrestha.com/wordpress/fix-if-your-wordpress- site-is-hacked/ http://sakinshrestha.com/wordpress/wordpress-security-tips/