_06_04_18_case119_js_malvertising
YARA-2018-3630
Medium
general
Active
case119 - file plugin.min.js
_06_04_18_case119_js_malvertising.yar
Valid Syntax
rule _06_04_18_case119_js_malvertising {
meta:
description = "case119 - file plugin.min.js"
author = "Brian Laskowski"
reference = "https://github.com/Hestat/lw-yara"
date = "2018-06-04"
strings:
$s1 = "var _0x2515=" ascii
$s2 = "document"
$s3 = "_0x2515" ascii
condition:
all of them
}
Rule Metadata
description
case119 - file plugin.min.js
author
Brian Laskowski
reference
https://github.com/Hestat/lw-yara
date
2018-06-04
String Definitions
{"name":"$s1","value":"\"var _0x2515=\" ascii"}
{"name":"$s2","value":"\"document\""}
{"name":"$s3","value":"\"_0x2515\" ascii"}
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 _06_04_18_case119_js_malvertising.yar /path/to/suspicious/file # Scan a directory recursively yara -r _06_04_18_case119_js_malvertising.yar /path/to/directory/ # Scan with metadata output yara -m _06_04_18_case119_js_malvertising.yar target_file # Scan process memory (Linux) yara _06_04_18_case119_js_malvertising.yar /proc/[pid]/exe
Integration Examples
Python (yara-python)
import yara
rules = yara.compile(filepath='_06_04_18_case119_js_malvertising.yar')
matches = rules.match('/path/to/file')
ClamAV Integration
clamscan --yara-rules=_06_04_18_case119_js_malvertising.yar /path/to/scan
Rule Information
YARA ID
YARA-2018-3630
Author
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
Related Rules
Export Options
Similar Rules in general
YARA-2023-0001
CRI
Detect_Mimic_Ransomware
Detect_Mimic_Ransomware
YARA-2023-0002
MED
SystemBC_malware
Detect_SystemBC
YARA-2023-0003
MED
detect_catB
detect_CatB_ransomware
YARA-2022-0001
MED
detect_Typhon_Stealer
detect_Typhon_Stealer
YARA-2023-0004
MED
Nosu_stealer
Detect_Nosu_stealer
YARA-2022-0002
MED
detect_Lumma_stealer
detect_Lumma_stealer
YARA-2022-0003
MED
detect_StrelaStealer
detect_StrelaStealer
YARA-2022-0004
MED
detect_silence_Downloader
detect_silence_Downloader