YARA · Volexity threat-intel
VOLEXITY_Apt_Malware_Macos_Vpnclient_Cc_Oct23
Detection for fake macOS VPN client used by CharmingCypress.
- Author
- threatintel@volexity.com
- Date
- 2023-10-17
- Modified
- 2023-10-27
- Score / Quality
- 75 / 80
What this rule detects
Detection for fake macOS VPN client used by CharmingCypress.
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule VOLEXITY_Apt_Malware_Macos_Vpnclient_Cc_Oct23 : CHARMINGCYPRESS FILE MEMORY
{
meta:
= "Detection for fake macOS VPN client used by CharmingCypress."
= "threatintel@volexity.com"
= "e0957936-dc6e-5de6-bb23-d0ef61655029"
= "2023-10-17"
= "2023-10-27"
= "TIB-20231027"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-02-13 CharmingCypress/rules.yar#L246-L272"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "11f0e38d9cf6e78f32fb2d3376badd47189b5c4456937cf382b8a574dc0d262d"
= "31ca565dcbf77fec474b6dea07101f4dd6e70c1f58398eff65e2decab53a6f33"
= "da5e9be752648b072a9aaeed884b8e1729a14841e33ed6633a0aaae1f11bd139"
= 75
= 80
= "CHARMINGCYPRESS, FILE, MEMORY"
= "darwin,linux"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 9770
= 3
strings:
$s1 = "networksetup -setsocksfirewallproxystate wi-fi off" ascii
$s2 = "networksetup -setsocksfirewallproxy wi-fi ___serverAdd___ ___portNum___; networksetup -setsocksfirewallproxystate wi-fi on" ascii
$s3 = "New file imported successfully." ascii
$s4 = "Error in importing the File." ascii
condition:
2 of ( $s* )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "networksetup -setsocksfirewallproxystate wi-fi off" | ascii |
| $s2 | text | "networksetup -setsocksfirewallproxy wi-fi ___serverAdd___ ___portNum___; networksetup -setsocksfirewallproxystate wi-fi on" | ascii |
| $s3 | text | "New file imported successfully." | ascii |
| $s4 | text | "Error in importing the File." | ascii |
Condition
2 of ( $s* )In plain words (Heuristic)
- At least 2 patterns in ( $s* ) 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).
- 11f0e38d9cf6e78f32fb2d3376badd47189b5c4456937cf382b8a574dc0d262d
- 31ca565dcbf77fec474b6dea07101f4dd6e70c1f58398eff65e2decab53a6f33
Licence & attribution
Author: threatintel@volexity.com
Source repository: Volexity threat-intel @ 3a9d0b5245
Licence: BSD 2-Clause License (stated in the rule's own meta)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Copyright notice: Copyright 2022 by Volexity, Inc.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: e0957936-dc6e-5de6-bb23-d0ef61655029
Metadata
| os | darwin,linux |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 9770 |
| version | 3 |
Tags:CHARMINGCYPRESSFILEMEMORY
Related rules
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-01-04
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-10-17
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-10-17
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-06-02
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-10-25
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-08-17