Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Webshell_Icesword_Strings

Detects icesword webshell

WebshellSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-11-22
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detects icesword webshell

It defines 2 patterns (2 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

webshell-icesword-strings.yarDetection Rule License 1.1
rule SEKOIA_Webshell_Icesword_Strings : FILE
{
	meta:
		description = "Detects icesword webshell"
		author = "Sekoia.io"
		id = "2c6b3cec-4200-4386-8cd5-4004c9b5b96a"
		date = "2024-11-22"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/webshell_icesword_strings.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "0447352827e61696304a8e3d34e1d270"
		hash = "f49cfcda0abdefa385eda7ec7e7a5411"
		hash = "e1518388375ba772ed20503ec6dc6c8a"
		hash = "ecf08cd6af127e01f913354529174a23"
		logic_hash = "25ea8c1f4756595e63f09dfdfd1cb0e9bbf1d05e46150e22993de95d9f758385"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "&fsAction=rename&newName="
		$ = "&fsAction=copyto&dstPath="

	condition:
		2 of them and filesize < 100KB
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$text"&fsAction=rename&newName="
$text"&fsAction=copyto&dstPath="

Condition

2 of them and filesize < 100KB

In plain words (Heuristic)

  • The file must be smaller than 100KB (a cheap guard that skips large files).
  • At least 2 patterns in the rule 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.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 0447352827e61696304a8e3d34e1d270
  • f49cfcda0abdefa385eda7ec7e7a5411
  • e1518388375ba772ed20503ec6dc6c8a
  • ecf08cd6af127e01f913354529174a23

Licence & attribution

Author: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 2c6b3cec-4200-4386-8cd5-4004c9b5b96a

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE