• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 151
  • Last Modified:

Find application using port 25 on server 2008R2

I have a server that appears to be randomly sending out traffic over port 25.  To the best of my knowledge this server should not be sending out any traffic over port 25. I have checked with the application vendor and they have confirmed that their software does not use port 25.  This server does run IIS and SQL.  I don't see any configurations in IIS for SMTP or SMTP relay.  I am concerned that there may be malicious activity going on.

I have run wireshark on that server and have verified that the traffic is coming from that server. Each time the event is logged there are only about 3 lines that appear in wireshark. (outbound 25 blocked on edge firewall. Used wireshark to verify traffic originating from the server)

I have run several TCP monitoring applications but the traffic is happening so quick that they don't show what application is opening the port.
The local windows firewall is not running but an edge firewall is running. That is how I see the traffic occurring. I am blocking port 25 from that server on the edge firewall.

I will have to coordinate with the users to be able to turn on the windows firewall as to not interrupt legit traffic.

The destination is 216.35.196.35 and that resolves back to server302.com.  
Whois information on server302 indicates that the administrator is in Bulgaria, but that might be the enom.com administrator
Whois information on the IP points to Savvis / SureSupport LLC
Geolocation data puts the location at Walthan, Massachusetts
The IP address appears to be a DNS server - ns1.server302.com
SureSupport appears to be a hosting provider where server302.com is hosted.

Why would an application be sending port 25 traffic to a name server?
Any ideas on how to find out what application is opening port 25 of this server?
0
jpgillivan
Asked:
jpgillivan
  • 2
  • 2
1 Solution
 
Todd NelsonSystems EngineerCommented:
Take a look at the Windows Sysinternals tools.  There might be something you can download and run on that server to look at suspicious processes like Sysmon and Process Explorer.

https://technet.microsoft.com/en-us/sysinternals

Anything look out of the ordinary in Programs and Features?
0
 
Cyclops3590Commented:
agree with todd nelson.  sysinternals has a tool called tcpview that can help in such cases.  it's been years since I've been on windows so I can't remember precisely all options, but you should be able to filter results so even though things happen fast, as you say, you should hopefully be able to see what is going on.

if that doesn't work, the only other solution i can think of is writing a small batch file that will call netstat (just dump everything so you're sure you don't miss something) as well as the tasklist command output.  then do an infinite loop running that as it dumps the output to a file.  then watch wireshark to see when the traffic happens again.  once it does you can kill the batch loop, scour the logs for the pid.  this will most likely produce an absolute ton of output though so I'd only do it if tcpview or other sysinternal tools can't help
0
 
jpgillivanConsultantAuthor Commented:
I tried TCPView but that did not work as the socket open time was too short.  

I was finally able to get the offending program information using ProcessMonitor.  Then I used the "network summary" in the tools menu, found the entry with the url, double clicking on it automatically applied a filter to the output.  Then I was able to see the application and PID.  

Thanks.
2
 
Cyclops3590Commented:
@jpgillivan

just want to give you kudos for giving such a great and comprehensive closing comment so that people who look at this question will know precisely what to do.  awesome job!
0
 
jpgillivanConsultantAuthor Commented:
Thanks.  I hate it when an original poster simply says that they fixed it or found the issue.
1

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now