Linux安全检查方法
来源:互联网 发布:二战苏联劣迹知乎 编辑:程序博客网 时间:2024/04/27 10:02
检查系统密码文件,查看文件修改日期
[root@fedora ~]# ls -l /etc/passwd
查看passwd文件中有哪些特权用户
[root@fedora ~]# awk -F: '$3= =0 {print $1}' /etc/passwd
查看系统里有没有空口令帐户
awk -F: 'length($2)= =0 {print $1}' /etc/shadow
检查系统守护进程
cat /etc/inetd.conf | grep -v "^#"
检查网络连接和监听端口
netstat –an
netstat –rn
ifconfig –a
查看正常情况下登录到本机的所有用户的历史记录
last
检查系统中的core文件
find / -name core -exec ls -l {} /;
检查系统文件完整性
rpm –qf /bin/ls
rpm -qf /bin/login
md5sum –b 文件名
md5sum –t 文件名
查找是否有后门
cat /etc/crontab
ls /var/spool/cron/
cat /etc/rc.d/rc.local
ls /etc/rc.d
ls /etc/rc3.d
find / -type f -perm 4000
来源:http://www.neeao.com
[root@fedora ~]# ls -l /etc/passwd
查看passwd文件中有哪些特权用户
[root@fedora ~]# awk -F: '$3= =0 {print $1}' /etc/passwd
查看系统里有没有空口令帐户
awk -F: 'length($2)= =0 {print $1}' /etc/shadow
检查系统守护进程
cat /etc/inetd.conf | grep -v "^#"
检查网络连接和监听端口
netstat –an
netstat –rn
ifconfig –a
查看正常情况下登录到本机的所有用户的历史记录
last
检查系统中的core文件
find / -name core -exec ls -l {} /;
检查系统文件完整性
rpm –qf /bin/ls
rpm -qf /bin/login
md5sum –b 文件名
md5sum –t 文件名
查找是否有后门
cat /etc/crontab
ls /var/spool/cron/
cat /etc/rc.d/rc.local
ls /etc/rc.d
ls /etc/rc3.d
find / -type f -perm 4000
来源:http://www.neeao.com
- Linux安全检查方法
- Linux安全检查方法
- Linux安全检查方法
- Linux 常见安全检查方法
- Linux安全检查笔记
- 简单的linux安全检查
- Linux安全检查脚本
- 在linux执行彻底的安全检查
- 软件测试安全检查(linux Valgrind)
- 【信息安全系列】Linux主机安全检查
- 【信息安全系列】RedHat Linux常用安全检查标准
- VS2008安全检查
- Ubuntu 安全检查
- 计算机网络安全检查
- 缓冲区安全检查
- 安全检查过滤器
- Windows 2000 安全检查清单
- SQL Server 安全检查列表
- Jigloo 开发SWT 的入门教程
- 如何导入导出MySQL数据库
- 程序集的理解!
- DDR Layout constraint
- sql基本函数
- Linux安全检查方法
- javascript 显示客户端时间
- 天大的喜讯,CSDN《程序员》 在第11期第21页的科技创新栏目报道了 腾云驾雾 的创新成果!
- Linux操作系统安全性能检查笔记
- sql 常用语句积累
- 网络编辑基础:对HTTP协议的头信息详解
- 解析“extern”
- 和程序员谈恋爱要注意以下几种情况
- 软件之死