|
@@ -24,9 +24,11 @@ class Parameter(enum.Enum):
|
|
|
ATTACK_DURATION = 'attack.duration' # in seconds
|
|
|
VICTIM_BUFFER = 'victim.buffer' # in packets
|
|
|
TARGET_URI = 'target.uri'
|
|
|
+ NUMBER_INITIATOR_BOTS = 'bots.count'
|
|
|
+ INTERVAL_SELECT_START = 'interval.selection.start'
|
|
|
+ INTERVAL_SELECT_END = 'interval.selection.end'
|
|
|
# recommended type: domain -----------------------------------
|
|
|
TARGET_HOST = 'target.host'
|
|
|
-
|
|
|
# recommended type: Float ------------------------------------
|
|
|
PACKETS_PER_SECOND = 'packets.per-second' # packets per second
|
|
|
INJECT_AT_TIMESTAMP = 'inject.at-timestamp' # unix epoch time (seconds.millis) where attack should be injected
|
|
@@ -37,6 +39,24 @@ class Parameter(enum.Enum):
|
|
|
PORT_DEST_ORDER_DESC = 'port.dst.order-desc' # uses a descending port order instead of a ascending order
|
|
|
IP_SOURCE_RANDOMIZE = 'ip.src.shuffle' # randomizes the sources IP address if a list of IP addresses is given
|
|
|
PORT_SOURCE_RANDOMIZE = 'port.src.shuffle' # randomizes the source port if a list of sources ports is given
|
|
|
+ NAT_PRESENT = 'nat.present' # if NAT is active, external computers cannot initiate a communication in MembersMgmtCommAttack
|
|
|
+ TTL_FROM_CAIDA = 'ttl.from.caida' # if True, TTLs are assigned based on the TTL distributions from the CAIDA dataset
|
|
|
+ MULTIPORT = "multiport" # select destination port as an ephemeral port if True, calculate the destination port based on the hostname, otherwise
|
|
|
+ HIDDEN_MARK = "hidden_mark" # indicating if the attack will mark generated packets
|
|
|
+ # recommended type: Filepath ------------------------------------
|
|
|
+ FILE_CSV = 'file.csv' # filepath to CSV containing a communication pattern
|
|
|
+ FILE_XML = 'file.xml' # filepath to XML containing a communication pattern
|
|
|
+ # recommended type: CommType ------------------------------------
|
|
|
+ COMM_TYPE = "comm.type" # the locality of bots in botnet communication (e.g. local, external, mixed)
|
|
|
+ # recommended type: Percentage (0.0-1.0) ------------------------------------
|
|
|
+ IP_REUSE_TOTAL = 'ip.reuse.total' # percentage of IPs in original PCAP to be reused
|
|
|
+ IP_REUSE_LOCAL = 'ip.reuse.local' # percentage of private IPs in original PCAP to be reused
|
|
|
+ IP_REUSE_EXTERNAL = 'ip.reuse.external' # percentage of public IPs in original PCAP to be reused
|
|
|
+ # recommended type: Positive Integer between 0 and 100 ------------------------------------
|
|
|
+ PACKET_PADDING = 'packet.padding'
|
|
|
+ #recommended type: interval selection strategy, i.e. 'random', 'optimal' or 'custom' ------------------------------------
|
|
|
+ INTERVAL_SELECT_STRATEGY = 'interval.selection.strategy'
|
|
|
+
|
|
|
|
|
|
PROTOCOL_VERSION = 'protocol.version'
|
|
|
HOSTING_VERSION = 'hosting.version'
|
|
@@ -60,3 +80,7 @@ class ParameterTypes(enum.Enum):
|
|
|
TYPE_PACKET_POSITION = 7 # used to derive timestamp from parameter INJECT_AFTER_PACKET
|
|
|
TYPE_DOMAIN = 8
|
|
|
TYPE_STRING = 9
|
|
|
+ TYPE_FILEPATH = 10
|
|
|
+ TYPE_PERCENTAGE = 11
|
|
|
+ TYPE_PADDING = 12
|
|
|
+ TYPE_INTERVAL_SELECT_STRAT = 13
|