SqlShell
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
In most cases, the web server was attacked during the Initial Intrusion phase... in the final stage, the MS-SQL server was attacked to install CLR SqlShell.
Techniques & procedures
4 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
This function executes commands passed to it as parameters via cmd.exe.
The attacker enabled xp_cmdshell parameters to allow SQL Server to spawn a Windows command shell and pass in a string for execution... used sp_oacreate to create the OLE object wscript.shell... to execute arbitrary commands on the underlying operating system.
Persistence
2 techniques
Persistence
The attacker enabled the "TRUSTWORTHY" parameters... enabled the clr enabled parameter... created an assembly named “shell”... This assembly is a .NET DLL... includes a cmd_exec function.
The attacker created a stored procedure named cmd_exec that calls the SqlShell malware.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.