Solved Installing 3CX on a network that uses Snort IDS

Status
Not open for further replies.

Asis747

New User
Joined
Apr 25, 2021
Messages
2
Reaction score
1
Hi, I'm trying to install 3CX for the first time on my ESXi 6.7 server. After downloading the Debian ISO and following this guide (https://www.3cx.com/docs/manual/installing-debian-linux-pbx/) I'm stuck between step 16 and 17. The server finishes the installation of Debian and reboots. Step 17 says I should get a welcome to 3CX page after the system reboots, but instead I'm greeted with a standard Debian console login page asking me for my username, almost like the Debian installation skipped the part of installing 3CX. After redownloading the Debian ISO and trying this process a second time I had the same results. I had to think outside the box and started checking my network logs. I checked my pihole dns blocker and did not see any issues as far as DNS being blocked. Furthermore, I then check Snort IDS on my pfsense router. Sure enough at some point during the installation of Debian it reaches out to this ip 151.80.125.73 on port 80 TCP and tries to download something. That ip is owned by 3CX https://www.whatismyip.com/ip-whois-lookup/
Snort classifies this actions as:
DateActionPriProtoClassSource IPSPortDestination IPDPortGID:SIDDescription
2021-04-25
08:10:35
1TCPA Network Trojan was Detected151.80.125.73
806x.xxx.xxx.xxx
256951:47873
MALWARE-OTHER Unix.Miner.Xbash variant dropped bash script

I think it's just a false positive but according to Snort during the 3CX installation it reaches out to that ip and downloads a bash script that's Snort classifies as a variant of Unix.Miner.Xbash.

Given all that I made the change to Snort to allow that ip and was able to finish the installation of 3CX.

One request for the dev team would be to have the Debian install throw an error if it can't download the 3CX install bash script. Something like "Network error can not download 3CX installation bash script" would be very helpful.
Lastly, maybe you can download the script over https instead of http?
 
Or maybe you can disable IDS for the installation time. Or remove the 3CX from the protected network and put it on a DMZ?

It will always download stuffs in the background, so this issue will reproduce a lot.
 
Or maybe you can disable IDS for the installation time. Or remove the 3CX from the protected network and put it on a DMZ?

It will always download stuffs in the background, so this issue will reproduce a lot.
Thanks for the tip. I added 3cx to the suppression list for Snort. Hopefully that will solve the problem.
 
  • Like
Reactions: NickD_3CX
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet