Agents/Attacks

Flooder

nowin.png

The flooder agent responds to object type 'FLOODER'.

NODES(g)set the nodes that will become flood sources
interfaceIP of interface to init libnet with (REQUIRED ON WINDOWS, uncommon for linux or bsd)
dstthe target base address (REQUIRED)
dstmaskthe mask to use to randomize the target (default is 255.255.255.255)
srcthe source base address (defaults to the local address)
srcmaskthe mask to use to randomize the source (default is 255.255.255.0)
protothe protocol of the attack packets
lengthminthe minimum data size of the attack packets
lengthmaxthe maximum data size of the attack packets
ratetypeflat, rampup, rampdown, pulse, or ramppulse
highratepkts/sec when at highstate
hightimemilliseconds to spend at high state
lowratepkts/sec when at low state
lowtimemilliseconds to spend at low state
riseshapeshape of the rising ramp
risetimemilliseconds to spend ramping up to high state
fallshapeshape of the falling ramp
falltimemilliseconds to spend ramping down to low rate
sportminthe minimum sport for UDP/TCP packets
sportmaxthe maximum sport for UDP/TCP packets
dportminthe minimum dport for UDP/TCP packets
dportmaxthe maximum dport for UDP/TCP packets
tcpflagsthe flags to use for TCP packets
typeminthe minimum type for ICMP packets
typemaxthe maximum type for ICMP packets
codeminthe minimum code for ICMP packets
codemaxthe maximum code for ICMP packets

Example Script

myatt = scripts.Agent('FLOODER', 'attack1')
myatt.Set({
        'NODES':'net1',
        'dst':'net4',
        'ratetype':'pulse',
        'lowrate':'300',   'highrate':'1000',
        'lowtime':'20000', 'hightime':'15000',
        'lengthmin':'200', 'lengthmax':'200',
        'proto':'UDP',
        'sportmin':'57',   'sportmax':'57',
        'dportmax':'3000', 'dportmin':'2000'
})
myatt.Start()