开源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.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/54605.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

JavaWeb--小白笔记07:servlet对表单数据的简单处理

这里的servlet对表单数据的处理是指使用IDEA创建web工程&#xff0c;再创建html和class文件进行连接&#xff0c;实现html创建一个表单网页&#xff0c;我们对网页中的表单进行填充&#xff0c;可以通过class文件得到网页我们填充的内容进行打印到控制台。 一登录系统页面---h…

Linux网络之UDP与TCP协议详解

文章目录 UDP协议UDP协议数据报报头 TCP协议确认应答缓冲区 超时重传三次握手其他问题 四次挥手滑动窗口流量控制拥塞控制 UDP协议 前面我们只是说了UDP协议的用法,但是并没有涉及到UDP协议的原理 毕竟知道冰箱的用法和知道冰箱的原理是两个层级的事情 我们首先知道计算机网…

怎么用gitee做一个图片仓库,在md文档中用这个图片网络地址,然后显示图片

痛因&#xff1a;我为什么要这样做&#xff0c;呃&#xff0c;我一开始图片都是存本地地址的&#xff0c;放在和这个md文档同级的assets文件夹下面&#xff0c;这样子确实当时很方便&#xff0c;复制粘贴什么也不用管&#xff0c;但是想把这个文档分享给别的人的时候&#xff0…

美信监控易的优势:长期稳定运行

美信监控易作为一款运维产品&#xff0c;其显著的优势在于能够长期稳定运行。在IT运维领域&#xff0c;系统的稳定性是至关重要的&#xff0c;它直接关系到企业的业务连续性和客户满意度。美信监控易通过其自研的数据库和先进的监测技术&#xff0c;确保了系统的高可用性&#…

HarmonyOS鸿蒙开发实战(5.0)悬浮窗拖拽和吸附动画实践

鸿蒙HarmonyOS NEXT开发实战往期文章必看&#xff08;持续更新......&#xff09; HarmonyOS NEXT应用开发性能实践总结 HarmonyOS NEXT应用开发案例实践总结合集 最新版&#xff01;“非常详细的” 鸿蒙HarmonyOS Next应用开发学习路线&#xff01;&#xff08;从零基础入门…

OpenHarmony(鸿蒙南向开发)——小型系统内核(LiteOS-A)【Perf调测】

往期知识点记录&#xff1a; 鸿蒙&#xff08;HarmonyOS&#xff09;应用层开发&#xff08;北向&#xff09;知识点汇总 鸿蒙&#xff08;OpenHarmony&#xff09;南向开发保姆级知识点汇总~ 持续更新中…… 基本概念 Perf为性能分析工具&#xff0c;依赖PMU&#xff08;Per…

Qt --- 常用控件的介绍 --- 其他控件

一、QPushButton QWidget中设计到的各种属性/函数/使用方法&#xff0c;针对接下来要介绍的Qt的各种控件都是有效的。 使用QPushButton表示一个按钮&#xff0c;这也是当前我们最熟悉的一个控件了。这个类继承了QAbstractButton&#xff0c;这个类是一个抽象类&#xff0c;是…

C++自动驾驶面试核心问题整理

应用开发 概述&#xff1a;比较基础&#xff0c;没啥壁垒&#xff0c;主要有linux开发经验即可 问题&#xff1a;基础八股&#xff0c;如计算机网络、操作系统、c11等基础三件套&#xff1b;中等难度算法题1-2道。 中间件开发&#xff08;性能优化&#xff09; 概述&am…

Set 和 Map 的模拟实现

1、引言 在数据结构与算法的学习与实践中&#xff0c;关联容器&#xff08;associative containers&#xff09;是不可忽视的重要工具。作为高效管理数据的一类容器&#xff0c;C 标准库中的 set 和 map 在现代软件开发中扮演着关键角色。这两个容器通过平衡二叉搜索树&#x…

【通讯协议】S32K142芯片——LIN通信的学习和配置

文章目录 前言1.LIN是什么&#xff1f;2. LIN连接结构及节点构成3. 帧的组成3.1 帧头3.1.1 同步间隔场&#xff08;Break&#xff09;3.1.2 同步场&#xff08;Synch&#xff09;3.1.3 标识符场&#xff08;PID&#xff09; 3.2 帧响应3.2.1 数据场3.2.2 校验和场 3. 代码配置总…

【图灵完备 Turing Complete】游戏经验攻略分享 Part.6 处理器架构2 函数

新的架构来了&#xff0c;本游戏的最后一个攻略分享&#xff0c;最后汇编部分无非是对于操作码的熟练&#xff0c;硬件没有问题&#xff0c;那么也就无关痛痒了。 汇编实现&#xff0c;两数相或和两数相与非一起相与即可。 八位异或器&#xff0c;整就完事了。 有手就行。 利…

干货满满:嵌入式电阻的重要作用全知晓

在嵌入式开发中&#xff0c;有一个小小的元件&#xff0c;它看似不起眼&#xff0c;却在电路中扮演着极其重要的角色。它就是——电阻。很多初学者认为电阻只是用来“分压降流”&#xff0c;但其实&#xff0c;电阻的作用远比我们想象的要复杂和关键。今天&#xff0c;我们就来…

LeetCode 2374.边积分最高的节点:模拟

【LetMeFly】2374.边积分最高的节点&#xff1a;模拟 力扣题目链接&#xff1a;https://leetcode.cn/problems/node-with-highest-edge-score/ 给你一个有向图&#xff0c;图中有 n 个节点&#xff0c;节点编号从 0 到 n - 1 &#xff0c;其中每个节点都 恰有一条 出边。 图…

思科安全网络解决方案

《网安面试指南》http://mp.weixin.qq.com/s?__bizMzkwNjY1Mzc0Nw&mid2247484339&idx1&sn356300f169de74e7a778b04bfbbbd0ab&chksmc0e47aeff793f3f9a5f7abcfa57695e8944e52bca2de2c7a3eb1aecb3c1e6b9cb6abe509d51f&scene21#wechat_redirect 《Java代码审…

【门牌制作 / A】

题目 代码 #include <bits/stdc.h> using namespace std; int main() {int cnt 0;for (int i 1; i < 2020; i){string s;s to_string(i);cnt count(s.begin(), s.end(), 2);}cout << cnt; }

【C++篇】走进C++标准模板库:STL的奥秘与编程效率提升之道

文章目录 C STL 初探&#xff1a;打开标准模板库的大门前言第一章: 什么是STL&#xff1f;1.1 标准模板库简介1.2 STL的历史背景1.3 STL的组成 第二章: STL的版本与演进2.1 不同的STL版本2.2 STL的影响与重要性 第三章: 为什么学习 STL&#xff1f;3.1 从手动编写到标准化解决方…

【论文速看】DL最新进展20240923-长尾综述、人脸防伪、图像分割

目录 【长尾学习】【人脸防伪】【图像分割】 【长尾学习】 [2024综述] A Systematic Review on Long-Tailed Learning 论文链接&#xff1a;https://arxiv.org/pdf/2408.00483 长尾数据是一种特殊类型的多类不平衡数据&#xff0c;其中包含大量少数/尾部类别&#xff0c;这些类…

tomcat服务搭建部署ujcms网站

tomcat服务搭建部署ujcms网站 关闭selinux和防火墙 setenforce 0 && systemctl stop firewalld安装java环境 #卸载原有java8环境 yum remove java*#上传java软件包&#xff0c;并解压缩 tar -xf openjdk-11.0.1_linux-x64_bin.tar.gz && mv jdk-11.0.1 jdk11…

TaskRes: Task Residual for Tuning Vision-Language Models

文章汇总 当前VLMs微调中存在的问题 提示微调的问题 在提示调优中缺乏对先验知识保存的保证(me&#xff1a;即提示微调有可能会丢失预训练模型中的通用知识)。虽然预先训练的文本分支模块(如文本编码器和投影)的权重在提示调优范式中被冻结&#xff0c;但原始的良好学习的分类…

BUUCTF-MISC-荷兰宽带数据泄露

下载附件得到一个二进制文件 通过题目猜测这是一段路由器备份日志&#xff0c;可以使用RouterPassView打开 链接: https://pan.baidu.com/s/1tY5Sdl8GcI5dKQdhPXj5yA?pwdhi9k 下载链接http://pan.baidu.com/s/1tY5Sdl8GcI5dKQdhPXj5yA?pwdhi9k注意&#xff0c;这个软件会报毒…