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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
log4shell-cloud-scanner — we are providing DevOps and security teams script to identify cloud workloads that may be vulnerable to the Log4j vulnerability(CVE-2021-44228) in their AWS account. The script enables security teams to identify external-facing AWS assets by running the exploit on them, and thus be able to map them and quickly patch them | Kitploit
도구/GitHubGitHub/mitiga/log4shell-cloud-scanner
Cloud Infrastructure SecurityReconnaissanceVulnerability ScannersExploitationCloud SecurityDNS Analysis
GitHubmitiga/log4shell-cloud-scanner

log4shell-cloud-scanner

저장소 보기

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →

소개

we are providing DevOps and security teams script to identify cloud workloads that may be vulnerable to the Log4j vulnerability(CVE-2021-44228) in their AWS account. The script enables security teams to identify external-facing AWS assets by running the exploit on them, and thus be able to map them and quickly patch them

1414년 전아직 검토되지 않음
공유

.. image:: images/Mitiga_logo.png

소개

저희는 DevOps 및 보안 팀이 AWS 계정 내에서 Log4j 취약점(log4shell)에 취약할 수 있는 클라우드 워크로드를 식별할 수 있는 스크립트를 제공합니다. 현재 "CVE-2021-44228" 및 "CVE-2021-45046" RCE 취약점을 지원합니다. 이 스크립트를 통해 보안 팀은 익스플로잇을 실행하여 외부에 노출된 AWS 자산을 식별하고, 이를 매핑하여 신속하게 패치할 수 있습니다.

일반 정보

  • CVE-2021-44228에 대한 정보: https://nvd.nist.gov/vuln/detail/CVE-2021-44228
  • CVE-2021-45046에 대한 정보: https://nvd.nist.gov/vuln/detail/CVE-2021-45046
  • Log4Shell에 대해 알아야 할 모든 것을 설명하는 중앙 업데이트 위치: https://www.mitiga.io/blog/log4shell-everything-in-one-place
  • 알고리즘 상세 분석: https://www.mitiga.io/blog/log4shell-identify-vulnerable-external-facing-workloads-in-aws-tutorial

기능 ########

  • 모든 리전의 리소스를 스캔합니다.
  • 인터넷에 노출된 모든 컴퓨팅 리소스를 스캔합니다.
  • 프록시를 사용하여 실행할 수 있습니다.
  • AWS 알려진 환경 변수를 사용하여 AWS 자격 증명을 구성하는 여러 방법을 지원합니다: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

설치 / 요구 사항

  • cPython 3.6 이상

  • 필요한 Python 패키지 설치: .. code-block:: console

    root@kitploit:~
      pip3 install -r requirements.txt
    
  • 리소스를 스캔하기 위한 AWS 권한: .. code-block:: json

    { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:DescribeInstances", "ec2:DescribeSecurityGroups", "elasticloadbalancing:DescribeLoadBalancers", "elasticloadbalancing:DescribeListeners", "elasticloadbalancing:DescribeRules", "elasticloadbalancing:DescribeTargetGroupAttributes", "elasticloadbalancing:DescribeTargetGroups", ], "Resource": "*" } ] }

스크립트 실행 전 ######## 취약한 엔드포인트로부터 DNS 요청을 기다릴 서버가 필요합니다. 이 데모에서는 interactsh <https://github.com/projectdiscovery/interactsh>_ 를 사용합니다. 이는 외부 도구입니다. interactsh 클라이언트 또는 Interactsh 웹 앱 <https://app.interactsh.com/#/>_ 을 사용할 수 있습니다.

실행

  1. DNS 요청을 위한 URL 주소를 가져옵니다. 'interactsh'를 사용하면 클라이언트 앱에서 다음 위치에서 찾을 수 있습니다: .. image:: images/interactshdomain.png 또는 웹 앱 사용: .. image:: images/webinteractsh.png

  2. 다음 인수와 함께 main.py 스크립트를 실행합니다:

    • '--dest-domain' - 취약한 엔드포인트로부터 응답을 받을 서버
    • '--cve-id' - 확인할 CVE(CVE-2021-44228, CVE-2021-45046)
    • (선택 사항) '--proxies' - 프록시 서버를 통해 요청을 실행하는 경우 예시: .. code-block:: console

      Checking the oldest CVE(CVE-2021-44228)

      python3 main.py --dest-domain test.interactsh.com

      Checking with CVE-2021-45046

      python3 main.py --dest-domain test.interactsh.com --cve-id=CVE-2021-45046

      Checking the oldest CVE(CVE-2021-44228), using proxies

      python3 main.py --dest-domain test2.interactsh.com --proxies http://127.0.0.1:8080 https://127.0.0.1:8080

취약한 엔드포인트 찾기 ######## 취약한 엔드포인트는 다음 형식으로 DNS 요청을 서버로 보내야 합니다:

  • EC2 인스턴스: '{인스턴스 ID}.{대상 도메인}'. 예: i-092ed1f7d1230bb9a.test.interactsh.com
  • 로드 밸런서: '{로드 밸런서 이름}.{대상 도메인}'. 예: lb-name.test.interactsh.com

CLI 예시:

.. image:: images/interactshresult.png

웹 예시:

.. image:: images/webinteractsh_result.png

고지 사항

이 프로젝트는 교육 목적으로만 사용해야 합니다. 이 프로젝트는 성숙된 수정 계획을 대체하지 않으며, 외부에 노출되거나 취약한 자산에 대한 완전한 범위를 제공하지 않습니다. Mitiga는 이 프로젝트 사용으로 인한 어떤 손해에 대해서도 책임을 지지 않습니다.

도구 다운로드