当前位置: 首页 > news >正文

开源ids snort (windows版)

Snort-IPS-on-Windows-main资源-CSDN文库

GitHub - eldoktor1/Snort-IPS-on-Windows: A comprehensive guide to installing and configuring Snort IPS on Windows, ensuring robust network security

 

手动打造Snort+barnyard2+BASE可视化告警平台 - FreeBuf网络安全行业门户

解压后安装

npcap-1.75.exe

Snort_2_9_20_Installer.x64.exe

安装后cmd

C:\Snort\bin>snort.exe -W

查看哪个是正在使用的网卡

-i 后的数字改成正在使用的物理网卡号

C:\Snort\bin>snort.exe -dve -i7 -h 192.168.1.0/24 -l c:\Snort\log -K ascii

C:\Snort\bin>snort.exe -dve -i7 -h 192.168.1.0/24 > c:\Snort\log\192.168.1.024.log

C:\Snort\bin>snort.exe -W,,_     -*> Snort! <*-o"  )~   Version 2.9.20-WIN64 GRE (Build 82)''''    By Martin Roesch & The Snort Team: http://www.snort.org/contact#teamCopyright (C) 2014-2022 Cisco and/or its affiliates. All rights reserved.Copyright (C) 1998-2013 Sourcefire, Inc., et al.Using PCRE version: 8.10 2010-06-25Using ZLIB version: 1.2.11Index   Physical Address        IP Address      Device Name     Description
-----   ----------------        ----------      -----------     -----------

C:\Snort\bin>snort.exe -ev -i7
Running in packet dump mode--== Initializing Snort ==--
Initializing Output Plugins!
pcap DAQ configured to passive.
The DAQ version does not support reload.
Acquiring network traffic from "\Device\NPF_{AAD821DC-6F1F-4814-87A2-0D2EA49E304F}".
Decoding Ethernet--== Initialization Complete ==--,,_     -*> Snort! <*-o"  )~   Version 2.9.20-WIN64 GRE (Build 82)''''    By Martin Roesch & The Snort Team: http://www.snort.org/contact#teamCopyright (C) 2014-2022 Cisco and/or its affiliates. All rights reserved.Copyright (C) 1998-2013 Sourcefire, Inc., et al.Using PCRE version: 8.10 2010-06-25Using ZLIB version: 1.2.11Commencing packet processing (pid=960)
WARNING: No preprocessors configured for policy 0.
===============================================================================
Run time for packet processing was 3.69000 seconds
Snort processed 46 packets.
Snort ran for 0 days 0 hours 0 minutes 3 secondsPkts/sec:           15
===============================================================================
Packet I/O Totals:Received:           69Analyzed:           46 ( 66.667%)Dropped:            0 (  0.000%)Filtered:            0 (  0.000%)
Outstanding:           23 ( 33.333%)Injected:            0
===============================================================================
Breakdown by protocol (includes rebuilt packets):Eth:           46 (100.000%)VLAN:            0 (  0.000%)IP4:           45 ( 97.826%)Frag:            0 (  0.000%)ICMP:            0 (  0.000%)UDP:            1 (  2.174%)TCP:           44 ( 95.652%)IP6:            0 (  0.000%)IP6 Ext:            0 (  0.000%)IP6 Opts:            0 (  0.000%)Frag6:            0 (  0.000%)ICMP6:            0 (  0.000%)UDP6:            0 (  0.000%)TCP6:            0 (  0.000%)Teredo:            0 (  0.000%)ICMP-IP:            0 (  0.000%)EAPOL:            0 (  0.000%)IP4/IP4:            0 (  0.000%)IP4/IP6:            0 (  0.000%)IP6/IP4:            0 (  0.000%)IP6/IP6:            0 (  0.000%)GRE:            0 (  0.000%)GRE Eth:            0 (  0.000%)GRE VLAN:            0 (  0.000%)GRE IP4:            0 (  0.000%)GRE IP6:            0 (  0.000%)
GRE IP6 Ext:            0 (  0.000%)GRE PPTP:            0 (  0.000%)GRE ARP:            0 (  0.000%)GRE IPX:            0 (  0.000%)GRE Loop:            0 (  0.000%)MPLS:            0 (  0.000%)ARP:            1 (  2.174%)IPX:            0 (  0.000%)Eth Loop:            0 (  0.000%)Eth Disc:            0 (  0.000%)IP4 Disc:            0 (  0.000%)IP6 Disc:            0 (  0.000%)TCP Disc:            0 (  0.000%)UDP Disc:            0 (  0.000%)ICMP Disc:            0 (  0.000%)
All Discard:            0 (  0.000%)Other:            0 (  0.000%)
Bad Chk Sum:           23 ( 50.000%)Bad TTL:            0 (  0.000%)S5 G 1:            0 (  0.000%)S5 G 2:            0 (  0.000%)Total:           46
===============================================================================Memory Statistics for File at:Mon Sep 23 09:11:25 2024Total buffers allocated:           0
Total buffers freed:               0
Total buffers released:            0
Total file mempool:                0
Total allocated file mempool:      0
Total freed file mempool:          0
Total released file mempool:       0Heap Statistics of file:Total Statistics:Memory in use:              0 bytesNo of allocs:              0No of frees:              0
===============================================================================
Snort exiting
snort.exe -h
snort.exe: option requires an argument -- h,,_     -*> Snort! <*-o"  )~   Version 2.9.20-WIN64 GRE (Build 82)''''    By Martin Roesch & The Snort Team: http://www.snort.org/contact#teamCopyright (C) 2014-2022 Cisco and/or its affiliates. All rights reserved.Copyright (C) 1998-2013 Sourcefire, Inc., et al.Using PCRE version: 8.10 2010-06-25Using ZLIB version: 1.2.11USAGE: snort.exe [-options] <filter options>snort.exe /SERVICE /INSTALL [-options] <filter options>snort.exe /SERVICE /UNINSTALLsnort.exe /SERVICE /SHOW
Options:-A         Set alert mode: fast, full, console, test or none  (alert file alerts only)-b         Log packets in tcpdump format (much faster!)-B <mask>  Obfuscated IP addresses in alerts and packet dumps using CIDR mask-c <rules> Use Rules File <rules>-C         Print out payloads with character data only (no hex)-d         Dump the Application Layer-e         Display the second layer header info-E         Log alert messages to NT Eventlog. (Win32 only)-f         Turn off fflush() calls after binary log writes-F <bpf>   Read BPF filters from file <bpf>-G <0xid>  Log Identifier (to uniquely id events for multiple snorts)-h <hn>    Set home network = <hn>(for use with -l or -B, does NOT change $HOME_NET in IDS mode)-H         Make hash tables deterministic.-i <if>    Listen on interface <if>-I         Add Interface name to alert output-k <mode>  Checksum mode (all,noip,notcp,noudp,noicmp,none)-K <mode>  Logging mode (pcap[default],ascii,none)-l <ld>    Log to directory <ld>-L <file>  Log to this tcpdump file-n <cnt>   Exit after receiving <cnt> packets-N         Turn off logging (alerts still work)-O         Obfuscate the logged IP addresses-p         Disable promiscuous mode sniffing-P <snap>  Set explicit snaplen of packet (default: 1514)-q         Quiet. Don't show banner and status report-r <tf>    Read and process tcpdump file <tf>-R <id>    Include 'id' in snort_intf<id>.pid file name-s         Log alert messages to syslog-S <n=v>   Set rules file variable n equal to value v-T         Test and report on the current Snort configuration-U         Use UTC for timestamps-v         Be verbose-V         Show version number-W         Lists available interfaces. (Win32 only)-X         Dump the raw packet data starting at the link layer-x         Exit if Snort configuration problems occur-y         Include year in timestamp in the alert and log files-z <file>  Set the preproc_memstats file path and name-Z <file>  Set the performonitor preprocessor file path and name-?         Show this information
<Filter Options> are standard BPF options, as seen in TCPDump
Longname options and their corresponding single char version--logid <0xid>                  Same as -G--perfmon-file <file>           Same as -Z--pid-path <dir>                Specify the directory for the Snort PID file--snaplen <snap>                Same as -P--help                          Same as -?--version                       Same as -V--alert-before-pass             Process alert, drop, sdrop, or reject before pass, default is pass before alert, drop,...--treat-drop-as-alert           Converts drop, sdrop, and reject rules into alert rules during startup--treat-drop-as-ignore          Use drop, sdrop, and reject rules to ignore session traffic when not inline.--process-all-events            Process all queued events (drop, alert,...), default stops after 1st action group--enable-inline-test            Enable Inline-Test Mode Operation--dynamic-engine-lib <file>     Load a dynamic detection engine--dynamic-engine-lib-dir <path> Load all dynamic engines from directory--dynamic-detection-lib <file>  Load a dynamic rules library--dynamic-detection-lib-dir <path> Load all dynamic rules libraries from directory--dump-dynamic-rules <path>     Creates stub rule files of all loaded rules libraries--dynamic-preprocessor-lib <file>  Load a dynamic preprocessor library--dynamic-preprocessor-lib-dir <path> Load all dynamic preprocessor libraries from directory--dynamic-output-lib <file>  Load a dynamic output library--dynamic-output-lib-dir <path> Load all dynamic output libraries from directory--pcap-single <tf>              Same as -r.--pcap-file <file>              file that contains a list of pcaps to read - read mode is implied.--pcap-list "<list>"            a space separated list of pcaps to read - read mode is implied.--pcap-loop <count>             this option will read the pcaps specified on command line continuously.for <count> times.  A value of 0 will read until Snort is terminated.--pcap-reset                    if reading multiple pcaps, reset snort to post-configuration state before reading next pcap.--pcap-show                     print a line saying what pcap is currently being read.--exit-check <count>            Signal termination after <count> callbacks from DAQ_Acquire(), showing the time ittakes from signaling until DAQ_Stop() is called.--conf-error-out                Same as -x--enable-mpls-multicast         Allow multicast MPLS--enable-mpls-overlapping-ip    Handle overlapping IPs within MPLS clouds--max-mpls-labelchain-len       Specify the max MPLS label chain--mpls-payload-type             Specify the protocol (ipv4, ipv6, ethernet) that is encapsulated by MPLS--require-rule-sid              Require that all snort rules have SID specified.--daq <type>                    Select packet acquisition module (default is pcap).--daq-mode <mode>               Select the DAQ operating mode.--daq-var <name=value>          Specify extra DAQ configuration variable.--daq-dir <dir>                 Tell snort where to find desired DAQ.--daq-list[=<dir>]              List packet acquisition modules available in dir.  Default is static modules only.--dirty-pig                     Don't flush packets and release memory on shutdown.--cs-dir <dir>                  Directory to use for control socket.--ha-peer                       Activate live high-availability state sharing with peer.--ha-out <file>                 Write high-availability events to this file.--ha-in <file>                  Read high-availability events from this file on startup (warm-start).--suppress-config-log           Suppress configuration information output.

相关文章:

开源ids snort (windows版)

Snort-IPS-on-Windows-main资源-CSDN文库 GitHub - eldoktor1/Snort-IPS-on-Windows: A comprehensive guide to installing and configuring Snort IPS on Windows, ensuring robust network security 手动打造Snortbarnyard2BASE可视化告警平台 - FreeBuf网络安全行业门户 …...

关于 vue3 axios的封装,并发请求相关

简介 Axios 是一个基于 promise 网络请求库&#xff0c;作用于node.js 和浏览器中。 它是 isomorphic 的(即同一套代码可以运行在浏览器和node.js中)。在服务端它使用原生 node.js http 模块, 而在客户端 (浏览端) 则使用 XMLHttpRequests。 请求方法别名 为了方便起见&#x…...

cpp中的namespace详解

namespace的作用主要是为了避免名字冲突和组织代码。 命名空间在C中是一个非常重要的特性&#xff0c;它帮助开发者更好地管理代码和避免潜在的冲突。 具体来说&#xff0c;它有以下几个主要用途 避免名字冲突 在大型项目中可能会有很多个类、函数或变量使用相同的名称。使用…...

request库的使用 | get请求

requests 库的 get 方法用于发送 HTTP GET 请求。GET 请求通常用于请求服务器发送数据。 1、导入 requests 库&#xff1a; import requests 2、发送 GET 请求&#xff1a; 使用 requests.get() 方法发送请求。 response requests.get(urlhttp://www.jd.com) 3、查看响应…...

理想低通信道和理想带通信道的区别

一、定义与特性 理想低通信道&#xff08;可通过<MAX&#xff09;&#xff1a; 定义&#xff1a;理想低通信道允许信号的所有低频分量&#xff0c;只要其频率不超过某个上限值&#xff0c;都能够不失真地通过此信道。而频率超过该上限值的所有高频分量都不能通过该信道。特…...

LAMP架构搭建

目录 LAMP架构搭建 编译安装Apache httpd服务 1、需要的安装包 2、关闭防火墙和核心防护 3、安装环境依赖包 4、配置软件模块 5、编译及安装 6、优化配置文件路径&#xff08;可不做&#xff09; 7、添加httpd系统服务 8、修改httpd 服务配置文件 9、浏览器访问验证…...

RT-DETR

SSE represents the single-scale Transformer encoder&#xff0c;CSF represents cross-scale fusion. AIFI and CCFF are the two modules designed into 作者的 hybrid encoder 截止到发文时间的issue数&#xff0c;多吓人呐&#xff0c;不建议复现...

【算法——KMP】

1理解next数组定义&#xff1a;最长相等前后缀&#xff08;不含当前字符并且不能是整体&#xff09; 算法讲解100【扩展】 KMP算法原理和代码详解_哔哩哔哩_bilibili next数组的值&#xff1a;假设这个i出现了不匹配就从next[i]的位置开始在再匹配 2next数组生成 看一下是怎…...

视频监控相关笔记

一、QT 之 QTreeWidget 树形控件 Qt编程指南&#xff0c;Qt新手教程&#xff0c;Qt Programming Guide 一个树形结构的节点中的图表文本 、附带数据的添加&#xff1a; QTreeWidgetItem* TourTreeWnd::InsertNode(NetNodeInfo node, QTreeWidgetItem* parent_item) { // …...

React 中,构建组件的方式

1. 函数组件&#xff08;Function Components&#xff09; 函数组件是最简单的组件形式&#xff0c;通常用于展示性的组件&#xff0c;不涉及复杂的生命周期方法。 import React from react;function Welcome(props) {return <h1>Hello, {props.name}</h1>; }exp…...

Android开发高频面试题之——Android篇

Android开发高频面试题之——Android篇 Android开发高频面试题之——Java基础篇 Android开发高频面试题之——Kotlin基础篇 Android开发高频面试题之——Android基础篇 1. Activity启动模式 standard 标准模式,每次都是新建Activity实例。singleTop 栈顶复用。如果要启动的A…...

禁用拷贝构造函数和赋值构造函数

在C中&#xff0c;禁用拷贝构造函数和拷贝赋值操作符的方式通常是为了防止类的对象被意外复制&#xff0c;这对于那些管理独占资源或不应被复制的对象尤为重要。 class LatActiveControlState : public LatState { public:LatActiveControlState() : LatState(LatS_ActiveCont…...

OneDrive for Business with Office Online 部署方案

目录 前言 部署准备 需求分析 用户需求 技术需求 环境准备 硬件要求 软件要求 许可计划 OneDrive for Business 部署 前期准备 域名配置 Azure AD 配置 安装与配置 安装 OneDrive 同步客户端 配置 OneDrive 组策略 数据迁移 Office Online 部署 前期准备 安…...

win10 win11 设置文件权限以解决Onedrive不能同步问题

初级代码游戏的专栏介绍与文章目录-CSDN博客 我的github&#xff1a;codetoys&#xff0c;所有代码都将会位于ctfc库中。已经放入库中我会指出在库中的位置。 这些代码大部分以Linux为目标但部分代码是纯C的&#xff0c;可以在任何平台上使用。 源码指引&#xff1a;github源…...

Unity DOTS系列之IJobChunk来迭代处理数据

最近DOTS发布了正式的版本, 我们来分享一下System中如何在System中使用IJobChunk来迭代处理World中的数据&#xff0c;方便大家上手学习掌握Unity DOTS开发。 再回顾一次基于ArcheType Chunk内存管理 我们先再次回顾以下基于ArcheType的Chunk内存管理。每一类Entity都是由一些…...

哈希——哈希表

回顾/本期梗概 上期我们学习了哈希——字符串哈希&#xff08;空降链接&#xff09;&#xff0c;本期我们将学习哈希中的哈希表。 1、哈希表原理 &#xff08;1&#xff09;使用数组下标直接标记元素 哈希表&#xff08;也叫数列表&#xff09;&#xff1a;是一种高效的、通过把…...

简单了解 JVM

目录 ♫什么是JVM ♫JVM的运行流程 ♫JVM运行时数据区 ♪虚拟机栈 ♪本地方法栈 ♪堆 ♪程序计数器 ♪方法区/元数据区 ♫类加载的过程 ♫双亲委派模型 ♫垃圾回收机制 ♫什么是JVM JVM 是 Java Virtual Machine 的简称&#xff0c;意为 Java虚拟机。 虚拟机是指通过软件模…...

已经30岁了,想转行从头开始现实吗?什么样的工作算好工作?

我是29岁那年&#xff0c;完成从转行裸辞副业的职业转型。 如果你把职业生涯看成是从现在开始30岁&#xff0c;到你退休那年&#xff0c;中间这么漫长的30年&#xff0c;那么30岁转行完全来得及&#xff1b; 如果你觉得必须在什么年纪&#xff0c;什么时间内必须完成赚到几十…...

快速理解docker(一)docker 简介

在当今快速迭代的软件开发环境中&#xff0c;如何高效地部署、管理和扩展应用程序成为了开发者们面临的重大挑战。Docker&#xff0c;作为一款开源的容器化平台&#xff0c;凭借其轻量级、可移植性和易于部署的特性&#xff0c;迅速成为了解决这些挑战的热门选择。本文将带您走…...

RHCS认证-Linux(RHel9)-Ansible

文章目录 一、ansible 简介二 、ansible部署三、ansible服务端测试四 、ansible 清单inventory五、Ad-hot 点对点模式六、YAML语言模式七、RHCS-Ansible附&#xff1a;安装CentOS-Stream 9系统7.1 ansible 执行过程7.2 安装ansible&#xff0c;ansible-navigator7.2 部署ansibl…...

国防科技大学计算机基础课程笔记02信息编码

1.机内码和国标码 国标码就是我们非常熟悉的这个GB2312,但是因为都是16进制&#xff0c;因此这个了16进制的数据既可以翻译成为这个机器码&#xff0c;也可以翻译成为这个国标码&#xff0c;所以这个时候很容易会出现这个歧义的情况&#xff1b; 因此&#xff0c;我们的这个国…...

基于大模型的 UI 自动化系统

基于大模型的 UI 自动化系统 下面是一个完整的 Python 系统,利用大模型实现智能 UI 自动化,结合计算机视觉和自然语言处理技术,实现"看屏操作"的能力。 系统架构设计 #mermaid-svg-2gn2GRvh5WCP2ktF {font-family:"trebuchet ms",verdana,arial,sans-…...

循环冗余码校验CRC码 算法步骤+详细实例计算

通信过程&#xff1a;&#xff08;白话解释&#xff09; 我们将原始待发送的消息称为 M M M&#xff0c;依据发送接收消息双方约定的生成多项式 G ( x ) G(x) G(x)&#xff08;意思就是 G &#xff08; x ) G&#xff08;x) G&#xff08;x) 是已知的&#xff09;&#xff0…...

PPT|230页| 制造集团企业供应链端到端的数字化解决方案:从需求到结算的全链路业务闭环构建

制造业采购供应链管理是企业运营的核心环节&#xff0c;供应链协同管理在供应链上下游企业之间建立紧密的合作关系&#xff0c;通过信息共享、资源整合、业务协同等方式&#xff0c;实现供应链的全面管理和优化&#xff0c;提高供应链的效率和透明度&#xff0c;降低供应链的成…...

【磁盘】每天掌握一个Linux命令 - iostat

目录 【磁盘】每天掌握一个Linux命令 - iostat工具概述安装方式核心功能基础用法进阶操作实战案例面试题场景生产场景 注意事项 【磁盘】每天掌握一个Linux命令 - iostat 工具概述 iostat&#xff08;I/O Statistics&#xff09;是Linux系统下用于监视系统输入输出设备和CPU使…...

剑指offer20_链表中环的入口节点

链表中环的入口节点 给定一个链表&#xff0c;若其中包含环&#xff0c;则输出环的入口节点。 若其中不包含环&#xff0c;则输出null。 数据范围 节点 val 值取值范围 [ 1 , 1000 ] [1,1000] [1,1000]。 节点 val 值各不相同。 链表长度 [ 0 , 500 ] [0,500] [0,500]。 …...

JVM虚拟机:内存结构、垃圾回收、性能优化

1、JVM虚拟机的简介 Java 虚拟机(Java Virtual Machine 简称:JVM)是运行所有 Java 程序的抽象计算机,是 Java 语言的运行环境,实现了 Java 程序的跨平台特性。JVM 屏蔽了与具体操作系统平台相关的信息,使得 Java 程序只需生成在 JVM 上运行的目标代码(字节码),就可以…...

springboot整合VUE之在线教育管理系统简介

可以学习到的技能 学会常用技术栈的使用 独立开发项目 学会前端的开发流程 学会后端的开发流程 学会数据库的设计 学会前后端接口调用方式 学会多模块之间的关联 学会数据的处理 适用人群 在校学生&#xff0c;小白用户&#xff0c;想学习知识的 有点基础&#xff0c;想要通过项…...

uniapp 集成腾讯云 IM 富媒体消息(地理位置/文件)

UniApp 集成腾讯云 IM 富媒体消息全攻略&#xff08;地理位置/文件&#xff09; 一、功能实现原理 腾讯云 IM 通过 消息扩展机制 支持富媒体类型&#xff0c;核心实现方式&#xff1a; 标准消息类型&#xff1a;直接使用 SDK 内置类型&#xff08;文件、图片等&#xff09;自…...

Java求职者面试指南:Spring、Spring Boot、Spring MVC与MyBatis技术解析

Java求职者面试指南&#xff1a;Spring、Spring Boot、Spring MVC与MyBatis技术解析 一、第一轮基础概念问题 1. Spring框架的核心容器是什么&#xff1f;它的作用是什么&#xff1f; Spring框架的核心容器是IoC&#xff08;控制反转&#xff09;容器。它的主要作用是管理对…...