aboutsummaryrefslogtreecommitdiff
path: root/Inveigh.psm1
diff options
context:
space:
mode:
authorKevin Robertson <robertsonk@gmail.com>2016-09-13 18:58:15 -0400
committerKevin Robertson <robertsonk@gmail.com>2016-09-13 18:58:15 -0400
commit73e2f3d442fc63925fa79a980fbce9d5c8a571af (patch)
tree0dc9f25574b966418e93f8e56098820b8db97457 /Inveigh.psm1
parent747b0d1f2fff960e378776a3cdcc9fd857a387dc (diff)
downloadInveigh-73e2f3d442fc63925fa79a980fbce9d5c8a571af.tar.gz
Inveigh-73e2f3d442fc63925fa79a980fbce9d5c8a571af.zip
Inveigh 1.21.2
1. Added Inveigh-Unprivileged.ps1 (replaces Inveigh-BruteForce.ps1) – This script contains only LLMNR/NBNS spoofing and hash capture methods that do not require local admin access. The NBNS spoofer can be used without disabling the local NBNS service. The LLMNR spoofer does require stopping (needs admin) the local service and freeing up port 5355. It will work without admin on a system with LLMNR disabled. Note that there can still be systems configurations that will prevent Inveigh-Unprivileged from working, and require admin access to change (e.g. local firewall blocking traffic, LLMNR enabled). This script replaces Inveigh-BruteForce and contains the same functionality. 2. Inveigh.ps1 Updates - Added a learning mode (SpooferLearning parameter) to Invoke-Inveigh that will attempt to avoid spoofing requests for valid hostnames. If enabled, Inveigh will send out LLMNR/NBNS requests for hostnames received through incoming LLMNR/NBNS requests. If Inveigh receives a response for a sent requests, it will add the hostname to a blacklist. Added some some code to help keep track or the SMB capture sequence. Removed the ability to launch Invoke-InveighRelay directly from an Invoke-Inveigh command line. 3. Inveigh-Relay.ps1 Status - This one is due for an overhhaul. I'm also considering trying to convert it to not require admin access. No real changes on this pass though. It will work with either Invoke-Inveigh (-HTTP N and/or -HTTPS N) or Invoke-InveighUnprivileged (-HTTP N) as long as the target system supports SMB1. 4. Support Functions - Merged all of the small Get functions into Get-Inveigh. 5. Extras – Added an extras directory for functions that don’t fit the main scripts. a. Send-NBNSResponse – This function sends a crafted NBNS response packet to a specific target. For name resolution to be successful, the specified TargetIP, Hostname, and TransactionID must match a very (very very) recent NBNS request. You must have an external method (wireshark,etc) of viewing the required NBNS request fields for traffic on the target subnet. The odds of pulling this attack off manually are slim due to the narrow response window. I've only been able to get it to work manually by watching tshark with the the transaction ID being listed in the output. Ideally, this function would be fed by another script. b. Send-LLMNResponse – Just like Send-NBNSResponse but even harder to use manually. c. Invoke-NBNSC2 - Invoke-NBNSC2 will listen for NBNS requests and execute set commands if requests for specific hostnames are received. The function must be supplied with an even number of Hostnames and Commands. NBNS requests can be sent from a NBNS enabled system on the same subnet using ping, etc.
Diffstat (limited to 'Inveigh.psm1')
-rw-r--r--Inveigh.psm14
1 files changed, 2 insertions, 2 deletions
diff --git a/Inveigh.psm1 b/Inveigh.psm1
index 3e0cf7e..1e76490 100644
--- a/Inveigh.psm1
+++ b/Inveigh.psm1
@@ -1,10 +1,10 @@
<#
.SYNOPSIS
-Inveigh is a Windows PowerShell LLMNR/NBNS spoofer with challenge/response capture over HTTP(S)/SMB and NTLMv2 HTTP to SMB relay.
+Inveigh is a Windows PowerShell LLMNR/NBNS spoofer/man-in-the-middle tool.
.LINK
https://github.com/Kevin-Robertson/Inveigh
#>
Import-Module $PWD\Scripts\Inveigh.ps1
-Import-Module $PWD\Scripts\Inveigh-BruteForce.ps1
+Import-Module $PWD\Scripts\Inveigh-Unprivileged.ps1
Import-Module $PWD\Scripts\Inveigh-Relay.ps1 \ No newline at end of file