YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_3Cxdesktopapp_Macos_Updateagent_Mar23
Detects 3CXDesktopApp MacOS UpdateAgent backdoor component
- Author
- Florian Roth (Nextron Systems)
- Date
- 2023-03-30
- Modified
- 2023-12-05
- Score / Quality
- 80 / 85
What this rule detects
Detects 3CXDesktopApp MacOS UpdateAgent backdoor component
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_MAL_3Cxdesktopapp_Macos_Updateagent_Mar23 : FILE
{
meta:
= "Detects 3CXDesktopApp MacOS UpdateAgent backdoor component"
= "Florian Roth (Nextron Systems)"
= "596eb6d0-f96f-5106-ae67-9372d238e4cf"
= "2023-03-30"
= "2023-12-05"
= "https://twitter.com/patrickwardle/status/1641692164303515653?s=20"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_mal_3cx_compromise_mar23.yar#L330-L354"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "9e9a5f8d86356796162cee881c843cde9eaedfb3"
= "0818a8f0b59a9baaefaa0b505f8261e0e0df283e79da8e95dc71e9afdca224ab"
= 80
= 85
= "FILE"
strings:
$a1 = "/3CX Desktop App/.main_storage" ascii
$x1 = ";3cx_auth_token_content=%s;__tutma=true"
$s1 = "\"url\": \"https://"
$s3 = "/dev/null"
$s4 = "\"AccountName\": \""
condition:
uint16( 0 ) == 0xfeca and filesize < 6MB and ( 1 of ( $x* ) or ( $a1 and all of ( $s* ) ) ) or all of them
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a1 | text | "/3CX Desktop App/.main_storage" | ascii |
| $x1 | text | ";3cx_auth_token_content=%s;__tutma=true" | |
| $s1 | text | "\"url\": \"https://" | |
| $s3 | text | "/dev/null" | |
| $s4 | text | "\"AccountName\": \"" |
Condition
uint16( 0 ) == 0xfeca and filesize < 6MB and ( 1 of ( $x* ) or ( $a1 and all of ( $s* ) ) ) or all of themIn plain words (Heuristic)
- The file must be smaller than 6MB (a cheap guard that skips large files).
- All patterns in ( $s* ) must match.
- All patterns in the rule must match.
- At least 1 patterns in ( $x* ) must match.
- Pattern $a1 must be present.
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).
- 9e9a5f8d86356796162cee881c843cde9eaedfb3
Licence & attribution
Author: Florian Roth (Nextron Systems)
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: 596eb6d0-f96f-5106-ae67-9372d238e4cf
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-03
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-10
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-04
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-01-29
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-10-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-08-03