YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_LUA_Hunting_Lua_SEASPRAY_1
Hunting rule looking for strings observed in SEASPRAY samples.
- Author
- Mandiant
- Date
- 2023-06-15
- Modified
- 2023-12-05
- Score / Quality
- 70 / 85
What this rule detects
Hunting rule looking for strings observed in SEASPRAY samples.
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_MAL_LUA_Hunting_Lua_SEASPRAY_1
{
meta:
= "Hunting rule looking for strings observed in SEASPRAY samples."
= "Mandiant"
= "8c744b85-b61e-56d0-8a9e-ae6a954e1b95"
= "2023-06-15"
= "2023-12-05"
= "https://www.mandiant.com/resources/blog/barracuda-esg-exploited-globally"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_barracuda_esg_unc4841_jun23.yar#L213-L228"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "35cf6faf442d325961935f660e2ab5a0"
= "856bfb47557b60f69aa1141477d6ce446ea13ebbe899022d7996ceef08bdefbb"
= 70
= 85
= ""
strings:
$str1 = "string.find(attachment:filename(),'obt075') ~= nil"
$str2 = "os.execute('cp '..tostring(tmpfile)..' /tmp/'..attachment:filename())"
$str3 = "os.execute('rverify'..' /tmp/'..attachment:filename())"
condition:
all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str1 | text | "string.find(attachment:filename(),'obt075') ~= nil" | |
| $str2 | text | "os.execute('cp '..tostring(tmpfile)..' /tmp/'..attachment:filename())" | |
| $str3 | text | "os.execute('rverify'..' /tmp/'..attachment:filename())" |
Condition
all of themIn plain words (Heuristic)
- All 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 35cf6faf442d325961935f660e2ab5a0
Licence & attribution
Author: Mandiant
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 8c744b85-b61e-56d0-8a9e-ae6a954e1b95
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2022-04-28
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-03-04