Detectionmediumtest
Use of FSharp Interpreters
Detects the execution of FSharp Interpreters "FsiAnyCpu.exe" and "FSi.exe" Both can be used for AWL bypass and to execute F# code via scripts or inline.
Christopher Peacock, SCYTHECreated 2022-06-02Updated 2024-04-23b96b2031-7c17-4473-afe7-a30ce714db29windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
- Image|endswith:
- '\fsi.exe'
- '\fsianycpu.exe'
- OriginalFileName:
- 'fsi.exe'
- 'fsianycpu.exe'
condition: selectionFalse Positives
Legitimate use by a software developer.
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
b96b2031-7c17-4473-afe7-a30ce714db29
Status
test
Level
medium
Type
Detection
Created
2022-06-02
Modified
2024-04-23
Author
Path
rules/windows/process_creation/proc_creation_win_fsi_fsharp_code_execution.yml
Raw Tags
attack.executionattack.t1059