Commit Graph

4581 Commits (11ea66996cdad54102d15aa50928f35b59345852)

Author SHA1 Message Date
Meatballs 67cb5dad27
Fixes after testing 2013-12-17 23:47:58 +00:00
Meatballs 067e6d89bb
Use service_restart in IKEEXT and ServicePermissions
Service_restart is aggressive so should attempt to leave as Auto
2013-12-17 17:21:35 +00:00
Meatballs ba335d6c91
Update Service Tests
And small fixes
2013-12-17 14:03:19 +00:00
Meatballs 70caacd631
Corrections to service_handle 2013-12-17 12:21:20 +00:00
Meatballs ca90815fb3
Ensure all handles are closed
And stop repeating the adv definition
2013-12-17 12:15:59 +00:00
Meatballs a33721f444
service_change_config keys should match extapi 2013-12-17 01:48:09 +00:00
Meatballs 484bf2f8fc
close_service_handle 2013-12-17 01:02:35 +00:00
Meatballs 560080fa21
Update start_service return value
Add service_restart
2013-12-17 00:43:35 +00:00
Meatballs f39bc0b07a
Update service_stop return 2013-12-17 00:22:37 +00:00
Meatballs f58a26033a
Add missing underscore 2013-12-17 00:10:15 +00:00
Meatballs 19c2ac9a6b
Fix duplicate error 2013-12-17 00:09:58 +00:00
Meatballs 45a03cc805
Use Error mixin 2013-12-17 00:03:10 +00:00
Meatballs d82f993a02
Merge branch 'windows_error_constants' into extapi_service_post
Conflicts:
	lib/msf/core/post/windows.rb
2013-12-17 00:01:06 +00:00
Meatballs 2fafdcbb89
Use railgun string constants
Remove unnecessary constants
Bit of tidying
2013-12-16 23:59:51 +00:00
Meatballs 06b399ee30
Remove ERROR_
To access as Error::NO_ACCESS
2013-12-16 19:52:11 +00:00
Meatballs 08a44fdfb7
Filename match module 2013-12-16 19:48:17 +00:00
Meatballs 57f2027e51
Move to module 2013-12-16 19:45:52 +00:00
Meatballs fd19881433
Docs 2013-12-16 19:39:36 +00:00
Meatballs c9084bd2d5
Remove errant fullstops 2013-12-16 18:53:37 +00:00
Meatballs 75c87faaf8
Add Windows Error Codes to Windows Post Mixin 2013-12-16 18:50:18 +00:00
Meatballs 5be9622782
Tidy and constants 2013-12-16 18:35:24 +00:00
Meatballs c97e8d3817
Return hash for service_info and use ErrorMessage 2013-12-15 17:59:57 +00:00
Meatballs ca4e35d949
Use ErrorMessage in check_dir_perms 2013-12-15 17:57:51 +00:00
Meatballs 8c800b8596
check_dir_perms fix return nil 2013-12-15 17:18:32 +00:00
Meatballs d9ce80d4d0
Add service_change_config 2013-12-15 04:00:27 +00:00
Meatballs d71e67e5f4
Rename file should return some indication of success 2013-12-15 03:28:28 +00:00
Meatballs ddf23ae8e8
Refactor service_list to return array of hashes
Update trusted_service_path, service_permissions,
net_runtime_modify and enum_services to handle change.

Refactor enum_services to tidy it up a bit
2013-12-15 03:00:29 +00:00
Meatballs 6763d1fbd8
Refactor services for extapi 2013-12-15 02:09:25 +00:00
Meatballs be68a64f9b
Remove wmic reference 2013-12-15 02:09:07 +00:00
Meatballs 77dd7ec290 Include ExtAPI Mixin
Move ExtAPI above services require
2013-12-15 01:32:58 +00:00
Meatballs 819ba30a33 msftidy
Conflicts:
	lib/msf/core/post/windows/services.rb
2013-12-15 01:12:46 +00:00
Meatballs a930056d7f Added service status checks to Post::Windows::Services
Added QueryServiceStatus to Railgun Advapi32 Definitions
Added Checks to module

Conflicts:
	lib/msf/core/post/windows/services.rb
	lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_advapi32.rb
2013-12-15 01:12:45 +00:00
jvazquez-r7 83e448f4ae Restore vprint_error message 2013-12-12 09:06:29 -06:00
jvazquez-r7 5c1ca97e21 Create a new process to host the final payload 2013-12-12 08:26:44 -06:00
William Vu ff9cb481fb Land #2464, fixes for llmnr_response and friends
Fixed conflict in lib/msf/core/exploit/http/server.rb.
2013-12-10 13:41:45 -06:00
scriptjunkie f4636c46a6
Removing unused endjunk, sections_end, cert_entry 2013-12-07 20:55:51 -06:00
scriptjunkie 77e9996501
Mitigate metasm relocation error by disabling ASLR
Deal with import error by actually using the GetProcAddress code.
2013-12-07 20:54:13 -06:00
scriptjunkie 8d33138489 Support silent shellcode injection into DLLs
Only run code on DLL_PROCESS_ATTACH, preventing infinite loop otherwise:
Added code would create thread -> calls DLL entry point -> calling added code...
2013-12-07 19:44:17 -06:00
Meatballs 3aebe968bb
Land #2721 Reflective DLL Mixin
Adds support to load a dll and identify the ReflectiveLoader offset.
Adds support to inject dll into process and execute it.

Updates kitrap0d, ppr_flatten_rec, reflective_dll_inject modules and
payload modules to use above features.
2013-12-06 12:26:51 +00:00
OJ 155836ddf9 Adjusted style as per egypt's points 2013-12-06 10:08:38 +10:00
OJ ccbf305de1 Remove exception stuff from the payloads 2013-12-06 09:26:46 +10:00
OJ 5a0a2217dc Add exception if DLL isn't RDI enabled 2013-12-06 09:18:08 +10:00
OJ 2cb991cace Shuffle RDI stuff into more appropriate structure
Now broken into two modules, one for loading RDI DLLs off disk and
finding the loader function offset, and another for doing the process
specific stuff of loading into the target.
2013-12-06 08:25:24 +10:00
OJ fb84d7e7fe Update to yardoc conventions 2013-12-06 07:54:25 +10:00
sinn3r c7bb80c1d7 Add wvu as an author to author.rb 2013-12-05 00:33:07 -06:00
OJ b936831125 Renamed the mixin module 2013-12-05 08:13:54 +10:00
OJ 7b24f815ee Missed a single module in rename 2013-12-04 22:54:07 +10:00
OJ 7e8db8662e Update name of the mixin
Changed `RdiMixin` to `ReflectiveDLLInjection`.
2013-12-04 22:18:29 +10:00
OJ f79af4c30e Add RDI mixin module
MSF was starting to see more modules using RDI to load binaries into
remote processes, so it made sense to create a mixin which contained
the functionality that was being used in various locations.

This commit contains the new mixin, and adjustments to all the existing
exploits and modules which use RDI.
2013-12-04 16:09:41 +10:00
sinn3r 4d3d02ae01
Land #2667 - Add num and dword output format 2013-12-02 13:52:17 -06:00