Skip to content

Comments

feat: Add goal description validation to the config parser and update an example attacker goal with a specific C&C IP.#451

Open
ondrej-lukas wants to merge 1 commit intomainfrom
ondra-add-basic-goal-description-verification
Open

feat: Add goal description validation to the config parser and update an example attacker goal with a specific C&C IP.#451
ondrej-lukas wants to merge 1 commit intomainfrom
ondra-add-basic-goal-description-verification

Conversation

@ondrej-lukas
Copy link
Member

Implemented validate_goal_description() in netsecgame/game/config_parser.py which checks that the controlled_hosts and known_data values defined in the configuration goal actually appear as text inside the string description.

If any IPs or targets are missing from the description string, the logger triggers a WARNING.

… an example attacker goal with a specific C&C IP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The goal description can not match the goal-state representation

1 participant