Port 8088 is the Hadoop YARN ResourceManager web UI port providing cluster-wide job management, queue monitoring, and application status. The ResourceManager controls all cluster resource allocation. Unrestricted access enables job submission and resource manipulation. Enable Kerberos and restrict to admin networks.
Port Number
8088
Protocol
TCP
Service
Hadoop YARN ResourceManager Web UI
Range
IANA Registered (1024–49151)
Check ResourceManager state and HA status
curl -s http://rm-host:8088/ws/v1/cluster/info | jq '{state: .clusterInfo.state, haState: .clusterInfo.haState}'List running applications (check for unauthorized submissions)
curl -s http://rm-host:8088/ws/v1/cluster/apps?states=RUNNING | jq '.apps.app[].name'List scheduler queues and their configs
curl -s http://rm-host:8088/ws/v1/cluster/scheduler | jq '.scheduler.schedulerInfo.queues.queue[].queueName'Detect exposed YARN ResourceManager (page title: 'All Applications')
nmap -p 8088 --script http-title targetcurl http://rm-host:8088/ws/v1/cluster/info
yarn application -list
http://resourcemanager:8088/cluster/appsYARN (Yet Another Resource Negotiator) was introduced in Hadoop 2.0 (2012) to separate resource management from MapReduce, enabling Spark, Tez, and other frameworks to share cluster resources. Port 8088 was chosen for the ResourceManager web UI. The REST API on the same port for application submission became the primary attack vector when clusters were exposed without Kerberos. Major crypto-mining campaigns (DemonBot 2018, Kinsing 2020) specifically target port 8088.
How do crypto-mining attacks exploit port 8088?
Attackers scan for open port 8088, then: (1) POST /ws/v1/cluster/apps/new-application to get an application ID, (2) POST /ws/v1/cluster/apps with a container spec that downloads and executes a crypto-miner (usually XMRig for Monero). The miner runs on every allocated NodeManager. Detection: monitor for unexpected applications, high CPU usage on NodeManagers, and outbound connections to mining pools (port 3333/5555).
Is Kerberos the only way to secure YARN?
Kerberos is the primary authentication mechanism for Hadoop. Alternatives: Apache Ranger (fine-grained authorization on top of Kerberos), Apache Knox (gateway proxy with LDAP/OAuth auth for REST APIs), or network isolation (private subnet + VPN). However, Kerberos is required for true security – without it, any API call on port 8088 is accepted. Cloud-managed Hadoop (EMR, Dataproc) handles Kerberos setup automatically.