← Back to SOC feed Coverage →

PEncrypt20junkcode

yara LOW Yara-Rules
community
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Yara-Rules →
Retrieved: 2026-09-12T23:00:00Z · Confidence: medium

Hunt Hypothesis

This rule detects the presence of PEncrypt20, a lightweight encryption utility often embedded in malicious scripts or payloads to obfuscate data and hinder forensic analysis. Proactively hunting for this artifact allows the SOC team to identify potential low-and-slow persistence or data staging activities that may otherwise go unnoticed due to the tool’s minimal footprint and low severity classification.

YARA Rule

rule PEncrypt20junkcode
{
      meta:
		author="malware-lu"
strings:
		$a0 = { EB 25 00 00 F7 BF 00 00 00 00 00 00 00 00 00 00 12 00 E8 00 56 69 72 74 75 61 6C 50 72 6F 74 65 63 74 00 00 00 00 00 E8 00 00 00 00 5D 81 ED 2C 10 40 00 8D B5 14 10 40 00 E8 33 00 00 00 89 85 10 10 40 00 BF 00 00 40 00 8B F7 03 7F 3C 8B 4F 54 51 56 8D 85 }

condition:
		$a0 at pe.entry_point
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 1 string patterns in its detection logic.

False Positive Guidance

Original source: https://github.com/Yara-Rules/rules/blob/main/packers/packer.yar