Hacker? Please have a look at the short log

I think I have a hacker but not sure how to go about it.

I was watching the log and it has this instance in it every minute or so:

>   == Using SIP RTP TOS bits 184
>   == Using SIP RTP CoS mark 5
>     -- Executing [[email protected]:1] NoOp("SIP/", "Received incoming SIP connection from unknown peer to 009441519471676") in new stack
>     -- Executing [[email protected]:2] Set("SIP/", "DID=009441519471676") in new stack
>     -- Executing [[email protected]:3] Goto("SIP/", "s,1") in new stack
>     -- Goto (from-sip-external,s,1)
>     -- Executing [[email protected]:1] GotoIf("SIP/", "0?checklang:noanonymous") in new stack
>     -- Goto (from-sip-external,s,5)
>     -- Executing [[email protected]:5] Set("SIP/", "TIMEOUT(absolute)=15") in new stack
> Channel will hangup at 2022-04-28 09:41:30.703 PDT.
>     -- Executing [[email protected]:6] Answer("SIP/", "") in new stack
>     -- Executing [[email protected]:7] Wait("SIP/", "2") in new stack
>     -- Executing [[email protected]:8] Playback("SIP/", "ss-noservice") in new stack
>     -- <SIP/> Playing 'ss-noservice.ulaw' (language 'en')
>        > doing dnsmgr_lookup for 'norland.sip.telifon.com'
>     -- Executing [[email protected]:9] PlayTones("SIP/", "congestion") in new stack
>     -- Executing [[email protected]:10] Congestion("SIP/", "5") in new stack
>   == Spawn extension (from-sip-external, s, 10) exited non-zero on 'SIP/'
>     -- Executing [[email protected]:1] Hangup("SIP/", "") in new stack
>   == Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/'
> [2022-04-28 09:41:47] WARNING[3098]: chan_sip.c:3641 retrans_pkt: Retransmission timeout reached on transmission 1450415242-1051076709-666283442 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
> Packet timed out after 32000ms with no response

I jumped on chanspy and I hear:
"SIP 70" (my parking lot extension). The number you have dialed is not in service. Please check the number and try again," then the beeping

I am 99.9% sure that one of our extensions is doing this. I only have 4 local sip phones, 2 remote sip phones, and 2 copper line phones. All but the remote phones are in reach. The 2 remote phones are at home and my wife says no activity as far as she can tell.

The sip extension "SIP/ seems to climb 1 number every time it tries.
IE: 27,28,29,2a,2b,2c,2d,2e,2f

PLEASE NOTE: I changed the IP address ( and user to my sip trunk (norland) for my security :slight_smile:

You have allow guests enabled in Asterisk SIP Settings and you are allowing untrusted access to the chan_sip signaling port, which will result in these types of calls. Suggest you disable guests and if possible lock down your firewall to trusted source IPs.

Thank you!
I’m 99% sure I had guests disabled in the SIP settings before. You are right.
I will have to play with the firewall.
I suppose I will have to change my admin passwords as well in the event they changed the guest setting that way.
Thanks again, especially for the lightning fast response. I am always open to suggestions if you have any followup :slight_smile:

Based only on what’s provided above, there is no exploit here. This is analogous to a stranger ringing the doorbell not jimmying the lock.

Thanks again. I am now getting this every minute. We do not have an extension of 200:

> [2022-04-28 10:14:00] NOTICE[3098]: chan_sip.c:22566 handle_request_invite: Sending fake auth rejection for device <sip:[email protected]>;tag=1555105607
> [2022-04-28 10:14:00] NOTICE[3098]: chan_sip.c:22566 handle_request_invite: Sending fake auth rejection for device <sip:[email protected]>;tag=1555105607
>        > doing dnsmgr_lookup for 'norland.sip.telifon.com'
>        > doing dnsmgr_lookup for 'norland.sip.telifon.com'

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.