中國武漢深度科技公司的深度作業系統 15.5 (Deepin Desktop) 是基建於 Debian Linux 的桌面系統。深度系統實現了 Linux 的高度客制化的技術,它媲美蘋果電腦 macOS 作業系統。
深度系統 15.5 安裝容易和直接,沒有太多的輸入和選項。當安裝在 Virtualbox 虚擬機器時,它會提供特效模式 (Effect mode) 或普通模式 (Common mode) 選擇。普通模式運作行得比較快,但沒有了特別效果。
在使用深度系統 15.5 時極有使用蘋果電腦 macOS 的感覺。使用介面非常直觀和華麗,你並不會迷失於大量的選項當中。
它的軟件庫 (Deepin Store) 收集了很多實用的軟件,並且安裝和移除都非常容易。它的軟件庫極有蘋果電腦 macOS 的 Apps Store 味道。可以看得出武漢深度科技公司曾經投入大量資源來開發這系統。
這個作業系統極之適合 Linux 初學者或一些要求簡潔和直接的用家。這也是 Ubuntu Linux 以外的另一個不錯的選擇。但是美中不足之處是它沒有全碟加密和密碼只接受最多十六位字元,而且有些軟件的版本比較老舊。
Wuhan Deepin Technology Co. Ltd. (China) develops a Debian based Linux system namely Deepin Desktop. The current version as at this writing is 15.5. The outlooks of Deepin is much like Apple macOS.
Installation of Deepin 15.5 is very easy and simple. A few information is required to fill in or select in the installation. When installed in Virtualbox, you have a chance to select "Effect mode" or "Common mode". Common mode is the fastest mode comparing with Effect mode. Deepin Desktop 15.5 is very easy to use. The design is very straight forward and simple. If you have experience in Apple macOS, you will feel that it is very similar.
There are some useful software in Deepin Store and it much like Apps Store in macOS. The installation and uninstallation of any software is very easy. It is believed that Wuhan Deepin Technology has invested a lot of resources of building this Linux distribution.
Deepin Desktop is suitable for newbies of Linux and someone who loves simple operation. If you do not like Ubuntu Linux, you may try Deepin Desktop instead. The only downsides of Deepin are no full disk encryption, the maximum length of user password limited to 16 characters and some software are a little bit out-dated.
That's all! See you.
Reference
Linux Deepin is NOT spyware
Full disk encryption on Deepin 15.5
Open Source is a great idea and it has changed the world!
Open Source forever ....
While you do not know attack, how can you know about defense? (未知攻,焉知防?)
Do BAD things .... for the RIGHT reasons -- OWASP ZAP
It is easier to port a shell than a shell script. -- Larry Wall
Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris. -- Larry Wall
为天地立心, 为生民立命, 为往圣继绝学, 为万世开太平。 -- 王炜
Showing posts with label Debian. Show all posts
Showing posts with label Debian. Show all posts
Tuesday, April 24, 2018
Sunday, May 04, 2014
HOWTO : Azazel on Debian Wheezy
I know this rootkit - Azazel for some time; however, I am busy to give it a test. Recently, I am bored and take it a look.
Azazel is a linux userland rookit based on original LD_PRELOAD technique from Jynx (rootkit). Azazel has some features that are very useful for attackers, such as file hidden and anti-debugging.
I set up four virutalbox guests in Debian 7 (Wheezy), Ubuntu 12.04.4 LTS, Ubuntu 14.04 LTS and CentOS 6.5.
The Azazel can be compiled without problem if you installed the required libraries. You need root privilege to install this rootkit. Once installed, you are very hard to remove it unless you re-install your system. However, the developer sugguest to remove one of the files by booting from live cd.
After a very quick test on Azazel under the above mentioned Virtualbox (version 4.3.10 r93012) guests, only Debian can run it flawlessly. Ubuntu cannot be reboot. CentOS cannot be login after the reboot. Azazel cannot be ran properly in Ubuntu and CentOS too. I think no attacker will want to destroy the victim box unless s/he really want to.
After a quick look at the developer's products, I think that the developer is running Debian and his products should be tested on Debian only.
Meanwhile, only backdoor, anti-debugging and file hidden of Azazel on Debian are tested. Plaintext backdoor and Crypthook backdoor cannot be tested successful in my lab. Once the file is hidden, you cannot undo it and it can be access by Azazel only.
If you want to port this rootkit to other Linux distributions, you need to modify the source code. One of the reasons that Linux is harder to be attacked due to too many variants.
REFERENCE
To compile Azazel on Debian or Ubuntu, you need to do the following :
To compile Azazel on CentOS, you need to do the following :
That's all! See you.
Azazel is a linux userland rookit based on original LD_PRELOAD technique from Jynx (rootkit). Azazel has some features that are very useful for attackers, such as file hidden and anti-debugging.
I set up four virutalbox guests in Debian 7 (Wheezy), Ubuntu 12.04.4 LTS, Ubuntu 14.04 LTS and CentOS 6.5.
The Azazel can be compiled without problem if you installed the required libraries. You need root privilege to install this rootkit. Once installed, you are very hard to remove it unless you re-install your system. However, the developer sugguest to remove one of the files by booting from live cd.
After a very quick test on Azazel under the above mentioned Virtualbox (version 4.3.10 r93012) guests, only Debian can run it flawlessly. Ubuntu cannot be reboot. CentOS cannot be login after the reboot. Azazel cannot be ran properly in Ubuntu and CentOS too. I think no attacker will want to destroy the victim box unless s/he really want to.
After a quick look at the developer's products, I think that the developer is running Debian and his products should be tested on Debian only.
Meanwhile, only backdoor, anti-debugging and file hidden of Azazel on Debian are tested. Plaintext backdoor and Crypthook backdoor cannot be tested successful in my lab. Once the file is hidden, you cannot undo it and it can be access by Azazel only.
If you want to port this rootkit to other Linux distributions, you need to modify the source code. One of the reasons that Linux is harder to be attacked due to too many variants.
REFERENCE
To compile Azazel on Debian or Ubuntu, you need to do the following :
apt-get install libpam0g-dev libssl-dev libpcap0.8-dev build-essential gitTo compile Azazel on CentOS, you need to do the following :
yum install gcc make pam-devel openssl-devel libpcap-develThat's all! See you.
Tuesday, September 24, 2013
HOWTO : High Performance IDS/IPS with SmoothSec 3.4
The following Intrusion Detection/Prevention System (IDS/IPS) setup is using AF_PACKET with SmoothSec 3.4. The following setup is for low traffic flow home and SOHO users (or you can say that it is a Proof-of-Concept). If your traffic is heavy, please consider to use a high-end hardware.
(A) Hardware
IDS/IPS -
Motherboard - Intel Desktop Board D510MO CPU - Intel Atom D510 (Dual-core with HT) RAM - 4GB (2 x 2GB) Hard Drive - 320GB Network Card 0 (eth0) - Onboard Gigabit Network Card 1 (eth1) - TP-Link TG-3269 Gigabit PCI Network Adapter (with low profile) Network Card 2 (eth2) - D-Link DUB-E100 USB 2.0 Fast Ethernet Adapter (up to 200MB) * You can select (1) Level One USB-0401 USB Gigabit Ethernet Adapter or (2) PCi USB 3.0 Gigabit LAN Adapter UE-1000T-G3 for eth2. However, you need to compile and install the driver yourself. Update : If you are using Backports latest kernel, the Level One USB-0401 and PCi UE-1000T-G3 are workable out of the box. Router - Motherboard - Intel Desktop Board D510MO CPU - Intel Atom D510 (Dual-core with HT) RAM - 4GB (2 x 2GB) Hard Drive - 320GB Network Card 0 (eth0) - Onboard Gigabit Network Card 1 (eth1) - TP-Link TG-3269 Gigabit PCI Network Adapter (with low profile) (B) Software IDS/IPS - Operating System - Debian 7.0 (Wheezy) IDS/IPS Pre-configure system - SmoothSec 3.4 (64-bit) IDS/IPS Engine - Snort (or Suricata) Unified2 Spooler - Pigsty Web Interface - Snorby Rules Management - PulledPork Router - Operating System - Untangle 9.4.2 (64-bit) * Basically, Untangle is a router and Unified Threat Management System (UTM). (C) Hardware Setup
After installed SmoothSec, type the following :
That's all! See you.
Motherboard - Intel Desktop Board D510MO CPU - Intel Atom D510 (Dual-core with HT) RAM - 4GB (2 x 2GB) Hard Drive - 320GB Network Card 0 (eth0) - Onboard Gigabit Network Card 1 (eth1) - TP-Link TG-3269 Gigabit PCI Network Adapter (with low profile) Network Card 2 (eth2) - D-Link DUB-E100 USB 2.0 Fast Ethernet Adapter (up to 200MB) * You can select (1) Level One USB-0401 USB Gigabit Ethernet Adapter or (2) PCi USB 3.0 Gigabit LAN Adapter UE-1000T-G3 for eth2. However, you need to compile and install the driver yourself. Update : If you are using Backports latest kernel, the Level One USB-0401 and PCi UE-1000T-G3 are workable out of the box. Router - Motherboard - Intel Desktop Board D510MO CPU - Intel Atom D510 (Dual-core with HT) RAM - 4GB (2 x 2GB) Hard Drive - 320GB Network Card 0 (eth0) - Onboard Gigabit Network Card 1 (eth1) - TP-Link TG-3269 Gigabit PCI Network Adapter (with low profile) (B) Software IDS/IPS - Operating System - Debian 7.0 (Wheezy) IDS/IPS Pre-configure system - SmoothSec 3.4 (64-bit) IDS/IPS Engine - Snort (or Suricata) Unified2 Spooler - Pigsty Web Interface - Snorby Rules Management - PulledPork Router - Operating System - Untangle 9.4.2 (64-bit) * Basically, Untangle is a router and Unified Threat Management System (UTM). (C) Hardware Setup
Internet ---- Router ---- SmoothSec ---- Switch ---- Personal Computers
Router -- eth0 connect to Internet; eth1 connect to SmoothSec
SmoothSec -- eth0 connect to Router; eth1 connect to Switch (uplink or port 1); eth2 connect to Switch (any port at 2 to 4)
* You can use any router to replace Untangle.
(D) Installation of SmoothSec
Download SmoothSec 3.4 at here or here.
Make sure the SmoothSec box can surf the internet; otherwise, installation will be failed. Or, you may re-arrange the cables when necessary.
Updated : Since the scripts for 3.4 has been updated to 3.4.1, you should follow the below link to upgrade the script to 3.4.1.
Upgrade to scripts version 3.4.1
The scripts 3.4.1 will install Backports newest kernel instead of Unstable kernel for Suricata IPS mode with AF_PACKET.
After installed SmoothSec, type the following :
smoothsec.first.setup
Snort -
Select "ips-standard" and following the instruction to install. Please also refer to here for the configuration of the config file. Make sure "AF_ENGINE" is set to "snort". The rules are "et" by default.
After install, reboot your box.
Suricata -
Select "ips-standard" and following the instruction to install. Please also refer to here for the configuration of the config file. Make sure "AF_ENGINE" is set to "suricata". The rules are "et" by default.
A new Linux kernel 3.10.2 will be installed at the end.
After install, reboot your box.
(E) Configuration of IDS/IPS
You may need to disable or/and drop some rules (sid).
Snort -
You may need to configure the /etc/snort/snort.conf :
nano /etc/snort/snort.conf
For example, the subnet is 192.168.1.0/24.
Replace "ipvar HOME_NET any" with "ipvar HOME_NET [192.168.1.0/24]"
Replace "ipvar EXTERNAL_NET any" with "ipvar EXTERNAL_NET ![192.168.1.0/24]"
Restart Snort :
/etc/init.d/snort restart
Disable rules :
nano /etc/pulledpork/snort/disablesid.conf
Drop rules :
nano /etc/pulledpork/snort/dropsid.conf
After doing that, reload the rules :
smoothsec.snort.rules.update
Suricata -
Disable rules :
nano /etc/pulledpork/suricata/disablesid.conf
Drop rules :
nano /etc/pulledpork/suricata/dropsid.conf
After doing that, reload the rules :
smoothsec.suricata.rules.update
* If the rule is too long to disable or drop, you may consider to edit "modifysid.conf". For example, to disable and drop the following rule :
To disable the rule :
2013437 "alert" "##alert";
To drop the rule :
2013437 "alert" "drop";
(F) Configuration of Snorby
For example, the sensor IP address is 192.168.1.180.
Point your browser to https://192.168.1.180. Enter the username and password of Snorby.
Setup the Snorby according to SmoothSec WiKi.
* If you want to sent your Snorby reports by Postfix, you need to install yourself and configure it then.
sudo apt-get install postfix
Select "Internet Site" when asked.
(G) IDS/IPS Tuning
There may be some false positive records. You need to tune the setting by adding the sid to the disablesid.conf or dropsid.conf when necessary. When use with dropsid.conf, yon may need to set firewall at Router to make the job done.
(H) Remarks
In the captioned setting, the SmoothSec acts as IDS and IPS in one box.
If you want to install IDS only, your SmoothSec only requires one Network Card which is connected to Switch.
In addition, SmoothSec 3.4 comes with Distributed IDS/IPS which allows you to deploy multi-sensors with one control panel (Snorby).
Furthermore, you can also reset your box to the fresh install environment :
smoothsec.reset
When using Snorby, you may need to browse for the rules sid. This link is for the rules lookup.
Make sure you create an empty file namely restart.txt under /var/www/snorby/tmp :touch /var/www/snorby/tmp/restart.txtThat's all! See you.
Subscribe to:
Posts (Atom)
