Windows CSharp Streamer RAT Potentially Loaded .NET Executable from Temp dat####.tmp

Identifies .NET executable image loads from a CSharp Streamer RAT-like Temp .tmp path pattern on Windows.

FreeReviewedSigma · High · v5
Product
windows
Category
image_load
Author
Luca Di Bartolomeo (SigmaHQ), DRL 1.1
Published
2024-06-22
Updated
2026-07-31
title: Windows CSharp Streamer RAT Potentially Loaded .NET Executable from Temp dat####.tmp
id: 6a1098dc-d52e-4834-ab51-2d41712d9e8c
status: test
description: This rule flags Windows image loads where the loaded file path matches the default Temp naming pattern dat####.tmp (\AppData\Local\Temp\dat[0-9A-Z]{4}\.tmp). Such behavior matters because RAT-style tooling may stage and execute .NET payloads from transient locations to evade simpler allowlists. The detection relies on image_load telemetry capturing the full ImageLoaded path that matches this specific Temp pattern.
references:
  - https://thedfirreport.com/2024/06/10/icedid-brings-screenconnect-and-csharp-streamer-to-alphv-ransomware-deployment/#detections
  - https://cyber.wtf/2023/12/06/the-csharp-streamer-rat/
  - https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2024/Malware/CSharp-Streamer/image_load_malware_csharp_streamer_dotnet_load.yml
author: Luca Di Bartolomeo, Huntrule Team
date: 2024-06-22
tags:
  - attack.command-and-control
  - attack.t1219.002
  - detection.emerging-threats
logsource:
  category: image_load
  product: windows
detection:
  selection:
    ImageLoaded|re: \\AppData\\Local\\Temp\\dat[0-9A-Z]{4}\.tmp
  condition: selection
falsepositives:
  - Unknown
level: high
license: DRL-1.1
related:
  - id: 6f6afac3-8e7a-4e4b-9588-2608ffe08f82
    type: derived