Archer Bowen
849cb20f35
#2689 Addressed more PR comments & fixed an bug with command parsing in _command_terminal (c2 beacon)
2024-08-16 10:24:53 +01:00
Archer Bowen
e5be392ea8
#2689 Updated documentation and docustrings following PR comments.
2024-08-15 17:47:33 +01:00
Archer Bowen
f32b3a931f
#2689 Addressed failing tests + updated c2_suite.rst to include the Data exfil command.
2024-08-15 14:41:35 +01:00
Archer Bowen
192ca814e0
Apply suggestions from code review
2024-08-13 15:49:52 +00:00
Archer Bowen
559f480062
#2689 Fixed .rst formatting issues and removed unnecessary comments.
2024-08-13 16:47:40 +01:00
Archer Bowen
6c7376ab4b
#2681 Updated to include yaml file tests + include listening on multiports.
2024-08-13 09:37:11 +01:00
Archer Bowen
cbf02ebf32
#2689 Updated documentation and moved _craft_packet into abstract C2
2024-08-12 14:16:21 +01:00
Archer Bowen
53433ce7b6
#2689 General improvements.
...
1. Abstract TAP now handles .apply_timestep
2. Expanded tests
3. Added pydantic model for c2 configuration.
2024-08-09 17:53:47 +01:00
Archer Bowen
0e8e8c5681
Merge remote-tracking branch 'origin/dev' into feature/2689-command-and-control
2024-08-09 12:15:43 +01:00
Chris McCarthy
a3a9ca9963
#2768 - Fixed issue causing main port to not be included in list of open ports. documented the configuration of listen_on_ports. added test that tests listen_on_ports configuration from yaml.
2024-08-08 21:20:20 +01:00
Archer Bowen
9249447ea6
Merge branch 'dev' into feature/2689-command-and-control
2024-08-07 14:18:40 +01:00
Charlie Crane
457395baee
#2706 - Correcting wording on documentation titles
2024-08-06 09:33:41 +01:00
Charlie Crane
1e64e87798
#2706 - Actioning Review comments
2024-08-06 09:30:27 +01:00
Archer.Bowen
4ae0275dc9
#2689 Implemented initial agent actions and started on documentations. A few TODO's left to do such as validation and expanding unit tests.
2024-08-05 16:53:48 +01:00
Charlie Crane
4fe9753fcf
#2706 - Updated terminal.receive() to work with SSHPacket class, fixed some tests and updated RemoteTerminalConnection to hold Source_IP for easier reading
2024-08-05 15:44:52 +01:00
Charlie Crane
0ed61ec79b
#2706 - Updates to terminal and host_node documentation, removal of redundant terminal unit test
2024-07-30 15:54:08 +01:00
Charlie Crane
a36e34ee1d
#2712 - Prepping ahead of raising PR.
2024-07-24 08:31:24 +01:00
Charlie Crane
9d5b58ce44
Merge branch 'dev' into feature/2712-Terminal_Login_Handling
2024-07-23 15:52:42 +01:00
Charlie Crane
a7f9e4502e
#2712 - Updates to the login logic and fixing resultant test failures. Updates to terminal.rst and ssh.py
2024-07-23 15:18:20 +01:00
Archer.Bowen
3ff0a37a71
#2734 User guide feedback core changes.
2024-07-19 11:54:10 +01:00
Archer.Bowen
538c9e1e42
#2734 User Guide Update fixes.
2024-07-18 17:52:31 +01:00
Archer.Bowen
819062b627
2734 - updated following pr v2
2024-07-17 16:15:56 +01:00
Archer.Bowen
8bc84e33be
Updated following PR
2024-07-17 15:07:37 +01:00
Archer.Bowen
bc660d651d
2734 - Initial User Guide Updates
2024-07-16 09:32:26 +01:00
Charlie Crane
61c2ee0ee8
Merged PR 450: Terminal Service Class
...
## Summary
This PR is the base implementation of the Terminal Service Class, containing the skeleton structure for #2711 .
## Test process
Future me's problem - see #2714
## Checklist
- [X] PR is linked to a **work item**
- [X] **acceptance criteria** of linked ticket are met
- [X] performed **self-review** of the code
- [ ] written **tests** for any new functionality added with this PR
- [] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [X] updated the **change log**
- [X] ran **pre-commit** checks for code style
- [ ] attended to any **TO-DOs** left in the code
Related work items: #2711
2024-07-08 09:46:53 +00:00
Charlie Crane
219d448adc
#2711 - Rewrite of the majority of the terminal class after not liking how I originally did it. This takes a heavier inspiration for handling connections from the database_client/server
2024-07-08 07:58:10 +01:00
Czar Echavez
797afc99ab
Merge remote-tracking branch 'origin/dev' into feature/2725-add-software-fix-duration-config
2024-07-03 10:37:02 +01:00
Czar Echavez
fcd1209156
#2725 : documentation
2024-07-02 16:55:28 +01:00
Charlie Crane
bd05f4d4e8
#2711 - Initial commit of Terminal Service Skeleton framework. Added in a placeholder SSHPacket class. Currently, this allows the Terminal 'service' to be installed onto a HostNode class, and Port 22 - SSH to be visible when using .show(). Functionality and testing still to be completed
2024-07-02 15:02:59 +01:00
Marek Wolan
1ebeb27c53
#2705 Update documentation link
2024-06-28 12:03:05 +01:00
Marek Wolan
fad8d936e6
Merge remote-tracking branch 'origin/dev' into feature/2646_Update-pre-commit-to-check-for-valid-copyright
2024-06-13 12:52:09 +01:00
Chris McCarthy
81bcf99855
#2646 - Added a custom pre-commit hook that ensure the copyright clause is added to .py and .rst files.
2024-06-05 09:11:37 +01:00
Chris McCarthy
3c17ef0a69
#2628 - added _can_perform_network_action to nmap.py. made some changes following PR suggestions.
2024-06-04 22:29:00 +01:00
Chris McCarthy
5eea5bf4f9
#2618 - Integrated the NMAP into the action and requests functionality to enable agent usage. added NMAP agents tests.
2024-05-31 13:53:18 +01:00
Chris McCarthy
9c4d47b0b9
#2618 - Fixed up some formatting in the nmap.rst documentation
2024-05-29 13:29:08 +01:00
Chris McCarthy
716f3ece1e
#2618 - Added NMAP application, documentation, and tests.
2024-05-29 13:13:42 +01:00
Charlie Crane
5ee23dcb17
Merged PR 348: #2462 - Refactor of DatabaseClient and DatabaseServer
...
## Summary
Refactor of `DatabaseClient` and `DatabaseService` to update how connection IDs are generated. These are now provided by DatabaseService when establishing a connection.
Creation of `DatabaseClientConnection` class. This is used by `DatabaseClient` to hold a dictionary of active db connections.
## Test process
Tests have been updated to reflect the changes and all pass
## Checklist
- [X] PR is linked to a **work item**
- [X] **acceptance criteria** of linked ticket are met
- [X] performed **self-review** of the code
- [X] written **tests** for any new functionality added with this PR
- [X] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [X] updated the **change log**
- [X] ran **pre-commit** checks for code style
- [X] attended to any **TO-DOs** left in the code
Related work items: #2462
2024-04-26 14:52:21 +00:00
Marek Wolan
d1480e4477
Apply suggestions from PR review.
2024-03-04 09:58:57 +00:00
Marek Wolan
070655cfce
Update data manipulation bot documentation
2024-03-03 11:47:50 +00:00
Czar Echavez
49a4e1fb56
#2257 : added common node attributes page + ability to set node operating state via config + tests
2024-02-29 15:20:54 +00:00
Czar Echavez
9a4587155b
#2257 : specifically stating that enpoint refs are node hostnames + remove TODO
2024-02-29 11:07:21 +00:00
Czar Echavez
6d43c61058
#2257 : apply PR suggestions
2024-02-28 15:08:00 +00:00
Czar Echavez
d738a23709
#2257 : list of db payloads
2024-02-26 11:35:17 +00:00
Czar Echavez
fb148dc4fb
#2257 : applications and services docs
2024-02-23 16:49:01 +00:00
Czar Echavez
5836ea68e3
#2257 : rearrange software pages + creating a list of applications and services which is hopefully a single point that should be referred to
2024-02-23 08:55:32 +00:00
Czar Echavez
2e2d83c3e9
#2257 : update sphinx version + cleaning up some errors + splitting configuration page into multiple pages
2024-02-16 16:14:36 +00:00
Nick Todd
8520f22e22
2306: Updated documentation
2024-02-14 13:35:08 +00:00
Nick Todd
4c66d2b252
2297: Change missed reference TCP to UDP.
2024-02-12 17:24:28 +00:00
Nick Todd
697e53def8
2297: Doc update.
2024-02-12 17:12:59 +00:00
Chris McCarthy
a036160515
#2248 - Enhances the PrimAITE documentation, covering the Node, network interfaces, Session Manager, Software Manager, PCAP service, SysLog functionality, and network devices like Routers, Switches, Computers, and Switch Nodes. It details their roles, workflows, and integration within the simulation, focusing on frame processing, software management, and logging. The documentation also clarifies the frame reception process, including port checks and application-level dispatching, ensuring a thorough understanding of network operations within the simulation
2024-02-08 22:37:21 +00:00