jfuruness / bgpy_pkg

Simulates attack/defend scenarios in BGP
BSD 3-Clause "New" or "Revised" License
27 stars 7 forks source link

[bgpy] Shortest path export all doesn't do an origin hijack to customers against ASPA #115

Closed jfuruness closed 2 months ago

jfuruness commented 7 months ago

When doing a shortest path export all hijack against ASPA, you can actually simply do an origin hijack when announcing to customers. This doesn't come up much since most attackers are not transit ASes (in which case this bug won't affect results), but for transit attackers this matters. This will be somewhat difficult to implement, since this requires attacker behavior that is unique to only the attacker, and moves this attack beyond a simple preprocessing of the announcements (which probably means that this should be moved out of the preprocess_anns funcs).

NOTE: this comes from ASPA RFC section 12, and is due to the fact that ASPA records do not include customers.

jfuruness commented 2 months ago

fixed in v9