Changes between Version 12 and Version 13 of BotnetExample
- Timestamp:
- Nov 5, 2010 4:00:22 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BotnetExample
v12 v13 9 9 === Worm spread metadescription === 10 10 11 '''define Worm:''' 11 12 12 *'''Logical topology:'''13 '''Logical topology:''' 13 14 14 15 '''Objects:''' … … 29 30 30 31 31 *'''Timeline of events: '''32 '''Timeline of events: ''' 32 33 33 34 '''Definitions:''' … … 44 45 45 46 46 *'''Invariants:''' No additional ones are needed here.47 '''Invariants:''' No additional ones are needed here. 47 48 48 49 === P2P w leader and C&C traffic metadescription === 49 50 50 * '''Logical topology:''' 51 '''define P2P:''' 52 53 '''Logical topology:''' 51 54 52 55 '''Objects:''' … … 69 72 70 73 71 *'''Timeline of events: '''74 '''Timeline of events: ''' 72 75 73 76 '''Definitions:''' 77 74 78 PEERREQUEST extends REQUEST 75 79 … … 103 107 104 108 105 *'''Invariants:''' No additional ones are needed here.109 '''Invariants:''' No additional ones are needed here. 106 110 107 111 === Experiment design === … … 109 113 Now I'm a user who wants to design my experiment. I need to combine two metadescriptions and somehow tie them down to generator choices. To combine I need to specify how outputs of worm metadescription match inputs of P2P metadescription. I'll do something like this: 110 114 111 Worm w, P2P p2p115 '''define Botnet: import Worm w, P2P p2p''' 112 116 113 p2p.Peer := w.Infected117 '''Logical topology:''' 114 118 115 w | | p2p 119 120 '''Objects:''' 121 122 each p2p.Peer p and each w.Infected i 123 124 p := i 125 126 '''Cardinality:''' 127 128 '''Relationships:''' 129 130 '''Timeline of events: ''' 131 132 '''Definitions:''' 133 134 '''Timeline:''' 135 136 timeline(w) | | timeline(p2p) 137 138 139 '''Invariants:''' No additional ones are needed here. 140 141 116 142 117 143