Add rules for Cerberus#80
Merged
Merged
Conversation
* Adds rule #00277 "Invoke method dynamically via reflection", generated from analysis of Cerberus samples. The rule pairs Object.getClass() with Method.invoke() — the canonical reflective invocation pattern. After score-adjustment training this rule scored 2.16; it fires on roughly 1.8× as many malware samples (31.1%) as benign samples (17.4%) in the corpus, and lands on all 10 Cerberus samples evaluated here. Note: this rule is added to the rule pool but is intentionally NOT featured as evidence in the corresponding Cerberus malware report — the report uses existing higher-discrimination rules (accessibility, icon-hide, Base64-decode-and-write) to walk through Cerberus's MITRE-mapped behaviors. Pair (Object.getClass + Method.invoke) is too generic to anchor a specific MITRE technique on its own. * Re-tunes the existing rules' scores from the score-adjustment training pass run with the Cerberus sample set added to the corpus. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
haeter525
pushed a commit
that referenced
this pull request
Jul 8, 2026
Retrain the existing 277-rule pool against the corpus after adding 15 AhRat samples for the analysis report in quark-engine PR #934. No new rule is added — AhRat's distinctive bytecode patterns (SMS and call-log reads via ContentResolver, last-known-location lookups) are already covered by the existing pool. This matches the sync convention of the earlier malware-detection PRs (#82 NGate, #80 Cerberus, #76 TangleBot, #74 Godfather). Companion analysis report PR: ev-flow/quark-engine#934 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #79