Linux File Events: Malicious GitHub Workflow File Creation (shai-hulud-workflow*.yml/yaml)

Alerts on new .github/workflows YAML files named for Shai-Hulud, indicating potential malicious GitHub Actions persistence.

FreeReviewedSigma · High · v5
Product
linux
Category
file_event
Author
Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2025-09-24
Updated
2026-07-31
title: "Linux File Events: Malicious GitHub Workflow File Creation (shai-hulud-workflow*.yml/yaml)"
id: b30e6516-0497-4b40-a332-59839f9767a8
status: experimental
description: This rule flags the creation of specific GitHub Actions workflow files under .github/workflows with names matching shai-hulud-workflow*.yml/yaml. Creating workflow definitions can enable persistence and automation that may access or exfiltrate sensitive repository information when actions run. It relies on Linux file creation telemetry for paths ending in the listed workflow filenames.
references:
  - https://www.safetycli.com/blog/shai-hulud-npm-attack-runs-malicious-github-action
  - https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2025/Malware/Shai-Hulud/file_event_lnx_mal_shai_hulud_workflow.yml
author: Swachchhanda Shrawan Poudel (Nextron Systems), Huntrule Team
date: 2025-09-24
modified: 2026-01-24
tags:
  - attack.persistence
  - attack.credential-access
  - attack.t1552.001
  - attack.collection
  - attack.t1119
  - detection.emerging-threats
logsource:
  product: linux
  category: file_event
detection:
  selection:
    TargetFilename|endswith:
      - .github/workflows/shai-hulud-workflow.yaml
      - .github/workflows/shai-hulud-workflow.yml
      - .github/workflows/shai-hulud.yaml
      - .github/workflows/shai-hulud.yml
  condition: selection
falsepositives:
  - Unlikely
level: high
license: DRL-1.1
related:
  - id: 0aba5685-6db6-486f-88ef-29a99c545cfd
    type: derived