Emerging Threatcriticalexperimental

RedSun - Named Pipe Created

Detects the creation of a named pipe with the hardcoded name "REDSUN". The RedSun exploit tool uses a pipe with this name for synchronisation and command communication between its components during the Cloud Files API + oplock-based AV bypass and privilege escalation chain. RedSun creates the pipe as \\??\pipe\REDSUN. The pipe server listens for the token-duplicated elevated process to connect and respond, completing the privilege escalation from user to SYSTEM. Presence of this pipe name indicates active or recent RedSun execution.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Swachchhanda Shrawan Poudel (Nextron Systems)Created Fri Apr 179b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b2026
Emerging Threat
Active Threat

Developed to detect an active or emerging threat. Prioritize investigation of any alerts and correlate with threat intelligence.

Log Source
WindowsNamed Pipe Created
ProductWindows← raw: windows
CategoryNamed Pipe Created← raw: pipe_created
Detection Logic
Detection Logic1 selector
detection:
    selection:
        PipeName: '\REDSUN'
    condition: selection
False Positives
Unlikely

False positives are unlikely for most environments. High confidence detection.

Testing & Validation

Regression Tests

by Swachchhanda Shrawan Poudel (Nextron Systems)
Positive Detection Test1 matchevtx

Microsoft-Windows-Sysmon

Rule Metadata
Rule ID
9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b
Status
experimental
Level
critical
Type
Emerging Threat
Created
Fri Apr 17
Path
rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe.yml
Raw Tags
attack.privilege-escalationattack.t1055attack.t1562.001attack.defense-evasiondetection.emerging-threats
View on GitHub