Tools for scan Malware – maldet (Simple Installation)

malwarelogo

Maldet, an malware detector for linux server. It was a powerful tool if compare with the online tool that available.

Installation step as below

(1) go to the path

cd /usr/local/src/

(2) Download the source

wget http://www.rfxn.com/downloads/maldetect-current.tar.gz

(3) untar the installation file

tar zxvf maldetect-current.tar.gz

(4) go to the meldet folder

cd maldetect-*

(5) Install it

sh install.sh

 

 

All about CSF (ConfigServer Security & Firewall)

csf

To add IP address in to deny list

csf -d IP

To add IP address in to allow list

csf -a IP

How to restart csf firewall

csf -r

How to stop csf firewall

csf -x

Path of CSF configuration file on cPanel server

/etc/csf/csf.conf

Path of denied IP addresses file in CSF

/etc/csf/csf.deny

Path of allowed IP address file in CSF

/etc/csf/csf.allow

How to add IP address in to ignorelist

(1) login to shell

(2) add IP address in to /etc/csf/csf.ignore

How to find IP address blocked in temporary ban

grep IP /etc/csf/csf.tempban

 

How to reset MSSQL admin password

(1) Open command prompt with the administrator

(2) This command will list all the MSSQL in your server

 osql -L

(3) By this command you’ll connect to MSSQL server using administrator account

osql -S servername -E

(4)To change sa password you should execute the following query

sp_password NULL,'new_password','sa'
go

How to Disable Chkdsk

Chkdsk(Chkdsk.exe) is a command-line tool that checks volumes for problems. For Linux, Chkdsk is called FSCK.

To disable automatic disk checking at Windows startup through registry,

(1) open regisry interface by “regedit” on runas

(2) go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

(3) In the right hand panel, double click BootExecute.

The default value of the key is autocheck autochk *

* means every drive is checked for consistency. Just add /K:C at the end before *. /K switch will disable autocheck on C: drive at Windows startup. So the final value should look like this:

autocheck autochk /k:C *

(4) If you want to add more drives, the key should look like this: (disabling C and D drives)

autocheck autochk /k:C /k:D *