artifacts CLI toolkit for static triage of suspicious APKs#1948
Closed
carlospolop wants to merge 1 commit intomasterfrom
Closed
artifacts CLI toolkit for static triage of suspicious APKs#1948carlospolop wants to merge 1 commit intomasterfrom
carlospolop wants to merge 1 commit intomasterfrom
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://github.com/drego85/artifacts Content Categories: Based on the analysis, this content was categorized under "📱 Mobile Pentesting -> Android Applications Pentesting (static analysis / APK triage tooling) or 🤩 Basic Forensic Methodology -> Malware Analysis / Specific Software/File-Type Tricks". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
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.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Title/Goal: artifacts is a Python 3.10+ CLI toolkit for static first-pass triage of suspicious Android APKs. It is meant to quickly surface high-signal artifacts (manifest indicators, strings/IOCs) and suggest likely malware families by comparing extracted features to a LiteJDB-backed dataset, before moving to heavyweight tooling such as Jadx, Bytecode-Viewer...
🔧 Technical Details
Robust APK extraction when ZIP parsers fail: If APKs are tampered/obfuscated and break standard ZIP tooling (e.g., Python
zipfile), extract usingapkInspector.headers.ZipEntryto unpack entries directly into a working directory, improving success on malformed ZIP structures during triage.Manifest-first analysis from binary AXML: Decode
AndroidManifest.xmldirectly from the APK even when stored as binary AXML withapkInspector.axml.parse_apk_for_manifest. This yields package/launcher activity and permission/component metadata quickly without needing full decompilation.Family fingerprinting with explainable Jaccard scoring: Normalize manifest-derived indicators into separate buckets (
permission,application,intent), compute per-bucket Jaccard similarity (|A∩B|/|A∪B|*100) against known-family reference sets, then avera...🤖 Agent Actions
Summary:
Added a new static APK triage tool section for
artifactswith key techniques (robust extraction, binary manifest decode, IOC/base64 decoding, Jaccard family scoring) and usage examples, plus references.Files modified:
src/mobile-pentesting/android-app-pentesting/README.mdTests:
If you want, I can also cross-link this tool from a dedicated static analysis subsection or add a brief checklist item.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.