欧美精品免费专区在线观看,少妇一级aa一区二区三区片,激情6月丁香婷婷色综合,深夜A级毛片催情精视频免费

等保測評——常見的現場測評命令

2024-11-29 13:07:59 RAIZ
一、Linux
測評查看項
測評命令
版本
more /etc/redhat-release
用戶
more /etc/shadow
密碼復雜度
more /etc/pam.d/system-auth
查看密碼更換周期
more /etc/login.defs
超時自動退出
more /etc/profile
查看所有端口
netstat -ntlp
查看備份時間
more /etc/crontab
審計是否開啟
systemctl status auditd.service
日志是否運行
systemctl status rsyslog
sshd是否運行
systemctl status sshd
查看Linux防火墻規則
iptables -L
看IP地址
ifconfig
看時間
date
查看日志
tail -20 /var/log/audit/audit.log
查看當前系統版本
uname -a
查看已安裝的包
yum list installed
是否安裝最新的補丁
rpm -qa grep patch
二、Windows
測評查看項
測評命令
備注
用戶賬戶
netplwiz
control userpasswords2
用戶和用戶組
lusrmgr.msc

賬戶策略
secpol.msc

遠程管理
gpedit.msc;mstsc
gpedit.msc
–》管理模板–》Windows組件–》遠程桌面服務–》遠程桌面會話主機–》安全
日志查看
eventvwr.msc

查看最小安裝
dcomcnfg
dcomcnfg
-》組件服務-》計算機-》我的電腦
多余的組件
appwiz.cpl

系統服務
services.msc

查看共享
net share

查看端口
netstat -an

查看防火墻
firewall.cpl


ipconfig /release
→ 要求服務器釋放曾經記錄的已經分配出去的IP地址

ipconfig /renew
→ 終端電腦再次重新獲取一次IP地址

三、網絡設備

華為交換機

測評查看項
測評命令
版本
dis version
密碼復雜度
dis password-control
用戶
dis local-user
登錄失敗,密碼周期
dis local-user username admin
登錄超時時間
dis aaa configuration
查看日志
dis  logbuffer
查看警告
dis  trapbuffer
查看配置
dis cur
查看端口
dis interface brief
查看telnet是否開啟
dis telnet server status
查看ip
dis ip interface
查看acl限制
dis  acl all
查看冗余
dis  irf
查看cpu
dis cpu-usage
查看內存
dis  memory-usage
查看補丁
dis path-infomation
查看審計是否開啟
dis  info
查看ssh
dis ssh server-info

華三交換機

查看測評項
測評命令
版本
dis version
查看Log buffer、Log host日志是否開啟
dis info-center
查看日志
dis logbuffer
查看cpu
dis cpu
查看內存
dis memory
查看端口
dis interface brief
查看acl限制
dis acl all
密碼復雜度
dis password-control

思科交換機

查看測評項
測評命令
備注
全局模式
configure terminal

特權模式
enable

查看AAA
show aaa all

查看密碼復雜度要求
show password-strength

查看登錄失敗處理配置
show login

查看登錄失敗策略
show login failures

登錄超時
show running-config
include timeout
查看當前賬戶
show running-config
include username
查看用戶名和權限
show running-config
include usename admin
查看日志
show logging last

查看syslog
show logging server

查看AAA
show aaa accounting

查看自動配置
show schedule job-list

查看版本
show version


四、數據庫

MySQL

測評查看項
測評命令
數據庫版本
select version();
進入數據庫
mysql -u root -p
查看設置用戶
select * from mysql.user
查看設置用戶
select host,user,plugin from mysql.user
檢查是否存在空
select host,user,password,plugin from mysql.user;

select host,user,authentication_string,plugin from mysql.user;
檢查密碼復雜度
show variables like ‘validate_password%’;
檢查口令定期更換
select host,user,password_lifetime from mysql.user
檢查是否安裝登錄失敗處理模塊
select * from information_schema.Plugins where plugin_name=‘connection_control’;
檢查配置登錄失敗處理參數
show variables like ‘connction_control’;
檢查連接超時
show variables like ‘%timeout’;
檢查日志模塊狀態
show variables like ‘general_log%’;
檢查是否并開啟MySQL Enterprise Audit模塊
select * from INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME=‘audit_log’;
檢查是否開啟SSL通信
show variables like ‘require_secure_transport’;

我要咨詢
主站蜘蛛池模板: 南溪县| 石屏县| 都匀市| 温宿县| 黄梅县| 如皋市| 东山县| 尖扎县| 深圳市| 奉贤区| 太原市| 洛扎县| 寿阳县| 塔河县| 海丰县| 江口县| 常山县| 开远市| 安陆市| 久治县| 秦皇岛市| 铅山县| 连南| 轮台县| 界首市| 略阳县| 宜昌市| 剑阁县| 马尔康县| 溆浦县| 古蔺县| 钦州市| 武强县| 松阳县| 彭水| 济宁市| 保定市| 榆林市| 彝良县| 聊城市| 双鸭山市|