YARA · Volexity threat-intel
VOLEXITY_Susp_Jsp_General_Runtime_Exec_Req
Looks for a common design pattern in webshells where a request attribute is passed as an argument to exec().
- Author
- threatintel@volexity.com
- Date
- 2022-02-02
- Modified
- 2024-07-30
- Score / Quality
- 65 / 80
What this rule detects
Looks for a common design pattern in webshells where a request attribute is passed as an argument to exec().
It defines 1 patterns (1 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule VOLEXITY_Susp_Jsp_General_Runtime_Exec_Req : FILE MEMORY
{
meta:
= "Looks for a common design pattern in webshells where a request attribute is passed as an argument to exec()."
= "threatintel@volexity.com"
= "7f1539bd-a2f0-50dd-b500-ada4e0971d13"
= "2022-02-02"
= "2024-07-30"
= "https://github.com/volexity/threat-intel"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-08-10 Mass exploitation of (Un)authenticated Zimbra RCE CVE-2022-27925/yara.yar#L35-L56"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "4935f0c50057e28efa7376c734a4c66018f8d20157b6584399146b6c79a6de15"
= "d3048aba80c1c39f1673931cd2d7c5ed83045603b0ad204073fd788d0103a6c8"
= 65
= 80
= "FILE, MEMORY"
= "win,linux"
= "all"
= "file,memory"
= "high"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 6450
= 3
strings:
$s1 = "Runtime.getRuntime().exec(request." ascii
condition:
$s1
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Runtime.getRuntime().exec(request." | ascii |
Condition
$s1In plain words (Heuristic)
- Pattern $s1 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 4935f0c50057e28efa7376c734a4c66018f8d20157b6584399146b6c79a6de15
Licence & attribution
Author: threatintel@volexity.com
Source repository: Volexity threat-intel @ 3a9d0b5245
Licence: BSD 2-Clause License (stated in the rule's own meta)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Copyright notice: Copyright 2022 by Volexity, Inc.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 7f1539bd-a2f0-50dd-b500-ada4e0971d13
Metadata
| os | win,linux |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | high |
| rule_id | 6450 |
| version | 3 |
Related rules
- Suspicious / huntingVolexity threat-intel· threatintel@volexity.com· 2021-06-16
- Suspicious / huntingVolexity threat-intel· threatintel@volexity.com· 2021-06-16
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-02