nccgroup/house là dự án Mobile trên GitHub, viết chủ yếu bằng JavaScript, với 1.5k sao. A runtime mobile application analysis toolkit with a Web GUI, powered by Frida, written in Python.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
House: A runtime mobile application analysis toolkit with a Web GUI,
powered by Frida, written in Python. It is designed for helping assess mobile
applications by implementing dynamic function hooking and intercepting and
intended to make Frida script writing as simple as possible.
TL;DR
git clone https://github.com/nccgroup/house
cd house
pip3 install -r requirements.txt
pip3 install pipenv
pipenv --python=/usr/bin/python3 install
pipenv --python=/usr/bin/python3 shell
python3 app.py <PORT>
# or:
mkvirtualenv --python=/usr/local/bin/python3 house
workon house
pip install -r requirements.txt
python app.py <PORT>
# or: (only for Mac OS)
git clone https://github.com/nccgroup/house
cd house
pip3 install -r requirements.txt
pip3 install pipenv
pipenv --python=/usr/local/bin/python3 install
pipenv --python=/usr/local/bin/python3 shell
python3 app.py <PORT>
By default, House binds to http://127.0.0.1:8000.
To get an overview of House capabilities, you can visit user's manual for details.
News
Added dynamic dex/jar hooking, House now can hook functions in dynamically loaded dex/jar files
Added Mini Script option for Hooks
ClassLoader Enum
Note: Make sure to update your Frida version to >= 12.8.3 for /dex/jar function hooking
Example Usage
In this section, a small example is provided to illustrate basic usage of
House. The demo case is performed against a small testing android application:
com.ha0k3.overloads.
Start
Make sure an Android device is plugged in over USB and Frida server is
running on the device. Check the Frida server is successfully spawned using the
following command: frida-ps -U.
Start the House application by running app.py : python app.py <PORT>.
Open a browser and navigate to http://127.0.0.1:PORT.
Observe the device information is displayed on the page, if not, click the
Refresh button or restart the application and Frida server.
Monitor
Dynamically generating hook script from templates based on the config file, monitor key operations including FILEIO, IPC, etc.
It is experimental at this point, If you find more functions needed to be hooked, feel free to let me know or file a PR.
Preload & Sideload
House now support sideload. It supports stetho side loading at this point; which makes it easier for us to examine the UI; storage; etc.
It is experimental at this point, but more functionalities such as SSLStrip will be added under this tab.
Enumeration
Enumerate all loaded classes:
Enumerate all classes in the Dex file:
Enumerates all methods within a given class
History Scripts management
Multiple Function Tracing
Scripts rendering and Function Tracing
Hooks for functions in dynamically loaded dex/jar files
Mini Script option
History Scripts management
Function intercepting
Via House, researchers can dynamically change the arguments being passed to
the target functions and forward it.
Sometimes House cannot perfectly parse argument informations. For example, an
arguments can be with special type. In the example app, it implemented
isLit function that takes customized object as its argument. To tackle
those situations, a simple "REPL" is provided by House. Security researchers
can dynamically type in Frida script in the REPL and modify the function
behaviors.
Several REPL functions were provided by House to make the testing easier:
inspectObject(obj) uses java.lang.reflect to inspect fields information within an object.
setRetval(ret) takes a parameter and will try to cast it to the correct return type using the original return value's constructor.
getStackTrace() will print the stack trace.
More REPL functions will be added in the future.
Note: For constructor method hooking/intercept, input $init as method name.
FAQ
Prerequisite:
To make House work; you would need:
A rooted android device with frida-server running plugged in your computer, use only one USB device is recommended.
Local frida-python version matches frida-server's.
Cannot get device? Does not work?
Also please try to restart both the frida server and House, if still not working, please file an issue.
Time out error?
Often occues when there are multiple USB devices connected, try to restart the target application.
Frida error?
House has been tested using Frida version 12.8.6; there might be some issues with some other versions, also make sure frida-python matches frida-server's version. If still not working, try to run the generated frida scripts manually to see if it works.
Acknowledgements
Special thanks to following open-source projects for inspirations on House:
Frida, the great instrumentation toolkit that making all of these possible.
Objection, an inspiration and guide in building part of the Frida templating scripts of House.
Inspeckage, an inspiration on the Monitor functionality of House.
0xdea/frida-scripts - a great Frida scripts arsenal.
Contact
If you have more questions about House, or want to help extending it, feel free to contact:
nccgroup/house thuộc nhóm Mobile trên TopGit, cùng 4 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về nccgroup/house ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/nccgroup/house là nguồn chính thức.
nccgroup/house có phải mã nguồn mở không?
Có — nccgroup/house phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/nccgroup/house.
nccgroup/house có trang demo không?
Dự án có trang chủ ở https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2018/june/house-a-mobile-analysis-platform-built-on-frida/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
nccgroup/house dùng license gì?
nccgroup/house phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
nccgroup/house là gì?
nccgroup/house (nccgroup/house) là dự án JavaScript trên GitHub. Theo mô tả gốc: A runtime mobile application analysis toolkit with a Web GUI, powered by Frida, written in Python.
Vì sao nccgroup/house được xếp vào nhóm Mobile?
TopGit xếp nccgroup/house vào nhóm Mobile dựa trên GitHub topics và mô tả của repo (gắn thẻ: "android", "frida", "mobile"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
house có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về house.