Seven Steps to Better SIP Security with Asterisk

In case any of you were wondering why there has been a fairly notable upswing in the attacks happening on SIP endpoints, the answer is “script kiddies.” In the last few months, a number of new tools have made it easy for knuckle-draggers to attack and defraud SIP endpoints, Asterisk-based systems included. There are easily-available tools that scan networks looking for SIP hosts, and then scan hosts looking for valid extensions, and then scan valid extensions looking for passwords.


You can take steps, NOW, to eliminate many of these problems. I think the community is interested in coming up with an integrated Asterisk-based solution that is much wider in scope for dynamic protection (community-shared blacklists is the current thinking) but that doesn’t mean you should wait for some new tool to defend your systems. You can IMMEDIATELY take fairly common-sense measures to protect your Asterisk server from the bulk of the scans and attacks that are on the increase. The methods and tools for protection already exists – just apply them, and you’ll be able to sleep more soundly at night.

Seven Easy Steps to Better SIP Security on Asterisk:

1) Don’t accept SIP authentication requests from all IP addresses. Use the “permit=” and “deny=” lines in sip.conf to only allow a reasonable subset of IP addresess to reach each listed extension/user in your sip.conf file. Even if you accept inbound calls from “anywhere” (via [default]) don’t let those users reach authenticated elements! Contiued …

Related Posts

From GNOME 3 to GNOME Classic in 3 extensions, or why GNOME Classic has become redundant GNOME Classic is a GNOME 3 desktop designed to offer the look-and-feel of a GNOME 2/MATE desktop, that is, of a traditional or classic GNOME desktop. ...
Pentesting, digital forensics, and hacking distributions If you are interested in penetration testing (pentesting), digital forensics, and in playing with software applications that hackers use on a daily ba...
Installing NGINX and NGINX Plus With Ansible This article was originally published by Kevin Jones on the official Nginx website. Ansible is an open source tool for IT configuration management,...
How to disable fast startup in Windows 10 This is a very short article that shows how to disable the fast startup (fast boot) feature in Windows 10, a feature that makes Windows 10 boot much f...
Guide to dual-booting Dual-booting refers to the concept of installing two operating systems on the same computer, and having the option to choose which one to boot into wh...
The best Markdown editors for Linux During my search for a good Markdown editor for Linux, I came across a few that are good and a few that are not that good. See The search for a usable...

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

Your email address will not be published. Required fields are marked *

*