From fcb2aead3a69c34ca80554230cf87a05dd05c43b Mon Sep 17 00:00:00 2001 From: Swachchhanda Shrawan Poudel <87493836+swachchhanda000@users.noreply.github.com> Date: Tue, 28 Apr 2026 07:07:30 +0545 Subject: [PATCH] Merge PR #5941 from @swachchhanda000 - Add RedSun Execution Indicators new: RedSun - Named Pipe Created new: RedSun - TieringEngineService.exe Staged in RS-Prefixed Temp Dir new: RedSun - Conhost.exe Spawned by TieringEngineService.exe new: RedSun - TieringEngineService.exe Detected as EICAR Test File --------- Co-authored-by: Nasreddine Bencherchali <8741929+nasbench@users.noreply.github.com> --- .../f2e4b7d9-5c3a-4f8b-9e1d-7a6c2b3f4e5d.evtx | Bin 0 -> 69632 bytes .../f2e4b7d9-5c3a-4f8b-9e1d-7a6c2b3f4e5d.json | 51 ++++++++++ .../info.yml | 13 +++ .../9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b.evtx | Bin 0 -> 69632 bytes .../9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b.json | 51 ++++++++++ .../info.yml | 13 +++ .../a7c3e5f2-8b1d-4e9a-b6c2-3d7f5e8a9b4c.evtx | Bin 0 -> 69632 bytes .../a7c3e5f2-8b1d-4e9a-b6c2-3d7f5e8a9b4c.json | 89 ++++++++++++++++++ .../info.yml | 13 +++ ...le_event_win_exploit_redsun_indicators.yml | 34 +++++++ ..._created_win_exploit_redsun_named_pipe.yml | 31 ++++++ ..._win_redsun_conhost_via_tiering_engine.yml | 63 +++++++++++++ ...edsun_tiering_engine_detected_as_eicar.yml | 50 ++++++++++ 13 files changed, 408 insertions(+) create mode 100644 regression_data/rules-emerging-threats/2026/Exploits/RedSun/file_event_win_exploit_redsun_indicators/f2e4b7d9-5c3a-4f8b-9e1d-7a6c2b3f4e5d.evtx create mode 100644 regression_data/rules-emerging-threats/2026/Exploits/RedSun/file_event_win_exploit_redsun_indicators/f2e4b7d9-5c3a-4f8b-9e1d-7a6c2b3f4e5d.json create mode 100644 regression_data/rules-emerging-threats/2026/Exploits/RedSun/file_event_win_exploit_redsun_indicators/info.yml create mode 100644 regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b.evtx create mode 100644 regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b.json create mode 100644 regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/info.yml create mode 100644 regression_data/rules-emerging-threats/2026/Exploits/RedSun/win_defender_exploit_redsun_tiering_engine_detected_as_eicar/a7c3e5f2-8b1d-4e9a-b6c2-3d7f5e8a9b4c.evtx create mode 100644 regression_data/rules-emerging-threats/2026/Exploits/RedSun/win_defender_exploit_redsun_tiering_engine_detected_as_eicar/a7c3e5f2-8b1d-4e9a-b6c2-3d7f5e8a9b4c.json create mode 100644 regression_data/rules-emerging-threats/2026/Exploits/RedSun/win_defender_exploit_redsun_tiering_engine_detected_as_eicar/info.yml create mode 100644 rules-emerging-threats/2026/Exploits/RedSun/file_event_win_exploit_redsun_indicators.yml create mode 100644 rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe.yml create mode 100644 rules-emerging-threats/2026/Exploits/RedSun/proc_creation_win_redsun_conhost_via_tiering_engine.yml create mode 100644 rules-emerging-threats/2026/Exploits/RedSun/win_defender_exploit_redsun_tiering_engine_detected_as_eicar.yml diff --git a/regression_data/rules-emerging-threats/2026/Exploits/RedSun/file_event_win_exploit_redsun_indicators/f2e4b7d9-5c3a-4f8b-9e1d-7a6c2b3f4e5d.evtx b/regression_data/rules-emerging-threats/2026/Exploits/RedSun/file_event_win_exploit_redsun_indicators/f2e4b7d9-5c3a-4f8b-9e1d-7a6c2b3f4e5d.evtx new file mode 100644 index 0000000000000000000000000000000000000000..4431367fda4a63b21418b50d3e31a28d62227247 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PC1t>rP3Q&Lo6rcbFC_n)UP=Epypa2CZKmiI+fC3bt00k&O0SZun0u-PC1t>rP z3Q&Lo6rcbFC_n)UP=Epypa2CZKmiI+fC3bt00k&O0SZun0u-PC1t>rP3Q&Lo6rcbF zC_n)UP=Epypa2CZKmiI+fC3bt00k&O0SZun0u-PC1t>rP3Q&Lo6rcbFC_n)UP=Epy Jpuqnr@Hf|EE_na| literal 0 HcmV?d00001 diff --git a/regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b.json b/regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b.json new file mode 100644 index 000000000..cfe098325 --- /dev/null +++ b/regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b.json @@ -0,0 +1,51 @@ +{ + "Event": { + "#attributes": { + "xmlns": "http://schemas.microsoft.com/win/2004/08/events/event" + }, + "System": { + "Provider": { + "#attributes": { + "Name": "Microsoft-Windows-Sysmon", + "Guid": "5770385F-C22A-43E0-BF4C-06F5698FFBD9" + } + }, + "EventID": 17, + "Version": 1, + "Level": 4, + "Task": 17, + "Opcode": 0, + "Keywords": "0x8000000000000000", + "TimeCreated": { + "#attributes": { + "SystemTime": "2026-04-17T05:24:53.088849Z" + } + }, + "EventRecordID": 83237, + "Correlation": null, + "Execution": { + "#attributes": { + "ProcessID": 3208, + "ThreadID": 1724 + } + }, + "Channel": "Microsoft-Windows-Sysmon/Operational", + "Computer": "swachchhanda", + "Security": { + "#attributes": { + "UserID": "S-1-5-18" + } + } + }, + "EventData": { + "RuleName": "-", + "EventType": "CreatePipe", + "UtcTime": "2026-04-17 05:24:53.079", + "ProcessGuid": "0197231E-C424-69E1-C922-000000000800", + "ProcessId": 15596, + "PipeName": "\\REDSUN", + "Image": "C:\\Users\\xodih\\Downloads\\RedSun.exe", + "User": "swachchhanda\\xodih" + } + } +} diff --git a/regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/info.yml b/regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/info.yml new file mode 100644 index 000000000..7876884ec --- /dev/null +++ b/regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/info.yml @@ -0,0 +1,13 @@ +id: 8e35c907-231e-46e5-bf0f-9e724ce93279 +description: N/A +date: 2026-04-17 +author: Swachchhanda Shrawan Poudel (Nextron Systems) +rule_metadata: + - id: 9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b + title: RedSun - Named Pipe Created +regression_tests_info: + - name: Positive Detection Test + type: evtx + provider: Microsoft-Windows-Sysmon + match_count: 1 + path: regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b.evtx diff --git a/regression_data/rules-emerging-threats/2026/Exploits/RedSun/win_defender_exploit_redsun_tiering_engine_detected_as_eicar/a7c3e5f2-8b1d-4e9a-b6c2-3d7f5e8a9b4c.evtx b/regression_data/rules-emerging-threats/2026/Exploits/RedSun/win_defender_exploit_redsun_tiering_engine_detected_as_eicar/a7c3e5f2-8b1d-4e9a-b6c2-3d7f5e8a9b4c.evtx new file mode 100644 index 0000000000000000000000000000000000000000..aef8e4aa809e45da74f6e538fee63dd16c442c57 GIT binary patch literal 69632 zcmeI0U2I%O701uL-d(SqtR1H{Z9cn6+q5aQW5??x&Ii%P_R^?Hn#Sg%C{kp)cH_jc zgYA4_5D`!z@_^u>Ql$#1Lam?(Q2|0i6+HH_L8>AO6#~Hnf)}K=Ac%M{|NqR~{czS! zqVT}O|E})dduPr$GxM8s&Yii#Qxm1hsc~C+#G&9S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($&J_-tICn%29HxjESY1+o72oJ_St|M<=5=O^J>vx{x zS1jYOQK(o+K2XesPZV64to&hO0&9Ev+O(ZTy9X=x{Dg1-ws)h){AjTa68_7 zla*+l!~JDYU^Jh`{SfXiVJuU)j-izGv|I+$3n=f#J$J3k?E`DA@f!!{V=v}r-QDm@TKC^!eC8X*2$RgfmGZ3H{xicQiNJ%@Q2!T$*EhmqZi$kBTt z*Na&w;5UFPXLKj7J@%xtFmfA-W3arEOcCuQZLpoC8Ik#kE!EpuP7>+aAN(GxLj*)X z1VlgtL_h>YKmYKmYKmYKmYKmYKmYKmYKmY zKmYKmYKmYKmYKmYKmYKmYKmYKmYKmYKmYKmYKmY zKmYKmYKmYKmYKmYKmYKm\AppData\Local\Temp\\RS-{GUID}\TieringEngineService.exe + # Threat name 'Virus:DOS/EICAR_Test_File' is expected - RedSun uses EICAR content to reliably trigger a Defender scan/remediation + selection_eid: + EventID: 1119 + SourceName: 'Real-Time Protection' + selection_susp_path: + Path|endswith: '\TieringEngineService.exe' + ThreatName|endswith: 'EICAR_Test_File' + selection_susp_process: + ProcessName|endswith: '\RedSun.exe' + condition: selection_eid and 1 of selection_susp_* +falsepositives: + - Unlikely +level: critical +regression_tests_path: regression_data/rules-emerging-threats/2026/Exploits/RedSun/win_defender_exploit_redsun_tiering_engine_detected_as_eicar/info.yml