NPCap

官网 https://nmap.org/npcap/
这是抓包必须先安装的工具,具体的原因可以看 https://github.com/buger/goreplay/wiki/Running-on-Windows

due to the nature of different networking layer of Windows stack. See https://github.com/buger/goreplay/issues/440 for specific details.
By default, windows do not have loopback network driver, like Unix systems, and it has to be installed separately if you want to capture local traffic.
One of the options is installing https://nmap.org/npcap/ or https://technet.microsoft.com/en-us/library/cc708322.aspx.

网络包抓取库在 Windows 下的版本。Npcap 采用 Microsoft Light-Weight Filter (NDIS 6 LWF) 技术和 Windows Filtering Platform (NDIS 6 WFP) 技术对当前最流行的 WinPcap 工具包进行改进。

  • 兼容性:Npcap兼容Windows 7,Windows 10,因为使用了最新的NDIS 6 Light-Weight Filter (LWF) API. 这比NDIS 5 API快并且后者随时可能被微软在新版本中废除. 另外此驱动由我们的EV证书和微软共同签名,兼容Windows 10 1607最严格的驱动签名要求.
  • 安全性:Npcap可以设置为只允许管理员抓包.
  • Loopback抓包:Npcap通过使用Windows Filtering Platform (WFP),可以探测loopback包(在本机lo网口上传输的应用数据) . 安装后Npcap将创建一个Npcap Loopback Adapter适配器. 如果您使用Wireshark,使用这个适配器抓包可以看见所有的loopback流量. 可以通过 “ping 127.0.0.1” (IPv4) or “ping ::1” (IPv6)进行测试.
  • Loopback包注入: Npcap is also able to send loopback packets using the Winsock Kernel (WSK) technique. User-level software such as Nping can just send the packets out using Npcap Loopback Adapter just like any other adapter. Npcap then does the magic of removing the packet's Ethernet header and injecting the payload into the Windows TCP/IP stack.
  • Libpcap API: Npcap uses the excellent Libpcap library, enabling Windows applications to use a portable packet capturing API that is also supported on Linux and Mac OS X. While WinPcap was based on LibPcap 1.0.0 from 2009, Npcap includes the latest Libpcap release along with improvements that we also contribute back upstream to Libpcap.
  • 兼容WinPcap: 对于未使用Npcap新特性的应,Npcap可以安装成“WinPcap兼容模式”,这将替换当前存在的WinPcap安装. 如果未选择此模式,Npcap将与WinPcap并存; applications which only know about WinPcap will continue using that, while other applications can choose to use the newer and faster Npcap driver instead.

NetCap

官网 https://docs.netcap.io/, https://github.com/dreadl0ck/netcap
功能

  • net.capture (capture audit records live or from dumpfiles)
  • net.dump (dump with audit records in various formats)
  • net.label (tool for creating labeled CSV datasets from netcap data)
  • net.collect (collection server for distributed collection)
  • net.agent (sensor agent for distributed collection)
  • net.proxy (http reverse proxy for capturing traffic from web services)
  • net.util (utility tool for validating audit records and converting timestamps)
  • net.export (exporter for prometheus metrics)

使用

# 列出网卡
getmac /fo csv /v
"Connection Name","Network Adapter","Physical Address","Transport Name"
"Wi-Fi","Intel(R) Dual Band Wireless-AC 7265","01-5E-01-CD-09-EC","\Device\Tcpip_{D11E5516-717A-4369-6C95-15F6211513E6}"
"Ethernet","Intel(R) Ethernet Connection (3) I218-LM","34-1E-75-83-8F-63","Media disconnected"
...# 查看帮助
net.capture.exe --help# 监听,注意把Tcpip_改成NPF_
net.capture.exe -iface \Device\NPF_{D11E5516-717A-4369-6C95-15F6211513E6}

各个统计结果会分别打成tar包,解开后可以看到其中的记录,IPV4和TCP,UDP都有访问的IP记录

Windows的HTTP/HTTPS访问抓包

http://www.51testing.com/html/42/15142342-4462193.html
里面介绍的 Proxifier,是值得研究的对象

