分享

域渗透之信息搜集技巧

 新用户36657816 2021-09-18

一、主机信息搜集

查看系统信息

systeminfo

Windows 辅助提权

http:///Windows_patch/

图片

辅助提权https://i./tiquan/

图片

http://blog./win-powerup-exp-index/#

图片

exp https://github.com/SecWiki/windows-kernel-exploits

端口开放

netstat -ano

查看进程

tasklist

查看本机管理员

net localhroup administrators

查看补丁信息

wmic qfe

查看操作系统类型

wmic os

查询系统架构

echo %processor_architecture%
set process

图片

查询安装软件的名称,以及版本

Product get 支持的参数

AssignmentType  Caption Description   HelpLink   HelpTelephone 
IdentifyingNumber InstallDate InstallDate2 InstallLocation
InstallSource InstallState Language LocalPackage Name
PackageCache PackageCode PackageName ProductID RegCompany
RegOwner SKUNumber Transforms URLInfoAbout URLUpdateInfo
Vendor Version WordCount

图片

杀毒软件识别

tasklist /svc

将命令执行结果放入在线识别 http:///windows/index.php

图片

地址 http:///kill_software/

图片

获取杀毒软件

WMIC /Namespace:\\root\SecurityCenter2 Path AntiVirusProduct Get displayName /Format:List

图片

WMIC /Namespace:\\root\SecurityCenter2 Path AntiVirusProduct Get displayName,productState,pathToSignedProductExe

图片

自启动

当用户登录到计算机系统时自动运行的命令

wmic startup get command, caption

图片

查看机器运行信息

包含开机时间

net statistics workstation

图片

查看wifi密码

netsh wlan show profile
netsh wlan show profile name='313' key=clear

图片

图片

网络判断

icmp ping命令

dns lookup

http curl 或者telent

路由 以及 arp 缓存

route print
arp -a
type c:\Windows\system32\drivers\etc\hosts

信息收集脚本

https://raw./braeden/Batch-Infogather/master/Infogather.bat

二、域信息搜集

查看本地用户

图片

在线用户

quser

获取当前工作域信息

net config workstation

图片

查看建立的链接

net use

图片

查看域时间

net time /domain:域名

同步时间

net use \\ip '密码' /user:'用户'
net time \\ip /set

查找域控服务器

net group 'domain controllers' /domain

图片

查找域控管理员

net group 'domain controllers' /domain

查看域成员

net user /domain

图片

查看当前域信息

net config workstation

图片

查看域密码用户策略

net accounts /domain

图片

域内共享资源查询

net view /domain:域名

图片

查看域上某主机的共享资源

图片

其他

cmdkey /l 远程桌面连接历史
wmic environment get name,VariableValue 获取环境变量

作者:BY,文章来源:http:///

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多