Changes between Version 3 and Version 4 of MitmExample
- Timestamp:
- Nov 5, 2010 3:54:25 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MitmExample
v3 v4 13 13 This is a special case of cache poisoning where the target is ARP cache. 14 14 15 * '''Logical topology:''' 15 '''define ARPPoisoning: import cachePoisoning cp''' 16 17 '''Logical topology:''' 16 18 17 19 '''Objects:''' 18 19 Attacker extends Node20 20 21 21 IP extends IPAddress 22 22 23 fakePA extends MACAddress23 fakePA := cp.fakeResource, fakePA extends MACAddress 24 24 25 Cache extends Object 26 27 Cache := {ARPRecord[] records} 25 Cache := cp.Cache, Cache := {ARPRecord[] records} 28 26 29 27 '''Cardinality:''' 30 28 31 |Attacker|,,1,,32 29 33 30 |IP|,,1,, 34 31 35 |fakePA|,,1,,32 '''Relationships:''' 36 33 37 |Cache|,,1,, 38 39 '''Relationships:''' 40 41 not collocated(Cache, Attacker) 42 43 44 * '''Timeline of events: ''' 34 '''Timeline of events: ''' 45 35 46 36 '''Definitions:''' … … 58 48 59 49 60 *'''Invariants:''' Nothing in addition to the topology and timeline above.50 '''Invariants:''' Nothing in addition to the topology and timeline above. 61 51 62 52 === MITM attack metadescription === 63 53 64 * '''Logical topology:''' 54 '''define MITM:''' 55 56 '''Logical topology:''' 65 57 66 58 '''Objects:''' … … 79 71 80 72 81 *'''Timeline of events: '''73 '''Timeline of events: ''' 82 74 83 75 '''Definitions:'' … … 97 89 e1 -> e2 and e3 -> e4 98 90 99 *'''Invariants:''' Nothing in addition to the topology and timeline above.91 '''Invariants:''' Nothing in addition to the topology and timeline above. 100 92 101 93 === Experiment design === … … 103 95 Now I'm a user who wants to design an experiment. I need to combine two metadescriptions (ARP poisoning and MITM attack) and somehow tie them down to generator choices. To combine I'll do something like this: 104 96 105 ARPPoisoning arp1, ARPPoisoning arp2, MITMAttack mitm 97 '''define MITMwARP: import ARPPoisoning arp1, ARPPoisoning arp2, MITMAttack mitm''' 106 98 107 arp1.FakePA = mac(mitm.Attacker) 99 ''Logical topology:''' 108 100 109 arp1.IP = ip(mitm.Node2)101 '''Objects:''' 110 102 111 collocated(arp1.Cache, mitm.Node1)103 arp1.FakePA := mac(mitm.Attacker) 112 104 113 arp2.fakePA = mac(mitm.Attacker)105 arp1.IP := ip(mitm.Node2) 114 106 115 arp2.IP = ip(mitm.Node1)107 arp2.fakePA := mac(mitm.Attacker) 116 108 117 collocated(arp2.Cache, mitm.Node2)109 arp2.IP := ip(mitm.Node1) 118 110 119 (arp1 and arp2) -> mitm111 '''Cardinality:''' 120 112 113 '''Relationships:''' 114 115 collocated(arp1.Cache, mitm.Node1) 116 117 collocated(arp2.Cache, mitm.Node2) 118 119 '''Timeline of events: ''' 120 121 '''Definitions:'' 122 123 (timeline(arp1) and timeline(arp2)) -> timeline(mitm) 124 125 '''Timeline:''' 126 127 '''Invariants:''' Nothing in addition to the topology and timeline above. 128 129 130 131