Changes between Version 3 and Version 4 of MitmExample


Ignore:
Timestamp:
Nov 5, 2010 3:54:25 PM (13 years ago)
Author:
sunshine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MitmExample

    v3 v4  
    1313  This is a special case of cache poisoning where the target is ARP cache.
    1414
    15  * '''Logical topology:'''
     15'''define ARPPoisoning: import cachePoisoning cp'''
     16
     17 '''Logical topology:'''
    1618
    1719    '''Objects:'''
    18 
    19       Attacker extends Node
    2020 
    2121      IP extends IPAddress
    2222
    23       fakePA extends MACAddress
     23      fakePA := cp.fakeResource, fakePA extends MACAddress
    2424
    25       Cache extends Object
    26 
    27       Cache := {ARPRecord[] records}
     25      Cache := cp.Cache, Cache := {ARPRecord[] records}
    2826
    2927    '''Cardinality:'''
    3028
    31       |Attacker|,,1,,
    3229
    3330      |IP|,,1,,
    3431
    35       |fakePA|,,1,,
     32    '''Relationships:'''
    3633
    37       |Cache|,,1,,
    38 
    39     '''Relationships:'''
    40      
    41       not collocated(Cache, Attacker)
    42 
    43 
    44  * '''Timeline of events: '''
     34 '''Timeline of events: '''
    4535
    4636  '''Definitions:'''
     
    5848
    5949
    60  * '''Invariants:''' Nothing in addition to the topology and timeline above.
     50 '''Invariants:''' Nothing in addition to the topology and timeline above.
    6151
    6252=== MITM attack metadescription ===
    6353
    64  * '''Logical topology:'''
     54'''define MITM:'''
     55
     56 '''Logical topology:'''
    6557
    6658    '''Objects:'''
     
    7971
    8072
    81  * '''Timeline of events: '''
     73 '''Timeline of events: '''
    8274
    8375  '''Definitions:''
     
    9789      e1 -> e2 and e3 -> e4
    9890
    99  * '''Invariants:'''    Nothing in addition to the topology and timeline above.
     91 '''Invariants:'''    Nothing in addition to the topology and timeline above.
    10092
    10193=== Experiment design ===
     
    10395Now 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:
    10496
    105   ARPPoisoning arp1, ARPPoisoning arp2, MITMAttack mitm
     97'''define MITMwARP: import ARPPoisoning arp1, ARPPoisoning arp2, MITMAttack mitm'''
    10698
    107     arp1.FakePA = mac(mitm.Attacker)
     99''Logical topology:'''
    108100
    109     arp1.IP = ip(mitm.Node2)
     101    '''Objects:'''
    110102
    111     collocated(arp1.Cache, mitm.Node1) 
     103      arp1.FakePA := mac(mitm.Attacker)
    112104
    113     arp2.fakePA = mac(mitm.Attacker)
     105      arp1.IP := ip(mitm.Node2)
    114106
    115     arp2.IP = ip(mitm.Node1)
     107      arp2.fakePA := mac(mitm.Attacker)
    116108
    117     collocated(arp2.Cache, mitm.Node2) 
     109      arp2.IP := ip(mitm.Node1)
    118110
    119     (arp1 and arp2) -> mitm
     111    '''Cardinality:'''
    120112
     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