Home
%3CLINGO-SUB%20id%3D%22lingo-sub-383566%22%20slang%3D%22en-US%22%3EWhat's%20a%20STIG%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-383566%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20TECHNET%20on%20Oct%2007%2C%202009%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20STIGs%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESTIG%20stands%20for%20Security%20Technical%20Implementation%20Guide%2C%20and%20there%20are%20many%20STIGs%20created%20by%20the%20Field%20Security%20Office%20(FSO)%20of%20the%20Information%20Assurance%20Support%20Environment%20(IASE)%20of%20the%20Defense%20Information%20Systems%20Agency%20(DISA)%20for%20the%20Department%20of%20Defense%20(DoD).%20Got%20that%3F%20Good%2C%20'cause%20there%20will%20be%20a%20quiz%20later.%20Each%20STIG%20covers%20one%20general%20I.T.%20topic%2C%20such%20as%20the%20Database%20STIG.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EWait...%20The%20Defense%20Department%3F%20So%20are%20these%20STIGs%20highly%20classified%20Federal%20government%20secrets%20and%20if%20you%20see%20them%2C%20they'll%20make%20you%20disappear%20or%20erase%20your%20memory%3F%20Nah%2C%20they%20make%20the%20STIGs%20public%20information%2C%20and%20they're%20commonly%20used%20by%20many%20organizations%20that%20want%20the%20best%20security%20possible%20for%20their%20I.T.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3EChecklists%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20For%20each%20general%20STIG%2C%20there%20are%20one%20or%20more%20general%20or%20specific%20Security%20Checklists%2C%20such%20as%20the%20%22Database%20Security%20Checklist%20for%20MS%20SQL%20Server%202005%2C%20Version%208%2C%20Release%201.2%22.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3ESRR%20Scripts%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20For%20each%20Security%20Checklist%2C%20there%20may%20be%20one%20or%20more%20Security%20Readiness%20Review%20(SRR)%20scripts%2C%20each%20of%20which%20is%20intended%20to%20help%20administrators%20determine%20if%20their%20systems%20comply%20with%20the%20appropriate%20STIG.%20For%20example%2C%20you%20can%20download%20an%20SRR%20for%20SQL%20Server%20named%20sql_server_script_v8r1-2_2009_06_26.zip.%20When%20you%20extract%20the%20zip%20file%2C%20you'll%20find%20an%20executable%20named%20SQLServer_20090701.exe%2C%20a%20readme%20file%2C%20release%20notes%2C%20and%20a%20set%20of%20.swp%20files%20(such%20as%20dbsrr-sql-i9.swp).%20There's%20a%20.swp%20file%20for%20each%20version%20of%20SQL%20Server.%20The%20executable%20brings%20up%20a%20graphic%20interface%20that%20walks%20you%20through%20targeting%20a%20SQL%20Server%20instance%2C%20then%20it%20reads%20the%20.swp%20files%2C%20runs%20some%20queries%2C%20and%20outputs%20reports%20which%20list%20checklist%20items%20that%20failed%20the%20checks.%20The%20reports%20also%20include%20some%20checklist%20items%20that%20must%20be%20checked%20manually.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EHere's%20a%20tip%20for%20ya%3A%20The%20.swp%20files%20are%20T-SQL%20scripts%2C%20so%20you%20can%20load%20them%20and%20read%20them%20color-coded%20in%20SQL%20Server%20Management%20Studio%20(SSMS)%20or%20Query%20Analyzer%20(QA).%20If%20you've%20got%20.sql%20associated%20with%20SSMS%20or%20QA%2C%20just%20rename%20the%20.swp%20files%20to%20.sql%20and%20you%20can%20then%20double-click%20them%20to%20open%20them%2C%20examine%20the%20code%20that%20performs%20the%20checks%2C%20and%20compare%20the%20code%20against%20the%20Checklist%20and%20the%20STIG.%20You%20can%20run%20the%20checks%20all%20at%20once%2C%20or%20you%20can%20tweak%20the%20variables%20to%20run%20one%20check%20at%20a%20time.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIf%20you%20fellow%20T-SQL%20geeks%20find%20any%20errors%20or%20weaknesses%20in%20an%20SRR%20script%2C%20contact%20me%20here%20and%20I'll%20pass%20it%20along%20to%20get%20fixed%2C%20but%20I'm%20gonna%20try%20to%20find%20them%20all%20before%20you%20do.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI've%20also%20got%20a%20few%20scripts%20I%20use%20to%20make%20changes%20to%20a%20default%20SQL%20Server%20configuration%20to%20make%20it%20compliant%20with%20the%20Database%20STIG%2C%20and%20I'll%20be%20posting%20those%20here%20from%20time%20to%20time.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ECheers%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EJohn%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20REFERENCES%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESTIGs%20%3CBR%20%2F%3E%20%3CA%20href%3D%22http%3A%2F%2Fiase.disa.mil%2Fstigs%2Fstig%2Findex.html%22%20mce_href%3D%22http%3A%2F%2Fiase.disa.mil%2Fstigs%2Fstig%2Findex.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fiase.disa.mil%2Fstigs%2Fstig%2Findex.html%20%3C%2FA%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESecurity%20Checklists%20%3CBR%20%2F%3E%20%3CA%20href%3D%22http%3A%2F%2Fiase.disa.mil%2Fstigs%2Fchecklist%2Findex.html%22%20mce_href%3D%22http%3A%2F%2Fiase.disa.mil%2Fstigs%2Fchecklist%2Findex.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fiase.disa.mil%2Fstigs%2Fchecklist%2Findex.html%20%3C%2FA%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESecurity%20Readiness%20Review%20scripts%20%3CBR%20%2F%3E%20%3CA%20href%3D%22http%3A%2F%2Fiase.disa.mil%2Fstigs%2FSRR%2Findex.html%22%20mce_href%3D%22http%3A%2F%2Fiase.disa.mil%2Fstigs%2FSRR%2Findex.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fiase.disa.mil%2Fstigs%2FSRR%2Findex.html%20%3C%2FA%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EFSO%20Security%20Whitepapers%20%3CBR%20%2F%3E%20%3CA%20href%3D%22http%3A%2F%2Fiase.disa.mil%2Fstigs%2Fwhitepaper%2Findex.html%22%20mce_href%3D%22http%3A%2F%2Fiase.disa.mil%2Fstigs%2Fwhitepaper%2Findex.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fiase.disa.mil%2Fstigs%2Fwhitepaper%2Findex.html%20%3C%2FA%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-383566%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TECHNET%20on%20Oct%2007%2C%202009%20STIGs%26nbsp%3BSTIG%20stands%20for%20Security%20Technical%20Implementation%20Guide%2C%20and%20there%20are%20many%20STIGs%20created%20by%20the%20Field%20Security%20Office%20(FSO)%20of%20the%20Information%20Assurance%20Support%20Environment%20(IASE)%20of%20the%20Defense%20Information%20Systems%20Agency%20(DISA)%20for%20the%20Department%20of%20Defense%20(DoD).%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-383566%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESQLServerSecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1143704%22%20slang%3D%22en-US%22%3ERe%3A%20What's%20a%20STIG%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1143704%22%20slang%3D%22en-US%22%3E%3CP%3EGreat%20article%2C%20and%20those%20SSR's%20were%20useful%2C%20but%20I%20haven't%20noticed%20much%20from%20the%20SQL%20Server%20Team%20about%20SQL%20STIGs%20for%202016.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20submit%20other%20useful%20STIG%20tools%20to%20your%20team%20for%20review%3F%26nbsp%3B%20I%20developed%20a%20VERY%20comprehensive%20SQL%20SCAP%20tool%20to%20complete%20DISA's%20instance%20and%20database%20checklists%20for%20SQL%20Server%202016%20that%20writes%20results%20directly%20to%20the%20checklist%2C%20and%20I%20would%20love%20to%20subject%20it%20to%20some%20authoritative%20testing.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EAnthony%20Borelli%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.borellisecuritysoftware.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.borellisecuritysoftware.com%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft
First published on TECHNET on Oct 07, 2009

