- Metasploit
- Viproy
- Inviteflood
Attack Scenario
An internal attacker is calling the Director of Finance of the company by pretending that he is the CEO and he is requesting to transfer X amount of money to his bank account. The attacker is changing the header of the SIP INVITE request in order to spoof his caller ID to CEO. The Director of Finance accepts the call as the caller ID seems to be from CEO which is considered trusted and initiates the phone conversation with the attacker.The crafted malformed SIP INVITE message can be seen below:
Now let’s see how this type of attack can be conducted with the use of various tools.
Viproy
Viproy is penetration testing toolkit for VoIP assessments. It has been developed by Fatih Ozavci and it can be loaded to the Metasploit Framework. There is a specific module that can be used for Caller ID spoofing and in the image below you can see the configuration of the module:This will cause the phone device to ring with the custom message of our choice even from phone extensions that are not valid.
Inviteflood
Spoofed INVITE requests can be sent and from another tool which is called inviteflood and it is part of the Kali Linux. The main purpose of inviteflood is to be used for DoS (Denial of Service) attacks against SIP devices by sending multiple INVITE requests but it can accommodate our need to spoof our ID with the following command:The next image is showing the output and as we can see the phone is ringing with the ID of the CEO as per our scenario above.
Metasploit
Metasploit framework contains as well an existing module which can send a fake SIP INVITE message to an existing extension:The device will ring with the following message:
Conclusion
In order for the attack to be successful the PBX needs to allow anonymous inbound SIP calls. It is very easy to be implemented even from people with limited knowledge about VoIP and hacking that’s why systems owners need to ensure that their PBX’s prevents anonymous inbound calls to reach their legitimate users in order to mitigate the risk of this attack.
Fuente: http://pentestlab.wordpress.com/2014/07/14/caller-id-spoofing/
No hay comentarios:
Publicar un comentario