2018-06-09 00:15:06 +02:00
|
|
|
---
|
|
|
|
Name: SQLToolsPS.exe
|
2018-12-12 12:56:53 +01:00
|
|
|
Description: Tool included with Microsoft SQL that loads SQL Server cmdlts. A replacement for sqlps.exe. Successor to sqlps.exe in SQL Server 2016+.
|
2018-09-22 04:58:00 +02:00
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
|
|
|
- Command: SQLToolsPS.exe -noprofile -command Start-Process calc.exe
|
2018-12-12 12:56:53 +01:00
|
|
|
Description: Run a SQL Server PowerShell mini-console without Module and ScriptBlock Logging.
|
2018-09-22 04:58:00 +02:00
|
|
|
Usecase: Execute PowerShell command.
|
2018-09-26 11:41:58 +02:00
|
|
|
Category: Execute
|
2018-09-22 04:58:00 +02:00
|
|
|
Privileges: User
|
|
|
|
MitreID: T1218
|
|
|
|
OperatingSystem: Windows
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-26 11:41:58 +02:00
|
|
|
- Path: C:\Program files (x86)\Microsoft SQL Server\130\Tools\Binn\sqlps.exe
|
2018-12-10 14:28:12 +01:00
|
|
|
Code_Sample:
|
2018-09-26 11:41:58 +02:00
|
|
|
- Code:
|
|
|
|
Detection:
|
2023-10-18 17:30:34 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_mssql_sqltoolsps_susp_execution.yml
|
2021-11-15 14:19:03 +01:00
|
|
|
- Splunk: https://github.com/splunk/security_content/blob/aa9f7e0d13a61626c69367290ed1b7b71d1281fd/docs/_posts/2021-10-05-suspicious_copy_on_system32.md
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-26 11:41:58 +02:00
|
|
|
- Link: https://twitter.com/pabraeken/status/993298228840992768
|
2018-12-12 12:56:53 +01:00
|
|
|
- Link: https://docs.microsoft.com/en-us/sql/powershell/sql-server-powershell?view=sql-server-2017
|
2018-09-22 04:58:00 +02:00
|
|
|
Acknowledgement:
|
|
|
|
- Person: Pierre-Alexandre Braeken
|
|
|
|
Handle: '@pabraeken'
|