Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Security Basics - MySQL 101 track
Search
David Busby
April 16, 2015
Technology
38
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Security Basics - MySQL 101 track
Slides to accompany talk:
https://www.youtube.com/watch?v=dlcZyLVs5kE
David Busby
April 16, 2015
Other Decks in Technology
See All in Technology
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
190
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
今さら理解するウェブフォントver.2026
takanorip
3
770
Getting Started with Google Antigravity
glaforge
0
300
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
110
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
160
分析AIエージェントを育てる、動く環境を育てる
codatum
1
1.1k
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
330
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Design in an AI World
tapps
1
350
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
Git: the NoSQL Database
bkeepers
PRO
433
67k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
The browser strikes back
jonoalderson
0
1.8k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Transcript
MySQL 101 Security Basics David Busby 2015-04-16
`whoami` • David Busby –Information Security Architect –Percona since Jan
2013 –Several talks on Security 2
You will be compromised • Let's talk about –Kübler-Ross model
–Acceptance –Damage Limitation –Mitigation –Focus on what can be controlled 3
You will be compromised • Let's NOT talk about –$three_letter_agencies
–$govt –$espionage –$doomsday_scenario 4
Security from the ground up • Let's talk about –A
solid foundation –VM, Baremetal –Side channel attacks –Phishing, Spear Phishing –Social Engineering –Unintentional emissions 5
Because … acronyms! • Let's talk about –A.C.L –P.O.L.P –M.A.C
–D.A.C –I.D.S / I.P.S –W.A.F 6
Because … acronyms! • I.D.S 7
Because … acronyms! • I.P.S 8
Plugging the holes • Let's talk about – Attack surface
– Reduce avenues of access – Reduce visibility – Remove Bad ACLs l ANY ↔ ANY:ANY l GRANT ALL – Bad file permissions – 0640 files, 0750 dirs 9
Plugging the holes • Let's continue to talk about –Attack
surface –Remove redundant packages –Remove redundant services –Isolate the DB system via network ACL –Don't be the guy in the “target vest” 10
Plugging the holes • Let's talk about –MySQL security features
–sha256_password –auth_pam –Proxy groups l Requires MySQL >= 5.7.7 l Or use of auth plugin 11
Plugging the holes • Let's talk about –Selective grants
NO: “ALL on *.*” NO: “SUPER” 12
Plugging the holes • Let's talk about –MySQL auth handshake
&& passwords (default 5.x) –Password storage: sha1(sha1(password)) –Auth: SHA1(password) XOR (salt + sha1(sha1(password))) –Strong passwords are KEY! 13
Plugging the holes 14
Plugging the holes 15
Why password complexity is important • We've “recovered” the passwords
MUCH: ACA068D24BC58DB72E9D3C2D8D29D43FB6F674D9 PASS: B415DD9C4FB5EF59FE80C4FEBC1F9C715E6E97C4 SUCH: F469EBEEF4AD5F9DE9A0703EABF87DD88A7AF52D BAD: CB7DFF0540F8C51BF178A1502A286FB8F4A2691E WOW: F49091CCA44CEC66E65D3D97EA2C3F92D7636734 Fedora 19 x64, AMD catalyst 13.11, oclHashcat 1.01 Kernel 3.12.9-201 2 x AMD 7750 16
Plugging the holes • Let's talk about – REQUIRE SSL
– Auth takes place over SSL connection – Overhead – ssl_cipher 17
Plugging the holes • Let's talk about – Training your
employees – Train yourself – No “head in the sand” – Be aware of potential threats 18
… more acronyms • Let's talk about – B.Y.O.D –
I.o.T – Malicous H.I.D – Abusing / Malicious WiFi 19
Because … Demos 20