239 Commits

Author SHA1 Message Date
Jakob Friedl
2e18decb6d Implemented 'steal-token' command. 2025-10-19 20:06:40 +02:00
Jakob Friedl
a4f37b5ceb Implemented most token functionality using Native APIs instead of Windows APIs. 2025-10-19 18:05:20 +02:00
Jakob Friedl
35bb4d8869 Implemented 'disable-privilege' command. 2025-10-18 13:05:01 +02:00
Jakob Friedl
ba1f1943fc Implemented 'enable-privilege' command. 2025-10-18 12:41:55 +02:00
Jakob Friedl
b3e82fc3a8 Reworked token functions. 2025-10-17 18:35:40 +02:00
Jakob Friedl
76930c9302 Implemented 'token-info' command that returns statistics, group memberships and privileges of the current access token. 2025-10-17 17:22:31 +02:00
Jakob Friedl
4a1a70da4d Impersonated user is displayed in the client UI and persisted in the team server database. 2025-10-17 13:01:12 +02:00
Jakob Friedl
0fc8ff3caa Standardized console spacing between commands. 2025-10-17 09:42:08 +02:00
Jakob Friedl
dea10ba7d5 Started work on token module and implemented 'make-token' command to impersonate a user from username and password. 2025-10-16 19:29:49 +02:00
Jakob Friedl
80579e5c7f Downloads component now uses textarea widget to display file preview. 2025-10-15 12:22:38 +02:00
Jakob Friedl
1e95b67603 Screenshots and downloads are now only retrieved once from the team server when the user selects them in the client for preview, which leads to faster start-up times and less blocking UI. 2025-10-14 22:04:04 +02:00
Jakob Friedl
df04eafc13 Made changes to screenshot handling. 2025-10-14 21:05:36 +02:00
Jakob Friedl
21137f6db5 Delete client private key from memory after key exchange. 2025-10-14 09:58:45 +02:00
Jakob Friedl
d9372dc880 Refactored textarea from console, eventlog and buildlog into a separate widget to reduce code duplication. 2025-10-13 21:55:29 +02:00
Jakob Friedl
756ee09eeb Fixed team server breaking when trying to write large task result data to log files. 2025-10-13 10:12:34 +02:00
Jakob Friedl
25f5bac12b Text selection in console window now accounts for text filter. Only items shown to the user can be selected and copied. 2025-10-12 16:40:34 +02:00
Jakob Friedl
392aaec972 Timestamp formatting broke text selection, so the int64 unix timestamp is formatted to a string before being added to the console component. This solved most of the highlighting issues I encountered. 2025-10-12 15:00:42 +02:00
Jakob Friedl
f2d2833306 Implemented callback host system to support HTTP redirectors 2025-10-11 17:10:18 +02:00
Jakob Friedl
373eb497d9 Fixed getText() function that caused text highlighting in console to break. 2025-10-10 12:55:50 +02:00
Jakob Friedl
504d15fa4d Implemented right-click menu to remove or download loot (files/screenshots). 2025-10-09 16:25:05 +02:00
Jakob Friedl
3259040daa Moved widget titles to variables and added icons. 2025-10-09 13:01:51 +02:00
Jakob Friedl
4e0eae77b8 Loot (downloads/screenshots) is now sent by the teamserver either on client-connection or when new loot is added. For images, smaller thumbnails are used to reduce size of network packets. 2025-10-09 12:14:38 +02:00
Jakob Friedl
bcf845288c Implemented widgets for showing loot: Downloads & Screenshots. Textures are read from a byte sequence and displayed in the UI. Currently tested using hard-coded values. 2025-10-07 21:16:17 +02:00
Jakob Friedl
b39a0e70e2 Updated directory structure. 2025-10-03 12:44:28 +02:00
Jakob Friedl
ae09e4e7e3 Implemented basic Tab-autocompletion for agent console. 2025-10-03 09:59:50 +02:00
Jakob Friedl
56153b3441 Covered client in installation instructions. 2025-10-02 13:56:48 +02:00
Jakob Friedl
d02808a6d3 Reworked logging system to work with new GUI. 2025-10-02 13:51:04 +02:00
Jakob Friedl
ab48bc5795 Added build log to client UI. 2025-10-02 12:10:46 +02:00
Jakob Friedl
5c0beb36ff Added remote address and modules to agent structure. Help command now only shows commands for which the agent has been configured. 2025-10-02 10:25:37 +02:00
Jakob Friedl
fbe85493b2 Implemented websocket (client <-> server) traffic encryption & compression. 2025-10-01 21:57:26 +02:00
Jakob Friedl
0937840b77 Removed unused code. 2025-10-01 15:27:06 +02:00
Jakob Friedl
c97cb4585f Removed prompt user intreface; Team server and Client are now fully separated. 2025-10-01 13:25:15 +02:00
Jakob Friedl
a1990e4a18 Added help command to ImGui client. 2025-09-30 15:27:05 +02:00
Jakob Friedl
039c857027 Moved task parsing logic to the client to be able to support dotnet/bof commands when operating from a different machine than the team server. Disabled sequence tracking due to issues. 2025-09-30 10:04:29 +02:00
Jakob Friedl
13a245ebf2 Started porting over command input & task output to the ImGui client. 2025-09-27 17:45:52 +02:00
Jakob Friedl
5472019d78 Made timestamps toggle-able in eventlog window. 2025-09-27 15:34:01 +02:00
Jakob Friedl
47799ee5f5 Implemented generating agent payloads from the ImGui client. 2025-09-27 15:18:45 +02:00
Jakob Friedl
ceba377939 Implemented starting and stopping listeners from the ImGui client. 2025-09-27 13:54:12 +02:00
Jakob Friedl
933a72f920 Improved module selection in payload generation modal with tooltips from the module manager. 2025-09-27 12:36:59 +02:00
Jakob Friedl
9de4ac4838 Small refactors 2025-09-26 18:27:38 +02:00
Jakob Friedl
35ea4d2576 Changed session table from using a Table[string, UIAgent] to seq[Agent] as that works better with the multi select. Separate table for heartbeat modifications. 2025-09-26 16:13:13 +02:00
Jakob Friedl
a8154bb7d6 Fixed team server crashing when no UI client is connected. 2025-09-26 15:30:14 +02:00
Jakob Friedl
19c073c261 Added comments 2025-09-26 13:24:47 +02:00
Jakob Friedl
d477cbd70d Fixed the docking problems by having each agent dock once to the bottom or to the node where the "Listeners" table is shown when they get added. 2025-09-26 13:24:35 +02:00
Jakob Friedl
166cadcb56 Fixed bug caused by '\0' in username that broke formatting. 2025-09-25 20:22:56 +02:00
Jakob Friedl
14771a4b50 Started porting over functionality to the ImGui client via websocket communication. 2025-09-25 19:22:17 +02:00
Jakob Friedl
f0dbcdfc58 Improved agent generation modal. 2025-09-25 10:41:41 +02:00
Jakob Friedl
a4456723ce Made dual list selection widget generic. 2025-09-25 10:01:49 +02:00
Jakob Friedl
8baf65a96d Improved dual list selection widget. 2025-09-24 19:26:17 +02:00
Jakob Friedl
b6c81755a0 Implemented dual list selection widgets for choosing modules. 2025-09-24 16:30:29 +02:00