Unit 2: Linux/Unix Acquisition 2.3 Activity and Discussion Activity: Practicing Linux/Unix Comma...

ACTIVITY: PRACTICING LINUX/UNIX COMMANDS

Note: This activity takes place in a Linux system environment using SANS SIFT Workstation, a collection of forensic tools. For instructions to download and set up this environment, click Virtual Workstation in the toolbar.

Time: This activity should take you approximately 60 minutes to complete.

SOFTWARE

If you are not using a Linux machine, you’ll need to download SIFT Workstation 3 for this exercise. Note that you have to create your own account for this download.

GOAL

In this activity, you will practice a set of basic Linux/Unix commands commonly used by an incident responder to identify security breaches from a live suspect system, as if you were examining a suspect machine that has not been shut down.

You may want to review my demonstration Collect Information from a Live System before beginning this activity.

INSTRUCTIONS
  1. Launch SIFT Workstation 3. The default login username is sansforensics, and the default password is forensics
  2. Open a terminal and listen to the port 8888 by running: nc –l 8888 & .
  3. Use command’s man page (for example, man ifconfig) to check each command’s description and its main options before you practice the command.
  4. Practice each command to understand how you can use the result for your investigation.
  5. When you are finished, answer the Check Your Work questions.

To displayCommand
current system date and timedate
when was the system rebooteduptime -p
system informationuname –a
whether a network interface is running in a promiscuous modeifconfig
unusual and suspicious processes and servicesps –eaf
network connectionsnetstat
lsof -i
Open in memory, but unlinked files (requested for deletion)lsof +L1
files opened by the process PIDlsof –p (PID)
Currently logged in users (three options)
who 
users
all root-owned (uid=0) SUID files.find / -uid 0 –perm -4000 –print
logged general system activitiestail –f /var/log/messages
a list of all users with last logged in (and logged out) times stored in the log file /var/log/wtmplast
any regular files in /directory_path that has been modified within 1 day (24 hours)find /directory_path –type f –mtime -1 -print
free disk spacedf
amount of free and used physical and swap memory in systemfree

转载于:https://www.cnblogs.com/sec875/articles/10013497.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值