Windows: Alerts on Creation of .sed Self-Extraction Directive File

Flags creation of newly created .sed directive files on Windows, which can be used for self-extracting package abuse.

FreeReviewedSigma · Medium · v2
Product
windows
Category
file_executable_detected
Author
Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ), DRL 1.1
Published
2024-02-05
Updated
2026-07-31
title: "Windows: Alerts on Creation of .sed Self-Extraction Directive File"
id: eac7304c-fd27-47ae-9d8a-c87508df8830
related:
  - id: 760e75d8-c3b5-409b-a9bf-6130b4c4603f
    type: derived
  - id: ab90dab8-c7da-4010-9193-563528cfa347
    type: derived
status: test
description: This rule flags when a new file is created with a filename ending in “.sed”, which are Self Extraction Directive files. Attackers may abuse Windows packaging workflows to place directives into unexpected files, sometimes embedding PE content associated with the directive. Telemetry required is Windows file creation/executable file creation events that include the target filename.
references:
  - https://strontic.github.io/xcyclopedia/library/iexpress.exe-D594B2A33EFAFD0EABF09E3FDC05FCEA.html
  - https://en.wikipedia.org/wiki/IExpress
  - https://www.virustotal.com/gui/file/602f4ae507fa8de57ada079adff25a6c2a899bd25cd092d0af7e62cdb619c93c/behavior
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/file/file_executable_detected/file_executable_detected_win_susp_embeded_sed_file.yml
author: Joseliyo Sanchez, @Joseliyo_Jstnk, Huntrule Team
date: 2024-02-05
tags:
  - attack.stealth
  - attack.t1218
logsource:
  product: windows
  category: file_executable_detected
detection:
  selection:
    TargetFilename|endswith: .sed
  condition: selection
falsepositives:
  - Unknown
level: medium
license: DRL-1.1