{"id":122038,"date":"2022-02-24T06:00:33","date_gmt":"2022-02-24T14:00:33","guid":{"rendered":"https:\/\/unit42.paloaltonetworks.com\/?p=122038"},"modified":"2022-02-24T02:01:25","modified_gmt":"2022-02-24T10:01:25","slug":"sockdetour","status":"publish","type":"post","link":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/sockdetour\/","title":{"rendered":"SockDetour: \u7c73\u56fd\u9632\u885b\u95a2\u9023\u4f01\u696d\u3092\u3072\u305d\u304b\u306b\u72d9\u3046\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u30fb\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u306e\u30d0\u30c3\u30af\u30c9\u30a2"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>Unit 42\u3067\u306f\u3042\u308bAPT\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092TiltedTemple\u3068\u3044\u3046\u540d\u524d\u3067\u8ffd\u8de1\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u306f\u6700\u521d\u306b\u3001\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u304cZoho ManageEngine ADSelfService Plus\u306e\u8106\u5f31\u6027<a href=\"https:\/\/www.manageengine.com\/products\/self-service-password\/kb\/how-to-fix-authentication-bypass-vulnerability-in-REST-API.html\"> CVE-2021-40539<\/a>\u3068ServiceDesk Plus\u306e\u8106\u5f31\u6027CVE-2021-44077\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u7279\u5b9a\u3057\u307e\u3057\u305f\u3002\u540c\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306b\u95a2\u4e0e\u3057\u305f\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u3089\u306f\u3055\u307e\u3056\u307e\u306a\u624b\u53e3\u3067\u4fb5\u5bb3\u30b7\u30b9\u30c6\u30e0\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3068\u6301\u7d9a\u6027\u3092\u78ba\u4fdd\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u307e\u3067\u306b\u30c6\u30af\u30ce\u30ed\u30b8\u3001\u30a8\u30cd\u30eb\u30ae\u30fc\u3001\u30d8\u30eb\u30b9\u30b1\u30a2\u3001\u6559\u80b2\u3001\u91d1\u878d\u3001\u9632\u885b\u306a\u3069\u306e\u30bb\u30af\u30bf\u306b\u307e\u305f\u304c\u308b\u5341\u6570\u793e\u306e\u4fb5\u5bb3\u306b\u6210\u529f\u3057\u3066\u3044\u307e\u3059\u3002\u540c\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092\u3055\u3089\u306b\u5206\u6790\u3057\u305f\u3068\u3053\u308d\u3001\u6301\u7d9a\u6027\u7dad\u6301\u306e\u305f\u3081\u306b\u5225\u306e\u9ad8\u5ea6\u306a\u30c4\u30fc\u30eb\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002Unit 42 \u3067\u306f\u3053\u306e\u30c4\u30fc\u30eb\u3092SockDetour\u3068\u547c\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<p>\u30ab\u30b9\u30bf\u30e0\u30d0\u30c3\u30af\u30c9\u30a2\u3067\u3042\u308bSockDetour\u306f\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30c9\u30a2\u304c\u524a\u9664\u3055\u308c\u305f\u5834\u5408\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d0\u30c3\u30af\u30c9\u30a2\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4fb5\u5bb3\u3057\u305fWindows\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u3001\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u3067\u52d5\u4f5c\u3059\u308b\u305f\u3081\u672c\u30c4\u30fc\u30eb\u306e\u691c\u51fa\u306f\u56f0\u96e3\u3067\u3059\u3002TiltedTemple\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306e\u30de\u30eb\u30a6\u30a7\u30a2\u914d\u5e03\u306b\u4f7f\u7528\u3055\u308c\u305f\u30b3\u30de\u30f3\u30c9\uff06\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb(C2)\u30a4\u30f3\u30d5\u30e9\u306e1\u3064\u306b\u306f\u3001SockDetour\u306e\u307b\u304b\u306b\u30e1\u30e2\u30ea\u30c0\u30f3\u30d7\u30c4\u30fc\u30eb\u3084\u8907\u6570\u306eWeb\u30b7\u30a7\u30eb\u306a\u3069\u306e\u96d1\u591a\u306a\u30c4\u30fc\u30eb\u304c\u30db\u30b9\u30c8\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u79c1\u305f\u3061\u306fSockDetour\u3092TiltedTemple\u5185\u306e1\u3064\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3068\u3057\u3066\u8ffd\u8de1\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u304c\u5358\u4e00\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u306b\u3088\u308b\u3082\u306e\u304b\u8907\u6570\u306e\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u304c\u304b\u3089\u3093\u3067\u3044\u308b\u306e\u304b\u306f\u307e\u3060\u3088\u304f\u308f\u304b\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>Unit 42\u306e\u30c6\u30ec\u30e1\u30c8\u30ea\u30c7\u30fc\u30bf\u3068\u53ce\u96c6\u30b5\u30f3\u30d7\u30eb\u306e\u5206\u6790\u7d50\u679c\u304b\u3089\u3001SockDetour\u306e\u80cc\u5f8c\u306b\u3044\u308b\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u306f\u3001\u3053\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u7c73\u56fd\u3092\u62e0\u70b9\u3068\u3059\u308b\u9632\u885b\u95a2\u9023\u4f01\u696d\u3092\u6a19\u7684\u306b\u3057\u3066\u3044\u305f\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002Unit 42\u306f\u3001\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3067\u5c11\u306a\u304f\u3068\u30824\u3064\u306e\u9632\u885b\u95a2\u9023\u4f01\u696d\u304c\u6a19\u7684\u3068\u306a\u308a\u3001\u5c11\u306a\u304f\u3068\u30821\u3064\u306e\u8acb\u8ca0\u696d\u8005\u304c\u4fb5\u5bb3\u3092\u53d7\u3051\u305f\u3068\u3044\u3046\u8a3c\u62e0\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305fUnit 42\u306fSockDetour\u304c\u5c11\u306a\u304f\u3068\u30822019\u5e747\u6708\u304b\u3089\u5b9f\u969b\u306b\u5229\u7528\u3055\u308c\u3066\u3044\u305f\u53ef\u80fd\u6027\u304c\u3042\u308b\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002\u516c\u958b\u30ea\u30dd\u30b8\u30c8\u30ea\u306bSockDetour\u306e\u8ffd\u52a0\u30b5\u30f3\u30d7\u30eb\u306f\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u306e\u3067\u3001\u3053\u306e\u30d0\u30c3\u30af\u30c9\u30a2\u306f\u9577\u3044\u9593\u3046\u307e\u304f\u691c\u51fa\u3092\u9003\u308c\u3066\u304d\u305f\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u306b\u95a2\u9023\u3057\u3066\u89b3\u6e2c\u3055\u308c\u305f\u30c6\u30af\u30cb\u30c3\u30af\u3084\u305d\u308c\u306b\u5bfe\u5fdc\u3057\u3066\u3068\u308b\u3079\u304d\u884c\u52d5\u6307\u91dd\u5168\u4f53 (CoA) \u3092\u8996\u899a\u5316\u3057\u305f\u5185\u5bb9\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/unit42.paloaltonetworks.com\/atoms\/tiltedtemple\/\">Unit 42\u306eATOM\u30d3\u30e5\u30fc\u30a2<\/a>\u304b\u3089\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u306e\u304a\u5ba2\u69d8\u306f\u3001<a href=\"https:\/\/www.paloaltonetworks.jp\/cortex\/cortex-xdr\">Cortex XDR<\/a>\u3068<a href=\"https:\/\/www.paloaltonetworks.jp\/products\/secure-the-network\/wildfire\">WildFire<\/a>\u306b\u3088\u3063\u3066\u672c\u7a3f\u3067\u7d39\u4ecb\u3059\u308b\u8105\u5a01\u304b\u3089\u4fdd\u8b77\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u307b\u304b\u3001<a href=\"https:\/\/www.paloaltonetworks.jp\/cortex\/autofocus\">AutoFocus<\/a>\u3067\u95a2\u9023\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3092\u8ffd\u8de1\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u672c\u7a3f\u306e\u672b\u5c3e\u306b\u6dfb\u4ed8\u3055\u308c\u3066\u3044\u308bYARA\u30eb\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u30e1\u30e2\u30ea\u5185\u306eSockDetour\u306e\u6709\u7121\u3092\u691c\u51fa\u3067\u304d\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">\u672c\u7a3f\u3067\u6271\u3046\u8106\u5f31\u6027<\/span><\/td>\n<td><a href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2021-40539\"><span style=\"font-weight: 400;\">CVE-2021-40539<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/www.manageengine.com\/products\/service-desk\/security-response-plan.html\"><span style=\"font-weight: 400;\">CVE-2021-44077<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/unit42.paloaltonetworks.jp\/ech0raix-ransomware-soho\/\"><span style=\"font-weight: 400;\">CVE-2021-28799<\/span><\/a><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">\u5f71\u97ff\u3092\u53d7\u3051\u308b\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Windows<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Unit 42\u306e\u95a2\u9023\u30c8\u30d4\u30c3\u30af<\/span><\/td>\n<td><a href=\"https:\/\/unit42.paloaltonetworks.jp\/tag\/tiltedtemple-ja\/\"><span style=\"font-weight: 400;\">TiltedTemple<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/unit42.paloaltonetworks.jp\/tag\/APT-ja\/\"><span style=\"font-weight: 400;\">APT<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/unit42.paloaltonetworks.jp\/tag\/backdoor-ja\/\"><span style=\"font-weight: 400;\">backdoors<\/span><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u76ee\u6b21<\/h2>\n<p><a href=\"#background-on-the-tiltedtemple-campaign\">TiltedTemple\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306e\u80cc\u666f<\/a><br \/>\n<a href=\"#sockdetour-targets-us-defense-industry\">\u7c73\u56fd\u306e\u9632\u885b\u7523\u696d\u3092\u72d9\u3046SockDetour<\/a><br \/>\n<a href=\"#sockdetour-hosted-by-compromised-home-and-soho-nas-server\">\u4fb5\u5bb3\u3055\u308c\u305f\u5bb6\u5ead\u7528\/SOHO\u7528NAS\u30b5\u30fc\u30d0\u30fc\u306b\u30db\u30b9\u30c8\u3055\u308c\u308bSockDetour<\/a><br \/>\n<a href=\"#analysis-of-sockdetour\">SockDetour\u306e\u5206\u6790<\/a><br \/>\n<a href=\"#client-authentication-and-c2-communication\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c\u3068C2\u901a\u4fe1<\/a><br \/>\n<a href=\"#plugin-loading-feature\">\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30ed\u30fc\u30c9\u6a5f\u80fd<\/a><br \/>\n<a href=\"#conclusion\">\u7d50\u8ad6<\/a><br \/>\n<a href=\"#protections-and-mitigations\">\u4fdd\u8b77\u3068\u7de9\u548c\u7b56<\/a><br \/>\n<a href=\"#indicators-of-compromise\">IoC<\/a><\/p>\n<h2><a id=\"background-on-the-tiltedtemple-campaign\"><\/a>TiltedTemple\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306e\u80cc\u666f<\/h2>\n<p>TiltedTemple\u3068\u3044\u3046\u306e\u306fUnit 42\u304c\u3042\u308b\u653b\u6483\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306b\u4e0e\u3048\u305f\u540d\u79f0\u3067\u3001\u305d\u306e\u80cc\u5f8c\u306b\u3044\u308b\u6a19\u7684\u578b\u653b\u6483(APT)\u30b0\u30eb\u30fc\u30d7\u306f\u3055\u307e\u3056\u307e\u306a\u521d\u671f\u30a2\u30af\u30bb\u30b9\u30d9\u30af\u30c8\u30eb\u3092\u4f7f\u3063\u3066\u4e16\u754c\u4e2d\u306e\u3055\u307e\u3056\u307e\u306a\u6a19\u7684\u3092\u4fb5\u5bb3\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u304c\u516c\u958b\u3057\u305fTiltedTemple\u306b\u95a2\u3059\u308b\u6700\u521d\u306e\u5831\u544a\u306f\u3001\u4fb5\u5bb3\u3055\u308c\u305f<a href=\"https:\/\/unit42.paloaltonetworks.jp\/manageengine-godzilla-nglite-kdcsponge\/\">ManageEngine ADSelfService Plus\u30b5\u30fc\u30d0\u30fc<\/a>\u3084<a href=\"https:\/\/unit42.paloaltonetworks.jp\/tiltedtemple-manageengine-servicedesk-plus\/\">ManageEngine ServiceDesk Plus<\/a>\u3092\u4ecb\u3057\u3066\u767a\u751f\u3057\u305f\u653b\u6483\u306b\u7126\u70b9\u3092\u5f53\u3066\u305f\u3082\u306e\u3067\u3057\u305f\u3002<\/p>\n<p>TiltedTemple\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306f\u3001\u30c6\u30af\u30ce\u30ed\u30b8\u3001\u30a8\u30cd\u30eb\u30ae\u30fc\u3001\u30d8\u30eb\u30b9\u30b1\u30a2\u3001\u6559\u80b2\u3001\u91d1\u878d\u3001\u9632\u885b\u306e\u5404\u30bb\u30af\u30bf\u306e\u7d44\u7e54\u3092\u4fb5\u5bb3\u3057\u3001\u3053\u308c\u3089\u306e\u30bb\u30af\u30bf\u306a\u3069\u3078\u306e\u5075\u5bdf\u6d3b\u52d5\u3092\u884c\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u306e\u306a\u304b\u306b\u306f\u7c73\u56fd\u306e5\u3064\u306e\u5dde\u306b\u95a2\u9023\u3059\u308b\u30a4\u30f3\u30d5\u30e9\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>TiltedTemple\u3068\u95a2\u9023\u3059\u308b\u30a4\u30f3\u30d5\u30e9\u4e0a\u3067SockDetour\u304c\u30db\u30b9\u30c8\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u79c1\u305f\u3061\u306f\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u304c\u5358\u4e00\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u306b\u3088\u308b\u3082\u306e\u304b\u8907\u6570\u306e\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u304c\u304b\u3089\u3093\u3067\u3044\u308b\u306e\u304b\u306f\u307e\u3060\u3088\u304f\u308f\u304b\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<h2><a id=\"sockdetour-targets-us-defense-industry\"><\/a>\u7c73\u56fd\u306e\u9632\u885b\u7523\u696d\u3092\u72d9\u3046SockDetour<\/h2>\n<p>TitledTemple\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306f\u5f53\u521d2021\u5e748\u6708\u306b\u958b\u59cb\u3055\u308c\u305f\u3053\u3068\u304c\u78ba\u8a8d\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u6700\u8fd1\u306b\u306a\u3063\u3066\u30012021\u5e747\u670827\u65e5\u306b\u3001\u5916\u90e8\u306eFTP\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u7c73\u56fd\u306e\u9632\u885b\u95a2\u9023\u4f01\u696d\u306e\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3055\u308c\u305fWindows\u30b5\u30fc\u30d0\u30fc\u306b\u5bfe\u3057\u3066SockDetour\u304c\u914d\u4fe1\u3055\u308c\u305f\u8a3c\u62e0\u3092\u767a\u898b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u3053\u306eFTP\u30b5\u30fc\u30d0\u30fc\u306b\u306f\u307b\u304b\u306b\u3082\u30e1\u30e2\u30ea\u30c0\u30f3\u30d7\u30c4\u30fc\u30eb\u3084ASPWeb\u30b7\u30a7\u30eb\u306a\u3069\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u304c\u4f7f\u7528\u3059\u308b\u96d1\u591a\u306a\u30c4\u30fc\u30eb\u304c\u30db\u30b9\u30c8\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u6307\u6a19\u3092\u5206\u6790\u30fb\u8ffd\u8de1\u3057\u305f\u7d50\u679c\u3001\u5c11\u306a\u304f\u3068\u3082\u4ed6\u306e3\u793e\u306e\u7c73\u56fd\u306e\u9632\u885b\u95a2\u9023\u4f01\u696d\u304c\u540c\u3058\u30a2\u30af\u30bf\u30fc\u306b\u72d9\u308f\u308c\u3066\u3044\u305f\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2><a id=\"sockdetour-hosted-by-compromised-home-and-soho-nas-server\"><\/a>\u4fb5\u5bb3\u3055\u308c\u305f\u5bb6\u5ead\u7528\/SOHO\u7528NAS\u30b5\u30fc\u30d0\u30fc\u306b\u30db\u30b9\u30c8\u3055\u308c\u308bSockDetour<\/h2>\n<p>SockDetour\u3092\u30db\u30b9\u30c8\u3057\u3066\u3044\u305fFTP\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u4fb5\u5bb3\u3055\u308c\u305fQNAP(Quality Network Appliance Provider)\u306eSOHO\u5411\u3051\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u63a5\u7d9a\u578b\u30b9\u30c8\u30ec\u30fc\u30b8(NAS)\u30b5\u30fc\u30d0\u30fc\u3067\u3057\u305f\u3002\u3053\u306eNAS\u30b5\u30fc\u30d0\u30fc\u306b\u306f\u65e2\u77e5\u306e\u8106\u5f31\u6027\u304c\u8907\u6570\u3042\u308a\u3001\u305d\u306e\u306a\u304b\u306b\u306f<a href=\"https:\/\/unit42.paloaltonetworks.jp\/ech0raix-ransomware-soho\/\">CVE-2021-28799<\/a>\u306e\u30ea\u30e2\u30fc\u30c8\u30b3\u30fc\u30c9\u5b9f\u884c\u8106\u5f31\u6027\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8106\u5f31\u6027\u306f2021\u5e744\u6708\u306e<a href=\"https:\/\/securityaffairs.co\/wordpress\/126776\/cyber-crime\/qlocker-ransomware-attacks-qnap-nas.html\">\u5927\u898f\u6a21\u306a<\/a>\u611f\u67d3\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3067\u3055\u307e\u3056\u307e\u306a\u30e9\u30f3\u30b5\u30e0\u30a6\u30a7\u30a2\u30d5\u30a1\u30df\u30ea\u306b\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002SockDetour\u306e\u80cc\u5f8c\u306b\u3044\u308b\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u3082\u304a\u305d\u3089\u304f\u306f\u3053\u308c\u3089\u306e\u8106\u5f31\u6027\u3092\u5229\u7528\u3057\u3066NAS\u30b5\u30fc\u30d0\u30fc\u3092\u4fb5\u5bb3\u3057\u305f\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u5b9f\u969b\u306b\u3053\u306eNAS\u30b5\u30fc\u30d0\u30fc\u306f\u3059\u3067\u306b\u4ee5\u524d\u306e\u30e9\u30f3\u30b5\u30e0\u30a6\u30a7\u30a2\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3067QLocker\u306b\u611f\u67d3\u6e08\u307f\u3067\u3057\u305f\u3002<\/p>\n<h2><a id=\"analysis-of-sockdetour\"><\/a>SockDetour\u306e\u5206\u6790<\/h2>\n<p>SockDetour\u306f64\u30d3\u30c3\u30c8\u306ePE\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3068\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f\u30ab\u30b9\u30bf\u30e0\u30d0\u30c3\u30af\u30c9\u30a2\u3067\u3059\u3002\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30c9\u30a2\u304c\u691c\u51fa\u3055\u308c\u3066\u524a\u9664\u3055\u308c\u305f\u5834\u5408\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d0\u30c3\u30af\u30c9\u30a2\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001TCP\u30dd\u30fc\u30c8\u4e0a\u3067\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u3092\u5b9f\u884c\u3057\u3066\u3044\u308bWindows OS\u4e0a\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002SockDetour\u306f\u65e2\u5b58\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bd\u30b1\u30c3\u30c8\u5b9b\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u63a5\u7d9a\u3092\u4e57\u3063\u53d6\u308a\u3001\u305d\u306e\u30bd\u30b1\u30c3\u30c8\u3092\u4ecb\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u306e\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u3068\u306e\u9593\u3067\u6697\u53f7\u5316\u3055\u308c\u305fC2\u30c1\u30e3\u30cd\u30eb\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002\u3053\u306e\u305f\u3081SockDetour\u306f\u63a5\u7d9a\u3092\u5f85\u3061\u53d7\u3051\u308b\u305f\u3081\u306e\u30ea\u30b9\u30cb\u30f3\u30b0\u30dd\u30fc\u30c8\u3092\u958b\u304f\u5fc5\u8981\u3082\u3001\u30ea\u30e2\u30fc\u30c8C2\u30c1\u30e3\u30cd\u30eb\u306e\u78ba\u7acb\u306e\u305f\u3081\u306e\u5916\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u547c\u3073\u51fa\u3057\u3092\u884c\u3046\u5fc5\u8981\u3082\u3042\u308a\u307e\u305b\u3093\u3002\u7d50\u679c\u3001\u30db\u30b9\u30c8\u30ec\u30d9\u30eb\u3067\u3082\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30ec\u30d9\u30eb\u3067\u3082\u30d0\u30c3\u30af\u30c9\u30a2\u691c\u51fa\u304c\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>SockDetour\u304c\u65e2\u5b58\u30d7\u30ed\u30bb\u30b9\u306e\u30bd\u30b1\u30c3\u30c8\u3092\u4e57\u3063\u53d6\u308b\u306b\u306f\u3001\u30d7\u30ed\u30bb\u30b9\u30e1\u30e2\u30ea\u5185\u306b\u30a4\u30f3\u30b8\u30a7\u30af\u30c8(\u6ce8\u5165)\u3055\u308c\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u305f\u3081\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u306f<a href=\"https:\/\/github.com\/TheWover\/donut\">Donut\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/a>\u3068\u547c\u3070\u308c\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30b7\u30a7\u30eb\u30b3\u30fc\u30c9\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3067SockDetour\u3092\u30b7\u30a7\u30eb\u30b3\u30fc\u30c9\u306b\u5909\u63db\u3057\u305f\u5f8c\u3001<a href=\"https:\/\/github.com\/PowerShellMafia\/PowerSploit\/blob\/d943001a7defb5e0d1657085a77a0e78609be58f\/CodeExecution\/Invoke-Shellcode.ps1\">PowerSploit\u30e1\u30e2\u30ea\u30a4\u30f3\u30b8\u30a7\u30af\u30bf<\/a>\u3067\u30b7\u30a7\u30eb\u30b3\u30fc\u30c9\u3092\u6a19\u7684\u30d7\u30ed\u30bb\u30b9\u306b\u30a4\u30f3\u30b8\u30a7\u30af\u30c8\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u767a\u898b\u3055\u308c\u305f\u30b5\u30f3\u30d7\u30eb\u306b\u306f\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u305f\u6a19\u7684\u30d7\u30ed\u30bb\u30b9\u306ePID\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u3068\u3044\u3046\u3053\u3068\u306f\u3053\u306e\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u306f\u4fb5\u5bb3\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u8c61\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u624b\u52d5\u3067\u9078\u629e\u3057\u305f\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6a19\u7684\u30d7\u30ed\u30bb\u30b9\u306b\u30a4\u30f3\u30b8\u30a7\u30af\u30c8\u3055\u308c\u305fSockDetour\u306f\u3001Windows\u4e0a\u306eAPI\u547c\u3073\u51fa\u3057\u306e\u5229\u7528\u3068\u76e3\u8996\u306e\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u305f<a href=\"https:\/\/github.com\/microsoft\/Detours\">Microsoft Detours\u30e9\u30a4\u30d6\u30e9\u30ea<\/a>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u4f7f\u3063\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bd\u30b1\u30c3\u30c8\u3092\u4e57\u3063\u53d6\u308a\u307e\u3059\u3002<span style=\"font-family: 'courier new', courier, monospace;\">DetourAttach()<\/span>\u95a2\u6570\u3092\u4f7f\u3044\u3001Winsock\u306e<span style=\"font-family: 'courier new', courier, monospace;\">accept()<\/span>\u95a2\u6570\u304c\u30d5\u30c3\u30af\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30d5\u30c3\u30af\u306b\u3088\u308a\u3001\u5bfe\u8c61\u30b5\u30fc\u30d3\u30b9\u30dd\u30fc\u30c8\u5b9b\u306e\u65b0\u305f\u306a\u63a5\u7d9a\u304c\u7740\u4fe1\u3057Winsock\u306e<span style=\"font-family: 'courier new', courier, monospace;\">accept()<\/span>API\u95a2\u6570\u304c\u547c\u3073\u51fa\u3055\u308c\u305f\u3055\u3044\u3001<span style=\"font-family: 'courier new', courier, monospace;\">accept()<\/span>\u95a2\u6570\u306e\u547c\u3073\u51fa\u3057\u304cSockDetour\u306e\u5b9a\u7fa9\u3059\u308b\u60aa\u610f\u306e\u3042\u308b\u8fc2\u56de(detour)\u95a2\u6570\u306b\u30ea\u30eb\u30fc\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u306eC2\u4ee5\u5916\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306f\u5143\u306e\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30bb\u30b9\u306b\u623b\u3055\u308c\u3001\u5bfe\u8c61\u30b5\u30fc\u30d3\u30b9\u306e\u6b63\u5e38\u52d5\u4f5c\u306b\u652f\u969c\u3092\u751f\u3058\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5b9f\u88c5\u3092\u3055\u308c\u3066\u3044\u308bSockDetour\u306f\u4fb5\u5bb3\u3055\u308c\u305fWindows\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u304b\u3064\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u3067\u52d5\u4f5c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u9632\u5fa1\u5074\u304c\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30c9\u30a2\u3092\u691c\u51fa\u30fb\u524a\u9664\u3057\u305f\u5834\u5408\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d0\u30c3\u30af\u30c9\u30a2\u3068\u3057\u3066\u3082\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_122043\" aria-describedby=\"caption-attachment-122043\" style=\"width: 901px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2022\/02\/word-image-16-jp.png\" rel=\"wpdevart_lightbox\"><img  class=\"wp-image-122043 lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2022\/02\/word-image-16-jp.png\" alt=\"PowerSploit\u306e\u30b7\u30a7\u30eb\u30b3\u30fc\u30c9\u30a4\u30f3\u30b8\u30a7\u30af\u30bf\u304c\u914d\u4fe1\u3055\u308c\u3001\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u305f\u6a19\u7684\u30d7\u30ed\u30bb\u30b9\u3067\u5b9f\u884c\u3055\u308c\u308b\" width=\"901\" height=\"420\" \/><\/a><figcaption id=\"caption-attachment-122043\" class=\"wp-caption-text\">\u56f31 SockDetour\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc<\/figcaption><\/figure>\n<h2><a id=\"client-authentication-and-c2-communication\"><\/a>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c\u3068C2\u901a\u4fe1<\/h2>\n<p>SockDetour\u306f\u6b63\u898f\u30b5\u30fc\u30d3\u30b9\u30dd\u30fc\u30c8\u306b\u5bfe\u3059\u308b\u63a5\u7d9a\u3092\u3059\u3079\u3066\u4e57\u3063\u53d6\u308b\u306e\u3067\u3001\u307e\u305a\u306f\u6b63\u898f\u30b5\u30fc\u30d3\u30b9\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u5b9b\u306e\u901a\u4fe1\u304c\u6df7\u3058\u3063\u305f\u7740\u4fe1\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306e\u306a\u304b\u306b\u3042\u308bC2\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002\u305d\u306e\u6b21\u306b\u3001\u305d\u306eC2\u63a5\u7d9a\u304c\u6b63\u3057\u3044\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u884c\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u8a8d\u8a3c\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>SockDetour\u306f\u4ee5\u4e0b\u306e\u624b\u9806\u3067C2\u63a5\u7d9a\u306e\u691c\u8a3c\u3068\u8a8d\u8a3c\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>1. \u8a8d\u8a3c\u7528\u306b\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089137\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8a8d\u8a3c\u30c7\u30fc\u30bf\u306f\u88681\u306e\u3088\u3046\u306a\u69cb\u9020\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>17 03 03<\/i><\/b><\/span><\/td>\n<td><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>AA BB<\/i><\/b><\/span><\/td>\n<td><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>CC DD EE FF<\/i><\/b><\/span><\/td>\n<td><b><i>128\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u30d6\u30ed\u30c3\u30af<\/i><\/b><\/td>\n<\/tr>\n<tr>\n<td><i><span style=\"font-weight: 400;\">TLS\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u507d\u88c5\u3059\u308b\u305f\u3081\u306b\u4fee\u6b63\u3055\u308c\u305f\u30d8\u30c3\u30c0\u5024<\/span><\/i><\/td>\n<td><i><span style=\"font-weight: 400;\">\u30da\u30a4\u30ed\u30fc\u30c9\u306e\u30c7\u30fc\u30bf\u30b5\u30a4\u30ba<\/span><\/i><\/td>\n<td><i><span style=\"font-weight: 400;\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u8a8d\u8a3c\u306b\u4f7f\u7528\u3055\u308c\u308b4\u30d0\u30a4\u30c8\u306e\u5909\u6570<\/span><\/i><\/td>\n<td><i><span style=\"font-weight: 400;\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c\u30c7\u30fc\u30bf\u30d6\u30ed\u30c3\u30af\u7528\u306e\u30c7\u30fc\u30bf\u7f72\u540d<\/span><\/i><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: center;\"><span style=\"font-size: 10pt; color: #808080;\"><em>\u88681 SockDetour\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c\u30c7\u30fc\u30bf\u69cb\u9020<\/em><\/span><\/p>\n<p>2. \u6700\u521d\u306e9\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u51fa\u3057\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u306f\u3001<span style=\"font-family: 'courier new', courier, monospace;\">MSG_PEEK<\/span>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u305f<span style=\"font-family: 'courier new', courier, monospace;\">recv()<\/span>\u95a2\u6570\u3092\u4f7f\u3063\u3066\u53d7\u4fe1\u3057\u307e\u3059\u3002\u305d\u308c\u306b\u3088\u308a\u3001\u30bd\u30b1\u30c3\u30c8\u30ad\u30e5\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u9664\u304d\u3001\u6b63\u5f53\u306a\u30b5\u30fc\u30d3\u30b9\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u59a8\u3052\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>3. \u30c7\u30fc\u30bf\u304c<span style=\"font-family: 'courier new', courier, monospace;\">17 03 03<\/span>\u3067\u59cb\u307e\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u6697\u53f7\u5316\u30c7\u30fc\u30bf\u304c\u8ee2\u9001\u3055\u308c\u308b\u3055\u3044TLS\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u30ec\u30b3\u30fc\u30c9\u30d8\u30c3\u30c0\u3068\u3057\u3066\u3088\u304f\u898b\u3089\u308c\u308b\u3082\u306e\u3067\u3059\u3002\u305f\u3060\u3057\u3053\u308c\u306f\u901a\u5e38\u306eTLS\u306b\u3068\u3063\u3066\u306f\u7570\u5e38\u3067\u3059\u3002\u901a\u5e38\u3001\u9069\u5207\u306aTLS\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u3082\u306a\u3057\u306b\u3001TLS\u306e\u6697\u53f7\u5316\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u7a81\u7136\u3075\u3063\u3066\u308f\u304f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<figure id=\"attachment_122022\" aria-describedby=\"caption-attachment-122022\" style=\"width: 735px\" class=\"wp-caption aligncenter\"><img  class=\"wp-image-122023 lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2022\/02\/word-image-17.png\" alt=\"SockDetour\u304cMSG_PEEK\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u305f\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3057\u305d\u306e\u30c7\u30fc\u30bf\u3092\u691c\u8a3c\" width=\"735\" height=\"236\" \/><figcaption id=\"caption-attachment-122022\" class=\"wp-caption-text\">\u56f32 SockDetour\u304cMSG_PEEK\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u305f\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3057\u305d\u306e\u30c7\u30fc\u30bf\u3092\u691c\u8a3c<\/figcaption><\/figure>\n<p>4. \u30da\u30a4\u30ed\u30fc\u30c9\u30c7\u30fc\u30bf<span style=\"font-family: 'courier new', courier, monospace;\">AA BB<\/span>\u306e\u30b5\u30a4\u30ba\u304c251\u307e\u305f\u306f\u305d\u308c\u4ee5\u4e0b\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>5. \u30da\u30a4\u30ed\u30fc\u30c9<span style=\"font-family: 'courier new', courier, monospace;\">CC DD EE FF<\/span>\u306e4\u30d0\u30a4\u30c8\u304c\u3001\u4ee5\u4e0b\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<ol style=\"list-style-type: lower-alpha;\">\n<li><span style=\"font-family: 'courier new', courier, monospace;\">88 a0 90 82<\/span>\u3068\u306e\u30d3\u30c3\u30c8\u5358\u4f4d<span style=\"font-family: 'courier new', courier, monospace;\">AND<\/span>\u306e\u7d50\u679c\u304c<span style=\"font-family: 'courier new', courier, monospace;\">88 a0 90 82<\/span>\u3067\u3042\u308b<\/li>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">fd f5 fb ef<\/span>\u3068\u306e\u30d3\u30c3\u30c8\u5358\u4f4d<span style=\"font-family: 'courier new', courier, monospace;\">OR<\/span>\u306e\u7d50\u679c\u304c<span style=\"font-family: 'courier new', courier, monospace;\">fd f5 fb ef<\/span>\u3067\u3042\u308b<\/li>\n<\/ol>\n<p>6. <span style=\"font-family: 'courier new', courier, monospace;\">MSG_PEEK<\/span>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u540c\u3058\u30c7\u30fc\u30bf\u30ad\u30e5\u30fc\u304b\u3089137\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u5168\u4f53\u3092\u8aad\u307f\u53d6\u308a\u3001\u3055\u3089\u306b\u8a8d\u8a3c\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>7. \u88682\u306b\u793a\u3057\u305f24\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u30d6\u30ed\u30c3\u30af\u3092\u7d44\u307f\u7acb\u3066\u307e\u3059\u3002<\/p>\n<table style=\"width: 90.7011%;\">\n<tbody>\n<tr>\n<td style=\"width: 29.6101%;\"><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>08 1c c1 78 d4 13 3a d7 0f ab<\/i><\/b><\/span><\/td>\n<td style=\"width: 39.8314%;\"><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>CC DD EE FF<\/i><\/b><\/span><\/td>\n<td style=\"width: 60.6292%;\"><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>b3 a2 b8 ae 63 bb 03 e8 ff 3b<\/i><\/b><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 29.6101%;\"><span style=\"font-weight: 400;\">SockDetour\u5185\u3067\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u305f10\u30d0\u30a4\u30c8<\/span><\/td>\n<td style=\"width: 39.8314%;\"><span style=\"font-weight: 400;\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u53d7\u3051\u53d6\u3063\u305f\u8a8d\u8a3c\u7528\u306e4\u30d0\u30a4\u30c8<\/span><\/td>\n<td style=\"width: 60.6292%;\"><span style=\"font-weight: 400;\">SockDetour\u5185\u3067\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u305f10\u30d0\u30a4\u30c8<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: center;\"><span style=\"font-size: 10pt; color: #808080;\"><em>\u88682 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c\u306e\u305f\u3081\u306b\u691c\u8a3c\u3055\u308c\u308b24\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u30d6\u30ed\u30c3\u30af<\/em><\/span><\/p>\n<p>8. \u3053\u306e24\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u30d6\u30ed\u30c3\u30af\u306f\u57cb\u3081\u8fbc\u307e\u308c\u305f\u516c\u958b\u9375\u3067\u30cf\u30c3\u30b7\u30e5\u5316\u3055\u308c\u3066\u88681\u306e128\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u7f72\u540d\u3068\u7167\u5408\u3055\u308c\u307e\u3059\u3002\u3053\u306e128\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u7f72\u540d\u306f\u3001\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u304c\u5bfe\u5fdc\u3059\u308b\u79d8\u5bc6\u9375\u3092\u4f7f\u3063\u3066\u540c\u305824\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u30d6\u30ed\u30c3\u30af\u306e\u30cf\u30c3\u30b7\u30e5\u306b\u7f72\u540d\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u4f5c\u6210\u3057\u305f\u3082\u306e\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a8d\u8a3c\u306e\u624b\u9806\u306f\u5b8c\u4e86\u3067\u3059\u3002\u8a8d\u8a3c\u306b\u6210\u529f\u3059\u308b\u3068\u3053\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u30d0\u30c3\u30af\u30c9\u30a2\u7528\u3067\u3042\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3055\u308c\u305f\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3001SockDetour\u306f<span style=\"font-family: 'courier new', courier, monospace;\">MSG_PEEK<\/span>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u305a\u306b<span style=\"font-family: 'courier new', courier, monospace;\">recv()<\/span>\u95a2\u6570\u3092\u4f7f\u3063\u3066TCP\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4e57\u3063\u53d6\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306bSockDetour\u306f\u3001\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u305f\u521d\u671f\u30d9\u30af\u30c8\u30eb\u5024<span style=\"font-family: 'courier new', courier, monospace;\">bvyiafszmkjsmqgl<\/span>\u3092\u4f7f\u3063\u3066160\u30d3\u30c3\u30c8\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc\u3092\u4f5c\u308a\u3001\u4ee5\u4e0b\u306e\u30c7\u30fc\u30bf\u69cb\u9020\u3067\u30ea\u30e2\u30fc\u30c8\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<table style=\"width: 90.6292%;\">\n<tbody>\n<tr>\n<td style=\"width: 34.873%;\"><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>17 03 03<\/i><\/b><\/span><\/td>\n<td style=\"width: 14.4342%;\"><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>AA BB<\/i><\/b><\/span><\/td>\n<td style=\"width: 15.4734%;\"><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>CC DD EE FF<\/i><\/b><\/span><\/td>\n<td style=\"width: 15.9353%;\"><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>session_key<\/i><\/b><\/span><\/td>\n<td style=\"width: 60.5138%;\"><span style=\"font-family: 'courier new', courier, monospace;\"><b><i>random_padding<\/i><\/b><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 34.873%;\"><i><span style=\"font-weight: 400;\">TLS\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u507d\u88c5\u3059\u308b\u305f\u3081\u306b\u4fee\u6b63\u3055\u308c\u305f\u30d8\u30c3\u30c0\u5024<\/span><\/i><\/td>\n<td style=\"width: 14.4342%;\"><span style=\"font-weight: 400;\">\u30da\u30a4\u30ed\u30fc\u30c9\u306e\u30c7\u30fc\u30bf\u30b5\u30a4\u30ba<\/span><\/td>\n<td style=\"width: 15.4734%;\"><span style=\"font-weight: 400;\">\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc\u9577<\/span><\/td>\n<td style=\"width: 15.9353%;\"><span style=\"font-weight: 400;\">160\u30d3\u30c3\u30c8\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc<\/span><\/td>\n<td style=\"width: 60.5138%;\"><span style=\"font-weight: 400;\">\u30e9\u30f3\u30c0\u30e0\u306a\u30d1\u30c7\u30a3\u30f3\u30b0<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: center;\"><span style=\"font-size: 10pt; color: #808080;\"><em>\u88683 SockDetour\u304c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc\u3092\u9001\u4fe1<\/em><\/span><\/p>\n<p>TLS\u306a\u3069\u306e\u4e00\u822c\u7684\u306a\u6697\u53f7\u5316\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u306f\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc\u3092\u516c\u958b\u9375\u3067\u6697\u53f7\u5316\u3057\u3066\u304b\u3089\u8ee2\u9001\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u4eca\u56de\u306e\u30b1\u30fc\u30b9\u3067\u30de\u30eb\u30a6\u30a7\u30a2\u4f5c\u6210\u8005\u306f\u305d\u306e\u624b\u9806\u3092\u5931\u5ff5\u3057\u3066\u3044\u305f\u3089\u3057\u304f\u3001\u9375\u3092\u5e73\u6587\u3067\u8ee2\u9001\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067SockDetour\u3068\u30ea\u30e2\u30fc\u30c8\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u9593\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc\u304c\u5171\u6709\u3055\u308c\u305f\u306e\u3067\u3001\u4e57\u3063\u53d6\u3089\u308c\u305f\u30bd\u30b1\u30c3\u30c8\u4e0a\u3067C2\u63a5\u7d9a\u304c\u6697\u53f7\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2><a id=\"plugin-loading-feature\"><\/a>\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30ed\u30fc\u30c9\u6a5f\u80fd<\/h2>\n<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u30d0\u30c3\u30af\u30c9\u30a2\u3068\u3057\u3066\u3001SockDetour\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3DLL\u3092\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3044\u3046\u5358\u4e00\u306e\u6a5f\u80fd\u306e\u307f\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc\u306e\u5171\u6709\u5f8c\u3001SockDetour\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u30894\u30d0\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u306fSockDetour\u304c\u6700\u7d42\u7684\u306a\u30da\u30a4\u30ed\u30fc\u30c9\u306e\u914d\u4fe1\u6bb5\u968e\u3067\u53d7\u3051\u53d6\u308b\u30c7\u30fc\u30bf\u306e\u9577\u3055\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30b5\u30a4\u30ba\u306f5MB\u4ee5\u4e0b\u3067\u3042\u308b\u3053\u3068\u304c\u60f3\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6700\u7d42\u7684\u306b\u53d7\u4fe1\u3055\u308c\u308b\u30da\u30a4\u30ed\u30fc\u30c9\u30c7\u30fc\u30bf\u306f\u5171\u6709\u3057\u305f\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc\u3067\u6697\u53f7\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5fa9\u53f7\u5f8c\u306e\u53d7\u4fe1\u30c7\u30fc\u30bf\u306f\u3001<span style=\"font-family: 'courier new', courier, monospace;\">app<\/span>\u3068<span style=\"font-family: 'courier new', courier, monospace;\">args<\/span>\u306e2\u3064\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6301\u3064JSON\u5f62\u5f0f\u3067\u3042\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u3066\u3044\u307e\u3059\u3002<span style=\"font-family: 'courier new', courier, monospace;\">app<\/span>\u306b\u306fbase64\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305fDLL\u304c\u3001<span style=\"font-family: 'courier new', courier, monospace;\">args<\/span>\u306b\u306fDLL\u306b\u6e21\u3059\u5f15\u6570\u304c\u5165\u308a\u307e\u3059\u3002SockDetour\u306f\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3DLL\u3092\u65b0\u305f\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u30e1\u30e2\u30ea\u7a7a\u9593\u306b\u30ed\u30fc\u30c9\u3057\u3001\u6b21\u306eJSON\u69cb\u9020\u306e\u95a2\u6570\u5f15\u6570\u3092\u4ed8\u3051\u3066<span style=\"font-family: 'courier new', courier, monospace;\">ThreadProc<\/span>\u3068\u3044\u3046\u540d\u524d\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p><!-- Crayon Syntax Highlighter v_2.7.2_beta --><\/p>\n<pre class=\"lang:default decode:true\">{\r\n    \"sock\": hijacked_socket,\r\n    \"key\": session_key,\r\n    \"args\": arguments_received_from_client\r\n}<\/pre>\n<p><!-- [Format Time: 0.0003 seconds] --><\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u306eDLL\u30b5\u30f3\u30d7\u30eb\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001\u4e0a\u8a18\u306e\u95a2\u6570\u306e\u5f15\u6570\u304b\u3089\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u4e57\u3063\u53d6\u3089\u308c\u305f\u30bd\u30b1\u30c3\u30c8\u3092\u4ecb\u3057\u3066\u901a\u4fe1\u3057\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc\u3092\u4f7f\u3063\u3066\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u6697\u53f7\u5316\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001SockDetour\u3068\u540c\u69d8\u3001\u305d\u306e\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30b9\u30c6\u30eb\u30b9\u6027\u306f\u9ad8\u3044\u3082\u306e\u3068\u63a8\u6e2c\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2><a id=\"conclusion\"><\/a>\u7d50\u8ad6<\/h2>\n<p>SockDetour\u306f\u3001\u4fb5\u5bb3\u3055\u308c\u305fWindows\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u5bc6\u304b\u306b\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u305f\u30d0\u30c3\u30af\u30c9\u30a2\u3067\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30c9\u30a2\u304c\u5931\u308f\u308c\u305f\u5834\u5408\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d0\u30c3\u30af\u30c9\u30a2\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u6b63\u898f\u306e\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30bb\u30b9\u306b\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u3067\u30ed\u30fc\u30c9\u3055\u308c\u3001\u6b63\u898f\u30d7\u30ed\u30bb\u30b9\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bd\u30b1\u30c3\u30c8\u3067\u3001\u81ea\u8eab\u306e\u6697\u53f7\u5316C2\u30c1\u30e3\u30cd\u30eb\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002<\/p>\n<p>\u6539\u5909\u306f\u7c21\u5358\u3067\u3059\u304c\u3001\u4eca\u56de\u5206\u6790\u3057\u305fSockDetour\u30b5\u30f3\u30d7\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u898b\u308b\u3068\u3001\u5c11\u306a\u304f\u3068\u30822019\u5e747\u6708\u4ee5\u964d\u3001\u3053\u306ePE\u30d5\u30a1\u30a4\u30eb\u306f\u6539\u5909\u3055\u308c\u308b\u3053\u3068\u306a\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u305f\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u307e\u305f\u3001\u516c\u958b\u30ea\u30dd\u30b8\u30c8\u30ea\u306bSockDetour\u306e\u8ffd\u52a0\u30b5\u30f3\u30d7\u30eb\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3053\u306e\u3053\u3068\u304b\u3089\u3053\u306e\u30d0\u30c3\u30af\u30c9\u30a2\u306f\u9577\u3044\u9593\u3046\u307e\u304f\u691c\u51fa\u3092\u9003\u308c\u3066\u304d\u305f\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3DLL\u306b\u3064\u3044\u3066\u306f\u307e\u3060\u308f\u304b\u3063\u3066\u3044\u307e\u305b\u3093\u304c\u3001SockDetour\u306e\u6697\u53f7\u5316\u30c1\u30e3\u30cd\u30eb\u7d4c\u7531\u3067\u914d\u4fe1\u3055\u308c\u3001\u30e1\u30e2\u30ea\u5185\u306b\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u3067\u30ed\u30fc\u30c9\u3055\u308c\u3001\u4e57\u3063\u53d6\u3089\u308c\u305f\u30bd\u30b1\u30c3\u30c8\u3092\u4ecb\u3057\u3066\u901a\u4fe1\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u304d\u308f\u3081\u3066\u30b9\u30c6\u30eb\u30b9\u6027\u306e\u9ad8\u3044\u52d5\u4f5c\u3092\u3059\u308b\u3053\u3068\u304c\u4e88\u60f3\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001SockDetour\u3092\u30db\u30b9\u30c8\u3057\u3066\u3044\u308bNAS\u30b5\u30fc\u30d0\u30fc\u306f\u4e00\u822c\u306b\u4e2d\u5c0f\u4f01\u696d\u3067\u4f7f\u7528\u3055\u308c\u308b\u30bf\u30a4\u30d7\u306e\u3082\u306e\u3067\u3059\u3002\u3053\u306e\u4e8b\u4f8b\u304b\u3089\u306f\u3001\u3053\u306e\u624b\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u4fee\u6b63\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u30ea\u30ea\u30fc\u30b9\u306e\u3064\u3069\u306e\u30d1\u30c3\u30c1\u9069\u7528\u306f\u6b20\u304b\u305b\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u3088\u304f\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2><a id=\"protections-and-mitigations\"><\/a>\u4fdd\u8b77\u3068\u7de9\u548c\u7b56<\/h2>\n<p><a href=\"https:\/\/www.paloaltonetworks.jp\/cortex\/cortex-xdr\">Cortex XDR<\/a>\u306f\u3001\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4fdd\u8b77\u3057\u3001\u30e1\u30e2\u30ea\u30a4\u30f3\u30b8\u30a7\u30af\u30bf\u3092\u60aa\u610f\u306e\u3042\u308b\u3082\u306e\u3068\u3057\u3066\u6b63\u78ba\u306b\u7279\u5b9a\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001Cortex XDR\u306b\u306f\u3001\u3053\u306e\u30a2\u30af\u30bf\u30fc\u3089\u304c\u63a1\u7528\u3057\u3066\u3044\u308b\u30e9\u30c6\u30e9\u30eb\u30e0\u30fc\u30d6\u3068\u8a8d\u8a3c\u60c5\u5831\u7a83\u53d6\u306e\u6226\u8853\u3001\u6280\u8853\u3001\u624b\u9806(TTP)\u3092\u691c\u51fa\u3059\u308b\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30a6\u30c9\u30d9\u30fc\u30b9\u306e\u8105\u5a01\u5206\u6790\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308b<a href=\"https:\/\/www.paloaltonetworks.jp\/products\/secure-the-network\/wildfire\">WildFire<\/a>\u306f\u3001\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3067\u4f7f\u7528\u3055\u308c\u305f\u30a4\u30f3\u30b8\u30a7\u30af\u30bf\u3092\u60aa\u610f\u306e\u3042\u308b\u3082\u306e\u3068\u3057\u3066\u6b63\u78ba\u306b\u7279\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>AutoFocus\u3092\u304a\u4f7f\u3044\u306e\u304a\u5ba2\u69d8\u306f\u3001SockDetour\u306e\u6d3b\u52d5\u3092<a href=\"https:\/\/autofocus.paloaltonetworks.com\/#\/tag\/Unit42.SockDetour\">SockDetour<\/a>\u30bf\u30b0\u3067\u8ffd\u8de1\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u8005\u306e\u7686\u69d8\u306b\u306fWindows\u30b5\u30fc\u30d0\u30fc\u3092\u5e38\u306b\u6700\u65b0\u306e\u72b6\u614b\u306b\u4fdd\u3064\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u306e\u672b\u5c3e\u306b\u6dfb\u4ed8\u3057\u305fYARA\u30eb\u30fc\u30eb\u3067\u30e1\u30e2\u30ea\u5185\u306eSockDetour\u306e\u6709\u7121\u3092\u691c\u51fa\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>SockDetour\u306b\u3088\u308b\u4fb5\u5bb3\u304c\u7591\u308f\u308c\u308b\u5834\u5408\u306f\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u8abf\u67fb\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4fb5\u5bb3\u306e\u61f8\u5ff5\u304c\u3042\u308a\u5f0a\u793e\u306b\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u95a2\u3059\u308b\u3054\u76f8\u8ac7\u3092\u306a\u3055\u308a\u305f\u3044\u5834\u5408\u306f\u3001<a href=\"mailto:infojapan@paloaltonetworks.com\">infojapan@paloaltonetworks.com<\/a> \u307e\u3067\u96fb\u5b50\u30e1\u30fc\u30eb\u306b\u3066\u3054\u9023\u7d61\u304f\u3060\u3055\u3044(\u3054\u76f8\u8ac7\u306f\u5f0a\u793e\u88fd\u54c1\u306e\u304a\u5ba2\u69d8\u306b\u306f\u9650\u5b9a\u3055\u308c\u307e\u305b\u3093)\u3002<\/p>\n<h2><a id=\"indicators-of-compromise\"><\/a>IoC<\/h2>\n<h3>SockDetour PE<\/h3>\n<p><span style=\"font-family: 'courier new', courier, monospace;\">0b2b9a2ac4bff81847b332af18a8e0705075166a137ab248e4d9b5cbd8b960df<\/span><\/p>\n<h3>SockDetour\u3092\u914d\u4fe1\u3059\u308bPowerSploit\u30e1\u30e2\u30ea\u30a4\u30f3\u30b8\u30a7\u30af\u30bf<\/h3>\n<p><span style=\"font-family: 'courier new', courier, monospace;\">80ed7984a42570d94cd1b6dcd89f95e3175a5c4247ac245c817928dd07fc9540<br \/>\n<\/span><span style=\"font-family: 'courier new', courier, monospace;\">bee2fe0647d0ec9f2f0aa5f784b122aaeba0cddb39b08e3ea19dd4cdb90e53f9<br \/>\n<\/span><span style=\"font-family: 'courier new', courier, monospace;\">a5b9ac1d0350341764f877f5c4249151981200df0769a38386f6b7c8ca6f9c7a<br \/>\n<\/span><span style=\"font-family: 'courier new', courier, monospace;\">607a2ce7dc2252e9e582e757bbfa2f18e3f3864cb4267cd07129f4b9a241300b<br \/>\n<\/span><span style=\"font-family: 'courier new', courier, monospace;\">11b2b719d6bffae3ab1e0f8191d70aa1bade7f599aeadb7358f722458a21b530<br \/>\n<\/span><span style=\"font-family: 'courier new', courier, monospace;\">cd28c7a63f91a20ec4045cf40ff0f93b336565bd504c9534be857e971b4e80ee<br \/>\n<\/span><span style=\"font-family: 'courier new', courier, monospace;\">ebe926f37e7188a6f0cc85744376cdc672e495607f85ba3cbee6980049951889<br \/>\n<\/span><span style=\"font-family: 'courier new', courier, monospace;\">3ea2bf2a6b039071b890f03b5987d9135fe4c036fb77f477f1820c34b341644e<br \/>\n<\/span><span style=\"font-family: 'courier new', courier, monospace;\">7e9cf2a2dd3edac92175a3eb1355c0f5f05f47b7798e206b470637c5303ac79f<br \/>\n<\/span><span style=\"font-family: 'courier new', courier, monospace;\">bb48438e2ed47ab692d1754305df664cda6c518754ef9a58fb5fa8545f5bfb9b<\/span><\/p>\n<h3>SocketDetour\u306b\u57cb\u3081\u8fbc\u307e\u308c\u305f\u516c\u958b\u9375<\/h3>\n<p><span style=\"font-family: 'courier new', courier, monospace;\">-----BEGIN PUBLIC KEY-----MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWD9BUhQQZkagIIHsCdn\/wtRNXcYoEi3Z4PhZkH3mar20EONVyXWP\/YUxyUmxD+aTOVp3NB+XYOO9LqQEAWgyGndXyyuDssLWTb7z54n8iDu2pqiAEvJ6h18iwf0EwZ1BzPBDS1Kw+JE4tYIR860rD1DBul0u6OURqMPb5eZT1bQIDAQAB-----END PUBLIC KEY-----<\/span><\/p>\n<h3>\u30e1\u30e2\u30ea\u5185\u306eSockDetour\u3092\u691c\u51fa\u3059\u308b\u305f\u3081\u306eYARA\u30eb\u30fc\u30eb<\/h3>\n<p><!-- Crayon Syntax Highlighter v_2.7.2_beta --><\/p>\n<pre class=\"lang:default decode:true\">rule apt_win_sockdetour\r\n{\r\n\tmeta:\r\n\t\tauthor = \"Unit 42 - PaloAltoNetworks\"\r\n\t\tdate = \"2022-01-23\"\r\n\t\tdescription = \"Detects SockDetour in memory or in PE format\"\r\n\t\thash01 = \"0b2b9a2ac4bff81847b332af18a8e0705075166a137ab248e4d9b5cbd8b960df\"\r\n\r\n\tstrings:\r\n\t\t$public_key = \"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWD9BUhQQZkagIIHsCdn\/wtRNXcYoEi3Z4PhZkH3mar20EONVyXWP\/YUxyUmxD+aTOVp3NB+XYOO9LqQEAWgyGndXyyuDssLWTb7z54n8iDu2pqiAEvJ6h18iwf0EwZ1BzPBDS1Kw+JE4tYIR860rD1DBul0u6OURqMPb5eZT1bQIDAQAB\"\r\n\t\t$json_name_sequence = {61 70 70 00 61 72 67 73 00 00 00 00 73 6F 63 6B 00 00 00 00 6B 65 79 00 61 72 67 73 00 00}\r\n\t\t$verification_bytes = {88 [4] A0 [4] 90 [4] 82 [4] FD [4] F5 [4] FB [4] EF}\r\n\t\t$data_block = {08 [4] 1C [4] C1 [4] 78 [4] D4 [4] 13 [4] 3A [4] D7 [4] 0F [4] AB [4] B3 [4] A2 [4] B8 [4] AE [4] 63 [4] BB [4] 03 [4] E8 [4] FF [4] 3B}\r\n\t\t$initial_vector = {62 [4] 76 [4] 79 [4] 69 [4] 61 [4] 66 [4] 73 [4] 7A [4] 6D [4] 6B [4] 6A [4] 73 [4] 6D [4] 71 [4] 67 [4] 6C}\r\n\r\n \tcondition:\r\n\t\tany of them\r\n}<\/pre>\n<p><!-- [Format Time: 0.0021 seconds] --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 Unit 42\u3067\u306f\u3042\u308bAPT\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092TiltedTemple\u3068\u3044\u3046\u540d\u524d\u3067\u8ffd\u8de1\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u306f\u6700\u521d\u306b\u3001\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u304cZoho ManageEngine ADSelfService Plus\u306e\u8106\u5f31\u6027 CV<\/p>\n","protected":false},"author":23,"featured_media":134270,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[4469,1974,4428,4470],"tags":[4499,4501,5763,5597,5765,5766,4637],"product_categories":[4444,4343,4448],"coauthors":[1025],"class_list":["post-122038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vulnerabilities","category-malware-ja","category-threat-research-ja","category-vulnerabilities-ja","tag-advanced-persistent-threat-ja","tag-backdoor-ja","tag-cve-2021-28799-ja","tag-cve-2021-40539-ja","tag-cve-2021-44077-ja","tag-tiltedtemple","tag-windows-ja","product_categories-advanced-wildfire-ja","product_categories-cortex-xdr","product_categories-cortex-xdr-ja"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>SockDetour: \u7c73\u56fd\u9632\u885b\u95a2\u9023\u4f01\u696d\u3092\u3072\u305d\u304b\u306b\u72d9\u3046\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u30fb\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u306e\u30d0\u30c3\u30af\u30c9\u30a2<\/title>\n<meta name=\"description\" content=\"\u6982\u8981 Unit 42\u3067\u306f\u3042\u308bAPT\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092TiltedTemple\u3068\u3044\u3046\u540d\u524d\u3067\u8ffd\u8de1\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u306f\u6700\u521d\u306b\u3001\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u304cZoho\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SockDetour: \u7c73\u56fd\u9632\u885b\u95a2\u9023\u4f01\u696d\u3092\u3072\u305d\u304b\u306b\u72d9\u3046\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u30fb\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u306e\u30d0\u30c3\u30af\u30c9\u30a2\" \/>\n<meta property=\"og:description\" content=\"\u6982\u8981 Unit 42\u3067\u306f\u3042\u308bAPT\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092TiltedTemple\u3068\u3044\u3046\u540d\u524d\u3067\u8ffd\u8de1\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u306f\u6700\u521d\u306b\u3001\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u304cZoho\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/\" \/>\n<meta property=\"og:site_name\" content=\"Unit 42\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-24T14:00:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/05_Cybercrime_Category_1920x900.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Unit 42\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SockDetour: \u7c73\u56fd\u9632\u885b\u95a2\u9023\u4f01\u696d\u3092\u3072\u305d\u304b\u306b\u72d9\u3046\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u30fb\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u306e\u30d0\u30c3\u30af\u30c9\u30a2","description":"\u6982\u8981 Unit 42\u3067\u306f\u3042\u308bAPT\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092TiltedTemple\u3068\u3044\u3046\u540d\u524d\u3067\u8ffd\u8de1\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u306f\u6700\u521d\u306b\u3001\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u304cZoho","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:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/","og_locale":"ja_JP","og_type":"article","og_title":"SockDetour: \u7c73\u56fd\u9632\u885b\u95a2\u9023\u4f01\u696d\u3092\u3072\u305d\u304b\u306b\u72d9\u3046\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u30fb\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u306e\u30d0\u30c3\u30af\u30c9\u30a2","og_description":"\u6982\u8981 Unit 42\u3067\u306f\u3042\u308bAPT\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092TiltedTemple\u3068\u3044\u3046\u540d\u524d\u3067\u8ffd\u8de1\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u306f\u6700\u521d\u306b\u3001\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u304cZoho","og_url":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/","og_site_name":"Unit 42","article_published_time":"2022-02-24T14:00:33+00:00","og_image":[{"width":1920,"height":900,"url":"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/05_Cybercrime_Category_1920x900.jpg","type":"image\/jpeg"}],"author":"Unit 42","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/#article","isPartOf":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/"},"author":{"name":"Unit 42","@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/a891f81d18648a1e0bab742238d31a63"},"headline":"SockDetour: \u7c73\u56fd\u9632\u885b\u95a2\u9023\u4f01\u696d\u3092\u3072\u305d\u304b\u306b\u72d9\u3046\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u30fb\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u306e\u30d0\u30c3\u30af\u30c9\u30a2","datePublished":"2022-02-24T14:00:33+00:00","mainEntityOfPage":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/"},"wordCount":493,"commentCount":0,"image":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/#primaryimage"},"thumbnailUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/05_Cybercrime_Category_1920x900.jpg","keywords":["Advanced Persistent Threat","backdoor","CVE-2021-28799","CVE-2021-40539","CVE-2021-44077","TiltedTemple","Windows"],"articleSection":["Vulnerabilities","\u30de\u30eb\u30a6\u30a7\u30a2","\u8105\u5a01\u30ea\u30b5\u30fc\u30c1","\u8106\u5f31\u6027"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/","url":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/","name":"SockDetour: \u7c73\u56fd\u9632\u885b\u95a2\u9023\u4f01\u696d\u3092\u3072\u305d\u304b\u306b\u72d9\u3046\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u30fb\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u306e\u30d0\u30c3\u30af\u30c9\u30a2","isPartOf":{"@id":"https:\/\/unit42.paloaltonetworks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/#primaryimage"},"image":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/#primaryimage"},"thumbnailUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/05_Cybercrime_Category_1920x900.jpg","datePublished":"2022-02-24T14:00:33+00:00","author":{"@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/a891f81d18648a1e0bab742238d31a63"},"description":"\u6982\u8981 Unit 42\u3067\u306f\u3042\u308bAPT\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u3092TiltedTemple\u3068\u3044\u3046\u540d\u524d\u3067\u8ffd\u8de1\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u306f\u6700\u521d\u306b\u3001\u3053\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u304cZoho","breadcrumb":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/#primaryimage","url":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/05_Cybercrime_Category_1920x900.jpg","contentUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/05_Cybercrime_Category_1920x900.jpg","width":1920,"height":900,"caption":"Two computer screens displaying lines of code in a dark room illuminated by blue light. Someone wearing a hoodie with the hood up is looking at the screen."},{"@type":"BreadcrumbList","@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/sockdetour\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/unit42.paloaltonetworks.com\/ja\/"},{"@type":"ListItem","position":2,"name":"SockDetour: \u7c73\u56fd\u9632\u885b\u95a2\u9023\u4f01\u696d\u3092\u3072\u305d\u304b\u306b\u72d9\u3046\u30d5\u30a1\u30a4\u30eb\u30ec\u30b9\u30fb\u30bd\u30b1\u30c3\u30c8\u30ec\u30b9\u306e\u30d0\u30c3\u30af\u30c9\u30a2"}]},{"@type":"WebSite","@id":"https:\/\/unit42.paloaltonetworks.com\/#website","url":"https:\/\/unit42.paloaltonetworks.com\/","name":"Unit 42","description":"Palo Alto Networks","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unit42.paloaltonetworks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/a891f81d18648a1e0bab742238d31a63","name":"Unit 42","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/image\/5b5a1c33b73a577ebaf42f25081b0ebd","url":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2025\/09\/Insights_headshot-placeholder-300x300.jpg","contentUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2025\/09\/Insights_headshot-placeholder-300x300.jpg","caption":"Unit 42"},"url":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/author\/unit42\/"}]}},"_links":{"self":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts\/122038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/comments?post=122038"}],"version-history":[{"count":5,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts\/122038\/revisions"}],"predecessor-version":[{"id":122045,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts\/122038\/revisions\/122045"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/media\/134270"}],"wp:attachment":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/media?parent=122038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/categories?post=122038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/tags?post=122038"},{"taxonomy":"product_categories","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/product_categories?post=122038"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/coauthors?post=122038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}