Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_Power_Pe_Injection

PowerShell with PE Reflective Injection

GenericSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Benjamin DELPY (gentilkiwi)
Date
2020-08-10
Modified
2023-12-05
Score / Quality
75 / 85

What this rule detects

PowerShell with PE Reflective Injection

It defines 1 patterns (1 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

power-pe-injection.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Power_Pe_Injection
{
	meta:
		description = "PowerShell with PE Reflective Injection"
		author = "Benjamin DELPY (gentilkiwi)"
		id = "a71fe9f2-9c2a-5650-a5c7-116b76f10db6"
		date = "2020-08-10"
		modified = "2023-12-05"
		reference = "https://github.com/Neo23x0/signature-base"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_mimikatz.yar#L91-L101"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "64a7033d51e8933912f37ce68bffc216073a88cae1ea7492e71a812411ae6a9d"
		score = 75
		quality = 85
		tags = ""

	strings:
		$str_loadlib = "0x53, 0x48, 0x89, 0xe3, 0x48, 0x83, 0xec, 0x20, 0x66, 0x83, 0xe4, 0xc0, 0x48, 0xb9"

	condition:
		$str_loadlib
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$str_loadlibtext"0x53, 0x48, 0x89, 0xe3, 0x48, 0x83, 0xec, 0x20, 0x66, 0x83, 0xe4, 0xc0, 0x48, 0xb9"

Condition

$str_loadlib

In plain words (Heuristic)

  • Pattern $str_loadlib must be present.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: Benjamin DELPY (gentilkiwi)

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: a71fe9f2-9c2a-5650-a5c7-116b76f10db6

  • Hack toolSignature Base (Florian Roth / Nextron)· Benjamin DELPY (gentilkiwi)· 2022-11-16
  • GenericSignature Base (Florian Roth / Nextron)· Benjamin DELPY (gentilkiwi)· 2020-08-10