4. Admin permision operation tools
6. Network socket control tools.
8. switch user mode operation tools
12. Admin password changing tools
13. Configure initialize tools
15. Other tools¡¡
[Pic 1: igniz_ls command man page]
¡¡
[Pic 2: igniz_admin command execution 1]
[root@test bin]# ./igniz_admin -i It's not real root [root@test bin]# |
when it is not upper system, you are not a security admin.
[Pic 3: igniz_admin command execution 2]
login command in lower system /admin directory is symbolic link of igniz_admin command. all usage and options are same.
¡¡
3. System bootiong tools : igniz_break
system boot tool is made to turn off or reboot the system in lower system. It changes your athority to upper system.
Options:
Options are defined by first number after command. each number has following property
1:Reboot 2: System turn off 3: Change to upper system
[º¸±â 4: igniz_break command execution]
You should be careful to use those functions ,it can halt or reboot your system.
¡¡
4. Admin permission operation tools
Admin permission operation tool is associated with access contol skill, which is core of secure OS. There are many benefits by importing umask system on Happinux.First of all, Happinux solves inconvenience in existing secure OS.In existing systems admin need
to access many file and directory to change each file and directory permission. It is very troblesome work for
admin. In sight of system performance, existing secure OS has data limit so that as the data gets bigger, system performance decreased. But Happinux keeps only essential configurations in data list accept default setup configuration, so possibility of error is very low. Also there is auto configuration so that you can easily construct a secure system. It is benefit that only Happinux supports.
igniz_umask is command that sets permission of root directory of lower system. Umask concept, core of Happinux is
accomplished when you set permission of the root directory.
[Pic 5: igniz_umask command execution]
¡¡
[Pic 6: igniz_chmod command execution]
This command also can use '*'(wild card) charactor as a factor.
[root@test bin]# ./igniz_chmod +rwxd /tmp/technic/* [+] /tmp/technic/format: change mode successfully. [+] /tmp/technic/format.c: change mode successfully. [+] /tmp/technic/for_xp16: change mode successfully. [+] /tmp/technic/for_xp16.c: change mode successfully. [+] /tmp/technic/for_xp32: change mode successfully. [+] /tmp/technic/for_xp32.c: change mode successfully. [+] /tmp/technic/heap: change mode successfully. [+] /tmp/technic/heap.c: change mode successfully. [+] /tmp/technic/heap_xp: change mode successfully. [+] /tmp/technic/heap_xp.c: change mode successfully. [+] /tmp/technic/over: change mode successfully. [+] /tmp/technic/over.c: change mode successfully. [+] /tmp/technic/over_xp: change mode successfully. [+] /tmp/technic/over_xp.c: change mode successfully. [root@test bin]# |
igniz_ls command is nearly same as existing 'ls' command, which show the file and directory list of the system. You can every appointed file and directory permissions by using igniz_ls.
[Pic 7: igniz_ls command execution]
in addition, in this picture all the file permissions are '+rwxd'. Because of this, you can see all the file permission in this directory is
"RWXD".
5. configuration cleaning tool : igniz_clean
Happinux supports kernel memory arrangement program. You can make your system optimized by cleaning useless configurations and empty list memroies. igniz_clean command will do this job for you.
options:
igniz_clean[number]
1.Whole system configuration optimize.
2.Umask configuration optimize.
3.Directory configuration optimize.
4.File configuration optimize.
5.Process configuration optimize.
6.Setuid/gid configuration optimize.
7.Swich user mode configuration optimize.
8.Network socket configuration optimize.
bash-2.04# ./igniz_clean 1 Cleanning, umask config rule. |:[=============================================================] | 100.0% Cleanning, dir config rule. |:[=============================================================] - 100.0% Cleanning, file config rule. |:[=============================================================] | 100.0% Cleanning, process config rule. |:[==================> ] \ 29.6% Pid number 389 not found, delete inode: 25493506. FIXED. |:[===============================> ] / 51.9% Pid number 325 not found, delete inode: 21299202. FIXED. |:[=================================> ] - 55.6% Pid number 335 not found, delete inode: 21954562. FIXED. |:[====================================> ] \ 59.3% Pid number 376 not found, delete inode: 24641538. FIXED. |:[======================================> ] | 63.0% Pid number 387 not found, delete inode: 25362434. FIXED. |:[========================================> ] / 66.7% Pid number 329 not found, delete inode: 21561346. FIXED. |:[===============================================> ] | 77.8% Pid number 339 not found, delete inode: 22216706. FIXED. |:[=================================================> ] / 81.5% Pid number 380 not found, delete inode: 24903682. FIXED. |:[===================================================> ] - 85.2% Pid number 395 not found, delete inode: 25886722. FIXED. |:[=====================================================> ] \ 88.9% Pid number 397 not found, delete inode: 26017794. FIXED. |:[========================================================> ] | 92.6% Pid number 398 not found, delete inode: 26083330. FIXED. |:[==========================================================> ] / 96.3% Pid number 401 not found, delete inode: 26279938. FIXED. |:[=============================================================] - 100.0% Pid number 403 not found, delete inode: 26411010. FIXED. Cleanning, suid config rule. |:[=============================================================] - 100.0% Cleanning, supr config rule. |:[=============================================================] | 100.0% Cleanning, sock config rule. |:[=============================================================] / 100.0% bash-2.04# |
You can manage your system in best condition. If you regularly execute this
program.
6. Network socket manager program
igniz_sock is a command to set network socket permission for each user.
[Pic 8: igniz_sock command execution] Options: igniz_sock -option [user id]
-S or , -s option -Set permission at using socket() function, which does network connect. By cutting off this function, you can block illegal use of system as a by way.
-B or , -b option -Set permission at using bind() function, which opens port and make server to wait client connection. By cutting off this function, you can prevent network backdoor and port open.
-O or , -o option -Set permission at using setsockopt() function, which set socket options. By controlling this function, you can prevent user to change socket options .
(2) igniz_conf_sock igniz_conf_sock prints configuration for each user id. As following picture, you can see whether a user can use socket functions or not. In addition, [X] means denial.
[root@test bin]# ./igniz_conf_sock +-----------------+-----------------+-----------------+ | socket (-s) | bind (-b) | setsockopt (-o) | +-----------------+-----------------+-----------------+ | [X] | daemon | daemon | +-----------------+-----------------+-----------------+ | adm | [X] | adm | +-----------------+-----------------+-----------------+ | lp | [X] | lp | +-----------------+-----------------+-----------------+ | sync | sync | [X] | +-----------------+-----------------+-----------------+ | [X] | shutdown | shutdown | +-----------------+-----------------+-----------------+ | halt | [X] | halt | +-----------------+-----------------+-----------------+ | [X] | mail | mail | +-----------------+-----------------+-----------------+ | news | news | news | +-----------------+-----------------+-----------------+ | uucp | uucp | uucp | +-----------------+-----------------+-----------------+ | operator | operator | operator | +-----------------+-----------------+-----------------+ | games | games | games | +-----------------+-----------------+-----------------+ | gopher | gopher | gopher | +-----------------+-----------------+-----------------+ | ftp | ftp | ftp | +-----------------+-----------------+-----------------+ | nobody | nobody | nobody | +-----------------+-----------------+-----------------+ | rpm | rpm | rpm | +-----------------+-----------------+-----------------+ | rpcuser | rpcuser | rpcuser | +-----------------+-----------------+-----------------+ | nfsnobody | nfsnobody | nfsnobody | +-----------------+-----------------+-----------------+ | mailnull | mailnull | mailnull | +-----------------+-----------------+-----------------+ | smmsp | smmsp | smmsp | +-----------------+-----------------+-----------------+ | pcap | pcap | pcap | +-----------------+-----------------+-----------------+ | apache | apache | apache | +-----------------+-----------------+-----------------+ | squid | squid | squid | +-----------------+-----------------+-----------------+ | webalizer | webalizer | webalizer | +-----------------+-----------------+-----------------+ | xfs | xfs | xfs | +-----------------+-----------------+-----------------+ | named | named | named | +-----------------+-----------------+-----------------+ | ntp | ntp | ntp | +-----------------+-----------------+-----------------+ | gdm | gdm | gdm | +-----------------+-----------------+-----------------+ | pvm | pvm | pvm | +-----------------+-----------------+-----------------+ | desktop | desktop | desktop | +-----------------+-----------------+-----------------+ | radvd | radvd | radvd | +-----------------+-----------------+-----------------+ | x82 | x82 | x82 | +-----------------+-----------------+-----------------+ [root@test bin]# |
(3) igniz_del_sock igniz_del_sock removes allowance of using socket by a user.
[Pic 9: igniz_del_sock command execution]
This command uses same options as igniz_sock. It works only when you apply same functions. It means you need to use options that you set when you execute igniz_sock command. In picture upon, there is execution example of iniz_del_sock.
(You can confirm -s, -b, -o options are set, by using igniz_conf_sock command You will see all socket permissions are gone after excute igniz_del_sock with -bso options)
[Pic 10: igniz_suid command execution]
[Pic 11: igniz_del_suid command execution]
[root@test tmp]# igniz_admin WARNING: It's Security System Admin mode !!! admin password: |
[Pic 12: igniz_supr command execution]
Setting a switch user mode can cause abuse of root authority ,so you should be careful to use it.
[Pic 13: igniz_del_supr command execution]
(1) igniz_psset igniz_psset is a program to set process access authority. Options are as follow.
Options: igniz_psset [+permission option flag] [- permission option flag] [process id]
[Pic 14: igniz_psset command execution]
[root@test bin]# igniz_ps PERM USER GROUP PID PPID STATE NAME ----------------------------------------------------------------------- [--] root root 1 0 S init [--] root root 2 1 S keventd [--] root root 3 1 S kapmd [--] root root 4 1 S ksoftirqd_CPU0 [--] root root 9 1 S bdflush [--] root root 5 1 S kswapd [--] root root 6 1 S kscand/DMA [--] root root 7 1 S kscand/Normal [--] root root 8 1 S kscand/HighMem [--] root root 10 1 S kupdated [--] root root 11 1 S mdrecoveryd [--] root root 15 1 S kjournald [--] root root 73 1 S khubd [--] root root 1717 1 S kjournald [--] root root 2051 1 S mingetty [--] root root 2052 1 S mingetty [--] root root 2053 1 S mingetty [--] root root 2054 1 S mingetty [--] root root 2055 1 S mingetty [RK] igniz igniz 2419 1 S syslogd [RK] root root 2424 1 S klogd [RK] root root 2551 1 S eth0 [RK] igniz igniz 2599 1 S sshd [RK] igniz igniz 2609 1 S xinetd [RK] root root 2962 1 S mingetty [RK] root root 3264 2609 S in.telnetd [RK] root x82 3265 3264 S login [RK] x82 x82 3266 3265 S bash [--] x82 x82 3307 3266 S su [--] root root 3308 3307 S bash [RK] igniz igniz 3358 3308 S bash [RK] root root 3652 3358 R igniz_ps [root@test bin]# |
[Pic 15: Normal user ps command execution]
3307 and 3308 processes whice set -rk moed , are not found in the list.
10. Cracking prevention tools.
1. Shellcode execution block mode
2. Shellcode execution allow mode
[Pic 16: igniz_nonexec_sh command execution]
11. System update tools igniz_update
igniz_update checks and updates automatically when system version is updated.
[Pic 17: igniz_update command execution ]
12. Admin password changing tools.
[Pic: igniz_passwd command execution ]
-y or -Y option : Set period yearly.
-m or -M option : set period monthly.
-d or -D option : set period daily.
-h or -H option : print all options of igniz_passwd (help)
13. Configuration initialize tools
igniz_setup is a system initialize tool suplied in Happinux.
Options : igniz_setup [first factor] [second factor]
First factor: "U" or, "u" option - Retrun system umask setting default.
"C" or, "c" option - Return system file or directory setting default.
"S" or, "s" option - Return system setuid/gid setting default.
"P" or, "p" option - Return system process setting defautl.
"R" or, "r" option - Return system switch user mode setting default.
"K" or, "k" option - Return system network socket setting defautl.
"Q" or, "q" option - Program terminate command.
Second factor: "shutup" option - This option is to ignore warn message when initialize the system.
[root@test bin]# igniz_setup r supr setting. super user program setting (Y/N)? y Ok, It's verbose mode. program default super user setting. /admin/bin/igniz_admin program setting. Do you agree (Y/N/I)? y [*] /admin/bin/igniz_admin: file added successfully. Setting successfully. OK, super user program setting successfully. [root@test bin]# igniz_setup r shutup supr setting. program default super user setting. /admin/bin/igniz_admin program setting. [*] /admin/bin/igniz_admin: file added successfully. OK, super user program setting successfully. [root@test bin]# |
################# SELECT MENU #################
# #
# 'U' or 'u': umask default setting #
# 'C' or 'c': chmod default setting #
# 'S' or 's': suid default setting #
# 'P' or 'p': prct setting #
# 'R' or 'r': supr default setting #
# 'K' or 'k': sock default setting #
# 'Q' or 'q': quit #
# #
###############################################
Select Option? r
supr setting.
super user program setting (Y/N)? n
program default super user setting.
/admin/bin/igniz_admin program setting.
[*] /admin/bin/igniz_admin: file added successfully.
OK, super user program setting successfully.
[root@test bin]# |
As you see above , igniz_setup command also can use options after execution
igniz_logging System loggin is a program that sets enable kernel log storage or not.
Options: Options are defined by first input nuber , and each number has properties as fllow.
[º¸±â 4: igniz_break command execution]
(1) igniz_id igniz_id is a program to check admin user id.
[Pic 19: igniz_id command execution]
(2) igniz_version igniz_version is a program to check Happinux system version.
[Pic 20: igniz_version command execution]