detecting-mobile-malware-behavior

Detects malicious behavior in Android and iOS apps through static analysis, runtime hooking, and network monitoring.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill detecting-mobile-malware-behavior
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: detecting-mobile-malware-behavior
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/mobile-security/detecting-mobile-malware-behavior
Command: npx skills add https://github.com/xalgord/xalgorix --skill detecting-mobile-malware-behavior

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security analysts need a structured way to determine whether a suspicious mobile application is malware, but manual triage of APK/IPA samples is slow and easily misses evasive behaviors like delayed payloads, encrypted C2 traffic, and dynamic code loading.

Core Features & Use Cases

  • Static Indicator Analysis: Hash samples, query VirusTotal, and audit AndroidManifest permissions for high-risk combinations like READ_SMS plus INTERNET.
  • Runtime Behavior Monitoring: Use Frida hooks to observe SMS sending, file writes, network connections, DexClassLoader usage, command execution, and camera access in real time.
  • Network Traffic Inspection: Capture packets with tcpdump or mitmproxy to identify C2 beaconing, DGA domains, and data exfiltration patterns.
  • Malware Classification: Map observed behaviors to categories such as banking trojan, spyware, ransomware, or cryptojacker.
  • Use Case: During incident response, an analyst receives a suspicious APK from a user report, runs it through MobSF and Frida monitoring in an isolated emulator, and confirms it is a banking trojan intercepting SMS messages and beaconing to a C2 server.

Quick Start

Analyze the attached suspicious.apk for malicious behavior, including permission abuse, network communication, and runtime activity, then classify the malware type.

Frequently Asked Questions about detecting-mobile-malware-behavior

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a suspicious APK for malware?

Start by hashing the sample and checking VirusTotal, then extract permissions with aapt to spot high-risk combinations like READ_SMS plus INTERNET. Follow with MobSF automated scanning and Frida runtime monitoring in an isolated emulator to observe actual behavior.

How to detect C2 communication in Android malware?

Capture traffic with tcpdump or mitmproxy while the sample runs and look for periodic beaconing, connections to newly registered domains, DGA patterns, and large POST requests indicating exfiltration. For encrypted C2, hook Cipher.doFinal or TLS calls with Frida to recover plaintext before encryption.

What tools are needed for mobile malware analysis?

The workflow uses MobSF for automated static and dynamic analysis, Frida or Objection for runtime hooking, Wireshark or tcpdump for network capture, and VirusTotal for hash reputation. An isolated Android emulator or dedicated physical device is required for safe execution.

Why does malware show no malicious behavior in an emulator?

Many samples include anti-emulator checks that suppress payloads when a sandbox is detected. Run the sample on a physical device and diff its behavior against the emulator run, and use stealthy Frida configurations to avoid debugger detection.

Can this skill be used to create or modify malware?

No. The skill explicitly prohibits creating, enhancing, or distributing malware and is designed for defensive analysis only, such as incident response, malware triage, and enterprise fleet monitoring.