SQL Server Incident Response Scripts
SQL Server Incident Response (IR) Scripts
The following pre-developed SQL Server incident response scripts will automate the collection of various SQL Server artifacts. These IR scripts were created for use with the techniques and tools covered in SQL Server Forensics Analysis. However these scripts can be used outside of the book. Each script contains a brief description however script related questions can be asked within the forums section of this website or answered by reading SQL Server Forensic Analysis.
- SSFA_DataCache.sql
- SSFA_ClockHands.sql
- SSFA_PlanCache.sql
- SSFA_RecentStatements.sql
- SSFA_Connections.sql
- SSFA_Sessions.sql
- SSFA_TLOG.sql
- SSFA_DbObjects.sql
- SSFA_Logins.sql
- SSFA_Databases.sql
- SSFA_DbUsers.sql
- SSFA_Triggers.sql
- SSFA_Jobs.sql
- SSFA_JobHistory.sql
- SSFA_Configurations.sql
- SSFA_CLR.sql
- SSFA_Schemas.sql
- SSFA_EndPoints.sql
- SSFA_DbSrvInfo.sql
- SSFA_AutoEXEC.sql
- SSFA_TimeConfig.sql
A zipped archive of all 21 scripts can be downloaded here








