security

computer security related topic

GNU/Linux, security, Server, SSH, Ubuntu/Debian

Tips for Securing SSH in Linux Box (Securing SSH Series)

Secured Shell or SSH is a great way to enable a secure login for your UNIX / Linux Box. However there are precaution that you should take in order to properly secure SSH daemon from being scanned or attacked by script kiddies or automated bots. This week I’m going to write a series of article […]

Computers, GNU/Linux, security, Server, Ubuntu/Debian

Ubuntu: How to create a lot of entropy for GPG key generation from command line

Desktop Ubuntu users may have several ways to generate entropy relatively secure GPG keys (=>2048 bits), usually by moving the mouse and by typing random words. However this creates certain problem, for command-line user (especially those who are connecting through remote VPS connection). Here’s a tip on how to produce enough entropy for GPG key […]

Computers, Internet Stuff, security, Web Server

Mypapit GNU/Linux blog is now served with CloudFlare!

After long and careful consideration, I decided to enable CloudFlare for my blog. CloudFlare is a content delivery network which aims to enhance website security and performance. CloudFlare CDN offers protection againts many forms of malicious activity including: spammers, email harvesters, SQL Injection, XSS, denial-of-service attack and suspicious web requests. Therefore saving valueable bandwidth from […]

Computers, security, Server, Tips & Guides

How to secure server from SYN-flood attack using iptables

SYN-flood attack is commonly utilized as a mean to disrupt network communication and it is a form of (Distributed Denial-of-Service) DDOS attack. RFC4987 details common mitigation to deal with SYN-flood attack. However in this post, I’m going to share you the method that I use to reduce the risk of SYN-flood attack from my department […]

Computers, security, Server

Please update/patch and secure Litespeed web server

Due to the widespread of Litespeed 0-day attack which has affected local websites, it’s imperative for all sysadmin and website operator to patch/update and upgrade the security of the Litespeed web server. This attack is dangerous particularly because the attacker can gain shell access with the same privileges of the web server or the user […]

GNU/Linux, Internet Stuff, Open Source, security, Server, Ubuntu/Debian

How to Hide Apache2 and PHP version without using mod_security in Ubuntu Linux

Although security by obscurity is not the best policy to protect your IS assets, but it is still useful to thwarts simple network scanner or newbie crackers. Note: This tip is written for Ubuntu Linux, the steps is similar to other GNU/Linux distro, albeit with a slight variant. Hiding Apache2 version Edit /etc/apache2/apache2.conf Add these […]

Computers, GNU/Linux, security, Server, Ubuntu/Debian

Limiting the number of connections to SSH Server using Iptables

This is the quickest way to limit the number of connection to your SSH server with iptables. [bash] sudo /sbin/iptables -A INPUT -p tcp –syn –dport 22 -m connlimit –connlimit-above 5 -j REJECT [/bash] This will only allow up to 5 concurrent connections to the SSH server, subsequent connections will be rejected by iptables, thus […]

Computers, security, Server, Tips & Guides

How to Secure SSH server from Brute-Force and DDOS with Fail2ban ( Ubuntu )

Fail2ban is a security tool used for preventing brute-force attack and Distributed Denial of Service (DDoS) attack to your GNU/Linux box. Fail2ban monitors failed login attempts and subsequently blocks the ip address from further logins. Although Fail2ban can also be used to secure other services in Ubuntu server, in this post, I will only focus […]

Computers, security, Server

How to limit MySQL port access to specific network

MySQL service port are not meant to be accessible to the outside world as it would become a security concern to the administrator. Although MySQL server (mysqld) by itself has a built-in mechanism to deny access from unauthorized ip-address, it still does not protect it from being overwhelmed by multiple malicious requests or buffer overflow […]

Computers, GNU/Linux, security, Ubuntu/Debian

How to make sudo display funny error messages in Ubuntu Linux

sudo is probably the most used command in Ubuntu. In this post, I will show you how to make ‘sudo’ display funny and humorous error messages in Ubuntu Linux. To do that, you would only need to edit the /etc/sudoers : sudo nano /etc/sudoers Then find the line that starts with Defaults env_reset, add insults […]

Computers, security, Tips & Guides

How to crack SHA1, MD5 and Windows NTLM password hash using Rainbow tables in Linux

Rainbow tables is a form of attack method used to crack stored cryptographic hashes commonly used as passwords in various application. It is similar to brute-force and dictionary attack that it will try to compare the resulting hash with the hash it attempts to crack, except in Rainbow tables, the possible matching hashes are all […]

Computers, GNU/Linux, security, Server, Ubuntu/Debian

Professional Bitcoin Mining Rig Listing

I previously blogged about how to mine bitcoin in Ubuntu Linux using appropriate GPU. However, here are the video of professional bitcoin mining rigs used to generate bitcoin. The combine GPU processing power is capable of processing up to 48 Gigahash/sec! There are also mining rigs available for purchase from BitcoinRigs.com Further reading: Bitcoin Mining […]

Computers, GNU/Linux, security, Ubuntu/Debian

Crack zip file password with FCrackzip

Fcrackzip is a tool that can be used to crack zip files encrypted with ZipCrypto algorithm through dictionary-based and brute-force attack. The brute force attack can be configured to use the combination of lower,upper, numerical characters or with other symbols or punctuation marks. Example usage: fcrackzip -u -v -l 1-6 -c a example.zip fcrackzip -u […]

Scroll to Top