segunda-feira, 13 de novembro de 2017

FORTIGATE TROUBLESHOOTING IPS ENGINE


First  execute:

#diag test application ipsmonitor

IPS Engine Test Usage:
1: Display IPS engine information
2: Toggle IPS engine enable/disable status
3: Display restart log
4: Clear restart log
5: Toggle bypass status
6: Submit attack characteristics now
97: Start all IPS engines
98: Stop all IPS engines
99: Restart all IPS engines and monitor

After list those commands for choose some option execute the command like that:

sample:
diag test application ipsmonitor 99

sábado, 11 de novembro de 2017

HOW TO INSTALL OWASP ZAP IN UBUNTU 17.10

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/cabelo/xUbuntu_17.04/ /' > /etc/apt/sources.list.d/owasp-zap.list"
sudo apt-get update
sudo apt-get install owasp-zap
You can add the repository key to apt. run:

wget -nv https://download.opensuse.org/repositories/home:cabelo/xUbuntu_17.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update


procedure source:
https://software.opensuse.org/download.html?project=home%3Acabelo&package=owasp-zap


Recently this procedure doesn't work more because repository is not available.

and was do that:

# Java should be installed
# sudo apt-get install openjdk-7-jre-lib openjdk-7-jre-headless openjdk-7-jre icedtea-7-jre-jamvm icedtea-7-jre-cacao icedtea-7-plugin
# sudo update-alternatives --config java
mkdir ~/src/ && cd ~/src/
wget https://github.com/zaproxy/zaproxy/releases/download/2.5.0/ZAP_2.5.0_Linux.tar.gz
tar -xzvf ZAP_2.5.0_Linux.tar.gz
rsync -av ZAP_2.5.0/ /opt/zaproxy/

source: https://gist.github.com/fedir/f759c979489f8ab4bf2913dbbc4cdcb6

domingo, 5 de novembro de 2017

HOW TO EXECUTE COMMAND FOR KASPERSKY ENDPOINT SECURITY FOR LINUX - UBUNTU

FOR SEE SOME CONTRACTS AND TERMS AND INSTALL DEFINITION:
cd /opt/kaspersky/kesl/doc
ls
autoinstall.ini  ksn_license.de  ksn_license.en  ksn_license.fr  ksn_license.ru  legal_notices.txt  license.de  license.en  license.fr  license.ru


for check configuration used for installation you can cat the file: autoinstall.ini 

FOR EXECUTE BINARY FILES:

cd /opt/kaspersky/kesl/bin

list files:
fanotify-checker  kesl-control  kesl_launcher.sh  kesl-setup.pl  kesl-uninstall.pl  wdserver


#LIST INFORMATION OF INSTALLED VERSION

./kesl-control -S

#RESULT:

Name                           : Kaspersky Endpoint Security 10 for Linux
Version                        : 10.0.0.3458
Key status                     : Valid
License expiration date        : 2017-12-04
Backup state                   : No objects in backup
Backup space usage             : Backup size is unlimited
Scan_My_Computer last run date : Never run
Anti-virus databases loaded    : Yes
Anti-virus databases date      : 2017-11-05 06:36:00
Anti-virus databases records   : 11164094
Protection status              : OAS enabled
KSN state                      : On


#LIST TASKS
./kesl-control -T --get-task-list

#RESULT

Number of tasks: 10
Name: File_Monitoring
    ID     : 1
    Type   : OAS
    State  : Started
Name: Scan_My_Computer
    ID     : 2
    Type   : ODS
    State  : Stopped
Name: Scan_File
    ID     : 3
    Type   : ODS
    State  : Stopped
Name: Boot_Scan
    ID     : 4
    Type   : BootScan
    State  : Stopped
Name: Memory_Scan
    ID     : 5
    Type   : MemoryScan
    State  : Stopped
Name: Update
    ID     : 6
    Type   : Update
    State  : Stopped
Name: Rollback
    ID     : 7
    Type   : Rollback
    State  : Stopped
Name: Retranslate
    ID     : 8
    Type   : Retranslate
    State  : Stopped
Name: License
    ID     : 9
    Type   : License
    State  : Started
Name: Backup
    ID     : 10
    Type   : Backup
    State  : Started


#RESUME TASK SELECTED
./kesl-control -T --resume-task <SET ID>


#CHECK DE SCHEDULE FROM THE TASK
./kesl-control -T --get-schedule <SET ID>

#GET SETTINGS OF TASK 
 ./kesl-control -T --get-settings <SET ID>

sábado, 4 de novembro de 2017

HOW TO WORK USB DEVICES ON VIRTUAL BOX ON UBUNTU 17.10

sudo usermod -aG vboxusers <youruser>

sudo apt-get install gnome-system-tools
sudo apt install virtualbox virtualbox-guest-additions-iso
sudo apt install virtualbox-ext-pack
sudo apt-get install gnome-system-tools

restart your computer