boolseeker

command module
v0.0.0-...-b8c42e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 12 Imported by: 0

README

Boolseeker

Boolseeker is a powerful but simple tool designed to analyze APK files for detection mechanisms related to hardenings, saving time when bypassing basic hardening measures in Android applications. It extracts all boolean Java methods with their full paths and saves them to an output file, while also searching for specific keyword strings within those methods and providing the option to search for keyword strings in shared object (SO) native functions.

More specifically, it searches for mechanisms related to:

  • Rooted Device Detection;
  • Emulator Detection;
  • Runtime Integrity Verification;
  • File Integrity Checks.

Furthermore, if the android application method names are not obfuscated, all boolean Java functions are saved in an output file and thus it can be searched with grep for suspicious methods related to detections.

For more information, please check out my Symsec post.

Installation

To install the tool, run:

go install github.com/0xdeny/boolseeker@latest

Note: Please ensure that apktool is installed on your system for Boolseeker to function properly (tested only with this installation source).

Usage

Use -h or --help to display the help for the tool:

boolseeker -h

Boolseeker requires an apk file (-a) and an output file (-o) as mandatory parameters. The tool admits the following options:

Options

-a, --apk string      Path to the APK file to decode and analyze (required)
-o, --output string   Path to the output file for boolean method names (required)
-so                   Enable searching in .so files
--version             Display the current version of Boolseeker
-h, --help            Display help information

Examples

boolseeker -a example.apk -o out.txt
Output Example-1
boolseeker -a example.apk -so -o out.txt
Output Example-2

Author

Symeon Papadimitriou

LinkedIn

License

boolseeker is distributed under MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL