# A SIP register hacker!?

**URL:** <https://community.asterisk.org/t/a-sip-register-hacker/26890>\
**Category:** Asterisk Support\
**Created:** [May 6, 2009, 11:42am UTC](https://community.asterisk.org/t/a-sip-register-hacker/26890 "2009-05-06T11:42:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nypon](https://avatars.discourse-cdn.com/v4/letter/n/b77776/32.png) [@nypon](https://community.asterisk.org/u/nypon)\
**Post date:** [May 6, 2009, 11:42am UTC](https://community.asterisk.org/t/a-sip-register-hacker/26890/1 "2009-05-06T11:42:24Z")

</div>

It looks like someboddy is trying to register with my PBX!

My IP, but edited to = 111.111.111.111  
Probably the hacker = 62.216.189.249

`[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"4260759430"<sip:4260759430@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"3385336812"<sip:3385336812@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"test"<sip:test@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"test123"<sip:test123@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"test12"<sip:test12@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"guest"<sip:guest@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"admin"<sip:admin@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"administrator"<sip:administrator@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"account"<sip:account@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"mark"<sip:mark@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"michael"<sip:michael@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"alex"<sip:alex@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"test1"<sip:test1@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"root"<sip:root@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"asterisk"<sip:asterisk@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"temp"<sip:temp@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
[May 6 04:52:54] NOTICE[24916] chan_sip.c: Registration from '"1"<sip:1@111.111.111.111>' failed for '62.216.189.249' - No matching peer found
...
...
...
`

This goes on and on and on, [sip:2@111.111.111.111](mailto:sip:2@111.111.111.111), [sip:3@111.111.111.111](mailto:sip:3@111.111.111.111), [sip:4@111.111.111.111](mailto:sip:4@111.111.111.111) …

```auto

```

and at 9999 it ends!

As I can see they could not register at all, but I don’t like these kind of error in my logfiles!

The funny thing is that I have ext 6000 - 6010 that I uses to register with, localy on my private network and also from internet, but in the log file I got the same error msg for them, - No matching peer found!

I’m using fail2ban-0.8.3, but i’m not sure that it noticed this?

Does someboddy know where I can find info on how to prevent this, and/or a good installation/config guide for fail2ban!

---

<div class="post-metadata">

**Author:** ![Dovid](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dovid](https://community.asterisk.org/u/Dovid)\
**Post date:** [May 8, 2009, 6:44pm UTC](https://community.asterisk.org/t/a-sip-register-hacker/26890/2 "2009-05-08T18:44:32Z")

</div>

I know there are people trying to make calls off other people’s Asterisk server’s being that a lot of people do not know security with Asterisk. If your asterisk configurations are correct you should not have an issue.

I have never used fail2ban so I can’t help you out there 😉

---

<div class="post-metadata">

**Author:** ![nypon](https://avatars.discourse-cdn.com/v4/letter/n/b77776/32.png) [@nypon](https://community.asterisk.org/u/nypon)\
**Post date:** [May 8, 2009, 7:03pm UTC](https://community.asterisk.org/t/a-sip-register-hacker/26890/3 "2009-05-08T19:03:17Z")

</div>

Thanks for your reply!

I think my Asterisk is pretty secure, but I don’t like that kind of things in my log files!

How secure the box is, you might have forgotten something!  
I just want to secure it as good as it is possible!

I will look for more info on fail2ban.  
I think that one is pretty good when you got it up and running!
