Docsity

SQL Server Security - Introduction to Database Security - Lecture Slides, Slides of Network security

Partial preview of the text

Download SQL Server Security - Introduction to Database Security - Lecture Slides and more Slides Network security in PDF only on Docsity!

SQL Server Security

SQL Server Security

  • Data protection
  • SQL Server vulnerabilities
    • Non-authenticated
    • Authenticated
  • UDP port 1434 is reserved for SQL Server
  • On unprotected systems, the value 0x02 sent via SQLPing fetches the following response: - ServerName: InfoSecLab - InstanceName: MSSQLSERVER - IsClustered: No - Version: 8.00. - np:\InfoSecLab\pipe\sql\query - via: InfoSecLab,0:
  • Run the command @@version in SQL. If SP2 is installed, then version # would be 8.00.
  • SQLPing response shows SP2 is not installed
  • SQLPing response shows that SQL Server is not ‘hidden’
  • The port # for a hidden SQL Server is 2433 and not 1434
  • SQLPing with value 0x04 causes stack overflow
  • SQLPing with value 0x08 crashes SQL Server via heap overflow
  • SQLPing with value 0x0A launches a denial of service attack
  • SQL Server “sa” account password by default is ‘null’. Spida worm showed how many SQL Server installation’s sa account still contained no password.
  • Spida worm details: http://www.bullguard.com/antivirus/vit_spida_b.a spx
  • SQL logins
    • Do not have lock out feature
    • Password complexity requirement
    • Account lifetime
  • Most of the vulnerabilities are based on buffer overflows
  • Many are discovered in extended stored procedures
  • Watch for the list provided on p. 23 of book. The references are for MS Security bulletins
  • NextGenSS provides several white papers on database security (http://www.ngssoftware.com/papers.htm)
  • Phishing white paper (42 pages): http://www.ngssoftware.com/papers/NISR-WP- Phishing.pdf