windows网络流量监控相关推荐

  1. 基于linux网络流量监控与分析软件的设计与实现shell,Shell图形化监控网络流量

    网络流量的监控工具有很多,如:Mrtg.Cacti.Zabbix等等,他们都有着各自的特点,不同的侧重,只为适合不同的应用场景的各种特殊需求.除了网络流量监控工具以外,还有Nagios这样的监控主机状 ...

  2. 网络流量监控软件——MRTG(Multi Router Traffic Grapher)

    一名真正合格的网管所做的工作不应该仅仅局限在服务器故障发生后,亡羊补牢的工作虽然不算迟,但也会造成一定程度的损失.那么如何有效的监视服务器的状态,在第一时间发现服务器故障及异常甚至在没出现问题前进行预 ...

  3. linux 监控网络出口流量,Linux下网络流量监控

    原标题:Linux下网络流量监控 Python部落(python.freelycode.com)组织翻译,禁止转载,欢迎转发 网络数据使用 我生活在一个预付费的互联网环境中,大约每个月7GB流量.监视 ...

  4. 网络流量监控及流量异常检测

    当今的企业面临着许多挑战,尤其是在监控其网络基础设施方面,需要确保随着网络规模和复杂性的增长,能够全面了解网络的运行状况和安全性.为了消除对网络性能的任何压力,组织应该采取的一项重要行动是使用随组织一 ...

  5. packetbeat进行网络流量监控

    提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 文章目录 前言 一.beat是什么? 二.使用步骤 1.下载 2.解压文件 3.安装仪表盘模板 4.使用 总结 前言 ELK 是ela ...

  6. linux系统CPU,内存,磁盘,网络流量监控脚本

    前序 1, #cat /proc/stat/  信息包含了所有CPU活动的信息,该文件中的所有值都是从系统启动开始累积到当前时刻 2, #vmstat –s   或者 #vmstat    虚拟内存统 ...

  7. mysql hostname uroot_CACTI网络流量监控

    CACTI网络流量监控 (一)准备工作 1.什么是cacti和rrdtool Cacti是一套基于PHP,MySQL,SNMP及RRDTool开发的网络流量监测图形分析工具.是通过 snmpget来获 ...

  8. Linux网络流量监控Iftop安装

    2019独角兽企业重金招聘Python工程师标准>>> Linux网络流量监控Iftop主要用来显示本机网络流量情况及各相互通信的流量集合,如单独同那台机器间的流量大小,非常适合于代 ...

  9. nagios监控告警之网络流量监控(附pnp模板)

    步骤: 1.下载网络流量监控脚本: https://raw.githubusercontent.com/June-Wang/NagiosPlugins/master/check_net_traffic ...

最新文章

  1. 融合与Web应用 2011年安全领域趋势展望
  2. SRM 533 DIV2
  3. HDLBits答案(2)_Verilog向量基础
  4. 仿真器和模拟器的区别是什么?
  5. 【ElasticSearch】Es 启动流程 源码分析
  6. 微软发布Silverlight 4新版并更新Silverlight Tools和SDK
  7. yum centos 7.4 安装svn服务器
  8. Mysql之sql注入
  9. oracle wmsys.wm_concat ORA-00932: 数据类型不一致: 应为 -, 但却获得 CLOB
  10. 算法总结与学习心得体会
  11. 纪念第一次面试安服-靶机测试过程以及思路
  12. 转: Github上关于iOS的各种开源项目集合
  13. sklearn.neighbors常用API介绍
  14. js写的一款前端小游戏
  15. 2022年国赛B题(处女作---河南省级三等奖)
  16. Twitter相关功能集成
  17. 2022危险化学品经营单位主要负责人考试题库及答案
  18. mysql trans begin_[原创]MySQL RR隔离级别下begin或start transaction开启事务后的可重复读?...
  19. tcp实时传输kafka数据_将物联网数据和MQTT消息流式传输到Apache Kafka
  20. 生产者和消费者模型(可以多对多,一对多、多对一、一对一)c++实现,没有使用pthread,时间片模拟并发

热门文章

  1. 20140319十个英语单词
  2. 连载 大学生求职七大昏招(七)说谎 6
  3. 《Android移动应用基础教程》之保存QQ账号和密码
  4. JMeter接口测试___参数化方法
  5. 攻防世界-web view-sourse
  6. 5.7 维吉尼亚密码(已更新)
  7. 绘制云图的三种算法(附C#代码)
  8. TensorFlow图片分类示例
  9. 爬百度翻译的英文同义词
  10. 到底还要学什么才能成为2020年前端架构师!?(用图说话)