Hello everyone and hopefully somebody can give me a first step where I can begin investigating the reason to know why our Linux server appears to have attacked our service provider where the server is hosted on.
Today I received e-mail that one of our servers has been compromising one of our service provider customers as part of a coordinated DDoS botnet so they had to null-route it in order to mitigate so it went down and more or less all our business was down. They reviewed the captures from this attack and do not believe that our IP address was spoofed based on the limited number of distinct hosts attacking to they.
This is our Linux server hosting many different services connected to other our internal servers in infrastructure.
I need to investigate and be able to observe the attack that likely saturated the network adapter of the source. Since the source device is a member of a botnet that is being used for many attacks and I should see many other mysterious bursts of outbound traffic BUT THE PROBLEM IS:
We don't have any monitoring on this server installed so I cannot monitor the traffic that was going out from the server so the question is:
Is it possible to somehow track outbound traffic that was attacking our service provider's customers in Linux? Any commands that could help me? Maybe there are logs recorded?
I do have an information about last timestamps (at the very left). Source and destination IP addresses, protocols, and ports. Unfortunately I don't know where to start as this server doesn't have any monitoring and I don't have great Linux knowledge as I am pretty desperate now and of course, everything need to happen right before Christmas.
Any information will be kindly appreciated.
EDIT: I used
journalctl
by a given timestamp and now i'm able to see that there are numerous of attempts trying to connect to ssh but unsuccessfully tho one time session opened for root user with given response:
CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
After that, session for this user is closed.
Anyone knows what this should mean about?