当前位置:网站首页>基于主机的入侵系统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 144 force deduction hot question-1 sum of two numbers (E)
- What material is 13crmo4-5 equivalent to in China? 13crmo4-5 chemical composition 13crmo4-5 mechanical properties
- Difference between JSON and bson
- One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
- ANOVA example
- UCORE overview
- To resist 7-Zip, list "three sins"? Netizen: "is the third key?"
- One brush 145 force deduction hot question-2 sum of two numbers (m)
- 网络安全web渗透技术
- word 退格键删除不了选中文本,只能按delete
猜你喜欢

C language modifies files by line

2022.02.14_ Daily question leetcode five hundred and forty

(Supplement) double pointer topic

Shentong express expects an annual loss of nearly 1billion

What material is 13crmo4-5 equivalent to in China? 13crmo4-5 chemical composition 13crmo4-5 mechanical properties

UCORE overview
The way of wisdom (unity of knowledge and action)

word 退格键删除不了选中文本,只能按delete

What material is sa537cl2 equivalent to in China? Sa537cl2 corresponding material

CC2530 common registers for serial communication
随机推荐
UCORE overview
Prepare for the golden three silver four, 100+ software test interview questions (function / interface / Automation) interview questions. win victory the moment one raises one 's standard
MySQL Basics
The most complete postman interface test tutorial in the whole network, API interface test
大消费企业怎样做数字化转型?
人生还在迷茫?也许这些订阅号里有你需要的答案!
Analysis of variance summary
【剑指 Offer 】57 - II. 和为s的连续正数序列
Acwing game 58
新库上线 | CnOpenData中国保险机构网点全集数据
[2. Basics of Delphi grammar] 2 Object Pascal data type
(Supplement) double pointer topic
Summary of three methods of PHP looping through arrays list (), each (), and while
Define a structure fraction to represent a fraction, which is used to represent fractions such as 2/3 and 5/6
What is the material of sa302grc? American standard container plate sa302grc chemical composition
RF analyze demo build step by step
How to allow remote connection to MySQL server on Linux system?
[combinatorics] non descending path problem (number of non descending paths with constraints)
Le zèbre a été identifié comme un chien, et la cause de l'erreur d'AI a été trouvée par Stanford
美团一面:为什么线程崩溃崩溃不会导致 JVM 崩溃