Commit Graph

255 Commits

Author SHA1 Message Date
Matt Graeber 03ed2adb56 Adding Invoke-WmiCommand 2015-09-23 15:25:39 -07:00
Matt Graeber 5ce61e40f5 Merge pull request #69 from Invoke-IR/master
Added New-VolumeShadowCopy and Remove-VolumeShadowCopy Cmdlets
2015-08-16 13:02:26 -07:00
Jared Atkinson c29f9b4743 Cleaned up Remove-VSC and New-VSC
- Changed Remove-VSC to have a single mandatory parameter (DevicePath)
- Updated New-VSC to check initial state of the VSS Service and return
VSS to its inital state after execution
2015-07-08 22:27:12 -04:00
Jared Atkinson 25934d4719 Added New-VolumeShadowCopy and Remove-VolumeShadowCopy Cmdlets 2015-07-08 16:57:31 -04:00
Chris Campbell 2153a0a0b0 Merge pull request #68 from hydrajump/get-keystrokes-headings-reorder
Fix for headings in wrong order
2015-05-11 10:13:54 -04:00
Jonathan 0045054ab0 Fix for headings in wrong order
The column headings in the log file are out of order, e.g.

```
"TypedKey","Time","WindowTitle"
"Document1 - Word","[Shift]","01-05-2015:20:53:29:28"
"Document1 - Word","[Shift][Shift]","01-05-2015:20:53:29:31"
"Document1 - Word","[Shift]","01-05-2015:20:53:29:38"
```

The "WindowTitle" should be the first column heading like this,

```
"WindowTitle","TypedKey","Time"
"Document1 - Word","[Shift]","01-05-2015:20:53:29:28"
"Document1 - Word","[Shift][Shift]","01-05-2015:20:53:29:31"
"Document1 - Word","[Shift]","01-05-2015:20:53:29:38"
```
2015-05-10 21:32:14 +02:00
Chris Campbell 5b1a7750c0 URI fix, Proxy Support, UA Update
This fixes the URI bug submitted by @enigma0x3. Thank you for the PR as well! A legacy switch is added in case anyone is relying on this script and an older meterpreter handler. 

Proxy support is added to grab the default proxy by way of a switch.

The default user-agent is grabbed from the registry instead of being a static string.

I tested this on a Windows 7 SP1 (both x86 and 64-bit) and Windows 8.1 (64-bit) with an older handler and an updated one.
2015-04-26 18:32:44 -04:00
mattifestation 130d970c2c Out-EncryptedScript uses FIPS-compliant crypto #60
Thanks, @aconite33 for the suggestion.

- TripleDESCryptoServiceProvider is now used as the crypto algorithm
because it won't break the script when FIPS compliance is enabled in the
registry.
- I actually implemented the InitializationVector parameter
- Cleaned up the output script
- Cleaned up comment-based help
2015-02-26 09:24:45 -05:00
Matt Graeber 8b6f759d12 Merge pull request #62 from clymb3r/master
Update to latest Mimikatz, add sanity checks
2015-02-17 15:41:00 -05:00
clymb3r 2e7dc43edb Update to latest Mimikatz, add sanity checks
Updated to the latest Mimikatz build. Added sanity checks to ensure that
32bit PowerShell isn't being run on a 64bit OS which will cause Mimikatz
to fail.
2015-02-16 23:16:31 -08:00
mattifestation 142afad54e Added parameters back to the original Invoke-Shellcode 2015-02-03 21:47:05 -05:00
mattifestation 59b35d1470 Moved Invoke-Shellcode
These things happen
2015-02-03 21:24:46 -05:00
Matt Graeber a574705ce2 Merge pull request #61 from clymb3r/master
Adding PEBytes parameter
2015-01-26 12:30:28 -05:00
clymb3r 93bc214659 Adding PEBytes parameter
Added PEBytes parameter for reflectively loading a PE file passed as a
byte array to the script.
2015-01-26 09:26:43 -08:00
Matt Graeber b0cdb2b754 Merge pull request #59 from clymb3r/master
Bugfix: Resolving ordinals in remote dll injection
2015-01-09 08:20:06 -05:00
clymb3r 90a05de7a6 Bugfix: Resolving ordinals in remote dll injection
Thanks to sixdub for finding and fixing a bug when resolving functions
by ordinal in remote processes.
2015-01-07 21:08:58 -08:00
mattifestation dc1a5e519f Add-Persistence bugfix
When file paths were specified, they were not being properly validated.
2014-11-17 08:24:54 -05:00
mattifestation 956e4c968a Moving all RE functionality to PowerShellArsenal
https://github.com/mattifestation/PowerShellArsenal

