Intelligent Wardialer

Intelligent Wardialer or iWar is wardialing software written completely in C by Da Beave ([email protected]), an old-school hacker well-known in the underground since he used to run (and still does!) a very nice "good old times" BBS on an OpenVMS VAX and AXP cluster and connected to the Internet (

iWar supports many features, including MySQL support (very professional!) and IAX2 for VoIP support (see Chapter 7 for more information about VoIP attacks and countermeasures). At this time and as far as we know, iWar is the first wardialing tool supporting VoIP in this fancy way! iWar may also be used in order to perform voice mailbox (VMB) attacks.

Here is a description of iWar's features:

• Full and normal logging Full logging records all possible events during dialing (busy signals, no answers, carriers, etc). By default, it only records things that you might find interesting (carriers and possible telco equipment).

• ASCII flat file and MySQL logging You can log to a traditional ASCII flat file and record information in a MySQL database.

• Random or sequential dialing

• Remote system identification When finding and connecting to a remote modem, iWar will remain connected and attempt to identify the remote system type.

• Keystroke marking When actively "listening" to iWar work, if you hear something interesting, you can manually "mark" it by pressing a key. You can also add a note about something you find interesting.

• Multiple modem support Well, hey—this is UNIX. iWar will support as many modems as you can hook up to it.

• Nice "curses"-based display This means if you're using iWar from a Linux console or a VT100-based terminal, it should work fine. This is not an escape sequence kludge, but true "curses."

• Full modem control Unlike other kludges, iWar doesn't just open the modem as a typical "file." It controls the baud rate, parity, CTS/RTS (hardware flow control), and DTR (data terminal ready). This is important for controlling the modem and making it perform the way you want it to during scanning, for example, DTR hang-ups.

• Blacklisted phone number support For numbers the system should never dial.

• Save state If, within the middle of a wardialing session, you want to quit, you can save the current state to a file. This allows you to come back later and restart iWar where you left off (via the ' option).

• Load pregenerated numbers You can load a file (via the -L option) of numbers that you want to dial. This is useful for loading numbers generated by another routine (Perl or shell script, etc.).

• Tone location If your modem supports it, iWar uses two different methods: traditional ATDT5551212w (Toneloc-like) and silence detection.

• System banners Records remote system banners on connection for later review.

• Attacks iWar can be used to attack PBXs and voicemail systems.

• Terminal window Allows you to watch modem interactions and carrier results in real time.

• Support for the Intra-Asterisk eXchange (IAX2) VoIP protocol This allows you to scan without needing additional hardware.

• Full-blown VoIP client In IAX2mode, key 0-9, * and # play their DTMF equivalents. In this mode, you can also talk directly to the remote target (using a microphone) if so desired.

• Caller ID number In IAX2 mode, if your VoIP provider supports it, you can "set" your caller ID number for caller ID spoofing.

• Source code Comes with complete source code and is released under the GNU General Public License at

Since iWar is so well written and full of functionalities, it is worth listing its usage and parameters (see Figures 6-1 and 6-2).

[email protected]:-

Eternr. Font Background Terminal

5551535 5551894




HTDT9195551378 VOICE


5551321 _

5551G23 5551891 5551803



5551187 5551102 5551810 5551030 55517E7 5551443


iwar [parameters] -r [dial range]


-h : Prints this screen

-s : Speed/Baud rate [Serial default: 1200] [IAX2 mode disabled]

-p : Parity (None/Even/Odd) [Serial default 'N'one] [IAX2 mode disabled]

-d : Data bits [Serial default: 8] [IAX2 mode disabled]

-t : TTY to use (modem)[Serial default /dev/ttyS0] [IAX2 mode disabled]

-c : Use software handshaking (XON/XOFF)[Serial default is hardware flow control] [IAX2

mode disabled]

-f : Output log file [Default: iwar.log]

-e : Pre-dial string/NPA to scan [Optional]

-g : Post-dial string [Optional]

-a : Tone Location (Toneloc W; method) [Serial default: disabled] [IAX2 mode disabled]

-x : Sequential dialing [Default: Random]

-F : Full logging (BUSY, NO CARRIER, Timeouts, Skipped, etc)

-b : Disable banners check [Serial Default: enabled] [IAX2 mode disabled]

-o : Disable recording banner data[Serial default: enabled] [IAX2 mode disabled]

-L : Load numbers to dial from file

-l : Load 'saved state' file (previously dialed numbers)

Was this article helpful?

0 0
The Ultimate Computer Repair Guide

The Ultimate Computer Repair Guide

Read how to maintain and repair any desktop and laptop computer. This Ebook has articles with photos and videos that show detailed step by step pc repair and maintenance procedures. There are many links to online videos that explain how you can build, maintain, speed up, clean, and repair your computer yourself. Put the money that you were going to pay the PC Tech in your own pocket.

Get My Free Ebook

Post a comment