27 Commits

Author SHA1 Message Date
Russel Van Tuyl ed7d4eb3f4 wip: commands 2023-08-27 10:43:19 -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
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
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 202c6a185d Updated module JSON structure to include Credits. Updated modules.go to
show credits. Added new exported Run function to the Agent DLL. Run
function takes URL as an argument.
2018-03-21 22:24:52 -04:00
Russel Van Tuyl d2fcd1214d Merge pull request #14 from ahhh/dev2
Added 2 modules:
- linux/x64/bash/credentials/MimiPenguin.json
- linux/x64/bash/troll/Prank.json
2018-03-11 20:32:43 -04:00
Dan Borges bf55447284 Update Prank.json 2018-03-08 13:35:34 -08:00
dborges 95cadbaad7 Adding some prank scripts for post exploitation on linux 2018-03-08 05:23:43 -08:00
Russel Van Tuyl 2df19eb3b8 Merge pull request #13 from ahhh/master
Adding MimiPenguin Module
2018-03-07 22:50:22 -05:00
Ne0nd0g 4fac662629 Fixed linux modules to use a shell. 2018-03-07 21:47:31 -05:00
Ne0nd0g a2bd725fb6 Fixed SwapDigger and psgetsystem modules 2018-03-07 21:31:48 -05:00
Dan Borges 1413fd8a50 Update MimiPenguin.json 2018-03-07 17:50:16 -08:00
Dan Borges 96e69234b3 Create MimiPenguin.json
temp plugin dev
2018-03-07 15:14:15 -08:00
Ne0nd0g be7c743f94 Add support for module option variables and updated existing modules.
Created README to document how to write a module.
2018-02-24 08:39:58 -05:00
Ne0nd0g d01d50d020 First attempt at implementing modules. About 45% of the way there.
Module descriptors are JSON files in the data/modules directory.
2018-02-06 20:01:07 -05:00