70 Commits

Author SHA1 Message Date
Russel Van Tuyl ed7d4eb3f4 wip: commands 2023-08-27 10:43:19 -04:00
Ne0nd0g 70af8223ca Fixed Invoke-Mimikatz module 2022-01-28 08:51:54 -05:00
Ne0nd0g 2d28cbc248 Fixed #107 - Updated modules.RunModule to use run command 2021-05-29 16:55:32 -04:00
Ne0nd0g c68a308625 Updated go-donut package to use .NET auto detect 2020-12-31 15:07:04 -05:00
Ne0nd0g a83740ad89 Added SharpGen functionality 2020-12-12 17:43:21 -05:00
Ne0nd0g d7c47635fd Merge branch 'dev' into SharpGen 2020-12-12 10:50:16 -05:00
Ne0nd0g 1887cd00a0 Added go-donut functionality 2020-12-12 09:21:15 -05:00
Ne0nd0g 261496d50c Added CreateProcess with redirected STDOUT/STDERR over anonymous pipes 2020-11-25 08:56:15 -05:00
Ne0nd0g c5b32f9ff3 Base SharpGen module added 2020-11-20 07:58:40 -05:00
Ne0nd0g d5e3eb2969 Added 4 modules from the D(COM) V(ulnerability) S(canner) Framework 2020-08-26 16:29:37 -04:00
Ne0nd0g bbe997bd68 Added regex to better fix #88 ;Updated modules README 2020-06-27 12:46:32 -04:00
Ne0nd0g 3af070823a Added macOS SwiftBelt module 2020-06-05 13:04:19 -04:00
Ne0nd0g 8823f1319e Updated SharpUp module to isolate variables 2020-06-05 08:35:51 -04:00
Ne0nd0g 3ee2b7180b Added 4 macOS modules for enumeration and kerberos interactions 2020-05-23 10:27:24 -04:00
Ne0nd0g 54d86aac57 Closes #71 allowing modules to run across all agents when the platform matches. Added unset command to modules 2020-05-03 13:19:25 -04:00
Ne0nd0g b5d57e1350 Closes #88 allowing module option values to contain spaces 2020-05-01 08:42:45 -04:00
Ne0nd0g 853c9ea4c8 Resolves #47 2020-02-26 07:35:42 -05:00
Russel Van Tuyl 4bbb336f93 Merge branch 'dev' into evade-and-persist 2019-07-27 15:54:59 -04:00
Tony M Lambert 253978beb7 Delete systemdService.json 2019-05-04 17:11:48 -05:00
ForensicITGuy da41aa6e78 Modified folder 2019-05-04 17:00:57 -05:00
ForensicITGuy db127b43bc Do it filelessly 2019-05-04 16:44:33 -05:00
ForensicITGuy 522c559a65 fix 2019-05-04 16:18:55 -05:00
ForensicITGuy 3a2909f883 Evasion and Persistence Linux Modules 2019-05-04 16:07:07 -05:00
ForensicITGuy c1b282de79 systemd persistence and timestomping 2019-04-25 21:04:02 -05:00
Ne0nd0g 624528f083 Updated to include module options for increased flexibility. 2019-04-25 07:41:30 -04:00
ForensicITGuy ab6e32ce79 made more silent 2019-04-23 21:28:02 -05:00
ForensicITGuy ce6509c458 add standard type 2019-04-23 21:23:38 -05:00
ForensicITGuy cead3b4eb6 Added libprocesshider 2019-04-23 20:44:58 -05:00
Ne0nd0g 900731606d Fixed #69 2019-04-21 20:58:40 -04:00
Ne0nd0g ced970677c Removed MinidumpFile struct and replaced with map to preclude the need
for the agent to import the modules package. Added minidump package
inside of modules. Updated minidump.json file.
2019-03-05 08:30:00 -05:00
Ne0nd0g 285c3ceeea Updated shellcode module and added shellcodeinjection.json module file 2019-03-04 21:51:31 -05:00
Ne0nd0g 298a52bf6f Added sRDI module. Added GetAgentFieldValue and isAgent functions to
agents.go. Updated cli.go to process module run command based on module
type (i.e. standard or extended) instead of language. Updated Module
struct to include a Type. Added a check to make sure the Module's
platform and Agent's platform match. Added a getExtendedCommand
function and handling to modules.go. Added getMapFromOptions to
modules.go to convert an Options struct to a map.
2019-03-01 22:03:32 -05:00
Ne0nd0g 668227103c Fixed module JSON to use correct values to get rid of arguments
prepended with a space. Cleaned up agent module processing code.
2019-02-23 21:46:06 -05:00
Ne0nd0g c706ad18bc Updated module info for more clarity and follow on steps. 2019-02-23 20:22:47 -05:00
c_sto 1faf795ab8 add ability to specify temp location 2019-02-16 18:48:31 +08:00
Ne0nd0g 36e38df867 Moved minidump module into credentials directory and added module file
path.
2019-02-09 11:30:11 -05:00
c_sto df5f318f88 move to module, add stub to non-windows exec, add ability to specify process, read data before parsing as json on server 2019-02-03 12:29:30 +08:00
Kevin 9744494a78 Added a module for Python-based SOCKS proxying
The SOCKS module connects out to a server, and allows you to tunnel SOCKS-wrapped connections into the target network over TLS. The server can be downloaded from https://github.com/klustic/AlmondRocks (follow the README there to set the AlmondRocks (arox) server up).

Example usage:

