• Stars
    star
    204
  • Rank 190,992 (Top 4 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created about 10 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android Loadable Kernel Modules - mostly used for reversing and debugging on controlled systems/emulators

android-lkms

Android Loadable Kernel Modules - mostly used for reversing and debugging on controlled systems/emulators.

  • antiptrace - simple ptrace hooking module for use to aid in reversing native applications on Android
  • open-read-write - hooks lots of functions in an attempt to find out what files a piece of malware was touching
  • antiunlink - prevents a specificed package name from unlinking files in it's own directory, specifically for use against dexprotector

Warning

Beware using any of these in a production like environment, they have been tested only in my personal qemu environments. Some are (bad) attempts at trying different methods of hooking things to see the outcome. The results may be unexpected and cause qemu environments to slow down due to performing slower operations in the kernel than you should be. Someone help your poor soul if you try to run all of these on a real device.

Compiling

Edit the Makefile prior and ensure that the paths are correct for your system. There are assumptions made how your environments are set up. You will also need the 'sys_call_table' from the compiled kernel - which is grabbed automatically by a script. You can manually insert this value into android_module.h if you would prefer.

Using the LKMS

I've written a blog about setting up an OSX environment for compiling the a Kernel capable of running LKMs, you should reference this for a quick and easy how-to; Compiling an Android Emulator Kernel for Loadable Kernel Modules

[email protected]

More Repositories

1

android-unpacker

Android Unpacker presented at Defcon 22: Android Hacker Protection Level 0
C
1,104
star
2

anti-emulator

Android Anti-Emulator
Java
775
star
3

golang_loader_assist

Making GO reversing easier in IDA Pro
Python
622
star
4

android-scripts

Collection of Android reverse engineering scripts
C++
402
star
5

010Editor-stuff

A collection of 010 Editor specific stuff
Roff
398
star
6

APKfuscator

A generic DEX file obfuscator and munger
Ruby
255
star
7

dehoser

Unpacker for the HoseDex2Jar APK Protection which packs the original file inside the dex header
Java
69
star
8

elf-dump-fix

Utils use to dump android ELF from memory and do some fix including the ELF section header rebuilding
C
48
star
9

IDAnt-wanna

ELF header abuse
Python
46
star
10

Emacs-Smali

Smali/Baksmali mode for Emacs
Smali
32
star
11

dalvik-header-plugin

Dalvik Header Plugin for IDA Pro
C++
21
star
12

usb-accessory-gadget

Frida gadget for dumping traffic between an apk and usb device
TypeScript
18
star
13

android-iptables

C
11
star
14

LeNa-Decryption-Script

Legacy Native IDA Decryption Script
11
star
15

alpine-android-ndk

Slim dockerized Android ndk
Dockerfile
10
star
16

duml-packet

Parsing, modifying and using DUML packets
TypeScript
10
star
17

VirusTotalCommand

VirusTotalCommand -- Alternative VirusTotal API
Ruby
9
star
18

eglinfo-android

like glxinfo but for egl, like eglinfo but specifically for Android
C
8
star
19

ewmami

A gem will allow you to query the Google Play APK Verification (AntiMalware) service
Ruby
7
star
20

distil-solver

Distil Anti-bot solver
Go
6
star
21

praxis

a transparent proxy micro-service written in golang
Go
6
star
22

goguard

Golang obfuscator
5
star
23

no-go-scammers

Quick 'n dirty golang twilio bot for calling and annoying scammers
Go
4
star
24

recipes

CSS
3
star
25

analysis-scripts

A random assortment of analysis scripts
Python
3
star
26

Noref

No Referrer Chrome Extension
JavaScript
3
star
27

rapidshare

wrapper for RapidShare API
Ruby
3
star
28

regex-speed-test

Testing some fundamental concepts on Golang regex structures
Go
3
star
29

microengine-eicar

Go
2
star
30

droidsuggest

Wrapper for the Android Market/Google Play Search suggestions
Ruby
2
star
31

neuterref

Kill referrers that might be leaked from gmail or other 'trusted' domains
JavaScript
2
star
32

go-shc

go variant of shc
Go
2
star
33

test

HTML
1
star
34

blog

1
star
35

openSprinkl

open source version of a sprinkl controller
JavaScript
1
star
36

aoc

advent of code typescript
TypeScript
1
star
37

location-tests

HTML
1
star
38

nginx-cac-ocsp

A small project designed to encapsulate a full end-to-end test of CAC/PIV cards for testing purposes
Python
1
star