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.

Open in Detection LabConvert ruleBuild Package
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: selection
False Positives

Legitimate use by a software developer.

Rule Metadata
Rule ID
b96b2031-7c17-4473-afe7-a30ce714db29
Status
test
Level
medium
Type
Detection
Created
2022-06-02
Modified
2024-04-23
Path
rules/windows/process_creation/proc_creation_win_fsi_fsharp_code_execution.yml
Raw Tags
attack.executionattack.t1059
View on GitHub