(YARA) YARA_XOR_Hunt

Download Raw

rule XOR_hunt
{
  meta:
    author = "Thomas Roccia | @fr0gger_"
    description = "100DaysOfYara - An attempt to catch malicious/suspicious pe file using xor for some data"
    status = "experimental"

  strings:
    $s1 = "http://" xor
    $s2 = "https://" xor
    $s3 = "ftp://" xor
    $s4 = "This program cannot be run in DOS mode" xor
    $s5 = "Mozilla/5.0" xor
    $s6 = "cmd /c" xor
    $s7 = "-ep bypass" xor

  condition:
     uint16(0) == 0x5A4D and any of them
}

Associated Techniques

Technique Name Technique ID's Snippet(s) OS
XOR Operation U0701 E1027.m02

Matching Samples 10 most recent

Sample Name Matching Techniques First Seen Last Seen
pdf2txtocr.exe 3 2025-08-15 6 hours, 59 minutes ago
x360ce.exe 4 2025-08-13 2 days, 8 hours ago
0b98de4fbe9e42aa1b79f642c241...ac19b3fc5400705cfba61968.exe 5 2025-08-13 2 days, 19 hours ago
preloader_s.dll 6 2025-08-12 3 days, 8 hours ago
Krbtool.exe 8 2025-08-11 4 days, 14 hours ago
reshacker_setup.exe 4 2025-08-09 6 days, 8 hours ago
WinMemoryCleaner.exe 6 2025-08-07 1 week, 1 day ago
hemlockwin.exe 8 2025-08-06 1 week, 2 days ago
Audition1.exe 1 2025-08-06 1 week, 2 days ago
TeraCopy.exe 1 2025-08-06 1 week, 2 days ago
View All

Created

January 4, 2024

Last Revised

January 4, 2024