-
Notifications
You must be signed in to change notification settings - Fork 0
Add Frida log to capa analysis workflow #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| yield from self.global_features | ||
| """Basic global features""" | ||
| yield OS("android"), NO_ADDRESS | ||
| yield Arch("aarch64"), NO_ADDRESS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No gurantee to be aarch64 in anyway. Better to remove.
mike-hunhoff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great first commit, thank you! See my comments
| """ | ||
| def __init__(self, report: FridaReport): | ||
| super().__init__( | ||
| hashes=SampleHashes(md5="", sha1="", sha256="") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible for Frida to log these? If not, we may need to require users to provide both the Frida-generated log file and original file to capa, like we do with other extractors e.g. BinExport, VMRay, etc..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I’ve found, Frida cannot access original APK file to compute hashes at runtime. Marked this as a TODO. Will revisit it. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be possible for Frida to access the local storage and find the APK, then compute the digest.
But I agree it is not very important at this stage, you can revisit this part later. For the time being, maybe give the digests via command line?
Files Added
Files Changed
java_monitor.js
log_converter.py
extractor.py & models.py