MCPcopy Create free account

hub / github.com/Amulab/advul / functions

Functions22 in github.com/Amulab/advul

↓ 3 callersFunctionntlm_info
(target_ip, method='rpc')
lib/utils.py:62
↓ 3 callersMethodrun_multi
如果没有指定域控进行攻击那么就利用dns查询所有域控ip,对这些域控进行攻击 如果指定了域控列表,就对列表内的域控进行攻击
lib/runner.py:36
↓ 2 callersFunctioncheck_pac
(data)
exploits/cve_2021_42287.py:183
↓ 2 callersFunctionget_pac
(target: Target, kdc=None)
exploits/cve_2021_42287.py:21
↓ 2 callersMethodrun
虚函数,实现检测逻辑
lib/runner.py:23
↓ 1 callersFunctionget_all_dcs
(target: Target)
lib/utils.py:14
↓ 1 callersFunctionhas_33679
(user, domain, kdcHost)
exploits/cve_2022_33679.py:24
↓ 1 callersMethodrun
检测原理:利用一个【机器账户】的身份去域控上将自己的dnsHostName属性修改为与原来不同的值, 如果能够修改成功,表示存在CVE-2022-26923 如果返回错误码19,表示该服务器已打补丁 如
exploits/cve_2022_26923.py:26
↓ 1 callersMethodrun
(self, target_ip=None)
exploits/cve_2022_33679.py:95
↓ 1 callersFunctiontarget_validator
@target_validator 用于验证参数是否满足必要条件,must_specify_attrs为一个嵌套数组,该数组内允许str、 tuple两种数据类型,原数组内所有属性满足条件为且,若存在嵌套数组,则满足条件为或,如: ['domain', 'username'
lib/utils.py:30
↓ 1 callersFunctionzerologon
(target_ip, target_name, rpc_transport, auth_method, max_attempts)
exploits/cve_2020_1472.py:46
Method__init__
cve-2022-26923漏洞检测 必要条件: 1. 一个域内存在的机器用户(非禁用状态) 2. 机器用户的密码或者hash 3. 域控ip
exploits/cve_2022_26923.py:12
Method__init__
33679漏洞检测 必要条件: 1. 一个域内存在的用户(非禁用状态) 2. 域名 3. 域控ip python依赖:
exploits/cve_2022_33679.py:79
Method__init__
(self, target: Target, opts)
exploits/cve_2020_1472.py:123
Method__init__
33679漏洞检测 必要条件: 1. 一个域内存在的用户(非禁用状态) 2. 域名 3. 域控ip python依赖:
exploits/cve_2021_42287.py:202
Method__init__
(self, target: Target, required_params=None)
lib/runner.py:13
Method_run
(self, target_ip=None)
lib/runner.py:30
Functionadd_add_argument_group
(parser: argparse.ArgumentParser)
exploits/cve_2020_1472.py:38
Methodexploit
TODO 漏洞利用逻辑实现
lib/runner.py:58
Functionmulti_run
(fn, targets, max_worker=10)
lib/utils.py:55
Methodrun
(self, target_ip=None)
exploits/cve_2020_1472.py:128
Methodrun
(self, target_ip=None)
exploits/cve_2021_42287.py:218