mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-25 22:39:27 +01:00
27 lines
982 B
YAML
27 lines
982 B
YAML
---
|
|
Name: SQLToolsPS.exe
|
|
Description: Tool included with Microsoft SQL that loads SQL Server cmdlts. A replacement for sqlps.exe. Successor to sqlps.exe in SQL Server 2016+.
|
|
Author: 'Oddvar Moe'
|
|
Created: '2018-05-25'
|
|
Commands:
|
|
- Command: SQLToolsPS.exe -noprofile -command Start-Process calc.exe
|
|
Description: Run a SQL Server PowerShell mini-console without Module and ScriptBlock Logging.
|
|
Usecase: Execute PowerShell command.
|
|
Category: Execute
|
|
Privileges: User
|
|
MitreID: T1218
|
|
MitreLink: https://attack.mitre.org/wiki/Technique/T1218
|
|
OperatingSystem: Windows
|
|
Full_Path:
|
|
- Path: C:\Program files (x86)\Microsoft SQL Server\130\Tools\Binn\sqlps.exe
|
|
Code_Sample:
|
|
- Code:
|
|
Detection:
|
|
- IOC:
|
|
Resources:
|
|
- Link: https://twitter.com/pabraeken/status/993298228840992768
|
|
- Link: https://docs.microsoft.com/en-us/sql/powershell/sql-server-powershell?view=sql-server-2017
|
|
Acknowledgement:
|
|
- Person: Pierre-Alexandre Braeken
|
|
Handle: '@pabraeken'
|
|
--- |