Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

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

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

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
Inveigh — .NET IPv4/IPv6 침투 테스터용 중간자 공격 도구 | Kitploit
도구/GitHubGitHub/kevin-robertson/inveigh
Penetration TestingRed Teaming
GitHubkevin-robertson/inveigh

Inveigh

.NET IPv4/IPv6 침투 테스터용 중간자 공격 도구

저장소 보기
3.0k4722511개월 전Kitploit 검토 완료

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Inveigh

Inveigh는 침투 테스터를 위한 크로스 플랫폼 .NET IPv4/IPv6 중간자 공격 도구입니다. 이 저장소에는 기본 C# 버전과 레거시 PowerShell 버전이 포함되어 있습니다.

개요

Inveigh는 패킷 스니핑과 프로토콜별 리스너/소켓을 통해 스푸핑 공격과 해시/자격 증명 캡처를 수행합니다. 이 도구의 원래 PowerShell 버전의 기반이었던 패킷 스니핑 방식은 다음과 같은 장점이 있습니다:

  • Windows SMB 서비스를 통한 SMB NTLM 챌린지/응답 캡처
  • 호스트 시스템에 표시되는 포트 바인드가 적음

주요 단점은 상승된 액세스 권한이 필요하다는 것입니다.

현재 Windows 버전에서는 기본적으로 실행되는 UDP 서비스가 포트 재사용을 허용합니다. 따라서 패킷 스니핑은 사용 중인 UDP 포트를 우회하는 데 더 이상 이점을 제공하지 않습니다. Inveigh의 UDP 리스너는 모두 포트 재사용을 활용하도록 구성되어 있습니다.

버전 설명

  • PowerShell Inveigh - 수년에 걸쳐 개발된 원래 버전입니다. 현재로서는 적어도 이 버전(1.506)은 추가 업데이트 없이 유지됩니다. 문서는 여기에서 찾을 수 있습니다.
  • C# Inveigh (일명 InveighZero) - 원래 C# POC 코드와 PowerShell 버전 코드의 대부분을 C#으로 포팅한 것이 결합된 버전입니다. 이 버전은 이제 C#용으로 재구축되었으며 주 버전으로 사용되고 있습니다.

기능

Inveigh의 C# 버전은 다음 프로토콜에 대한 공격을 포함합니다:

  • LLMNR [패킷 스니퍼 | 리스너]
  • DNS [패킷 스니퍼 | 리스너]
  • mDNS [패킷 스니퍼 | 리스너]
  • NBNS [패킷 스니퍼 | 리스너]
  • DHCPv6 [패킷 스니퍼 | 리스너]
  • ICMPv6 [권한 있는 원시 소켓]
  • HTTP [리스너]
  • HTTPS [리스너]
  • SMB [패킷 스니퍼 | 리스너]
  • LDAP [리스너]
  • WebDAV [리스너]
  • Proxy Auth [리스너]

Inveigh는 기본 프로토콜에서 두 가지를 모두 지원하는 경우 IPv4와 IPv6 모두에서 작동합니다.

크로스 플랫폼 지원

Inveigh의 SDK 스타일 프로젝트 파일은 .NET 3.5, 4.6.2 및 6.0용으로 설정되어 있으며, 6.0은 Linux 및 macOS에서도 작동하는 버전입니다.

<TargetFrameworks>net35;net62;net6.0</TargetFrameworks>

알려진 문제

  • 패킷 스니퍼는 원시 소켓 설정의 차이로 인해 Windows에서만 사용할 수 있습니다. Linux 또는 macOS용으로 컴파일하면 패킷 스니퍼가 비활성화됩니다. 대신 포트 445가 열려 있는 경우 Inveigh의 SMB 리스너를 사용할 수 있습니다.
  • macOS는 멀티캐스트 그룹에 가입하려면 경로를 사용할 수 있어야 합니다. 제 테스트에서는 이 플랫폼에서 해당 공격을 수행하기 위해 DHCPv6 멀티캐스트 경로를 추가해야 했습니다.
    sudo route -nv add -net ff02::1:2 -interface en0

실행

dotnet Inveigh.dll

Linux/macOS 플랫폼 대상 빌드

  • 대상 시스템에 .NET 6.0이 설치된 경우
    dotnet publish -r linux-x64 -f net8.0 -p:AssemblyName=inveigh
    dotnet publish -r osx-x64 -f net8.0 -p:AssemblyName=inveigh

  • 대상 시스템에 .NET 6.0이 설치되지 않은 경우
    dotnet publish --self-contained=true -p:PublishSingleFile=true -r linux-x64 -f net8.0 -p:AssemblyName=inveigh
    dotnet publish --self-contained=true -p:PublishSingleFile=true -r osx-x64 -f net8.0 -p:AssemblyName=inveigh

사용법

기본 매개변수 값은 Program.cs의 시작 부분에 있습니다. 컴파일하기 전에 모든 내용을 검토하여 필요에 맞게 설정할 것을 권장합니다. 모든 활성화/비활성화 매개변수는 Y/N 값으로 설정할 수 있습니다.``` //begin parameters - set defaults as needed before compile public static string argCert = "MIIKaQIBAzCCC..." public static string argCertPassword = "password"; public static string argChallenge = ""; public static string argConsole = "5"; public static string argConsoleLimit = "-1"; public static string argConsoleStatus = "0"; public static string argConsoleUnique = "Y"; public static string argDHCPv6 = "N"; public static string argDHCPv6TTL = "30"; public static string argDNS = "Y"; ... //end parameters

### 매개변수 도움말```
.\Inveigh.exe -?

