1

sfc /scannow

Use Windows' System File Checker to scan for and repair damaged or missing system files.

redaudit's picture
Submitted by redaudit 20 weeks 4 days ago – Made popular 20 weeks 4 days ago
Category: Windows   Tags:
1

tcpdump -i eth0 > mydump

Dump network traffic from your ethernet device eth0 to a text file called mydump. CTRL+c will stop tcpdump (or any console application in the foreground). Review the dump file with vi, cat, gedit or nano for suspicious ports and connections.

Replace eth0 with your ethernet device gathered from ifconfig.

redaudit's picture
Submitted by redaudit 43 weeks 2 days ago – Made popular 29 weeks 2 days ago
Category: Linux   Tags:
1

smartctl -a -d ata /dev/hda

Get SMART information for your IDE/ATA hard drives. Use "/dev/hda[b-t]" for any additional IDE/ATA devices. Notable "Attributes" to keep an eye on are Raw_Read_Error_Rate, Seek_Error_Rate, Power_On_Hours and Temperature_Celsius.

Requires smartmontools be installed:
Red Hat Enterprise Linux and rebuilds: yum install smartmontools
Ubuntu and Debian: apt-get smartmontools

redaudit's picture
Submitted by redaudit 44 weeks 1 day ago – Made popular 43 weeks 3 days ago
Category: Linux   Tags:
1

smartctl -a -d ata /dev/sda

Get SMART information for your SATA hard drives (SATA devices using libata). Use "/dev/sda[b-t]" for any additional SATA hard drives (SATA devices using libata). Notable "Attributes" to keep an eye on are Raw_Read_Error_Rate, Seek_Error_Rate, Power_On_Hours and Temperature_Celsius.

Requires smartmontools be installed:
Red Hat Enterprise Linux and rebuilds: yum install smartmontools
Ubuntu and Debian: apt-get smartmontools

redaudit's picture
Submitted by redaudit 44 weeks 1 day ago – Made popular 43 weeks 3 days ago
Category: Linux   Tags:
1

/usr/bin/rsync -rave "/usr/bin/ssh -l username" /home/username servername:/home/username/

Synchronize files from your user home folder to a remote server using ssh for encryption. Replace username with your own user account and servername with the IP or domain of the remote server.

For convenience, add this command to your crontab (assuming you have passwordless ssh setup).

Requires rsync be installed:
Red Hat Enterprise Linux and rebuilds: yum install rsync
Ubuntu and Debian: apt-get rsync

redaudit's picture
Submitted by redaudit 44 weeks 1 day ago – Made popular 43 weeks 4 days ago
Category: Linux   Tags:
1

chkrootkit

Check for possible rootkits and viruses.

You must have chkrootkit installed.

Red Hat Enterprise Linux and rebuilds: yum install chkrootkit
Ubuntu and Debian: apt-get install chkrootkit

redaudit's picture
Submitted by redaudit 1 year 2 days ago – Made popular 43 weeks 5 days ago
Category: Linux   Tags:
1

rkhunter -c

Run a rootkithunter check for possible trojans, rootkits, and exploits.

You must have rkhunter installed.
Red Hat Enterprise Linux and rebuilds: yum install rkhunter
Ubuntu and Debian: apt-get install rkhunter

redaudit's picture
Submitted by redaudit 1 year 2 days ago – Made popular 43 weeks 5 days ago
Category: Linux   Tags:
1

crontab -l

List the contents of your crontab -- unfamiliar jobs should be double-checked.

redaudit's picture
Submitted by redaudit 46 weeks 1 day ago – Made popular 45 weeks 6 days ago
Category: Linux   Tags:
1

cat /etc/hosts

Review your Linux /etc/hosts file for suspicious IP mappings.

redaudit's picture
Submitted by redaudit 47 weeks 2 days ago – Made popular 47 weeks 2 days ago
Category: Linux   Tags:
1

notepad.exe C:\Windows\System32\drivers\etc\hosts

Review your hosts file for suspicious IP mappings. Enter this command at Start > Run.

redaudit's picture
Submitted by redaudit 48 weeks 3 days ago – Made popular 48 weeks 3 days ago
Category: Windows   Tags:
Page generated in: 0.001801 seconds.