STIGs


STIG stands for Security Technical Implementation Guide, and there are many STIGs created by the Field Security Office (FSO) of the Information Assurance Support Environment (IASE) of the Defense Information Systems Agency (DISA) for the Department of Defense (DoD). Got that? Good, 'cause there will be a quiz later. Each STIG covers one general I.T. topic, such as the Database STIG.


Wait... The Defense Department? So are these STIGs highly classified Federal government secrets and if you see them, they'll make you disappear or erase your memory? Nah, they make the STIGs public information, and they're commonly used by many organizations that want the best security possible for their I.T.


Checklists
For each general STIG, there are one or more general or specific Security Checklists, such as the "Database Security Checklist for MS SQL Server 2005, Version 8, Release 1.2".


SRR Scripts
For each Security Checklist, there may be one or more Security Readiness Review (SRR) scripts, each of which is intended to help administrators determine if their systems comply with the appropriate STIG. For example, you can download an SRR for SQL Server named sql_server_script_v8r1-2_2009_06_26.zip. When you extract the zip file, you'll find an executable named SQLServer_20090701.exe, a readme file, release notes, and a set of .swp files (such as dbsrr-sql-i9.swp). There's a .swp file for each version of SQL Server. The executable brings up a graphic interface that walks you through targeting a SQL Server instance, then it reads the .swp files, runs some queries, and outputs reports which list checklist items that failed the checks. The reports also include some checklist items that must be checked manually.


Here's a tip for ya: The .swp files are T-SQL scripts, so you can load them and read them color-coded in SQL Server Management Studio (SSMS) or Query Analyzer (QA). If you've got .sql associated with SSMS or QA, just rename the .swp files to .sql and you can then double-click them to open them, examine the code that performs the checks, and compare the code against the Checklist and the STIG. You can run the checks all at once, or you can tweak the variables to run one check at a time.


If you fellow T-SQL geeks find any errors or weaknesses in an SRR script, contact me here and I'll pass it along to get fixed, but I'm gonna try to find them all before you do.


I've also got a few scripts I use to make changes to a default SQL Server configuration to make it compliant with the Database STIG, and I'll be posting those here from time to time.


Cheers,


John


REFERENCES


STIGs
http://iase.disa.mil/stigs/stig/index.html


Security Checklists
http://iase.disa.mil/stigs/checklist/index.html


Security Readiness Review scripts
http://iase.disa.mil/stigs/SRR/index.html


FSO Security Whitepapers
http://iase.disa.mil/stigs/whitepaper/index.html


1 Comment
Occasional Visitor

Great article, and those SSR's were useful, but I haven't noticed much from the SQL Server Team about SQL STIGs for 2016.

 

Is there a way to submit other useful STIG tools to your team for review?  I developed a VERY comprehensive SQL SCAP tool to complete DISA's instance and database checklists for SQL Server 2016 that writes results directly to the checklist, and I would love to subject it to some authoritative testing.  

 

Regards,

Anthony Borelli

https://www.borellisecuritysoftware.com