Skip to content

Add rule for AndroRAT and sync score-adjusted rules#84

Open
pulorsok wants to merge 1 commit into
ev-flow:masterfrom
pulorsok:add-androrat-rule
Open

Add rule for AndroRAT and sync score-adjusted rules#84
pulorsok wants to merge 1 commit into
ev-flow:masterfrom
pulorsok:add-androrat-rule

Conversation

@pulorsok

Copy link
Copy Markdown
Member

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.setVideoSource with MediaRecorder.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:

  • malware L5 hit rate: 1/589 = 0.17%
  • benign L5 hit rate: 0/239 = 0.00%
  • mal:ben ratio: infinity (zero benign false positive)
  • trained score: -1.20 (specific but low recall — fires only on the exact video-capture pair; the negative pool-wide score reflects that this pair is uncommon across the corpus rather than the pair being non-discriminative)

Score sync

  • 244 rule files touched, 243 existing rules with a score change plus the new rule
  • Retrained against the same benign / malware cohort used by the earlier sync PRs, plus the 5 AndroRAT samples added for this run

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

… 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant