Commit Graph

4625 Commits

Author SHA1 Message Date
gianpyc 3c64475da9 Adding new actions on the module and updated documentation 2021-04-22 04:34:22 -04:00
Spencer McIntyre 8186a75235 Add meterpreter command compatibility to modules 2021-04-21 18:22:15 -04:00
Spencer McIntyre 397530c554 Add meterpreter command compat to module info 2021-04-21 14:24:01 -04:00
pingport80 f6cb88b642 remove is_root check from linux_hashdump 2021-04-21 10:19:30 +05:30
Tim W deaa241ca5 Land #15065, fix post/linux/gather/checkvm 2021-04-20 17:02:45 +01:00
pingport80 a4cfc3684e remove ls_pci_data initialization 2021-04-20 21:26:21 +05:30
pingport80 32bfa887da rubocop fixes 2021-04-20 21:23:24 +05:30
pingport80 43f4ec921d update docs and remove lscpu check 2021-04-20 21:12:27 +05:30
pingport80 490e49acdb fix msftidy warning 2021-04-20 20:58:04 +05:30
pingport80 673084b65c remove sys/bus/xen check and add /sys/class/dmi/id/product_name check 2021-04-20 20:51:04 +05:30
pingport80 cde5c83517 add nil check and remove readable? 2021-04-20 18:44:38 +05:30
pingport80 61d4ab4e26 fix linux checkvm bug 2021-04-20 09:40:11 +05:30
gianpyc c4956ce19b Updatied the module with the full set of actions 2021-04-16 04:54:29 -04:00
BuildTools ee8838eea5 added validation to make sure the file path is set 2021-04-14 17:47:19 -04:00
gianpyc cffb82e8d9 Updating KOFFEE module enabling actions that can be selected by a user to trigger functionalities on the head unit 2021-04-13 10:00:12 -04:00
Grant Willcox 045367cff7 Apply RuboCop formatting to documentation and module 2021-04-12 13:52:00 -05:00
Grant Willcox 54aa9d42e9 Add one additional guard clause in to prevent outputting a message if the database isn't properly connected 2021-04-12 13:41:17 -05:00
Grant Willcox 0b06904dd0 Update module with more checks and replace the Process migration strategy with a PID migration strategy. Also update documentation accordingly 2021-04-12 13:05:26 -05:00
archcloudlabs 7a828b5884 updating w/ proc option to migrate into and proc check before auto migrate 2021-04-12 13:05:26 -05:00
gianpyc e9088cfc12 Run rubocop and msftidy_docs, both on the module and documentation 2021-04-12 04:13:03 -04:00
h00die 938b4741a9 saltstack doc update and tested 2021-04-10 13:46:19 -04:00
Christophe De La Fuente e48ebe6659 Update haserl_read module documentation (again)
- Add CVE and Ref.
- Add fixed version
2021-04-09 13:24:49 +02:00
Christophe De La Fuente 586d033909 Land #14833, haserl-based exploit for Alpine linux 2021-04-09 13:07:47 +02:00
gianpyc 58855af6c6 KOFFEE first commit. This module exploits the Arbitrary Code Execution vulnerabilty (CVE-2020-8539) 2021-04-07 05:33:53 -04:00
Vladimir Ivanov 690e687e7e Updates from code review
Update modules/post/multi/sap/smdagent_get_properties.rb
Update modules/auxiliary/admin/sap/cve_2020_6207_solman_rce.rb
Update documentation for auxiliary module cve_2020_6207_solman_rce.md
Update documentation for post module smdagent_get_properties.md
Move setup_xml_and_variables to `run` method in auxiliary module cve_2020_6207_solman_rce.rb
Delete list_dir, read_file, file_exist in post module smdagent_get_properties.rb
2021-04-06 21:23:39 +02:00
jvoisin 943698ef19 Add an haserl-based exploit for Alpine linux 2021-04-02 13:43:52 +02:00
BuildTools b42a22c4de Updated documentation 2021-04-01 13:30:39 -04:00
jconnolly80911 c0531f4208 OSX Post exploitation .gitignore retrieval
This post exploitation module is meant to locate all .gitignore files in a user's home directory as well as retrieve the contents of both the .gitignore as well as the files contained in the .gitignore. There are two modes. Mode 1 finds the .gitignore files. Mode 2 retrieves the file. You must set the FILE path with the gitignore file you'd like to retrieve. This could be used to retrieve potentially sensitive artifacts.

