Add rule for AndroRAT and sync score-adjusted rules#84
Open
pulorsok wants to merge 1 commit into
Open
Conversation
… rules Add rule #00278 for AndroRAT's video-capture pattern (MediaRecorder setVideoSource + setProfile), the canonical DroidJack-fork video recorder signature. The rule triggers only when both APIs are called on the same MediaRecorder instance inside one parent method, which matches the AndroRAT-specific code shape. Also sync score-adjusted weights for all 277 existing pool rules retrained against the AndroRAT-inclusive corpus, matching the convention of recent malware-detection PRs (ev-flow#82 NGate, ev-flow#80 Cerberus, ev-flow#76 TangleBot, ev-flow#74 Godfather). - rule 00278: mal L5 = 1/589, ben L5 = 0/239, mal:ben ratio infinity (zero benign false positive), trained score -1.20 (specific but low recall — fires only on the exact video-capture pair) - 244 rule files touched, 243 with a score change plus the new rule Companion analysis report PR: ev-flow/quark-engine#954
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.
This PR adds a new rule for AndroRAT's video-capture pattern and syncs the score-adjusted weights for all existing pool rules retrained against the AndroRAT-inclusive corpus.
New rule
#00278 — Configure video source and camcorder profile for video capture recording
The rule pairs
MediaRecorder.setVideoSourcewithMediaRecorder.setProfile, the canonical video-recorder setup pattern used by the DroidJack fork of AndroRAT. The pair triggers only when both APIs are called on the same MediaRecorder instance inside a single parent method.Trained discrimination:
Score sync
Follows the sync convention of recent malware-detection PRs: #82 NGate, #80 Cerberus, #76 TangleBot, #74 Godfather.
Companion analysis report PR: ev-flow/quark-engine#954