Created 06-03-2020 03:02 AM
Dr.who is running on my CDH 6.3, I've seen its crontab also using YARN user:
I've already remove the files of this and I want to implement some restrictions using firewalld,
how can I block this virus on running on my YARN 8088? do I need to block the 8088 port in all nodes? and what IP addresses do I need to insert for whitelisting? below is my current rules in firewalld:
public
target: default
icmp-block-inversion: no
interfaces:
sources:
services: dhcpv6-client ssh
ports: 8042/tcp 7191/tcp 2181/tcp 3181/tcp 4181/tcp 9010/tcp 8044/tcp 8041/tcp 8040/tcp 8091/tcp 9091/tcp 9995/tcp 9994/tcp 7184/tcp 7185/tcp 8084/tcp 8087/tcp 9087/tcp 9999/tcp 9998/tcp 9867/tcp 9866/tcp 9864/tcp 9865/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule family="ipv4" source address="195.3.146.118" reject
Appreciate your help on this! thanks!
Created on 06-03-2020 07:23 AM - edited 06-03-2020 07:32 AM
Hello @Mondi ,
thank you for sharing with us your concerns. I believe you were referring to the thread under [1].
dr.who is a username used for all unauthenticated users who submit job to YARN. You can be subject to malware attacks when your cluster is not secured and connected to the Internet. Please see [2] on this topic and how to remedy.
Please always secure your cluster [3]. Make sure you enable authentication for web consoles [4] (securing your UIs). Once enabled, secured web UI will require SPNEGO to be configured on the browser you are accessing it e.g. the YARN Web UI.
Please let us know if you need more information on this topic.
Thank you:
Ferenc
[2] https://blog.cloudera.com/protecting-hadoop-clusters-from-malware-attacks/
[3] https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/security.html
[4] https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cm_sg_web_auth.html
Ferenc Erdelyi, Technical Solutions Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
Created 06-05-2020 06:58 AM
You would still need to secure your cluster since any user can be impersonated in a non kerberised cluster.
Refer https://blog.cloudera.com/how-to-secure-internet-exposed-apache-hadoop/
for more details on securing your cluster.
Created 06-03-2020 07:02 AM
You should set yarn acls to restrict user access on YARN.
Please check if dr.who is part of yarn admin acl configurations in YARN. Remove the user in this case and set dedicated user and groups for yarn access
Also refer
Hope this helps,
Paras
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created 06-03-2020 10:44 PM
Hi @paras do you think this is now somehow sufficient? only the know users are indicated on the Admin ACL, can dr.who no longer ran a job in my yarn? :
Created 06-05-2020 06:58 AM
You would still need to secure your cluster since any user can be impersonated in a non kerberised cluster.
Refer https://blog.cloudera.com/how-to-secure-internet-exposed-apache-hadoop/
for more details on securing your cluster.
Created on 06-03-2020 07:23 AM - edited 06-03-2020 07:32 AM
Hello @Mondi ,
thank you for sharing with us your concerns. I believe you were referring to the thread under [1].
dr.who is a username used for all unauthenticated users who submit job to YARN. You can be subject to malware attacks when your cluster is not secured and connected to the Internet. Please see [2] on this topic and how to remedy.
Please always secure your cluster [3]. Make sure you enable authentication for web consoles [4] (securing your UIs). Once enabled, secured web UI will require SPNEGO to be configured on the browser you are accessing it e.g. the YARN Web UI.
Please let us know if you need more information on this topic.
Thank you:
Ferenc
[2] https://blog.cloudera.com/protecting-hadoop-clusters-from-malware-attacks/
[3] https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/security.html
[4] https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cm_sg_web_auth.html
Ferenc Erdelyi, Technical Solutions Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: