当前位置:网站首页>基于主机的入侵系统IDS
基于主机的入侵系统IDS
2022-07-03 16:59:00 【星哥玩云】
实验Linux平台 CentOS 系统
应用背景:作为系统管理员,他们需要一种安全机制,比如检测文件篡改的机制
那它究竟检测什么呢? 文件内容 、文件的属性
AIDE:高级入侵检测系统的简称
那它如何实现呢:AIDE通过扫面一台为被篡改的linux服务器的文件系统来构建文件属性数据库
将服务器文件属性与数据库进行转换,对被修改的文件的索引发出警告!
从上面可以知道:ADIE的初始安装必须保持数据的‘干净’
系统安装后,并且没有任何服务暴漏在互联网上甚至局域网上
步骤:安装完系统-----断网------在终端安装AIDE服务------进行配置
安装服务器端软件 aide
# yum install aide
默认的配置文件 /etc/aide.conf
配置文件中主要的保护规则有:FIPSR NORMAL DIR DATAONLY
FIPSR = p+i+n+u+g+s+m+c+acl+selinux+xattrs+sha256
权限:p 索引节点:i 链接数:l 用户:u
组:g 大小:s 修改时间:m 创建时间:c
ACL:acl SELINUX:selinux xattrs:xattr
SHA256/SHA512监测和(sh256和sh 512)
条目之前的感叹号!告诉ADIE忽略子目录或目录文件
首次运行 AIDE
首先初始化ADIE数据库
aide --init
根据/etc/side.conf配置文件生成的/var/lib/aide/aidedb.new.gz文件需要被重命名为/var/lib/aide/aidedb.gz
第一次校对
# aide 直接运行这个命令,如果没有参数的话默认使用check选项
更新AIDE 数据库
# aide --update
谢谢~~~~~
边栏推荐
- One brush 148 force deduction hot question-5 longest palindrome substring (m)
- How to delete a specific line from a text file using the SED command?
- To resist 7-Zip, list "three sins"? Netizen: "is the third key?"
- Pools de Threads: les composants les plus courants et les plus sujets aux erreurs du Code d'affaires
- 图之深度优先搜索
- Daily code 300 lines learning notes day 10
- Build your own website (23)
- Necessary ability of data analysis
- On Lagrange interpolation and its application
- One brush 149 force deduction hot question-10 regular expression matching (H)
猜你喜欢
What is the maximum number of concurrent TCP connections for a server? 65535?
What material is sa537cl2? Analysis of mechanical properties of American standard container plate
The way of wisdom (unity of knowledge and action)
Thread pool executes scheduled tasks
MySQL converts comma separated attribute field data from column to row
ucore概述
PHP online confusion encryption tutorial sharing + basically no solution
What is the material of 13mnnimor? 13mnnimor steel plate for medium and low temperature pressure vessels
Redis:关于列表List类型数据的操作命令
One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
随机推荐
One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
Depth first search of graph
On Lagrange interpolation and its application
Define a structure fraction to represent a fraction, which is used to represent fractions such as 2/3 and 5/6
CC2530 common registers
Capacités nécessaires à l'analyse des données
在iptables防火墙下开启vsftpd的端口
ANOVA example
BYD and great wall hybrid market "get together" again
免费数据 | 新库上线 | CnOpenData中国保险中介机构网点全集数据
What is the maximum number of concurrent TCP connections for a server? 65535?
Hong Kong Polytechnic University | data efficient reinforcement learning and adaptive optimal perimeter control of network traffic dynamics
数据分析必备的能力
Atom QT 16_ audiorecorder
[Jianzhi offer] 58 - ii Rotate string left
Summary of three methods of PHP looping through arrays list (), each (), and while
What is the difference between 14Cr1MoR container plate and 14Cr1MoR (H)? Chemical composition and performance analysis of 14Cr1MoR
數據分析必備的能力
JSON 与 BSON 区别
One brush 142 monotone stack next larger element II (m)