
브랜드/조직의 파일과 이미지를 사용하는 피싱 키트를 찾습니다.
귀하의 브랜드/조직의 파일과 이미지를 사용하는 피싱 킷을 탐지합니다.
PhishingKitHunter (또는 PKHunter)는 귀하의 고객을 대상으로 하는 피싱 캠페인에서 귀하의 웹사이트 파일(CSS, JS 등)을 사용하는 피싱 킷 URL을 식별하기 위해 만들어진 도구입니다. 이 도구는 Python 3로 작성되었으며, 합법적인 웹사이트에서 특정 파일(GET 요청)을 가져오거나 피싱 세션 후 사용자를 리디렉션하는 리퍼러 URL 분석을 기반으로 합니다. 로그 파일에는 사용자가 어디에서 왔는지, 피싱 킷이 어디에 배포되었는지에 대한 리퍼러 URL이 포함되어 있어야 합니다. PhishingKitHunter는 로그 파일을 파싱하여 PhishingKitHunter 설정 파일에 정의한 정규 표현식을 기반으로 합법적인 페이지를 요청하는 특정 비합법적인 리퍼러를 식별합니다.
$ ./PhishingKitHunter.py -i LogFile2017.log -o PKHunter-report-20170502-013307.csv -c conf/test.conf
_ \ | / | | |
| | ' / | | | | __ \ __| _ \ __|
___/ . \ ___ | | | | | | __/ |
_| _|\_\_| _|\__,_|_| _|\__|\___|_|
-= Phishing Kit Hunter - v0.8.1 =-
[+] http://badscam.org/includes/ap/?a=2
| Timestamp: 01/May/2017:13:00:03
| HTTP status: can't connect (HTTP Error 404: Not Found)
[+] http://scamme.com/aple/985884e5b60732b1245fdfaf2a49cdfe/
| Timestamp: 01/May/2017:13:00:49
| HTTP status: can't connect (<urlopen error [Errno -2] Name or service not known>)
[+] http://badscam-er.com/eb/?e=4
| Timestamp: 01/May/2017:13:01:06
| HTTP status: can't connect (<urlopen error [Errno -2] Name or service not known>)
[+] http://assur.cam.tech/scam/brand/new/2bd5a55bc5e768e530d8bda80a9b8593/
| Timestamp: 01/May/2017:13:01:14
| HTTP status: UP
| HTTP shash : 0032588b8d93a807cf0f48a806ccf125677503a6fabe4105a6dc69e81ace6091
| DOMAIN registrar: ASCIO TECHNOLOGIES, INC. DANMARK - FILIAL AF ASCIO TECHNOLOGIES, INC. USA
| DOMAIN creation date: 2008-07-10 00:00:00
| DOMAIN expiration date: 2017-07-10 00:00:00
[+] http://phish-other.eu/assur/big/phish/2be1c6afdbfc065c410d36ba88e7e4c9/
| Timestamp: 01/May/2017:13:01:15
| HTTP status: UP
| HTTP shash : 2a545c4d321e3b3cbb34af62e6e6fbfbdbc00a400bf70280cb00f4f6bb0eac44
| DOMAIN registrar: Hostmaster Strato Rechenzentrum
| DOMAIN creation date: None found
| DOMAIN expiration date: None found
697475it [06:41, 1208.14it/s]
$ ./PhishingKitHunter.py --help
_ \ | / | | |
| | ' / | | | | __ \ __| _ \ __|
___/ . \ ___ | | | | | | __/ |
_| _|\_\_| _|\__,_|_| _|\__|\___|_|
-= Phishing Kit Hunter - v0.8.1 =-
-h --help Prints this
-i --ifile Input logfile to analyse
-o --ofile Output CSV report file (default: ./PKHunter-report-'date'-'hour'.csv)
-c --config Configuration file to use (default: ./conf/defaults.conf)
$ cat ./PKHunter-report-20170502-013307.csv
PK_URL;Domain;HTTP_sha256;HTTP_status;date;domain registrar;domain creation date;domain creation date;domain expiration date
http://badscam.org/includes/ap/?a=2;badscam.org;;can't connect (HTTP Error 404: Not Found);01/May/2017:13:00:03;;;
http://assur.cam.tech/scam/brand/new/2bd5a55bc5e768e530d8bda80a9b8593/;assur.cam.tech;0032588b8d93a807cf0f48a806ccf125677503a6fabe4105a6dc69e81ace6091;UP;01/May/2017:13:01:14;None found;None found;Hostmaster Strato Rechenzentrum
[...]
요구 사항 설치
pip3 install -r requirements.txt
conf/default.conf 파일을 읽어 PhishingKitHunter 설정 방법을 알아보세요.
Dockerfile을 사용하여 이 저장소를 자동으로 git clone하는 Docker 컨테이너를 생성할 수 있습니다. 이것은 최신 가벼운 Phusion 배포판을 기반으로 하며, PhishingKitHunter를 가져오고 실행하는 데 필요한 패키지를 포함합니다.
컨테이너 빌드:
$ docker build tad/pkhunter .
일부 옵션(예: 로컬 로그 파일 저장소)으로 컨테이너 시작:
$ docker run -d -P --name PKHunter --volume /var/log:/opt/logfiles tad/pkhunter
이제 셸을 실행하고 분석을 시작할 수 있습니다:
$ docker exec -ti tad/pkhunter /bin/bash