Caller ID Spoofing: How to do it :)

3 years ago 226
BOOK THIS SPACE FOR AD
ARTICLE AD

vicky

Hey guys it’s my first writeup. Hope you guys are doing good, lets jump into our topic.

What is Caller ID spoofing?

Call spoofing is when the caller deliberately sends false information to change the caller ID. Most spoofing is done using a VoIP (Voice over Internet Protocol) service or IP phone that uses VoIP to transmit calls over the internet.

Things Required:

1) Ubuntu server.

2) Asterisk-(open source software)

3)Sip trunk-GoTrunk

4)zoiper-softphone

Setting up Ubuntu Server:

Download ubuntu server in the below mentioned link

https://ubuntu.com/download/server

You can set up the ubuntu server in

Cloud like Aws EC2 instances, Asure cloud oryou can install ubuntu server manually in windows or Mac using virtualbox.

Follow up the steps to install ubuntu in virtualbox,

Follow up the steps to launch ubuntu in cloud,

Installing Asterisk:

Once you finished setting up your ubuntu server. you need to install Asterisk on the ubuntu server

Execute the below commands:

sudo apt-get update

sudo apt-get upgrade

Install required packages:

apt-get install build-essential openssl libxml2-dev libncurses5-dev uuid-dev sqlite3 libsqlite3-dev pkg-config libjansson-dev

wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-18-current.tar.gz

Compile and install:

tar xf asterisk-18-current.tar.gz
cd asterisk-18
./configure
make && make install

once Asterisk is installed, type in make menuselect

Go to Channel driver and make sure chan_sip is marked

then save & quite.

Backup configuration files which come with Asterisk default installation:

cd /etc/
mv asterisk asterisk.orig

Install git (if not already present on your system):

apt-get install git-core

Clone Gotrunk configuration file:

git clone https://github.com/GoTrunk/asterisk-config.git asteriskcd /etc/asterisk
git checkout dynamic-ip

Now we want to update configuration file, type in

vim sip.conf(Note:clt+c :wq- to exit from vim)

Change !!!ReplaceWithProperPassword!!! with what you want in my case its “testpassword”

Registering in Gotrunk(sip-trunk):

We have to have sip credentials to connect to the globe.There are providers available,

I’ll prefer Gotrunk.com

Make sure you give the proper details .once you done

Go the Sip endpoints and you’ll have the Sip credentials

Switch back to the asterisk , type

vim sip.conf

Enter the sip credentials that you got in Gotrunk.com

Configuring Zoiper with Asterisk:

Zoiper is a FREE IAX and SIP softphone application for voip calls over 3G or WiFi

install zoiper using below link

Once its done ,

Enter the Credentials

your username @ your ubuntu ip

password-you entered in sip.conf

That’s it…Now you can call anyone over wifi or internet..

You can change caller id manually everytime in sip.conf file

or use this script

Go to


cd /etc/asterisk
mv extension.conf ext-temp.conf
vim callspoof.sh

Enter the below script

#!/bin/bash
rm extensions.conf
sed "s/CALLSPOOF/$1" < ext-temp.conf > extensions.conf
asterisk -rx "core restart now"

save it . then make executable using

chmod +x callspoof.sh

then run like this

./callspoof.sh “any number you want to display”

Thank you:)

Read Entire Article