2021-09-27 05:31:30 +02:00
|
|
|
---
|
|
|
|
Name: FsiAnyCpu.exe
|
|
|
|
Description: 32/64-bit FSharp (F#) Interpreter included with Visual Studio.
|
|
|
|
Author: Jimmy (@bohops)
|
|
|
|
Created: 2021-09-26
|
|
|
|
Commands:
|
|
|
|
- Command: fsianycpu.exe c:\path\to\test.fsscript
|
|
|
|
Description: Execute F# code via script file
|
|
|
|
Usecase: Execute payload with Microsoft signed binary to bypass WDAC policies
|
|
|
|
Category: AWL Bypass
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1059
|
|
|
|
OperatingSystem: Windows 10 2004 (likely previous and newer versions as well)
|
|
|
|
- Command: fsianycpu.exe
|
2021-11-05 19:58:26 +01:00
|
|
|
Description: Execute F# code via interactive command line
|
2021-09-27 05:31:30 +02:00
|
|
|
Usecase: Execute payload with Microsoft signed binary to bypass WDAC policies
|
|
|
|
Category: AWL Bypass
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1059
|
|
|
|
OperatingSystem: Windows 10 2004 (likely previous and newer versions as well)
|
|
|
|
Full_Path:
|
|
|
|
- Path: c:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\FSharp\fsianycpu.exe
|
2021-11-05 19:58:26 +01:00
|
|
|
Code_Sample:
|
2021-09-27 05:31:30 +02:00
|
|
|
- Code: https://gist.github.com/NickTyrer/51eb8c774a909634fa69b4d06fc79ae1
|
2021-11-05 19:58:26 +01:00
|
|
|
Detection:
|
2021-09-27 05:31:30 +02:00
|
|
|
- IOC: Sysmon Event ID 1 - Process Creation
|
|
|
|
Resources:
|
|
|
|
- Link: https://bohops.com/2020/11/02/exploring-the-wdac-microsoft-recommended-block-rules-part-ii-wfc-fsi/
|
|
|
|
Acknowledgement:
|
2021-11-05 19:58:26 +01:00
|
|
|
- Person: Nick Tyrer
|
2021-09-27 05:31:30 +02:00
|
|
|
Handle: '@NickTyrer'
|
|
|
|
- Person: Jimmy
|
|
|
|
Handle: '@bohops'
|
2021-11-05 19:58:26 +01:00
|
|
|
---
|