
SSL 취약점 자동 스캐닝
SSL 취약점 자동 스캐닝.
HeartBleed, CCS Injection, SSLv3 POODLE, FREAK... 등
A. 지원 취약점
- CVE-2007-1858] Anonymous Cipher
- CVE-2012-4929] CRIME(SPDY)
- CVE-2014-0160] CCS Injection
- CVE-2014-0224] HeartBleed
- CVE-2014-3566] SSLv3 POODLE
- CVE-2015-0204] FREAK Attack
- CVE-2015-4000] LOGJAM Attack
- CVE-2016-0800] SSLv2 DROWN
B. 개발 계획
- PLAN] SSL ACCF
- PLAN] SSL Information Analysis
A. 다운로드(클론) 및 A2SV 압축 해제
$ git clone https://github.com/hahwul/a2sv.git
$ cd a2sv
B. Python 패키지 / OpenSSL 설치
$ pip install argparse
$ pip install netaddr
$ apt-get install openssl
C. A2SV 실행
$ python a2sv.py -h
usage: a2sv [-h] [-t TARGET] [-tf TARGETFILE] [-p PORT] [-m MODULE]
[-d DISPLAY] [-u] [-v]
optional arguments:
-h, --helpshow this help message and exit
-t TARGET, --target TARGET
Target URL and IP Address
$ e.g -t 127.0.0.1
-tf TARGETFILE, --targetfile TARGETFILE
Target file(list) URL and IP Address
$ e.g -tf ./target.list
-p PORT, --port PORT Custom Port / Default: 443
$ e.g -p 8080
-m MODULE, --module MODULE
Check SSL Vuln with one module
[anonymous]: Anonymous Cipher
[crime]: https://raw.githubusercontent.com/hahwul/a2sv/HEAD/Crime(SPDY)
[heart]: https://raw.githubusercontent.com/hahwul/a2sv/HEAD/HeartBleed
[ccs]: CCS Injection
[poodle]: SSLv3 POODLE
[freak]: OpenSSL FREAK
[logjam]: OpenSSL LOGJAM
[drown]: SSLv2 DROWN
-d DISPLAY, --display DISPLAY
Display output
[Y,y] Show output
[N,n] Hide output
-o OUT, --out OUT Result write to file
$ e.g -o /home/yourdir/result.txt
-u, --update Update A2SV (GIT)
-v, --version Show Version
[SSL 취약점 스캔]
$ python a2sv.py -t 127.0.0.1
$ python a2sv.py -t 127.0.0.1 -m heartbleed
$ python a2sv.py -t 127.0.0.1 -d n
$ python a2sv.py -t 127.0.0.1 -p 8111
$ python a2sv.py -tf target_list.txt
[A2SV 업데이트]
$ python a2sv.py -u
$ python a2sv.py --update
제가 신경을 많이 쓰지 못하는 프로젝트라 답변이 매우 느립니다.
- poodle : https://github.com/supersam654/Poodle-Checker
- heartbleed : https://github.com/sensepost/heartbleed-poc
- ccs injection : https://github.com/Tripwire/OpenSSL-CCS-Inject-Test
- freak : https://gist.github.com/martinseener/d50473228719a9554e6a