avoid having a really, really, REALLY bad day) Michael Cremean, Founder & CEO, Quadshot Digital Founder and Co-Host, Las Vegas WooCommerce Meetup Wordcamp Cincinnati 2017
Developers • Since 2009 deployed 100+ client projects • Our customers serve over a Billion pageviews a month • We <3 LAMP and AWS • Michael founded and co-hosts the Las Vegas WooCommerce Meetup • Our devs contribute to WP, WC and plugin code • We’ve built many WP and WC plugins • We support EFF https://eff.org. And you should too! • We also advocate https://letsencrypt.org - Free SSL Certs! Win...
2009 in Las Vegas • Previous 17 years as Director/CTO, worked on major worldwide projects • Several awards & 6 patents • Loves working with Nonprofits • Has super cute dogs (Maggie and Sally are customer service) • Loves WordPress, WooCommerce and Coffee (Company named for his favorite coffee drink) • Musician (Drummer, Guitar, Bass) Did you say ‘treat’?
do I need security? Is someone trying to hack me? YES! They might not succeed, but every website has been targeted at one time. Maybe right now! Real hackers wear suits and balaclavas. Posers.
of defence ◦ Only open ports you need (ex. 80, 443, 22) ◦ Avoid FTP, limit ssh by IPs • SERVER - 2nd line ◦ fail2ban and iptables preventing brute force before it even hits your app level http://www.fail2ban.org/ ◦ CPHulk (if you use cpanel - more brute force) ◦ File permissions - 0400 (except uploads, etc) • WEBSITE - 3rd line ◦ Security Plugins - iThemes, Wordfence, Security ◦ HTTPS All - Free Certificate from letsencrypt.org Today we’re focused on WordPress websites, but there is more to security than just the website. hw firewall Server Application WordPress + Plugins The Internet aka Hackerspace
many reasons, but they group into 3 categories: • Stealing ◦ User Information (ex. Names, Emails, Passwords, etc) ◦ Credit Card info • Hijacking your website ◦ Use your server as a remailer ◦ Use your server as part of a Zombie Net • For fun ◦ Because I can. Sometimes defacing. New Home Page!!!
to WP Template • 41% get hacked through vulnerabilities in their hosting platform • 29% by means of an insecure theme • 22% via a vulnerable plugin • 8% because of weak passwords Article: https://goo.gl/iMecwH Make sure to leave a post-it to make social engineering hacks easier!
To Protect yourself, think simple: 1. Prevent - Reduce ways people can attack you 2. Update - Regular maintenance to keep code up-to-date 3. Backup - Have offsite backups and recovery plan This is simple, and you just need information and tools.
& effort to Secure • WordPress is awesome. It’s very popular, so it is a popular target. • Yes, Security and Convenience are opposed. Security isn’t convenient, but much can be automated. • Hackers are generally lazy. Generally, they go after easy targets. Don’t be an easy target. • Mostly, because getting hacked SUCKS. • A little knowledge and a little effort can go a long way
Plugins a. The Pro Versions are demonstrated b. Both iThemes Security and Wordfence have free versions 2. Updates a. Either Auto-update (plugin can help) b. Manually update on schedule 3. Backups a. UpdraftPlus (Recommended), BackupBuddy, other offsite methods 4. Secure Site with HTTPS a. Free SSL Certs from LetsEncrypt
Passwords • Use Unique Passwords on every website ◦ Why? Keyloggers, Phishing and Social Engineering ◦ People often use the same password everywhere = easy hack ◦ Use a password manager and use unique passwords on each site Ex. 1password 2016 Top 25 Worst Passwords Source: SplashData
Update WordPress, Themes, Plugins often ◦ Pay attention to updates that say Security Update ◦ Update on Stage before Live ◦ Try not to update Live ◦ If you can, don’t update Live websites ◦ Updating Live websites is dangerous ◦ Hey, you might not want to update Live websites ◦ Did I mention… could break your site updating live • Keep your code in a repository with a known good version ◦ Git or SVN are your friends Totally secure, SIR!
◦ Why? If you get hacked, and your backups are on your server, your backups could be exploited. • Test your Recovery Process • We use Updraftplus Pro Where is the ‘Any’ key?
whole website HTTPS • Can be set using iThemes, or other methods • Really Simple SSL can fix non-secure media • Your web host can often set this for you • Secures your WP-Admin • Google gives a boost ranking to HTTPS websites ◦ https://goo.gl/zD1Gdh • You can also use HTTPS Everywhere to secure your browsing. Chrome Extension from EFF.org
are tons of them, but we use iThemes Security Pro ($80) and Wordfence Pro ($99) Backups - We use UpdraftPlus Pro ($70). (Some people like BackupBuddy.) There are FREE versions of all of them. If you use free, very handy but limited features. All 3 Pro would cost $249. There are often coupons available from their/other sites.
basic security • Lock down WordPress and your server internally to prevent exploits • Very Easy to Use Careful! • Some settings can prevent WooCommerce • Settings can lock you out of WP/Woo
options. Good news. Once you have setup ONE site, you can Export options (Pro Version) and import them on another site. So you only need to do this once.
vectors and brute force type attacks. • Can block countries that are problematic • Decent WAF - Web Application Firewall • Can import and export configs with tokens for easy setups. Here’s a token for Pro • 772c7779503bc372909679b794949ede540036c f798548a90426a1edaf77f4f2f169ed3c75f54c4d 690eb4ef2c433a806a68b6e4e74c4ff638bf8ba8 83392b6e Careful! • Making settings too paranoid can block legitimate traffic. • Set notifications so you don’t get flooded from non-emergencies “But I was told I need a firewall on my computer…”
else is done, consider Cloudflare. Cloudflare is a FREE CDN and Security Layer. You setup your site, and point DNS, and Voila. Your site will be more secure and run faster.