sjanusz-r7
1140efc8b4
Support adding encrypted files to archives & jars
2023-10-13 14:42:10 +01:00
h00die
d64ed33cdf
code spell for a bunch of modules
2023-09-24 17:42:00 -04:00
usiegl00
e70bdb028a
Basic MachO Signing
...
This commit adds the sign method to Payload::MachO which performs a
basic SHA256 signature update on the provided macho to enable it to run
under osx aarch64 systems.
2023-06-19 10:57:37 +02:00
usiegl00
658c87996d
Hotwire MachO Signing
...
This commit hotwires in executable signing to some of the aarch64 osx
payloads in order to ensure that they are fully functional.
2023-06-19 10:57:37 +02:00
usiegl00
8a5442f7f0
Fix AARCH64 MachO Generation
...
This updates the exe util to properly generate stageless aarch64 macho
payloads. I've also added comments on how to assemble the aarch64
stages.
2023-06-19 10:57:37 +02:00
usiegl00
5f8767f4cf
M1ssion Dyld Mettle: Aarch64 Payloads
...
This builds on Back from the dyld by adding the required aarch64
assembly code to enable the OSX loader to run on the m1. This enables
the use of native payloads on M1 or M2 devices that do not have Rosetta
installed.
2023-06-19 10:57:37 +02:00
Spencer McIntyre
c41483250f
Fix an edge case in .to_win32pe
...
When the entry point is after the payload, there woud occassionally be
cases where `poff` and `eidx` to be invalid, causing `entry` to be
truncated. `poff` should never be negative and `eidx` should reserve the
256 bytes that `entry` may occupy.
2023-06-13 13:41:47 -04:00
Spencer McIntyre
301d25ddfa
Raise more explicit errors for invalid arguments
2023-02-15 09:07:01 -05:00
Spencer McIntyre
5725dd2ded
Fix an off by one size error
2023-02-14 18:01:14 -05:00
Spencer McIntyre
fd6cd82f30
Upgrade DLL template size automatically
2023-02-09 15:09:50 -05:00
h00die
637ad5f809
make ducky more psh friendly
2022-11-21 17:55:48 -05:00
h00die
29b7fa5336
ducky_script format for msfvenom
2022-11-18 17:02:52 -05:00
bwatters
06e897436c
Add Fedora results to docs and some minor final cleanup
2022-03-02 09:12:01 -06:00
bwatters
9635fde12d
Add support and templates for aarch64 targets
2022-02-10 10:49:02 -06:00
Tim W
4192e175d2
fix osx-app exe attributes
2021-05-06 18:20:32 +01:00
bwatters
619e01bfa3
Land #11257 , Add PSH generation methods to Util::Exe
...
Merge branch 'land-11257' into upstream-master
2021-04-23 13:52:53 -05:00
bwatters
63e14cf69f
Update method options, method comments, and comment on to_win32pe_psh_rc4 behavior
2021-04-23 13:51:01 -05:00
dwelch-r7
b95be3ed10
Zeitwerk rex folder
2021-02-08 12:24:12 +00:00
dwelch-r7
dae27fb3ba
Make the EICAR canary useful again
2020-12-09 14:47:22 +00:00
dwelch-r7
1617b3ec9b
Use zeitwerk for lib/msf/core folder
2020-12-07 10:31:45 +00:00
Spencer McIntyre
3586644b62
Increase the payload space to 4096 within the DLL template
2020-11-16 15:58:59 -05:00
Spencer McIntyre
2d367b867d
Add a synchronization primitive to the DLL template
2020-11-16 15:57:27 -05:00
Spencer McIntyre
f77bdcd855
Add the mixed_mode option when generating DLL EXEs
2020-10-05 15:49:06 -04:00
Grant Willcox
d66aaf9bee
Fix a very horrible merge mistake
2020-09-23 14:48:42 -05:00
RageLtMan
2c83cde6a8
Add PSH generation methods to Util::Exe
...
MSIL generation was never added to util, and the pending rc4
generator should be accessible from here as well. Add both to the
end of the powershell generators section.
Add rc4 to the powershell method enum in opts which is passed
into rex-powershell.
2020-09-23 14:41:10 -05:00
Spencer McIntyre
1518c6441b
Use the new shuffled block api when generating EXEs too
2020-07-08 14:44:16 -04:00
Adam Cammack
f118589bba
Use squiggly heredoc
2020-05-08 02:55:26 -05:00
Tim W
f897806589
use python squiggly heredoc
2020-05-07 14:21:36 +08:00
Tim W
b991042c4a
add base64 encoding stub
2020-05-04 15:43:40 +08:00
Tim W
beb6edada2
add python-reflection to Msf::Util::Exe
2020-04-29 19:02:00 +08:00
Tim W
8cff3e0516
add python-reflection to Msf::Util::Exe
2020-04-23 17:47:53 +08:00
h00die
7718992ea4
fix spelling of initialize
2019-10-04 21:56:52 -04:00
Patrick
1487ca8923
Fixed line alignment. New section name is made lowercase to comply with naming standard.
2019-02-13 13:35:26 -06:00
Patrick
484329f6a0
Issue #6637 : Adds msfvenom option --sec-name to specify custom new section header name
2019-02-13 13:34:38 -06:00
Nathan
2d7c075f81
undefined method `to_linux_armle_elf_dll' for Msf::Util::EXE:Class
...
```
msfvenom -p linux/armle/shell_reverse_tcp lport=1337 lhost=192.168.1.100 -f elf-so > shell.so
[-] No platform was selected, choosing Msf::Module::Platform::Linux from the payload
[-] No arch selected, selecting arch: armle from the payload
No encoder or badchars specified, outputting raw payload
Payload size: 172 bytes
Error: undefined method `to_linux_armle_elf_dll' for Msf::Util::EXE:Class
Did you mean? to_linux_armle_elf
to_linux_x64_elf_dll
to_linux_x86_elf_dll```
2019-02-03 16:34:30 +11:00
Brent Cook
b3118193e8
add todo comment on require
2018-04-24 08:22:31 -05:00
scriptjunkie
bc07ba3769
load only at use to break require loop
2018-04-10 21:05:41 -05:00
scriptjunkie
2ea875d304
Fix issue preventing psexec against non-powershell targets
2018-04-09 22:01:49 -05:00
Meatballs
cac0587d42
Fix no-uac msi creation
2018-04-02 19:29:16 +01:00
Wei Chen
6fe8691528
Fix #9090 , honoring retry counts for x86/64 payloads
...
Fix #9090
2018-02-15 13:52:34 -06:00
Tim
4ec0faf35d
fix aarch64 cmdstager
2017-11-15 16:47:17 +08:00
Evgeny Naumov
d5cdd2567a
add missing method
2017-10-16 16:01:53 -04:00
bwatters-r7
7df18e378d
Fix conflicts in PR 8509 by mergeing to master
2017-10-09 10:30:21 -05:00
Tim
86ee77ffb0
add aarch64 nops and fix aarch64 cmdstager
2017-08-31 18:48:58 +08:00
Tim
8b4ccc66c7
add linux/aarch64/shell_reverse_tcp
2017-08-17 18:55:37 +08:00
Brent Cook
f5e76092d6
Merge branch 'master' into land-8439-
2017-07-18 08:25:18 -05:00
L3cr0f
6a3fc618a4
Add bypassuac_injection_winsxs.rb module
2017-06-03 12:59:50 +02:00
Tim
32a83e0d30
update macho check for 32bit + fat
2017-05-30 14:00:24 +08:00
HD Moore
0520d7cf76
First crack at Samba CVE-2017-7494
2017-05-24 19:42:04 -05:00
Tim
d333077308
osx meterpreter
2017-05-23 14:23:22 +08:00