
CVE-2023-38146("ThemeBleed")에 대한 개념 증명
CVE-2023-38146("ThemeBleed")에 대한 개념 증명(PoC)
Usage: ThemeBleed.exe <command>
Commands:
server - Runs the server
make_theme <host> <output path> - Generates a .theme file referencing the specified host
make_themepack <host> <output_path> - Generates a .themepack file referencing the specified host
data의 바이너리는 PoC가 대상에 반환하는 3개의 파일에 해당합니다.
stage_1 - PACKTHEM_VERSION이 999로 설정된 msstyles 파일입니다.stage_2 - 서명 검사를 통과하기 위한 유효하고 수정되지 않은 msstyles 파일입니다.stage_3 - 로드되어 실행될 DLL입니다. 제공된 예제는 단순히 calc.exe를 실행합니다.자체 페이로드를 만들려면 코드를 포함하는 VerifyThemeVersion이라는 이름의 export가 있는 DLL을 만든 다음, 새로 생성한 DLL로 stage_3를 교체하세요.