SlideShare uma empresa Scribd logo
1 de 7
資料庫安全防護的規劃案例
集英信誠 資料庫執行顧問
鍾凱心
7/19/2013
情況描述
 發現 OO 伺服器遭駭客入侵,經追蹤後得知為XX
系統的資料叢集伺服器,於SQL Server.exe目錄
植入異常程式
 查到曾有資料透過80埠丟到韓國IP位置,爾後駭
客曾經刻意造成網路癱瘓,目前還無法得知攻擊
目的。現已透過防火牆與網路設備鎖定IP與伺服
器的MAC Address,並將部分伺服器的80 port關
閉,以防止進一步的攻擊事件
 因伺服器受駭故無法信任伺服器之安全,故希望
檢測了解目前資料庫,確保內部資料是否安全無
疑
7/19/2013 | T-SQL Enhancements in SQL Server 20122 |
SQL Injection
 以T-SQL語法檢視User DB中是否有字元字串
型欄位被竄改內容
 靜態程式碼分析與Code review
 弱點偵測
7/19/2013 | T-SQL Enhancements in SQL Server 20123 |
全資料庫搜尋特定值
是否有異物
 SQL Server Agent Job 排程
 登入、使用者、角色
 角色內成員
 master、msdb 等系統資料庫是否有新增異常
物件
 是否有在 SQL Server 啟動時,自動執行的預存程
序
 駭客可能以通用有意義的物件命名。DBA 要
有個伺服器與 DB 內物件的資料字典
7/19/2013 | T-SQL Enhancements in SQL Server 20124 |
最小防護面
 介面組態設定
 常遇到的:
 xp_cmdshell
 AcHocRemoteQueries
 僅給予 Service Account 所需的權限
 停用不必要的服務,刪掉不必要的物件
7/19/2013 | T-SQL Enhancements in SQL Server 20125 |
認證與授權
 帳戶申請與最小權限
 高權限語法需特定帳號、特定設備、IP 與時段
執行、全程錄影
 不可否認、抵賴其所作行為
7/19/2013 | T-SQL Enhancements in SQL Server 20126 |
稽核與監控
 SQL Server:啟用SQL Server 安全性稽核
 監控近期是否有嘗試登入 SQL Server 但失敗的情
況
 進行高權限的命令執行動作,例如在Server或DB
上進行CREATE、ALTER或DROP物件,及
GRANT、REVOKE或DENY登入者權限等
 檢查 SQL Server Log、Windows Event Log
是否有異常
 購置第三方工具
7/19/2013 | T-SQL Enhancements in SQL Server 20127 |

Mais conteúdo relacionado

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

SQL PASS Taiwan 七月份聚會-4

  • 2. 情況描述  發現 OO 伺服器遭駭客入侵,經追蹤後得知為XX 系統的資料叢集伺服器,於SQL Server.exe目錄 植入異常程式  查到曾有資料透過80埠丟到韓國IP位置,爾後駭 客曾經刻意造成網路癱瘓,目前還無法得知攻擊 目的。現已透過防火牆與網路設備鎖定IP與伺服 器的MAC Address,並將部分伺服器的80 port關 閉,以防止進一步的攻擊事件  因伺服器受駭故無法信任伺服器之安全,故希望 檢測了解目前資料庫,確保內部資料是否安全無 疑 7/19/2013 | T-SQL Enhancements in SQL Server 20122 |
  • 3. SQL Injection  以T-SQL語法檢視User DB中是否有字元字串 型欄位被竄改內容  靜態程式碼分析與Code review  弱點偵測 7/19/2013 | T-SQL Enhancements in SQL Server 20123 | 全資料庫搜尋特定值
  • 4. 是否有異物  SQL Server Agent Job 排程  登入、使用者、角色  角色內成員  master、msdb 等系統資料庫是否有新增異常 物件  是否有在 SQL Server 啟動時,自動執行的預存程 序  駭客可能以通用有意義的物件命名。DBA 要 有個伺服器與 DB 內物件的資料字典 7/19/2013 | T-SQL Enhancements in SQL Server 20124 |
  • 5. 最小防護面  介面組態設定  常遇到的:  xp_cmdshell  AcHocRemoteQueries  僅給予 Service Account 所需的權限  停用不必要的服務,刪掉不必要的物件 7/19/2013 | T-SQL Enhancements in SQL Server 20125 |
  • 6. 認證與授權  帳戶申請與最小權限  高權限語法需特定帳號、特定設備、IP 與時段 執行、全程錄影  不可否認、抵賴其所作行為 7/19/2013 | T-SQL Enhancements in SQL Server 20126 |
  • 7. 稽核與監控  SQL Server:啟用SQL Server 安全性稽核  監控近期是否有嘗試登入 SQL Server 但失敗的情 況  進行高權限的命令執行動作,例如在Server或DB 上進行CREATE、ALTER或DROP物件,及 GRANT、REVOKE或DENY登入者權限等  檢查 SQL Server Log、Windows Event Log 是否有異常  購置第三方工具 7/19/2013 | T-SQL Enhancements in SQL Server 20127 |