sig_4dd6090f04

YARA-2018-3629 Medium general Active

08-18-18 - file 4dd6090f04.php

sig_4dd6090f04.yar Valid Syntax
/*
   Yara Rule Set
   Author: Brian Laskowski
   Date: 2018-08-18
   Identifier: 08-18-18
   Reference: https://github.com/Hestat/lw-yara/
*/

/* Rule Set ----------------------------------------------------------------- */

/*
   Yara Rule Set
   Author: Brian Laskowski
   Date: 2018-08-18
   Identifier: 08-18-18
   Reference: https://github.com/Hestat/lw-yara/
*/

/* Rule Set ----------------------------------------------------------------- */
/*
   Yara Rule Set
   Author: Brian Laskowski
   Date: 2018-08-18
   Identifier: 08-18-18
   Reference: https://github.com/Hestat/lw-yara/
*/

/* Rule Set ----------------------------------------------------------------- */

rule sig_4dd6090f04 {
   meta:
      description = "08-18-18 - file 4dd6090f04.php"
      author = "Brian Laskowski"
      reference = "https://github.com/Hestat/lw-yara/"
      date = "2018-08-18"
      hash1 = "b3166068189c84f5ed00642fb82fb1ce77c8a51cfc3619fe4e75763cc088e73b"
   strings:
      $s1 = "function getDirContents($dir, &$results = array" fullword ascii
      $s2 = "if( isset($_REQUEST[\"test_url\"])" fullword ascii
      $s3 = "define( 'PCLZIP_ERR_USER_ABORTED'" fullword ascii
      $s4 = "$data = base64_decode("
   condition:
       all of them 
}

Rule Metadata

description
08-18-18 - file 4dd6090f04.php
author
Brian Laskowski
reference
https://github.com/Hestat/lw-yara/
date
2018-08-18
hash1
b3166068189c84f5ed00642fb82fb1ce77c8a51cfc3619fe4e75763cc088e73b

String Definitions

{"name":"$s1","value":"\"function getDirContents("}
{"name":"$results","value":"array\" fullword ascii"}
{"name":"$s2","value":"\"if( isset("}
{"name":"$s3","value":"\"define( 'PCLZIP_ERR_USER_ABORTED'\" fullword ascii"}
{"name":"$s4","value":"\""}
{"name":"$data","value":"base64_decode(\""}

Threat Analysis

This YARA rule is designed to detect general threats.

Severity Level: Medium

The rule uses pattern matching to identify specific byte sequences, strings, or behavioral patterns associated with malicious activity.

Detection Capabilities

  • File-based detection for executables and documents
  • Memory scanning for running processes
  • Network traffic analysis support

Command Line Usage

# Scan a single file
yara sig_4dd6090f04.yar /path/to/suspicious/file

# Scan a directory recursively
yara -r sig_4dd6090f04.yar /path/to/directory/

# Scan with metadata output
yara -m sig_4dd6090f04.yar target_file

# Scan process memory (Linux)
yara sig_4dd6090f04.yar /proc/[pid]/exe

Integration Examples

Python (yara-python)

import yara
rules = yara.compile(filepath='sig_4dd6090f04.yar')
matches = rules.match('/path/to/file')

ClamAV Integration

clamscan --yara-rules=sig_4dd6090f04.yar /path/to/scan

Rule Information

YARA ID
YARA-2018-3629
Repository
Created
August 19, 2025
Last Updated
August 19, 2025
Last Imported
Never

Threat Intelligence

Risk Level Medium
Category general
Detection Confidence Analysis Pending
False Positive Rate Not Available
Last Seen in Wild No Data

Export Options