After establishing a meterpreter session:
* use post/osx/gather/gitignore
* set mode 1
* set session n (where n is the session in which you'd like to run the module)
* run

The module will take some time to complete but will recursively search all directories from the user's home directory for .gitignore files and then print the absolute path of each file it finds. Copy the path of whichever gitignore you'd like to read and paste into the FILE variable.

* set mode 2
* set file /path/to/.gitignore
* run

At this point, the module will display the contents of the gitignore file. If it contains something of interest, you can copy the filename and replace it in the absolute path for which you found the .gitignore. 

* set file /path/to/artifact
* run

This will retrieve the contents of the artifact you are looking to read.
2021-03-31 14:47:48 -04:00
Vladimir Ivanov 1f4046c45f Update references and delete check_addr in post module smdagent_get_properties.rb 2021-03-29 22:58:48 +03:00
Ivanov Vladimir a803d7a0d1 CVE-2019-0307
Add post module smdagent_get_properties.rb
Add lib sap_smd_agent_unencrypted_property.rb
Update auxiliary module cve_2020_6207_solman_rce.rb
Update lib sap_sol_man_eem_miss_auth.rb
2021-03-29 20:29:30 +03:00
bwatters 11b12e4c63 Land #14869, Add Windows post module for gathering Exchange mailboxes
Merge branch 'land-14869' into upstream-master
2021-03-26 15:08:06 -05:00
sophosyaniv d74fe1d6d8 randomize output delimiters 2021-03-25 20:12:58 -07:00
Grant Willcox 90cc472bfe Land #14893, Updating avast_memory_dump.rb - Adding additional AVDump.exe file paths 2021-03-22 20:10:21 -05:00
archcloudlabs 84ec2b1df7 avast_memory_dump path & function name mods 2021-03-21 12:45:13 -04:00
sophosyaniv 4673e85ec7 add new options, use pgets instead of readline 2021-03-19 19:39:48 -07:00
friedrico 3b5cdd767f Base64 encoding is set iff encoding attribute is set to base64 and not when it "could be due to length and alphabet of the password" 2021-03-17 08:49:28 +01:00
archcloudlabs 2bf44f972c Adding additional AVDump.exe paths 2021-03-14 12:23:34 -04:00
Grant Willcox ef97b33d74 Land #14877, Support more recent versions of Firefox's default profile directory 2021-03-12 10:53:09 -06:00
Alan Foster f5edb5a105 Remove redundant rubocop disables 2021-03-11 17:23:44 +00:00
Security Curious 59086989f7 Update Firefox Default Profile Directory
The default firefox profile directory now no longer ends in `.default`
but instead `.default-release`. For backwards compat the new regex
supports both. For more information see:

https://support.mozilla.org/bm/questions/1264072#answer-1235567

It's possible we might want to also support things like
`.default-nightly`, etc but really if we want to do more than grab
the default profile we should read the `profiles.ini` file to get
an itemized list of profiles from Firefox itself. This would also
future-proof this script.

Since profiles are not generally used by most Firefox users just going
for the simpler solution of looking for `.default-release`.
2021-03-10 21:43:04 -05:00
sophosyaniv b2f4df4148 fix lint 2021-03-09 19:33:08 -08:00
sophosyaniv be23957eb3 Add files via upload
add exchange.rb
2021-03-09 11:36:52 -08:00
Spencer McIntyre 53f4d3f193 Land #14792, Apply fixes for invalid architecture checks to affected modules
Fixes #14599
2021-03-05 09:24:34 -05:00
dwelch-r7 319f15d938 Handle nil versions for rubygems 4 2021-02-25 16:47:49 +00:00
Alan Foster b06c5c12aa Rubocop recently landed modules continued 2021-02-25 14:13:40 +00:00
Grant Willcox f65b4155e5 Fix up modules to use more explicit reference to ARCH_X64 and to correctly check sysinfo['Architecture'] as per #14599 2021-02-22 18:47:46 -06:00
agalway-r7 8a339f54c1 Land #14734, updates and runs rubocop against recent modules
Rubocop recently landed modules
2021-02-19 13:48:47 +00:00
agalway-r7 275e9c5454 Land #14696, Further Zeitwerk lands to improve boot speed
Zeitwerk rex folder
2021-02-19 10:33:37 +00:00
Alan Foster 5b3fde7735 Rubocop recently landed modules 2021-02-16 15:08:08 +00:00
adfoster-r7 b0758eb120 Land #14738, fix multi/manage/shell_to_meterpreter on macOS 2021-02-15 14:46:41 +00:00