当前位置:网站首页>内网探测1-工作组信息收集&域内信息收集
内网探测1-工作组信息收集&域内信息收集
2022-07-20 22:04:00 【深白色耳机】
1.工作组信息收集
拿到受害者主机权限,进入内网后首先要对受害者主机以及当前的内网信息进行收集
windows命令
本机信息收集查询网络配置 ipconfig/all
查询用户列表查看本机用户列表 net user
本机管理员(通常含有域用户)net localgroup administrator
查看当前在线用户 query user || qwinsta
查询进程列表
查看是否安装杀毒软件、vpn之类的服务tasklist /v
wmic process list brief
获取操作系统和版本信息systeminfo | findstr /B /C:"OS 名称" /C:"OS 版本"
查看安装软件以及版本,路径等wmic product get name,version
powershell "Get-WmiObject -class Win32_Product |Select-Object -Property name,version"
查询端口列表netstat -ano
查询补丁列表Systeminfo
wmic qfe get Caption,Description,HotFixID,Installed0n
查询本机共享net share
net share \\hostname
wmic share get name,path,status
查询当前权限whoami /all 获取域SID
net user XXX /domain 查询指定账户的详细信息
域内信息收集
2.域内信息收集
判断是否有域
ipconfig /all
systeminfo 如果是wordgroup就不在域中
net config workstation
net time /domain
1.存在域,当前用户不是域用户
2.存在域,当前用户是域用户
3.不存在域
域内存活主机探测
利用netbios快速探测内网工具:Nbtscan
使用方法:nbtscan.exe <ip>
ping命令for /L %I in (1,1,254) DO @ping -w 1 -n 1 192.168.1.%I | findstr "TTL=“
vbs脚本cscript icmp.vbs
利用arp扫描完整探测内网
工具:1.arp-scan 命令:Arp.exe -t <ip>
2.invoke-ARPScan.ps1
3.Empire中的arpscan模块
利用常规 tcp / udp 端口扫描探测内网
工具: scanline
scanline.exe -h -t 22,80-89,110,389,445,3389,1099,1433,2049,6379,7001,8080,1521,3306,3389,5432 -u 53,161,137,139 -O c:\windows\temp\sl_res.txt -p 192.168.116.1-254 /b
域内基础信息收集
只有域用户可执行命令net view /domain 查询域
net view /domain:<域名称> 查询域内的电脑
net group /domain 查询域中所有用户组
查询域管理员用户组net group "domain admins" /domain
net group "Enterprise Admins" /domain
查询所有域用户的列表net user /domain
wmic useraccount get /all
dsquery user
net localgroup administrators /domain
边栏推荐
- Got through! JIRA + Zadig realize demand and R & D process tracking
- Wang fried power to create wealth fast! Xiangling giant panda 2.0 power products officially launched
- JZ15 二进制中1的个数
- 7.2-cm46 legal bracket sequence judgment
- JZ25 合并两个排序的链表
- Jz6 print linked list from end to end
- 39岁被裁+背房贷(没活路了)
- Jz30 stack containing min function
- 分布式系统中数据存储方案实践
- Jz32 print binary tree from top to bottom
猜你喜欢
分布式系统中数据存储方案实践
Translation of UAV intelligent coverage navigation based on DRL in complex geometric environments
How to conduct user retention analysis?
The new and modified Suzuki Beidou star appeared, safe and comfortable
ORA-1142 signalled during: ALTER DATABASE END BACKUP...
Responsive dream weaving template poultry breeding website
即时分账系统对B2B电商业务的重要性?
30 times performance improvement -- implementation of MyTT index library based on dolphin DB
Communication mode of PLC
九、ELK安装ElastAlert 2插件钉钉机器人告警
随机推荐
iptables详解
(pc+wap) Zhimeng template air purification website
Installing C3d v1.0
ResNet解读和1×1卷积介绍
The middle-aged crisis in the Internet industry is the watershed of 35 years old
c# winform 实际操作XML代码,包括创建、保存、查询、删除窗体演示
按Ctrl键会引发几次按键消息
The difference between soft link and hard link and how the file system takes files
I2C client Drive IIO Device Drive
【FLink】Flink 任务 如何优雅的停止
9、 Elk installs elastalert 2 plug-in nailing robot alarm
measureChildren的理解
Communication mode of PLC
6.2-把字符串转换成整数
调佣金需要去证券公司营业部吗,手机上开户安不安全
How cloud primitives support enterprise IT governance | Alibaba cloud user group
让我们用ArcGIS制作一张好看的中国月度气温图
【每日要闻】谷歌重启AR眼镜计划;马斯克与推特的审判定在今年10月
7.1-wy22 Fibonacci series
B2B企业的5大数字化转型战略