Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create EffluenceWebshell.yaml #733

Merged
merged 2 commits into from
Nov 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions content/exchange/artifacts/EffluenceWebshell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Windows.Detection.EffluenceWebshell
author: Matt Green - @mgreen27
description: |
This artifact detects Effluence Webshell observed deployed during exploitation
of Atlassian Confluence CVE-2023-22515.

reference:
- https://www.aon.com/cyber-solutions/aon_cyber_labs/detecting-effluence-an-unauthenticated-confluence-web-shell/

type: CLIENT

parameters:
- name: ProcessRegex
default: .
type: regex
- name: PidRegex
default: .
type: regex
- name: YaraRule
type: yara
default: |
rule ConfluencePageIndicator {
meta:
description = "Detects strings indicative of a web shell in Confluence page"
author = "Stroz Friedberg"
date = "2023-11-06"

strings:
$confluence_title = "<title> - Confluence</title>" ascii wide
$hide_plugin_function = "hidePlugin(" ascii wide
$system_plugin_key = "ALWAYS_SYSTEM_PLUGIN_KEYS" ascii wide
$dashes = " ----- " ascii wide

condition:
$confluence_title and $hide_plugin_function and $dashes and $system_plugin_key
}
- name: NumberOfHits
description: THis artifact will stop by default at one hit. This setting allows additional hits
default: 1
type: int
- name: ContextBytes
description: Include this amount of bytes around hit as context.
default: 0
type: int64


sources:
- precondition:
SELECT OS From info() where OS = 'windows'

query: |
SELECT * FROM Artifact.Windows.Detection.Yara.Process(
ProcessRegex=ProcessRegex,
PidRegex=PidRegex,
YaraRule=YaraRule,
NumberOfHits=NumberOfHits,
ContextBytes=ContextBytes )

column_types:
- name: HitContext
type: preview_upload