YARA · Volexity threat-intel
VOLEXITY_Webshell_Java_Realcmd
Detects the RealCMD webshell, one of the payloads for BEHINDER.
- Author
- threatintel@volexity.com
- Date
- 2022-06-01
- Modified
- 2024-07-30
- Score / Quality
- 75 / 80
What this rule detects
Detects the RealCMD webshell, one of the payloads for BEHINDER.
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule VOLEXITY_Webshell_Java_Realcmd : FILE MEMORY
{
meta:
= "Detects the RealCMD webshell, one of the payloads for BEHINDER."
= "threatintel@volexity.com"
= "60b30ccc-bcfa-51e6-a3f5-88037d19213e"
= "2022-06-01"
= "2024-07-30"
= "https://github.com/Freakboy/Behinder/blob/master/src/main/java/vip/youwe/sheller/payload/java/RealCMD.java"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-06-02 Active Exploitation Of Confluence 0-day/indicators/yara.yar#L61-L84"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "a9a30455d6f3a0a8cd0274ae954aa41674b6fd52877fafc84a9cb833fd8858f6"
= "e09f2a23674fd73296dd4d1fabf1a2c812bfe69ff02abc96a4be35af6a18e512"
= 75
= 80
= "FILE, MEMORY"
= "all"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 6786
= 4
strings:
$fn1 = "runCmd" wide ascii fullword
$fn2 = "RealCMD" ascii wide fullword
$fn3 = "buildJson" ascii wide fullword
condition:
all of ( $fn* )
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $fn1 | text | "runCmd" | wide ascii fullword |
| $fn2 | text | "RealCMD" | ascii wide fullword |
| $fn3 | text | "buildJson" | ascii wide fullword |
Condition
all of ( $fn* )In plain words (Heuristic)
- All patterns in ( $fn* ) must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- a9a30455d6f3a0a8cd0274ae954aa41674b6fd52877fafc84a9cb833fd8858f6
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: 60b30ccc-bcfa-51e6-a3f5-88037d19213e
Metadata
| os | all |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 6786 |
| version | 4 |
Related rules
- WebshellVolexity threat-intel· threatintel@volexity.com· 2021-11-08
- WebshellVolexity threat-intel· threatintel@volexity.com· 2022-06-01
- WebshellVolexity threat-intel· threatintel@volexity.com· 2022-03-08
- WebshellVolexity threat-intel· threatintel@volexity.com· 2021-03-02
- 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