I have a server on AWS, GuardDuty started send me notifications:
*** "type":"Backdoor:EC2/C&CActivity.B!DNS",
*** {"domain":"libcurl.so","protocol":"UDP","blocked":false}
*** is querying a domain name associated with a known Command & Control server. ***
I've checked the server with all possible security tools and nothing found.
With tcpdump -A
I saw that my server send such kind of request about this domain.
I have turned on auditd. But nothing strange was found.
My question is, how to determine, which process exactly send this request?
auditd
will work - it's already a lost cause. Read how do I deal with a compromised server? - but first, shut the server off so it stops attacking people.