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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
morphHTA — morphHTA - Cobalt Strike의 evil.HTA 모핑 | Kitploit
도구/GitHubGitHub/vysecurity/morphhta
Exploit FrameworksPayload GenerationPenetration Testing
GitHubvysecurity/morphhta

morphHTA

morphHTA - Cobalt Strike의 evil.HTA 모핑

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

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

면책 조항

평소와 같이, 이 코드와 도구는 악의적인 목적으로 사용되어서는 안 됩니다.

MDSec Consulting의 ActiveBreach 팀의 Vincent Yiu가 작성했습니다. 저자에 대한 크레딧을 포함한 코드 수정이 허용됩니다.

Explorer 및 SWBemLocator COM Moniker 연구는 @enigma0x3이 수행했습니다.

morphHTA

사용법:

root@kitploit:~
usage: morph-hta.py [-h] [--in <input_file>] [--out <output_file>]
                    [--maxstrlen <default: 1000>] [--maxvarlen <default: 40>]
                    [--maxnumsplit <default: 10>]

optional arguments:
  -h, --help            show this help message and exit
  --in <input_file>     File to input Cobalt Strike PowerShell HTA
  --out <output_file>   File to output the morphed HTA to
  --maxstrlen <default: 1000>
                        Max length of randomly generated strings
  --maxvarlen <default: 40>
                        Max length of randomly generated variable names
  --maxnumsplit <default: 10>
                        Max number of times values should be split in chr
                        obfuscation

예제:

root@kitploit:~
/morphHTA# python morph-hta.py
███╗   ███╗ ██████╗ ██████╗ ██████╗ ██╗  ██╗      ██╗  ██╗████████╗ █████╗
████╗ ████║██╔═══██╗██╔══██╗██╔══██╗██║  ██║      ██║  ██║╚══██╔══╝██╔══██╗
██╔████╔██║██║   ██║██████╔╝██████╔╝███████║█████╗███████║   ██║   ███████║
██║╚██╔╝██║██║   ██║██╔══██╗██╔═══╝ ██╔══██║╚════╝██╔══██║   ██║   ██╔══██║
██║ ╚═╝ ██║╚██████╔╝██║  ██║██║     ██║  ██║      ██║  ██║   ██║   ██║  ██║
╚═╝     ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚═╝     ╚═╝  ╚═╝      ╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═╝

Morphing Evil.HTA from Cobalt Strike
Author: Vincent Yiu (@vysec, @vysecurity)


[*] morphHTA initiated
[+] Writing payload to morph.hta
[+] Payload written

HTA 출력의 전체 크기를 줄이기 위해 최대 변수 이름 길이와 무작위 생성 문자열 길이 축소:

/morphHTA# python morph-hta.py --maxstrlen 4 --maxvarlen 4

chr() 난독화의 최대 분할 횟수. 길이를 줄이기 위해 더하기 연산 수를 감소시킵니다:

/morphHTA# python morph-hta.py --maxnumsplit 4

입력 파일 및 출력 파일 변경:

/morphHTA# python morph-hta.py --in advert.hta --out advert-morph.hta

비디오 사용 방법

https://www.youtube.com/watch?v=X4S2aQ4o_jA

VirusTotal 예시

VT에 업로드하지 않는 것을 권장합니다:

난독화된 HTA 콘텐츠 예시

도구 다운로드