YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_Nishang_PS1_Invoke_Powershelltcponeline
Detects PowerShell Oneliner in Nishang's repository
- Autor
- Florian Roth (Nextron Systems)
- Datum
- 2021-03-03
- Geändert
- 2023-12-05
- Score / Qualität
- 75 / 85
Was diese Regel erkennt
Detects PowerShell Oneliner in Nishang's repository
Sie definiert 3 Muster (3 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_HKTL_Nishang_PS1_Invoke_Powershelltcponeline
{
meta:
= "Detects PowerShell Oneliner in Nishang's repository"
= "Florian Roth (Nextron Systems)"
= "0218ebbd-2dbe-5838-ab53-1e78e3f97b9e"
= "2021-03-03"
= "2023-12-05"
= "https://github.com/samratashok/nishang/blob/master/Shells/Invoke-PowerShellTcpOneLine.ps1"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_hafnium.yar#L105-L119"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "2f4c948974da341412ab742e14d8cdd33c1efa22b90135fcfae891f08494ac32"
= "59622bff95de1077d26ee4547f37cd1045c0c1fc6817df40ff2564b33a962a07"
= 75
= 85
= ""
strings:
$s1 = "=([text.encoding]::ASCII).GetBytes((iex $" ascii wide
$s2 = ".GetStream();[byte[]]$" ascii wide
$s3 = "New-Object Net.Sockets.TCPClient('" ascii wide
condition:
all of them
}
Strings (3 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "=([text.encoding]::ASCII).GetBytes((iex $" | ascii wide |
| $s2 | Text | ".GetStream();[byte[]]$" | ascii wide |
| $s3 | Text | "New-Object Net.Sockets.TCPClient('" | ascii wide |
Bedingung
all of themIn Worten (Heuristik)
- Alle Muster aus der Regel müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 2f4c948974da341412ab742e14d8cdd33c1efa22b90135fcfae891f08494ac32
Lizenz & Namensnennung
Autor: Florian Roth (Nextron Systems)
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 0218ebbd-2dbe-5838-ab53-1e78e3f97b9e
Verwandte Regeln
- HacktoolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-08-09
- HacktoolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-08
- HacktoolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-27
- HacktoolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-09-15
- HacktoolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-02
- HacktoolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-07
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16