pyrit.scenario.airt.CyberStrategy#
- class CyberStrategy(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
ScenarioStrategyStrategies for malware-focused cyber attacks. While not in the CyberStrategy class, a few of these include: * Shell smashing * Zip bombs * File deletion (rm -rf /).
- __init__(*args, **kwds)#
Methods
get_aggregate_tags()Get the set of tags that represent aggregate categories.
get_strategies_by_tag(tag)Get all attack strategies that have a specific tag.
get_all_strategies()Get all non-aggregate strategies for this strategy enum.
get_aggregate_strategies()Get all aggregate strategies for this strategy enum.
normalize_strategies(strategies)Normalize a set of attack strategies by expanding aggregate tags.
prepare_scenario_strategies([strategies, ...])Prepare and normalize scenario strategies for use in a scenario.
supports_composition()Indicate whether this strategy type supports composition.
validate_composition(strategies)Validate whether the given strategies can be composed together.
Attributes
tagsGet the tags for this attack strategy.
- ALL = 'all'#
- MULTI_TURN = 'multi_turn'#
- SINGLE_TURN = 'single_turn'#