Control:

  -Inspect        Default=Disabled: (Y/N) inspect traffic only.

  -IPv4           Default=Enabled: (Y/N) IPv4 spoofing/capture.

  -IPv6           Default=Enabled: (Y/N) IPv6 spoofing/capture.

  -RunCount       Default=Unlimited: Number of NetNTLM captures to perform before auto-exiting.

  -RunTime        Default=Unlimited: Run time duration in minutes.


Output:

  -Console        Default=5: Set the level for console output. (0=none, 1=only captures/spoofs, 2=no disabled, no informational, 3=no disabled, no filtered, 4=no disabled, 5=all)  

  -ConsoleLimit   Default=Unlimited: Limit to queued console entries.

  -ConsoleStatus  Default=Disabled: Interval in minutes for auto-displaying capture details.

  -ConsoleUnique  Default=Enabled: (Y/N) displaying only unique (user and system combination) hashes at time of capture.

  -FileDirectory  Default=Working Directory: Valid path to an output directory for enabled file output.

  -FileOutput     Default=Enabled: (Y/N) real time file output.

  -FilePrefix     Default=Inveigh: Prefix for all output files.

  -FileUnique     Default=Enabled: (Y/N) outputting only unique (user and system combination) hashes.

  -LogOutput      Default=Disabled: (Y/N) outputting log entries.


Spoofers:

  -DHCPV6         Default=Disabled: (Y/N) DHCPv6 spoofing.

  -DHCPv6TTL      Default=300: Lease lifetime in seconds.

  -DNS            Default=Enabled: (Y/N) DNS spoofing.

  -DNSHost        Fully qualified hostname to use SOA/SRV responses.

  -DNSSRV         Default=LDAP: Comma separated list of SRV request services to answer.

  -DNSSuffix      DNS search suffix to include in DHCPv6/ICMPv6 responses.

  -DNSTTL         Default=30: DNS TTL in seconds.

  -DNSTYPES       Default=A: (A, AAAA, SOA, SRV) Comma separated list of DNS types to spoof.

  -ICMPv6         Default=Enabled: (Y/N) sending ICMPv6 router advertisements.

  -ICMPv6Interval Default=200: ICMPv6 RA interval in seconds.
  
  -ICMPv6TTL	  Default=300: ICMPv6 TTL in seconds.

  -IgnoreDomains  Default=None: Comma separated list of domains to ignore when spoofing.



  -IgnoreIPs      Default=Local: Comma separated list of source IP addresses to ignore when spoofing.

  -IgnoreMACs     Default=Local: Comma separated list of MAC addresses to ignore when DHCPv6 spoofing.
  
  -IgnoreQueries  Default=None: Comma separated list of name queries to ignore when spoofing.

  -Local          Default=Disabled: (Y/N) performing spoofing attacks against the host system.

  -LLMNR          Default=Enabled: (Y/N) LLMNR spoofing.

  -LLMNRTTL       Default=30: LLMNR TTL in seconds.

  -MAC            Local MAC address for DHCPv6.

  -MDNS           Default=Enabled: (Y/N) mDNS spoofing.

  -MDNSQuestions  Default=QU,QM: Comma separated list of question types to spoof. (QU,QM)

  -MDNSTTL        Default=120: mDNS TTL in seconds.

  -MDNSTypes      Default=A: Comma separated list of mDNS record types to spoof. (A,AAAA,ANY)

  -MDNSUnicast    Default=Enabled: (Y/N) sending a unicast only response to a QM request.

  -NBNS           Default=Disabled: (Y/N) NBNS spoofing.

  -NBNSTTL        Default=165: NBNS TTL in seconds.

  -NBNSTypes      Default=00,20: Comma separated list of NBNS types to spoof. (00,03,20,1B)

  -ReplyToDomains Default=All: Comma separated list of domains to respond to when spoofing.

  -ReplyToIPs     Default=All: Comma separated list of source IP addresses to respond to when spoofing.

  -ReplyToMACs    Default=All: Comma separated list of MAC addresses to respond to when DHCPv6 spoofing.
  
  -ReplyToQueries Default=All: Comma separated list of name queries to respond to when spoofing.

  -SpooferIP      Default=Autoassign: IP address included in spoofing responses.

  -SpooferIPv6    Default=Autoassign: IPv6 address included in spoofing responses.

  -Repeat         Default=Enabled: (Y/N) repeated spoofing attacks against a system after NetNTLM capture.


Capture:

  -Cert           Base64 certificate for TLS.

  -CertPassword   Base64 certificate password for TLS.

  -Challenge      Default=Random per request: 16 character hex NetNTLM challenge for use with the TCP listeners.

  -HTTP           Default=Enabled: (Y/N) HTTP listener.

  -HTTPAuth       Default=NTLM: (Anonymous/Basic/NTLM) HTTP/HTTPS listener authentication.

  -HTTPPorts      Default=80: Comma seperated list of TCP ports for the HTTP listener.

  -HTTPRealm      Default=ADFS: Basic authentication realm.

  -HTTPResponse   Content to serve as the default HTTP/HTTPS/Proxy response.

  -HTTPS          Default=Enabled: (Y/N) HTTPS listener.

  -HTTPSPorts     Default=443: Comma separated list of TCP ports for the HTTPS listener.

  -IgnoreAgents   Default=Firefox: Comma separated list of HTTP user agents to ignore with wpad and proxy auth.

  -LDAP           Default=Enabled: (Y/N) LDAP listener.

  -LDAPPorts      Default=389: Comma separated list of TCP ports for the LDAP listener.

  -ListenerIP     Default=Any: IP address for all listeners.
도구 다운로드