分类目录归档:脚本

Mirai Internet of Things IoT DDoS sets record 600+ GB/Sec and your refrigerator could have been one of the attackers!

What is the Internet of Things (IoT) ?

In today’s technological expansion everything seems to be connected to the Internet, for instance in my own home I have my refrigerator, thermostat, video cameras, tablets, cell phone, TV, xbox, DirecTV box, printer, security system, laptops, servers, workstations, Ethernet tap, a switch and a router all connected to the Internet! This is all collectively referred to as the Internet of Things, basically everything connected to the interwebs.A lot of devices that connect to the internet now are a combination of hardware and software (firmware) and are not commonly updated and patched as that requires typically flashing the firmware. New vulnerabilities are being discovered daily in these devices and being used in botnets to conduct massive Distributed Denial of Service attacks.

There is a new botnet being used to conduct IoT attacks and it is called Mirai and the source code has been leaded onto github here https://github.com/jgamblin/Mirai-Source-Code

Mirai functions by infecting IoT devices by trying to brute force their passwords.The tactic it uses to brute force passwords is entering commonly used and default passwords. Several things have been noted in Mirai.Such as the bots being written in C and the command & control being written in Go and the fact it contains a list of IPs for which to avoid activating its scans on.

 

继续阅读

调用nmap扫描批量IP段脚本

调用nmap扫描一个范围的端口,自动保存结果到gnmap文件

-o 选项定义一个开始IP
-e 选项定义一个结束IP
-p 选项定义要扫描的端口
-m 打印用于nmap扫描的一个IP段(如:1-255.1-255.1-255.1-255)

也可以把要扫描的IP段保存为 /tmp/iprange.tmp (开始IP与结束IP之间使用tab符分割)
例如:
1.1.1.1 255.255.255.255

github地址:https://github.com/kn1f4/porn_scan

只用于实验及绘制互联网地图,切勿用于非法用途,作者不承担任何责任!