PowerSploit will now stay true to its roots of being a purely offensive
PowerShell module.
2014-11-16 10:26:11 -05:00
mattifestation 97034006f6 Loading of an SSP no longer requires a reboot. 2014-10-01 23:17:56 -04:00
Matt Graeber 4daac216c8 Merge pull request #56 from clymb3r/master
Added -PassThru to Invoke-TokenManipulation
2014-10-01 20:49:35 -04:00
mattifestation 0ca33b0347 Added Install-SSP and Get-SecurityPackages 2014-10-01 20:47:14 -04:00
clymb3r ba02a11687 Added -PassThru to Invoke-TokenManipulation
Thanks to Run Mariboe for the contribution to Invoke-TokenManipulation
adding the -PassThru flag for newly created processes. Version increased
to 1.11.
2014-09-28 19:29:44 -07:00
mattifestation 9d412f0d6a Updating the script style guide #2 2014-09-13 12:39:19 -04:00
mattifestation 6df4cf971b Updating the script style guide 2014-09-13 12:37:50 -04:00
mattifestation 258c760c61 Adding MBR infector Set-MasterBootRecord 2014-08-29 21:44:14 -04:00
mattifestation 2e00756b59 Removing New-Object proxy function 2014-08-09 20:26:17 -04:00
Matt Graeber 36e1e29987 Merge pull request #52 from clymb3r/master
Bug fixes to Invoke-ReflectivePEInjection
2014-07-12 07:46:32 -04:00
clymb3r 03b8d5c6b4 Bug fixes to Invoke-ReflectivePEInjection
Fixed a bug where calling GetProcAddress by ordinal instead of procedure
name failed.
Fixed a bug where reflectively loading an EXE will cause the entry
function (main()) to be called twice instead of once as expected.
Added a ForceASLR flag to force ASLR to be used even if the PE file
doesn't officially support ASLR.
Some minor other changes.
2014-07-10 22:40:01 -07:00
mattifestation b43429dd3c Removed required module statement from Capstone 2014-07-10 19:28:47 -04:00
mattifestation 225fbfbc86 Updated Get-VaultCredential name in README 2014-06-30 17:02:03 -04:00
mattifestation 8c2411ccf3 Get-VaultCredential now takes the singular form. 2014-06-30 15:20:48 -04:00
mattifestation dc3cab2c9f Invoke-DllInjection now calls RtlCreateUserThread
Calling CreateRemoteThread on lsass.

Bug fix: Invoke-DllInjection was checking the processor architecture
when it should have been validating the OS architecture. This would
cause Invoke-DllInjection to fail on a 32-bit OS with a 64-bit
processor.
2014-06-21 11:29:46 -04:00
mattifestation 29a5d48c3f Adding Mayhem module and Set-CriticalProcess 2014-06-19 20:28:50 -04:00
mattifestation 80ffa19fa3 Removing Watch-BlueScreen
This vulnerability was patched a while ago making this function largely
irrelevant.
2014-06-19 20:16:26 -04:00
mattifestation 3444a0700e Updated Get-VaultCredentials - Package SID
Package SIDs are now displayed for Win8 apps. Both the package SID and
secret key are requirements for authenticating to Win8 app servers.
2014-05-31 21:22:22 -04:00
mattifestation 890247deec Issue #43 - Adding Get-VaultCredentials
Displays Windows vault credential objects including cleartext web
credentials.
2014-05-30 21:22:31 -04:00
Chris Campbell 4567547d6d Merge pull request #49 from clymb3r/master
Update to latest Mimikatz (crash fix on Win7/8)
2014-05-20 13:52:14 -04:00
clymb3r 6e56d40662 Update to latest Mimikatz (crash fix on Win7/8)
The latest version of Mimikatz fixes a crash that happens on Windows7/8
(and server versions) after installing the latest Windows updates.
2014-05-20 09:34:09 -07:00
Matt Graeber 67ed1d71b4 Merge pull request #44 from clymb3r/master
Updated to latest Mimikatz
2014-05-05 06:16:49 -04:00
clymb3r 794f55a82b Updated to latest Mimikatz
Latest version of Mimikatz now natively supports being reflectively
loaded by Invoke-ReflectivePEInjection, updating the script to take
advantage of this new version.
2014-05-04 18:49:37 -07:00
Matt Graeber 193b005357 Merge pull request #42 from clymb3r/master
Fixing error in script
2014-04-28 20:57:56 -07:00
clymb3r 364dde11e1 Fixing error in script 2014-04-28 20:45:20 -07:00
Matt Graeber 22f984c3f1 Merge pull request #41 from clymb3r/master
Updating Invoke-Mimikatz to Mimikatz 2.0 alpha
2014-04-19 07:46:51 -04:00
clymb3r d085c5b1d7 Fixing formatting 2014-04-16 21:16:02 -07:00
clymb3r f03ab1444d Fixing garbage put in by merge 2014-04-16 21:11:34 -07:00
clymb3r b783b459c1 Merge branch 'master' of https://github.com/mattifestation/PowerSploit
Conflicts:
	Recon/Get-ComputerDetails.ps1
	Recon/Recon.psd1
2014-04-16 21:02:50 -07:00
clymb3r 47b90647c1 Updating Invoke-Mimikatz to Mimikatz 2.0 alpha 2014-04-16 20:47:14 -07:00
Chris Campbell 946328cf9e Missing File Names
Added printers.xml and drives.xml to the search.
2014-03-21 13:22:33 -04:00
mattifestation 5fabddcf1d Fixed error in PowerSploit ADS removal one-liner 2014-03-16 10:09:52 -04:00
mattifestation 202e8f4b36 Adding internal recon/privesc privesc functions #40
Added the following recon functions written by Joe Bialek
(@JosephBialek):

- Find-4648Logons
- Find-4624Logons
- Find-AppLockerLogs
- Find-PSScriptsInPSAppLog
- Find-RDPClientConnections
- Get-ComputerDetails (Combines all of the above functions into a single
function)
2014-03-16 10:02:37 -04:00