Add Quark malware analysis report for Chrysaor - #968
Merged
Conversation
pulorsok
force-pushed
the
docs/chrysaor-report
branch
5 times, most recently
from
August 25, 2026 16:12
36e4305 to
47c411d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #968 +/- ##
=======================================
Coverage 78.48% 78.48%
=======================================
Files 84 84
Lines 7692 7692
=======================================
Hits 6037 6037
Misses 1655 1655
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Chrysaor is the Android build of the Pegasus spyware, tracked by MITRE as S0316. Quark's rule classification flagged both samples as high-risk and confirmed two of the fourteen techniques MITRE documents for the family. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
pulorsok
force-pushed
the
docs/chrysaor-report
branch
from
August 27, 2026 06:36
47c411d to
092150b
Compare
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.
Chrysaor Malware Family Analysis Report
This report analyses the Chrysaor malware family using Quark's rule classification. Chrysaor is the Android build of the Pegasus spyware developed by NSO Group, documented by Lookout and Google in 2017. It is delivered as a targeted implant that records audio, reads stored messages, and can remove its own traces on command. This run did not add a new rule for Chrysaor. Check here for the rule set details.
Quark's rule classification flagged 2 of 2 Chrysaor samples as high-risk in this experiment (detection rate 100%). Benign-cohort false-positive rate was not measured here. See tested APKs below.
Identified Well-Known Threats
This section uses MITRE ATT&CK Mobile as its reference taxonomy, anchored to the S0316 Pegasus for Android software entry — Chrysaor is MITRE's alias for the same implant. Of the 14 techniques documented for the family, Quark's static bytecode analysis confirms the 2 listed below; see the coverage-gap notes at the end of this section for why the other 12 are not demonstrated here.
All behavior maps below were rendered from sample
ade8bef0ac29fa363fc9afd958af0074478aef650adeb0318517b48bd996d5d5.apk(packagecom.network.android) — chosen as the representative sample whose detected behaviors most fully cover the documented profile of Chrysaor. The other family sample was used to compute the detection-rate figure above.Each section below corresponds to one technique from the table above. Within each section we first quote the MITRE definition, then show the Quark behavior map extracted from the representative sample's bytecode, then walk through the call sequence and list the underlying rules.
1. T1429 Audio Capture
T1429 Audio Capture — attack.mitre.org
Lcom/network/android/roomTap/AutoAnswerReceiver;cdirectly initializes the recorder and starts recording. This call enables the receiver to capture ambient audio without user interaction.Behaviors detected by Quark:
2. T1422.001 Internet Connection Discovery
T1422.001 Internet Connection Discovery — attack.mitre.org
Lcom/network/f/a;adirectly checks for network connectivity. This call enables the malware to determine whether an active network connection is available.Behaviors detected by Quark:
Coverage-gap notes
The 12 MITRE techniques documented for Chrysaor that this report does NOT demonstrate, grouped by the reason Quark could not confirm them:
What makes it malicious is in the text, not the call (2) — T1404 Exploitation for Privilege Escalation and T1636.002 Call Log.
Lcom/network/android/mruns shell commands and Quark sees the call, but a shell call looks the same whatever it runs. T1636.002 fails the same way: the rules that fired cover the SMS and call-log providers together, because both are reached through one API with a different URI string.The samples do not exhibit the behaviour (7) — T1409 Stored Application Data, T1418 Software Discovery, T1422 System Network Configuration Discovery, T1422.002 Wi-Fi Discovery, T1636.001 Calendar Entries, T1644 Out of Band Data and T1645 Compromise Client Software Binary. These samples do not carry these behaviours, so there is nothing for Quark to detect.
The two calls happen but nothing is passed between them (3) — T1512 Video Capture, T1624.001 Broadcast Receivers and T1636.003 Contact List. Each reaches stage 4: one method makes both calls, in the right order. The camera object, for one, travels through wrapper methods instead of going straight from the first call to the second, so Quark cannot link them.
List of Tested APKs
The table below lists the APKs we tested.
🤖 Generated with Claude Code