Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
permhash — Chromium 확장 프로그램 및 APK에 선언된 권한을 해싱하는 프레임워크로, 잠재적으로 악성인 패키지 전반에 걸친 클러스터링, 헌팅, 피보팅을 가능하게 합니다. | Kitploit
도구/GitHubGitHub/google/permhash
Android SecurityStatic AnalysisHash AnalysisMalware AnalysisDigital ForensicsMobile Security
GitHubgoogle/permhash

permhash

Chromium 확장 프로그램 및 APK에 선언된 권한을 해싱하는 프레임워크로, 잠재적으로 악성인 패키지 전반에 걸친 클러스터링, 헌팅, 피보팅을 가능하게 합니다.

저장소 보기
4510109개월 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

PyPi Version

Permhash는 Chromium 기반 브라우저 확장 프로그램과 APK에 적용된 선언된 권한을 해시하여 가져오기 해싱(import hashing) 및 리치 헤더 해싱(rich header hashing)과 유사하게 클러스터링, 헌팅, 피벗이 가능하도록 하는 확장 가능한 프레임워크입니다.

Permhash는 현재 네 가지 유형의 파일에서 실행할 수 있지만 그 이상으로 확장할 수 있습니다:

  1. Android 패키지(APK) 파일.
  2. Chromium 기반 확장 프로그램 파일(CRX).
  3. APK 내 루트 디렉터리에서 찾을 수 있는 AXML Android Manifest 파일.
  4. Chromium 기반 확장 프로그램의 JSON 확장 프로그램 Manifest.

다운로드 및 사용법

permhash 라이브러리 설치

root@kitploit:~
pip install permhash

라이브러리 사용

permhash 가져오기

root@kitploit:~
from permhash import functions as permhash

permhash 사용하기

root@kitploit:~
# The path variable should be the full path to the file you wish to use to calculate the permhash.

# Calculate the permhash for a CRX
ph = permhash.permhash_crx(path)

# Calculate the permhash for a CRX manifest
ph = permhash.permhash_crx_manifest(path)

# Calculate the permhash for an APK
ph = permhash.permhash_apk(path)

# Calculate the permhash for an APK manifest
ph = permhash.permhash_apk_manifest(path)

예시

permhash를 대량으로 계산하는 예시입니다.

root@kitploit:~
import csv
import os
from permhash import functions as permhash


def bulk_permhash_crx_manifest(path, output):
    """
    Computes the permhash from a directory of CRX manifests
    Outputs the results in a csv passed as input

    :param path: The targeted directory
    :type path: string
    :param output:
    :type path: string

    """
    with open(output, mode="w", encoding="utf-8") as results:
        out_writer = csv.writer(
            results, delimiter=",", quotechar='"', quoting=csv.QUOTE_MINIMAL
        )
        out_writer.writerow(["filename", "permhash"])
        for filename in os.listdir(path):
            if path.endswith("/"):
                full_path = path + filename
            else:
                full_path = path + "/" + filename
            calculated_permhash = permhash.permhash_crx_manifest(full_path)
            if calculated_permhash:
                out_writer.writerow([filename, calculated_permhash])

명령줄 사용

Permhash는 명령줄 도구로도 사용할 수 있습니다. --path/-p 스위치에 permhash를 계산할 파일의 전체 경로를 제공하고, --type/-t 스위치에 분석 중인 파일 유형을 제공합니다. 명령은 permhash를 출력하거나, 유효하지 않은 파일이면 False를 출력합니다.

root@kitploit:~
permhash --type crx --path '[PATH TO CRX File]'
permhash --type crx_manifest --path '[PATH TO CRX Manifest File]'
permhash --type apk --path '[PATH TO APK File]'
permhash --type apk_manifest --path '[PATH TO APK Manifest Files]'

추가 정보

Permhash

자세한 내용은 Mandiant Permhash 블로그를 참조하세요.

토론

Permhash Google 그룹을 사용하여 토론을 진행할 수 있습니다.

고지 사항

이 제품은 공식적으로 지원되는 Google 제품이 아닙니다.

도구 다운로드