YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_LOG_EXPL_SUSP_Teamcity_CVE_2023_42793_Oct23_1
Detects log entries that could indicate a successful exploitation of CVE-2023-42793 on TeamCity servers
- Author
- Florian Roth
- Date
- 2023-10-02
- Modified
- 2023-12-05
- Score / Quality
- 70 / 85
What this rule detects
Detects log entries that could indicate a successful exploitation of CVE-2023-42793 on TeamCity servers
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_LOG_EXPL_SUSP_Teamcity_CVE_2023_42793_Oct23_1 : CVE_2023_42793
{
meta:
= "Detects log entries that could indicate a successful exploitation of CVE-2023-42793 on TeamCity servers"
= "Florian Roth"
= "81c04863-72aa-5515-889e-3ef718360cac"
= "2023-10-02"
= "2023-12-05"
= "https://attackerkb.com/topics/1XEEEkGHzt/cve-2023-42793/rapid7-analysis"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_teamcity_2023_42793.yar#L2-L18"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "3b6c8e3e3ff91563899ca94904a56460cd702a3e58e0aacf1c3acb506ec3f959"
= 70
= 85
= "CVE-2023-42793"
strings:
$sa1 = "File edited: "
$sa2 = "\\TeamCity\\config\\internal.properties by user with id="
$sb1 = "s.buildServer.ACTIVITIES.AUDIT - server_file_change: File "
$sb2 = "\\TeamCity\\config\\internal.properties was modified by \"user with id"
condition:
all of ( $sa* ) or all of ( $sb* )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sa1 | text | "File edited: " | |
| $sa2 | text | "\\TeamCity\\config\\internal.properties by user with id=" | |
| $sb1 | text | "s.buildServer.ACTIVITIES.AUDIT - server_file_change: File " | |
| $sb2 | text | "\\TeamCity\\config\\internal.properties was modified by \"user with id" |
Condition
all of ( $sa* ) or all of ( $sb* )In plain words (Heuristic)
- All patterns in ( $sa* ) must match.
- All patterns in ( $sb* ) 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.
Licence & attribution
Author: Florian Roth
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: 81c04863-72aa-5515-889e-3ef718360cac
Tags:CVE_2023_42793
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-03-30
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-03-30
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2026-05-08
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-10-25
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-03-30
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10