Skip to content

Commit

Permalink
当存在某些EDR的时候,建议爆破线程设定为10~15
Browse files Browse the repository at this point in the history
  • Loading branch information
JKme committed Jun 14, 2022
1 parent c65a297 commit 5d51dd7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 21 deletions.
45 changes: 25 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ cube crack -x X -s 192.168.1.1
* `-x X`是加载全部可用的爆破插件,先检查端口,端口开放之后爆破
* 未指定用户密码的时候,会加载内置词典
* `zabbix`插件没有卵用,爆破5次失败之后会锁定30s
* **默认线程是30,这种情况下爆破会触发x绒的告警,建议设定为10~15**

#### 支持的爆破插件
* 可组合使用: `elastic/ftp/mongo/mssql/mysql/postgres/redis/smb/ssh`
Expand All @@ -75,30 +76,34 @@ cube probe -x Y -s 192.168.2.1/24
```
### 加载指定插件
```shell
# 加载oxid,ms17010插件
cube probe -x oxid,ms17010 -s 192.168.2.1/24

# 加载WIN集合插件,WIN集合插件下有 ping,netbios,oxid,smb,winrm,wmi,mssql
cube probe -x WIN -s 192.168.2.1/24
```

#### 支持的探测插件
| FUNC | PORT | LOAD BY X |
|-------------------------------------------------------|-------|-----------|
| docker | 2375 | Y |
| dubbo | 20880 | Y |
| etcd | 2379 | Y |
| k8s10250 | 10250 | N |
| k8s6443 | 6443 | N |
| ms17010 | 445 | Y |
| mssql | 1433 | N |
| netbios | 137 | N |
| oxid | 135 | Y |
| ping | | N |
| rmi | 1099 | Y |
| smb | 445 | Y |
| smbghost | 445 | Y |
| winrm | 5985 | N |
| wmi | 135 | N |
| zookeeper | 2181 | Y |
| [jboss](https://github.com/JKme/cube/wiki#jboss-3873) | 3873 | Y |
| [prometheus](https://github.com/JKme/cube/wiki#prometheus-9090) | 9090 | Y |
| FUNC | PORT | LOAD BY X |
|-----------------------------------------------------------------|-------|-----------|
| docker | 2375 | Y |
| dubbo | 20880 | Y |
| etcd | 2379 | Y |
| k8s10250 | 10250 | N |
| k8s6443 | 6443 | N |
| ms17010 | 445 | Y |
| mssql | 1433 | N |
| netbios | 137 | N |
| oxid | 135 | Y |
| ping | | N |
| rmi | 1099 | Y |
| smb | 445 | Y |
| smbghost | 445 | Y |
| winrm | 5985 | N |
| wmi | 135 | N |
| zookeeper | 2181 | Y |
| [jboss](https://github.com/JKme/cube/wiki#jboss-3873) | 3873 | Y |
| [prometheus](https://github.com/JKme/cube/wiki#prometheus-9090) | 9090 | Y |

* `smb/wmi/winrm/mssql`是利用NTLM认证过程获取[Windows版本系统信息](https://jkme.github.io/2021/08/06/windows-ntlm-smb-scan.html)
* 使用`ping/netbios`的时候,最好单独使用获取更准确的结果,线程数量建议为10
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ var ProbeX = []string{"docker", "rmi", "oxid", "ms17010", "smb", "zookeeper", "d

var ProbeK8S = []string{"k8s10250", "k8s6443", "etcd"}

var ProbeWIN = []string{"ping", "netbios", "oxid", "smb", "winrm", "wmi"}
var ProbeWIN = []string{"ping", "netbios", "oxid", "smb", "winrm", "wmi", "mssql"}

var PASSWORDS = []string{" ", "123456", "admin", "admin123", "root", "5201314", "pass123", "pass@123", "password", "123123", "654321", "111111", "123", "1", "admin@123", "Admin@123", "admin123!@#", "1234qwer!@#$", "1qaz@WSX1qaz", "QAZwsxEDC", "{user}", "{user}1", "{user}12", "{user}111", "{user}123", "{user}1234", "{user}12345", "{user}123456", "{user}@123", "{user}_123", "{user}#123", "{user}@111", "{user}@2019", "P@ssw0rd!", "P@ssw0rd", "Passw0rd", "qwe123", "12345678", "test", "test123", "123qwe!@#", "123456789", "123321", "666666", "a123456.", "123456~a", "000000", "1234567890", "8888888", "!QAZ2wsx", "1qaz2wsx", "1QAZ2wsx", "1q2w3e4r", "abc123", "abc123456", "1qaz@WSX", "a11111", "a12345", "Aa1234", "Aa1234.", "Aa12345", "123456a", "123456aa", "a123456", "a123123", "Aa123123", "Aa123456", "Aa12345.", "sysadmin", "system"}

0 comments on commit 5d51dd7

Please sign in to comment.