```
Merlin» agent list

+--------------------------------------+-------------+------+--------------+-------------+---------+
|              AGENT GUID              |  PLATFORM   | USER |     HOST     |  TRANSPORT  | STATUS  |
+--------------------------------------+-------------+------+--------------+-------------+---------+
| b93df9ce-97fe-4644-b205-d72ad41f99e4 | linux/amd64 | root | 5b56f371f161 | HTTP/2 (h2) | Delayed |
+--------------------------------------+-------------+------+--------------+-------------+---------+

Merlin» use module linux/x64/python/pivoting/arox
Merlin[module][AlmondRocks]» set host 10.30.43.78:443
[+]host set to 10.30.43.78:443
Merlin[module][AlmondRocks]» set agent b93df9ce-97fe-4644-b205-d72ad41f99e4
[+]agent set to b93df9ce-97fe-4644-b205-d72ad41f99e4
Merlin[module][AlmondRocks]» show options

Agent: b93df9ce-97fe-4644-b205-d72ad41f99e4

Module options(AlmondRocks)

  NAME  |                VALUE                 | REQUIRED |          DESCRIPTION
+-------+--------------------------------------+----------+--------------------------------+
  Agent | b93df9ce-97fe-4644-b205-d72ad41f99e4 | true     | Agent on which to run module
        |                                      |          | AlmondRocks
  host  | 10.30.43.78:443                      | true     | The AlmondRocks
        |                                      |          | server, specified as
        |                                      |          | <IP|Domain>:<Port>
Merlin[module][AlmondRocks]» run
[-]Created job zZEiTLGFUO for agent b93df9ce-97fe-4644-b205-d72ad41f99e4

ON THE AROX SERVER:

# python arox.py -v server -s 0.0.0.0:1080 -t 0.0.0.0:443 --cert /tmp/arox/bin/../ssl/cert.pem --key /tmp/arox/bin/../ssl/key.pem
[2018-12-05 22:29:07]  WARNING SocksServer: Waiting for Tunnel connections on 0.0.0.0:443
[2018-12-05 22:46:03]  WARNING SocksServer: Accepted Tunnel connection from 172.17.0.1:50216
[2018-12-05 22:46:03]     INFO SocksServer: Listening for SOCKSv5 clients on 0.0.0.0:1080
[2018-12-05 22:47:28]     INFO SocksServer: Created new channel: <Channel id=4074514444 remote_addr=None local_addr=127.0.0.1:44506>
[2018-12-05 22:47:28]     INFO SocksServer: Channel connected remotely: <Channel id=4074514444 remote_addr=google.com[172.217.2.14]:80 local_addr=127.0.0.1:44506>
[2018-12-05 22:47:28]     INFO Tunnel: Closed channel: <Channel id=4074514444 remote_addr=google.com[172.217.2.14]:80 local_addr=127.0.0.1:44506>
[2018-12-05 22:47:34]     INFO SocksServer: Created new channel: <Channel id=4074514445 remote_addr=None local_addr=127.0.0.1:44510>
[2018-12-05 22:47:34]     INFO SocksServer: Channel connected remotely: <Channel id=4074514445 remote_addr=google.com[172.217.2.14]:443 local_addr=127.0.0.1:44510>
[2018-12-05 22:47:35]     INFO Tunnel: Closed channel: <Channel id=4074514445 remote_addr=google.com[172.217.2.14]:443 local_addr=127.0.0.1:44510>
[2018-12-05 22:47:38]     INFO SocksServer: Created new channel: <Channel id=4074514446 remote_addr=None local_addr=127.0.0.1:44514>
[2018-12-05 22:47:38]     INFO SocksServer: Channel connected remotely: <Channel id=4074514446 remote_addr=www.google.com[172.217.6.36]:443 local_addr=127.0.0.1:44514>
[2018-12-05 22:47:39]     INFO Tunnel: Closed channel: <Channel id=4074514446 remote_addr=www.google.com[172.217.6.36]:443 local_addr=127.0.0.1:44514>
```
2018-12-05 16:01:12 -07:00
Ne0nd0g 3daea6c46a fixes #28 Updated MimiPenguin module to use new path to download mimipenguin.sh 2018-10-21 17:52:23 -04:00
Ne0nd0g 804b70796d Updated Grouper module to use tool creator's correct Twitter handle. 2018-08-26 06:30:26 -04:00
Ne0nd0g b4b8de4918 Updated SafetyKatz module to account for new Constants.cs 2018-08-23 19:17:55 -04:00
Ne0nd0g ee536f5b08 Updated Inveigh to include author's Twitter handle 2018-08-11 20:32:41 -04:00
Ne0nd0g 6bb30bb3c3 Added SafetyKatz, SharpDump, SharpRoast, Seatbelt, SharpUp, and Inveigh
modules. Added MerlinCheatSheet.pdf to docs directory. Updated Makefile
to extract version number from pkg/merlin.go
2018-08-11 16:25:01 -04:00
Ne0nd0g ea8e105006 Added Invoke-PowerThIEF and Get-ScheduledTaskComHandler modules 2018-07-17 20:55:57 -04:00
Ne0nd0g 6e44804101 Added 4 modules from @HarmJ0y's Discretionary ACL Modification Project
(DAMP)
2018-06-13 20:45:20 -04:00
Ne0nd0g d76caede60 Added Invoke-WMILM module 2018-05-28 13:50:58 -04:00
Ne0nd0g b3a2783918 Added Get-OSTokenInformation module 2018-05-26 14:39:25 -04:00
Ne0nd0g 9d7f172690 Added Create-HotKeyLNK persistence module 2018-05-26 14:39:25 -04:00
Ne0nd0g 16fc98cbcf Added DSCompromised Configure-Victim module 2018-05-26 14:39:25 -04:00
Ne0nd0g 506d130c99 Added Invoke-InternalMonologue module 2018-03-21 22:49:59 -04:00