mal-lang / coreLang

A probabilistic attack simulation language for the (abstract) IT domain
https://mal-lang.org/coreLang/
Other
11 stars 13 forks source link

Rework Network Connectivity into Separate Inspected and Uninspected Components #88

Closed andrewbwm closed 2 years ago

andrewbwm commented 2 years ago

This pull request came about due to a bug where payloadInspection on a ConnectionRule would only propagate the restrictions to the attacker's actions to the Applications directly associated with it and not across other Networking assets.

The inspection discussed here refers to payload inspection of the traffic and not host/port-based filtering which is accounted for by the Restricted defence, instead.

The changes subsumed here separate all network connectivity in coreLang into two separate components:

It is important that whenever the attacker is able to gain Uninspected networking reach to an asset that they are also flagged as having Inspected reach as well, otherwise some odd results might be produced.