HybridNetworks/BlackListBox
GitHub: HybridNetworks/BlackListBox
面向 Mikrotik RouterOS 的自动化恶意 IP 黑名单聚合与更新服务,整合多源威胁情报实现边界层主动阻断。
Stars: 48 | Forks: 5
💀 BlackListBox 💀
自动更新的恶意 IP 地址黑名单。
[](https://github.com/HybridNetworks/BlackListBox/issues)
[](https://github.com/HybridNetworks/BlackListBox/watchers)
[](https://github.com/HybridNetworks/BlackListBox/fork)
[](https://github.com/HybridNetworks/BlackListBox/stargazers)
[](https://github.com/HybridNetworks/BlackListBox/blob/main/LICENSE)
[](https://github.com/HybridNetworks/BlackListBox/search?l=python)
[](https://github.com/HybridNetworks/BlackListBox/commits/main)
## 📋 特性
1. 生成仅包含 IPv4、仅包含 IPv4 CIDR 和仅包含 IPv6 的版本。
2. 更新时间为 [≈1:10 AM UTC](https://24timezones.com/zona-horaria/utc) | [≈22:10 ART](https://24timezones.com/zona-horaria/art)。
3. 无多余或尾部空格。
4. 无残留的网页抓取垃圾数据。
5. 行尾以 `\n` 结束。
## 🛠️ 用法
### Mikrotik RouterOS v6 & v7
1.- 用于下载丢弃列表(drop list)并进行更新的脚本
```
/system script add name="downloadBlackListBox" owner="HybridNetworks" source={
/tool fetch url="https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-SPAMHAUS.rsc" mode=https;
:delay 5;
/ip firewall address-list remove [find where comment="SPAMHAUS-DROP"];
:delay 5;
/import file-name=HN-BLACKLIST-SPAMHAUS.rsc;
:delay 5;
/file remove HN-BLACKLIST-SPAMHAUS.rsc;
}
```
2.- 计划黑名单的下载和应用
```
/system scheduler add comment="BlackListBox" interval=3d \
name="BlackListBoxUpdate" on-event=downloadBlackListBox \
start-date=jan/01/1970 start-time=10:23:35
```
3.- 通过 [RAW](https://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Raw) 防火墙规则进行黑名单阻断
```
/ip firewall raw
add action=drop chain=prerouting comment="HN-FW - DROP SPAMHAUS BLACKLIST" \
src-address-list=HN-BLACKLIST-SPAMHAUS
```

## 📜 文件
以下链接将指向本仓库中经过处理的文件版本。更多信息请参阅 [wiki](https://github.com/HybridNetworks/BlackListBox/wiki/Sites-List)。(文件每日更新)
| File Name | Format | Protocol | Official |
| ------------------------------------------------ | ----------------- | -------- | -------------------------------------------------------------------- |
| HN-BLACKLIST-ADS-YOYO.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-ADS-YOYO.rsc) |
| HN-BLACKLIST-BADIPS.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-BADIPS.rsc) |
| HN-BLACKLIST-BLOCKLIST.DE-ALL.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-BLOCKLIST.DE-ALL.rsc) |
| HN-BLACKLIST-BLOCKLIST.DE-BOTS.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-BLOCKLIST.DE-BOTS.rsc) |
| HN-BLACKLIST-CHINA-CIDR.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-CHINA-CIDR.rsc) |
| HN-BLACKLIST-CHINA-KOREA-CIDR.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-CHINA-KOREA-CIDR.rsc) |
| HN-BLACKLIST-DSHIELD.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-DSHIELD.rsc) |
| HN-BLACKLIST-FEODOTRACKER-C2-IOCs-AGGRESIVE.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-FEODOTRACKER-C2-IOCs-AGGRESIVE.rsc) |
| HN-BLACKLIST-FEODOTRACKER-C2-IOCs.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-FEODOTRACKER-C2-IOCs.rsc) |
| HN-BLACKLIST-FEODOTRACKER-C2.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-FEODOTRACKER-C2.rsc) |
| HN-BLACKLIST-FIREHOL-LEVEL1.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-FIREHOL-LEVEL1.rsc) |
| HN-BLACKLIST-MYIPMS.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-MYIPMS.rsc) |
| HN-BLACKLIST-MYIPMS-IPv6.rsc | Mikrotik RouterOS | IPv6 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-MYIPMS-IPv6.rsc) |
| HN-BLACKLIST-SPAMHAUS.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-SPAMHAUS.rsc) |
| HN-BLACKLIST-TOR-EXITS-NODES.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-TOR-EXITS-NODES.rsc) |
| HN-BLACKLIST-TOR-EXITS-NODES-IPv6.rsc | Mikrotik RouterOS | IPv6 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-TOR-EXITS-NODES-IPv6.rsc) |
| HN-BLACKLIST-TOR-RELAYS.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-TOR-RELAYS.rsc) |
| HN-BLACKLIST-TOR-RELAYS-IPv6.rsc | Mikrotik RouterOS | IPv6 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-TOR-RELAYS-IPv6.rsc) |
| HN-BLACKLIST-VOIPBL.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-VOIPBL.rsc) |
| HN-BLACKLIST-IPSUM-TIF.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-IPSUM-TIF.rsc) |
| HN-BLACKLIST-GREENSNOW.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-GREENSNOW.rsc) |
| HN-BLACKLIST-COMPROMISEDIPS.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-COMPROMISEDIPS.rsc) |
| HN-BLACKLIST-CI-BADGUYS.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-CI-BADGUYS.rsc) |
| HN-BLACKLIST-MIRAI-TRACKER.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-MIRAI-TRACKER.rsc) |
| HN-BLACKLIST-RUTGERS-DROP.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-RUTGERS-DROP.rsc) |
| HN-BLACKLIST-TALOSINTELLIGENCE.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-TALOSINTELLIGENCE.rsc) |
| HN-BLACKLIST-DANGER-RULEZ.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-DANGER-RULEZ.rsc) |
| HN-BLACKLIST-WP.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-WP.rsc) |
| HN-BLACKLIST-PUSHING-INERTIA.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-PUSHING-INERTIA.rsc) |
| HN-BLACKLIST-BLOCKLIST-NET-UA.rsc | Mikrotik RouterOS | IPv4 | [下载](https://raw.githubusercontent.com/HybridNetworks/BlackListBox/main/Mikrotik/HN-BLACKLIST-BLOCKLIST-NET-UA.rsc) |
## 📝 许可证
```
MIT License
Copyright (c) 2022 HybridNetworks Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
## 📧 联系方式
- 电子邮箱:[Email HybridNetworks Ltd.](mailto:info@hybridnetworks.com.ar)
- 项目链接:[https://github.com/HybridNetworks/BlackListBox](https://github.com/HybridNetworks/BlackListBox)标签:certspotter, CIDR, IPv4, IPv6, IP封锁列表, MikroTik, PowerShell, Python, RouterOS, Spamhaus, 入侵防御, 垃圾邮件拦截, 威胁情报, 开发者工具, 恶意IP地址, 无后门, 网络安全, 网络过滤, 自动更新, 路由器安全, 逆向工具, 防御加固, 防火墙规则, 隐私保护, 黑名单数据库