YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_PS1_Combo_Transfersh_Feb24
Detects suspicious PowerShell command that downloads content from transfer.sh as often found in loaders
- Author
- Florian Roth
- Date
- 2024-02-23
- Modified
- 2024-04-24
- Score / Quality
- 70 / 85
What this rule detects
Detects suspicious PowerShell command that downloads content from transfer.sh as often found in loaders
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_PS1_Combo_Transfersh_Feb24 : SCRIPT
{
meta:
= "Detects suspicious PowerShell command that downloads content from transfer.sh as often found in loaders"
= "Florian Roth"
= "fd14cca5-9cf8-540b-9d6e-39ca2c267272"
= "2024-02-23"
= "2024-04-24"
= "https://www.huntress.com/blog/slashandgrab-screen-connect-post-exploitation-in-the-wild-cve-2024-1709-cve-2024-1708"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_connectwise_screenconnect_vuln_feb24.yar#L120-L135"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "64d4343ecdcbc4a28571557bec2f31c1ff73c2ecf63d0feaa0a71001bb9bf499"
= 70
= 85
= "SCRIPT"
strings:
$x1 = ".DownloadString('https://transfer.sh"
$x2 = ".DownloadString(\"https://transfer.sh"
$x3 = "Invoke-WebRequest -Uri 'https://transfer.sh"
$x4 = "Invoke-WebRequest -Uri \"https://transfer.sh"
condition:
1 of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | ".DownloadString('https://transfer.sh" | |
| $x2 | text | ".DownloadString(\"https://transfer.sh" | |
| $x3 | text | "Invoke-WebRequest -Uri 'https://transfer.sh" | |
| $x4 | text | "Invoke-WebRequest -Uri \"https://transfer.sh" |
Condition
1 of themIn plain words (Heuristic)
- At least 1 patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Licence & attribution
Author: Florian Roth
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: fd14cca5-9cf8-540b-9d6e-39ca2c267272
Tags:SCRIPT
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-15
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-15
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-11-09
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23