Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Tool_Edrsandblast_Strings

Detects EDRSandblast strings

Hack toolSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-01-08
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detects EDRSandblast strings

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

tool-edrsandblast-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Edrsandblast_Strings : FILE
{
	meta:
		description = "Detects EDRSandblast strings"
		author = "Sekoia.io"
		id = "7059b89c-80b5-4768-b3eb-02f173f628b0"
		date = "2024-01-08"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_edrsandblast_strings.yar#L1-L29"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "8528c4c440734ba97b98b6e0857d95f38a91eaf9120ba2eacff292c864fb86a5"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "[!] Cred Guard bypass failed: obtained invalid" wide
		$ = "[!] Cred Guard bypass non fatal error:" wide
		$ = "[+] Successfully overwrote wdigest's g_fParameter_UseLogonCredential" wide
		$ = "[!] ERROR: could not allocate memory for the handl" wide
		$ = "[+] [ProcessProtection] Found the handle of the current" wide
		$ = "[+] [ProcessProtection] Found self process EPROCCES struct at" wide
		$ = "ETW Threat Intel ProviderEnableInfo address could not be found." wide
		$ = "The ETW Threat Intel provider was successfully" wide
		$ = "[+] [NotifyRountines]" wide
		$ = "[callback addr: 0x" wide
		$ = "EDR / security products driver(s)" wide
		$ = "Object callback offsets not loaded ! Aborting..." wide
		$ = "No more space to store object callbacks !!" wide

	condition:
		uint16be( 0 ) == 0x4d5a and filesize < 1MB and 3 of them
}

Strings (13 patterns)

IdentifierTypeValueModifiers
$text"[!] Cred Guard bypass failed: obtained invalid"wide
$text"[!] Cred Guard bypass non fatal error:"wide
$text"[+] Successfully overwrote wdigest's g_fParameter_UseLogonCredential"wide
$text"[!] ERROR: could not allocate memory for the handl"wide
$text"[+] [ProcessProtection] Found the handle of the current"wide
$text"[+] [ProcessProtection] Found self process EPROCCES struct at"wide
$text"ETW Threat Intel ProviderEnableInfo address could not be found."wide
$text"The ETW Threat Intel provider was successfully"wide
$text"[+] [NotifyRountines]"wide
$text"[callback addr: 0x"wide
$text"EDR / security products driver(s)"wide
$text"Object callback offsets not loaded ! Aborting..."wide
$text"No more space to store object callbacks !!"wide

Condition

uint16be( 0 ) == 0x4d5a and filesize < 1MB and 3 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 1MB (a cheap guard that skips large files).
  • At least 3 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

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: 7059b89c-80b5-4768-b3eb-02f173f628b0

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE