Skip to content

Instantly share code, notes, and snippets.

@strazzere
Created September 15, 2015 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strazzere/3b5ba525b2ac82e35276 to your computer and use it in GitHub Desktop.
Save strazzere/3b5ba525b2ac82e35276 to your computer and use it in GitHub Desktop.
rule Signed_APK_with_dex
{
meta:
author = "Tim Strazzere"
twitter = "@timstrazz"
date = "10/25/2012"
version = "1.0"
tag = "Android"
comment = "Attempted to detect an APK file with a classes.dex that is signed"
strings:
$PK_HEADER = {50 4B 03 04}
$MANIFEST = "META-INF/MANIFEST.MF"
$DEX_FILE = "classes.dex"
condition:
$PK_HEADER in (0..4) and $MANIFEST and $DEX_FILE
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment