{"id":362934,"date":"2024-05-21T01:45:27","date_gmt":"2024-05-21T01:45:27","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=362934"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-05-21T01:45:27","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=362934","title":{"rendered":"<span>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u0445\u0430\u043a\u0435\u0440\u0430 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0434\u0430\u043c\u043f\u0430 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 Windows?<\/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<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0442\u0435\u0445\u043d\u0438\u043a \u043f\u0440\u0438 \u0430\u0442\u0430\u043a\u0430\u0445 \u2014 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0412\u00a0\u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0438\u0442\u0430\u044f \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0442\u0447\u0435\u0442\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439: \u0442\u0435\u0445\u043d\u0438\u043a\u0430 T1003 OS Credential Dumping \u0432 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0422\u041e\u041f-5. \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0443\u0447\u0435\u0442\u043a\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u043e \u0441\u0435\u0442\u0438 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u0430 \u0434\u0430\u043d\u043d\u0430\u044f \u0442\u0435\u0445\u043d\u0438\u043a\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430 \u043d\u0430 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0438 \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0438 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432. <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0430\u043a\u0446\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u0432\u043e\u0435\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0418\u0411 \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0448\u0442\u0430\u0442\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0430\u0443\u0434\u0438\u0442\u0430 \u041e\u0421 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u044b\u0442\u0430\u044e\u0442\u0441\u044f \u0441\u0434\u0430\u043c\u043f\u0438\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 Windows. \u041b\u043e\u0433\u0438\u043a\u0430 \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u043e\u0431\u0449\u0435\u043c \u0432\u0438\u0434\u0435 \u043f\u043e \u043f\u043e\u043b\u044f\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430. \u041d\u0443 \u0438 \u0434\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0430\u0432\u0438\u043b \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043a\u0440\u0430\u0442\u043a\u0430\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e \u0430\u0442\u0430\u043a\u0430\u043c \u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0438\u0445 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. <\/p>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u0442\u0430\u043a\u0438\u0445 \u043f\u043e\u0434\u0442\u0435\u0445\u043d\u0438\u043a, \u043a\u0430\u043a:<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0434\u0430\u043c\u043f <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/001\/\">\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 lsass.exe<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u043a\u0440\u0430\u0436\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0431\u0430\u0437\u044b <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/002\/\">SAM<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0434\u0430\u043c\u043f \u0431\u0430\u0437\u044b <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/003\/\">NTDS<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/004\/\">LSA<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/005\/\">\u0434\u0430\u043d\u043d\u044b\u0445<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0430\u0442\u0430\u043a\u0430 <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/006\/\">DCSync<\/a>.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/43a\/1b3\/318\/43a1b331817d40d68aed04a2e77a3453.png\" alt=\"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0431\u043e\u0442\u043e\u043c Kandinsky (https:\/\/t.me\/kandinsky21_bot)\" title=\"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0431\u043e\u0442\u043e\u043c Kandinsky (https:\/\/t.me\/kandinsky21_bot)\" width=\"974\" height=\"532\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/43a\/1b3\/318\/43a1b331817d40d68aed04a2e77a3453.png\"\/><\/p>\n<div><figcaption>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0431\u043e\u0442\u043e\u043c Kandinsky (<a href=\"https:\/\/t.me\/kandinsky21_bot\">https:\/\/t.me\/kandinsky21_bot<\/a>)<\/figcaption><\/div>\n<\/figure>\n<h3>LSASS Memory (T1003.001)<\/h3>\n<p>LSASS \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441 Windows, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438 \u0441\u043e\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0438\u0442\u0438\u043a \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u0412\u00a0\u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, NT-\u0445\u0435\u0448\u0438 \u043f\u0430\u0440\u043e\u043b\u0435\u0439, Kerberos-\u0431\u0438\u043b\u0435\u0442\u044b. \u041c\u043e\u0433\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0438 \u043f\u0430\u0440\u043e\u043b\u0438 \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u0438\u0434\u0435, \u0435\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d WDigest. <\/p>\n<h4>\u041a\u0430\u043a \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u0434\u0430\u043c\u043f\u044f\u0442 \u043f\u0430\u043c\u044f\u0442\u044c LSASS<\/h4>\n<p>\u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e \u2014 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u00ab\u0441\u043d\u0438\u043c\u043e\u043a\u00bb \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0438\u043b\u0438 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0440\u0430\u0437\u0443 \u0438\u0437 \u043f\u0430\u043c\u044f\u0442\u0438. \u041c\u0435\u0442\u043e\u0434\u043e\u0432 \u043c\u043d\u043e\u0433\u043e, \u0438 \u0432 \u043e\u0434\u0438\u043d \u0440\u0430\u0437\u0434\u0435\u043b \u0438\u0445 \u043d\u0435 \u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c. \u042d\u0442\u0430 \u0442\u0435\u043c\u0430 \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u0430 \u0432 \u043a\u043b\u0430\u0441\u0441\u043d\u043e\u0439 <a href=\"https:\/\/habr.com\/ru\/companies\/angarasecurity\/articles\/661341\/\">\u0441\u0442\u0430\u0442\u044c\u0435<\/a>. <\/p>\n<h4>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c<\/h4>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430, \u043a\u0430\u043a \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043c\u043f \u043f\u0430\u043c\u044f\u0442\u0438 LSASS.<\/p>\n<p>\u0414\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u0443\u0436\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Object Access \u2013 Audit Kernel Object<\/u> \u0438<u> Object Access \u2013 Audit Handle Manipulation.<\/u><\/p>\n<p>1. \u041f\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (4656 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security)<\/p>\n<p><em>Event ID =\u00a0<\/em><strong><em>4656<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Object Type = <\/em><strong><em>Process<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object Name = *<\/em><strong><em>lsass.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Access List = <\/em><strong><em>*%%4484*<\/em><\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e26\/8c6\/a62\/e268c6a6229dc9859b53487ba92c829f.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 \u043f\u0440\u0438 \u0434\u0430\u043c\u043f\u0435 lsass.exe \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikatz.exe  \" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 \u043f\u0440\u0438 \u0434\u0430\u043c\u043f\u0435 lsass.exe \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikatz.exe  \" width=\"626\" height=\"804\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e26\/8c6\/a62\/e268c6a6229dc9859b53487ba92c829f.png\"\/><\/p>\n<div><figcaption><em>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 \u043f\u0440\u0438 \u0434\u0430\u043c\u043f\u0435 lsass.exe \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikatz.exe<\/em>  <\/figcaption><\/div>\n<\/figure>\n<\/li>\n<\/ul>\n<ol start=\"2\">\n<li>\n<p>\u041f\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044e \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0443 (4663 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security)<\/p>\n<\/li>\n<\/ol>\n<p><em>Event ID =\u00a0<\/em><strong><em>4663<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Object Type = <\/em><strong><em>Process<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object Name = *<\/em><strong><em>lsass.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Access List = <\/em><strong><em>*%%4484*<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/992\/806\/ff4\/992806ff45ff22274909a2fee1a1f4a7.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4663 \u043f\u0440\u0438 \u0434\u0430\u043c\u043f\u0435 lsass.exe \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e comsvcs.dlll\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4663 \u043f\u0440\u0438 \u0434\u0430\u043c\u043f\u0435 lsass.exe \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e comsvcs.dlll\" width=\"888\" height=\"990\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/992\/806\/ff4\/992806ff45ff22274909a2fee1a1f4a7.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4663 \u043f\u0440\u0438 \u0434\u0430\u043c\u043f\u0435 lsass.exe \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e comsvcs.dlll<\/figcaption><\/div>\n<\/figure>\n<details class=\"spoiler\">\n<summary>\u041f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p><em>(event.id = \u201c4656\u201d AND object.type = \u201cprocess\u201d AND object.name contains \u201clsass.exe\u201d AND access.list contains \u201c%%4484\u201d)<\/em><\/p>\n<p><em>OR<\/em><\/p>\n<p><em>(event.id = \u201c4663\u201d AND object.type = \u201cprocess\u201d AND object.name contains \u201clsass.exe\u201d AND access.list contains \u201c%%4484\u201d)<\/em><\/p>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041a\u043e\u0434 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 *%%4484 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u00ab\u0427\u0442\u0435\u043d\u0438\u0435 \u0438\u0437 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u00bb.<\/p>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0441 id 4663 \u043e\u0442 4656:<\/p>\n<p>&#8212;\u00a0\u00a0\u00a0\u00a0\u00a0 4663 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u0440\u0430\u0432\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043e;<\/p>\n<p>&#8212;\u00a0\u00a0\u00a0\u00a0\u00a0 4663 \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<h3>SAM (T1003.002)<\/h3>\n<p>\u0418\u0437 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 SAM (Security Account Manager) \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c NT-\u0445\u0435\u0448\u0438 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. <\/p>\n<h4>\u041a\u0430\u043a \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u0434\u0430\u043c\u043f\u044f\u0442 SAM<\/h4>\n<p>\u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u2014 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SAM \u0438 HKLM\\SYSTEM, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0438\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u0445\u043e\u0441\u0442\u0435. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0438\u043b\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<p><em>reg save HKLM\\sam path_to_sam_file<\/em><\/p>\n<p><em>reg save HKLM\\system path_to_system_file<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a57\/532\/52e\/a5753252e4817a344a7d348311133b03.png\" alt=\"\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430\" title=\"\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430\" width=\"974\" height=\"330\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a57\/532\/52e\/a5753252e4817a344a7d348311133b03.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0443\u0436\u0435 \u043d\u0430 \u0441\u0432\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0445\u0435\u0448\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py \u0438\u0437 <a href=\"https:\/\/github.com\/fortra\/impacket\">impacket<\/a> \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b: <\/p>\n<p><em>secretsdump.py LOCAL -sam sam -system system<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a56\/1ef\/46e\/a561ef46ecd8f7f23cb67df79b68beac.png\" alt=\"\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\" title=\"\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\" width=\"974\" height=\"312\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a56\/1ef\/46e\/a561ef46ecd8f7f23cb67df79b68beac.png\"\/><\/p>\n<div><figcaption>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/figcaption><\/div>\n<\/figure>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e. \u0427\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f secretsdump.py \u0438\u043b\u0438 crackmapexec. \u041d\u0443\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u043d\u0430 \u0445\u043e\u0441\u0442\u0435: <\/p>\n<p><em>secretsdump.py domain.local\/username:&#8217;password&#8217;@hostname_or_IP<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/60a\/c0a\/906\/60ac0a90628fb2b4c7ae593a688af6d1.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0445\u0435\u0448\u0435\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438\u0437 \u0431\u0430\u0437\u044b SAM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py\" title=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0445\u0435\u0448\u0435\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438\u0437 \u0431\u0430\u0437\u044b SAM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py\" width=\"974\" height=\"359\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/60a\/c0a\/906\/60ac0a90628fb2b4c7ae593a688af6d1.png\"\/><\/p>\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0445\u0435\u0448\u0435\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438\u0437 \u0431\u0430\u0437\u044b SAM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py<\/figcaption><\/div>\n<\/figure>\n<p><em>crackmapexec smb hostname_or_IP &#8212;local-auth -u username -p &#8216;password&#8217; &#8212;sam<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ed1\/93a\/445\/ed193a445abc0376ebe46e4b73347a1f.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0445\u0435\u0448\u0435\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438\u0437 \u0431\u0430\u0437\u044b SAM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec\" title=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0445\u0435\u0448\u0435\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438\u0437 \u0431\u0430\u0437\u044b SAM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec\" width=\"974\" height=\"167\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ed1\/93a\/445\/ed193a445abc0376ebe46e4b73347a1f.png\"\/><\/p>\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0445\u0435\u0448\u0435\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438\u0437 \u0431\u0430\u0437\u044b SAM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec<\/figcaption><\/div>\n<\/figure>\n<h3>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c<\/h3>\n<p>\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b <em>reg<\/em> \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 (4688 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u0414\u043b\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u0430\u0443\u0434\u0438\u0442\u0430:<\/p>\n<p><u>Process Tracking \u2013 Process Creation<\/u><\/p>\n<p><u>System \u2013 Audit Process Creation \u2013 Include command line in process creation events<\/u><\/p>\n<p><em>Event ID =\u00a0<\/em><strong><em>4688<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>New Process Name = <\/em><strong><em>*reg.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Process Command Line = <\/em><strong><em>\u201c*save*\u201d \u0438 (\u201c*HKLM\\SAM*\u201d      \u0438\u043b\u0438 \u201c*HKEY_LOCAL_MACHINE\\SAM*\u201d \u0438\u043b\u0438 \u201c*HKLM\\System*&#187; \u0438\u043b\u0438 \u201c*HKEY_LOCAL_MACHINE\\System*\u201d)<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/2ae\/28d\/b70\/2ae28db70fdc074aee73ea3a52dddf78.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SAM\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SAM\" width=\"854\" height=\"1059\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2ae\/28d\/b70\/2ae28db70fdc074aee73ea3a52dddf78.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SAM<\/figcaption><\/div>\n<\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (4656 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security): \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Object Access \u2013 Registry<\/u> \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430 Sam \u0438 System (\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435).<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/110\/5f1\/876\/1105f1876e9cb286c08487e17c1a58ce.png\" alt=\"SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SAM\" title=\"SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SAM\" width=\"974\" height=\"430\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/110\/5f1\/876\/1105f1876e9cb286c08487e17c1a58ce.png\"\/><\/p>\n<div><figcaption>SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SAM<\/figcaption><\/div>\n<\/figure>\n<p><em>Event ID =\u00a0<\/em><strong><em>4656<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Process Name = <\/em><strong><em>*reg.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object Name = <\/em><strong><em>\u201c\\REGISTRY\\MACHINE\\SAM\u201d \u0438\u043b\u0438 \u201c\\REGISTRY\\MACHINE\\SYSTEM\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3ce\/c89\/45c\/3cec8945c5d6041f01e9a715fe5e672c.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SAM\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SAM\" width=\"809\" height=\"1011\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3ce\/c89\/45c\/3cec8945c5d6041f01e9a715fe5e672c.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SAM<\/figcaption><\/div>\n<\/figure>\n<p>\u0421\u043e\u0431\u044b\u0442\u0438\u044f 4688 \u0438 4656 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0432 \u0441\u0432\u044f\u0437\u043a\u0435, \u0441\u0432\u044f\u0437\u0443\u044e\u0449\u0438\u043c\u0438 \u0431\u0443\u0434\u0443\u0442 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0443\u0437\u0435\u043b \u0438 \u043e\u0434\u043d\u0430 \u0443\u0447\u0435\u0442\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p><em>(event.id = \u201c4688\u201d AND new.process.name contains \u201creg.exe\u201d AND process.command.line contains \u201csave\u201d AND (process.command.line contains \u201cHKLM\\SAM\u201d OR process.command.line contains \u201cHKEY_LOCAL_MACHINE\\SAM\u201d OR process.command.line contains \u201cHKLM\\System\u201d OR process.command.line contains \u201cHKEY_LOCAL_MACHINE\\System\u201d))<\/em><\/p>\n<p><em>AND<\/em><\/p>\n<p><em>(event.id = \u201c4656\u201d AND process.name contains \u201creg.exe\u201d AND (object.name = \u201c\\REGISTRY\\MACHINE\\SAM\u201d OR object.name = \u201c\\REGISTRY\\MACHINE\\<\/em> <em>SYSTEM\u201d))<\/em><\/p>\n<p><em>WITH IDENTICAL destination.hostname, source.username TIMER 30s<\/em><\/p>\n<\/div>\n<\/details>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 SAM \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e (secretsdump\/crackmapexec) \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u0446\u0435\u043f\u043e\u0447\u043a\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439:<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0 \u0412\u0445\u043e\u0434 \u0432 \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0431\u044b\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d (4624 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u041d\u0443\u0436\u043d\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Logon\/Logoff \u2013 Logon<\/u><\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0 \u041e\u0431\u044a\u0435\u043a\u0442 \u043e\u0431\u0449\u0435\u0439 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0438 \u0431\u044b\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 (5145 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u041d\u0443\u0436\u043d\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Object Access \u2013 Detailed File Share<\/u><\/p>\n<p>3.\u00a0\u00a0\u00a0\u00a0 \u0417\u0430\u043f\u0440\u043e\u0448\u0435\u043d \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (4656 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u041d\u0443\u0436\u043d\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Object Access \u2013 Registry<\/u> \u0438 SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SAM (\u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u0440\u0430\u043d\u043d\u0435\u0435) \u0438 HKLM\\SYSTEM\\CurrentControlSet\\Control\\Lsa<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/85b\/2f6\/f89\/85b2f6f89b360c1443fe977c44109fcd.png\" alt=\"SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SYSTEM\\CurrentControlSet\\Control\\Lsa\" title=\"SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SYSTEM\\CurrentControlSet\\Control\\Lsa\" width=\"974\" height=\"628\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/85b\/2f6\/f89\/85b2f6f89b360c1443fe977c44109fcd.png\"\/><\/p>\n<div><figcaption>SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SYSTEM\\CurrentControlSet\\Control\\Lsa<\/figcaption><\/div>\n<\/figure>\n<p><em>Event ID =\u00a0<\/em><strong><em>4624<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Source Network Address != \u201c<\/em><strong><em>localhost\u201d      \u0438 \u201c127.0.0.1\u201d \u0438 \u201c\u2013\u201d<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Logon Type = <\/em><strong><em>3<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<p><em>Event ID =\u00a0<\/em><strong><em>5145<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Share Name = <\/em><strong><em>\\\\*\\IPC$<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Share Path = <\/em><strong><em>winreg<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<p><em>Event ID =\u00a0<\/em><strong><em>4656<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Process Name = <\/em><strong><em>*svchost.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object      Name = <\/em><strong><em>\u201c\\REGISTRY\\MACHINE\\SAM\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<p><em>Event ID =\u00a0<\/em><strong><em>4656<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Process Name = <\/em><strong><em>*svchost.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object      Name = <\/em><strong><em>\u201c*\\Control\\Lsa\\*\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0446\u0435\u043b\u0435\u0432\u043e\u043c \u0443\u0437\u043b\u0435 \u0438 \u0441 \u043e\u0434\u043d\u043e\u0439 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d78\/904\/c1c\/d78904c1cb37ccb476c7c1e00eeddfea.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4624 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4624 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec\" width=\"832\" height=\"1114\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d78\/904\/c1c\/d78904c1cb37ccb476c7c1e00eeddfea.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4624 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/330\/366\/bf7\/330366bf79a9b21f39e0c59e54fd8ec8.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 5145 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 5145 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec\" width=\"873\" height=\"1035\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/330\/366\/bf7\/330366bf79a9b21f39e0c59e54fd8ec8.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 5145 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/71b\/930\/b6d\/71b930b6d9e82cc2ebb3958a2c69f3ae.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 (\u0432\u0435\u0442\u043a\u0430 SAM) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 (\u0432\u0435\u0442\u043a\u0430 SAM) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec\" width=\"788\" height=\"1040\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/71b\/930\/b6d\/71b930b6d9e82cc2ebb3958a2c69f3ae.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 (\u0432\u0435\u0442\u043a\u0430 SAM) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/be2\/811\/f09\/be2811f091735f0a256151b8ad64ee6f.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 (\u0432\u0435\u0442\u043a\u0430 LSA) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 (\u0432\u0435\u0442\u043a\u0430 LSA) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec\" width=\"848\" height=\"1135\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/be2\/811\/f09\/be2811f091735f0a256151b8ad64ee6f.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 (\u0432\u0435\u0442\u043a\u0430 LSA) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec<\/figcaption><\/div>\n<\/figure>\n<details class=\"spoiler\">\n<summary>\u041f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p><em>(event.id = \u201c4624\u201d AND source.network.address != \u201clocalhost\u201d AND source.network.address != \u201c127.0.0.1\u201d AND source.network.address != \u201c\u2013\u201d AND logon.type = \u201c3\u201d)<\/em><\/p>\n<p><em>AND<\/em><\/p>\n<p><em>(event.id = \u201c5145\u201d AND share.name = \u201c\\\\*\\IPC$\u201d AND share.path = \u201cwinreg\u201d)<\/em><\/p>\n<p><em>AND<\/em><\/p>\n<p><em>(event.id = \u201c4656\u201d AND process.name contains \u201csvchost.exe\u201d AND object.name = \u201c\\REGISTRY\\MACHINE\\SAM\u201d)<\/em><\/p>\n<p><em>AND<\/em><\/p>\n<p><em>(event.id = \u201c4656\u201d AND process.name contains \u201csvchost.exe\u201d AND object.name contains \u201c\\Control\\Lsa\\\u201d)<\/em><\/p>\n<p><em>WITH IDENTICAL destination.hostname, source.username TIMER 30s<\/em><\/p>\n<\/div>\n<\/details>\n<h3>NTDS (T1003.003)<\/h3>\n<p>NTDS.dit \u2014 \u044d\u0442\u043e \u0444\u0430\u0439\u043b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u0445 \u0434\u043e\u043c\u0435\u043d\u0430, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 Active Directory. \u0418\u0437 \u043d\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c NT-\u0445\u0435\u0448\u0438 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u0432 \u0432 \u0434\u043e\u043c\u0435\u043d\u0435. \u0415\u0441\u043b\u0438 \u0434\u043b\u044f \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 Active Directory \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u00ab\u0425\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u0438\u043c\u043e\u0433\u043e \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00bb, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u0438\u0434\u0435. <\/p>\n<h4>\u041a\u0430\u043a \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u0434\u0430\u043c\u043f\u044f\u0442 NTDS<\/h4>\n<p><strong>\u041f\u0435\u0440\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/strong> \u2014 Shadow Copy. \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u00ab\u0442\u0435\u043d\u0435\u0432\u0443\u044e \u043a\u043e\u043f\u0438\u044e\u00bb \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0434\u043e\u043c\u0435\u043d\u0430 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e vssadmin:<\/p>\n<p><em>vssadmin create shadow \/for=C:<\/em><\/p>\n<p><em>copy $ShadowCopyName\\Windows\\NTDS\\NTDS.dit C:\\ntds.dit.save<\/em><\/p>\n<p><em>copy $ShadowCopyName\\Windows\\System32\\config\\SYSTEM C:\\system.save<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/928\/5e8\/a1b\/9285e8a1b0b7ad59ad1af1b7a0060817.png\" alt=\"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 Shadow Copy\" title=\"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 Shadow Copy\" width=\"974\" height=\"452\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/928\/5e8\/a1b\/9285e8a1b0b7ad59ad1af1b7a0060817.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 Shadow Copy<\/figcaption><\/div>\n<\/figure>\n<p>\u0417\u0430\u0442\u0435\u043c \u0444\u0430\u0439\u043b\u044b <em>ntds.dit.save<\/em> \u0438 <em>system.save<\/em> \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0445\u043e\u0441\u0442 \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0438\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<p><em>secretsdump.py LOCAL -ntds ntds.dit.save -system system.save<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ecf\/7a3\/0c7\/ecf7a30c7e7b62e9422e7916a94a8cca.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432\" title=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432\" width=\"974\" height=\"568\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ecf\/7a3\/0c7\/ecf7a30c7e7b62e9422e7916a94a8cca.png\"\/><\/p>\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<p><strong>\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/strong> \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 NTDSUtil \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0434\u043e\u043c\u0435\u043d\u0430: <\/p>\n<p><em>ntdsutil &#171;activate instance ntds&#187; &#171;ifm&#187; &#171;create full C:\\NTDS&#187; quit quit<\/em><\/p>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u0444\u0430\u0439\u043b\u044b C:\\NTDS\\Active Directory\\ntds.dit, C:\\NTDS\\registry\\SECURITY \u0438 C:\\NTDS\\registry\\SYSTEM, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0445\u043e\u0441\u0442 \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0438\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<p><em>secretsdump.py LOCAL -ntds ntds.dit -system SYSTEM<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7de\/445\/ac0\/7de445ac0a05f6d8c2ed651a44450011.png\" alt=\"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043f\u0438\u0438 NTDS.dit \u0438 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SYSTEM \u0438 SECURITY\" title=\"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043f\u0438\u0438 NTDS.dit \u0438 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SYSTEM \u0438 SECURITY\" width=\"974\" height=\"496\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7de\/445\/ac0\/7de445ac0a05f6d8c2ed651a44450011.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043f\u0438\u0438 NTDS.dit \u0438 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SYSTEM \u0438 SECURITY<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/796\/eb9\/f3d\/796eb9f3df4bca7da73a7e9a98d1b41f.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432\" title=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432\" width=\"974\" height=\"472\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/796\/eb9\/f3d\/796eb9f3df4bca7da73a7e9a98d1b41f.png\"\/><\/p>\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<h4>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c<\/h4>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u00ab\u0442\u0435\u043d\u0435\u0432\u043e\u0439 \u043a\u043e\u043f\u0438\u0438\u00bb \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b <em>vssadmin<\/em> \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 (4688 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u0414\u043b\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u0430\u0443\u0434\u0438\u0442\u0430:<\/p>\n<p><u>Process Tracking \u2013 Process Creation<\/u><\/p>\n<p><u>System \u2013 Audit Process Creation \u2013 Include command line in process creation events<\/u><\/p>\n<p><em>Event ID =\u00a0<\/em><strong><em>4688<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>New Process Name = <\/em><strong><em>*vssadmin.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Process Command Line = <\/em><strong><em>\u201c*vssadmin*\u201d \u0438 \u201c*create*\u201d      \u0438 \u201c*shadow*\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/47b\/c33\/eed\/47bc33eed4c37a5e42a47fe75c562de9.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u00ab\u0442\u0435\u043d\u0435\u0432\u043e\u0439 \u043a\u043e\u043f\u0438\u0438\u00bb\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u00ab\u0442\u0435\u043d\u0435\u0432\u043e\u0439 \u043a\u043e\u043f\u0438\u0438\u00bb\" width=\"816\" height=\"927\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/47b\/c33\/eed\/47bc33eed4c37a5e42a47fe75c562de9.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u00ab\u0442\u0435\u043d\u0435\u0432\u043e\u0439 \u043a\u043e\u043f\u0438\u0438\u00bb<\/figcaption><\/div>\n<\/figure>\n<p>\u0414\u0430\u043c\u043f <em>ntds.dit<\/em> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b ntdsutil \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 (4688 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p><em>Event ID =\u00a0<\/em><strong><em>4688<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>New Process Name = <\/em><strong><em>*ntdsutil.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Process Command Line = <\/em><strong><em>\u201c*ac*\u201d \u0438 \u201c*i*\u201d \u0438 \u201c*ntds*\u201d \u0438 \u201c*ifm*\u201d \u0438 \u201c*create*\u201d \u0438 \u201c*full*\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ab7\/c66\/563\/ab7c66563fcf2748aaeb3078c5fd72fe.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u044b ntdsutil\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u044b ntdsutil\" width=\"798\" height=\"911\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ab7\/c66\/563\/ab7c66563fcf2748aaeb3078c5fd72fe.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u044b ntdsutil<\/figcaption><\/div>\n<\/figure>\n<details class=\"spoiler\">\n<summary>\u041f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p><em>(event.id = \u201c4688\u201d AND new.process.name contains \u201cvssadmin.exe\u201d AND process.command.line contains \u201cvssadmin\u201d AND process.command.line contains \u201ccreate\u201d AND process.command.line contains \u201cshadow\u201d) OR (event.id = \u201c4688\u201d AND new.process.name contains \u201cntdsutil.exe\u201d AND process.command.line contains \u201cac\u201d AND process.command.line contains \u201ci\u201d AND process.command.line contains \u201cntds\u201d AND process.command.line contains \u201cifm\u201d<\/em> <em>AND process.command.line contains \u201ccreate\u201d AND process.command.line contains \u201cfull\u201d)<\/em><\/p>\n<\/div>\n<\/details>\n<h3>LSA (T1003.004)<\/h3>\n<p>\u0418\u0437 LSA \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438, \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441, \u0438 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0439 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438.<\/p>\n<h4>\u041a\u0430\u043a \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u0434\u0430\u043c\u043f\u044f\u0442 LSA<\/h4>\n<p>\u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SECURITY \u0438 HKLM\\SYSTEM, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0438\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u0445\u043e\u0441\u0442\u0435. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0438\u043b\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<p><em>reg save HKLM\\security path_to_security_file<\/em><\/p>\n<p><em>reg save HKLM\\system path_to_system_file<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e7b\/514\/111\/e7b5141114f78aacf03ff670a36696c5.png\" alt=\"\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430\" title=\"\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430\" width=\"974\" height=\"303\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e7b\/514\/111\/e7b5141114f78aacf03ff670a36696c5.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0443\u0436\u0435 \u043d\u0430 \u0441\u0432\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0445\u0435\u0448\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py \u0438\u0437 <a href=\"https:\/\/github.com\/fortra\/impacket\">impacket<\/a> \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b:<\/p>\n<p><em>secretsdump.py LOCAL &#8212; security security -system system<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/421\/635\/777\/4216357771ebedcea309c7669621252f.png\" alt=\"\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\" title=\"\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\" width=\"974\" height=\"351\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/421\/635\/777\/4216357771ebedcea309c7669621252f.png\"\/><\/p>\n<div><figcaption>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py \u0438\u043b\u0438 crackmapexec:<\/p>\n<p><em>secretsdump.py domain.local\/username:&#8217;password&#8217;@hostname_or_IP<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/eed\/b61\/15f\/eedb6115f10748eded05ed92a3c13076.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 LSA \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py\" title=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 LSA \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py\" width=\"974\" height=\"561\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/eed\/b61\/15f\/eedb6115f10748eded05ed92a3c13076.png\"\/><\/p>\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 LSA \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py<\/figcaption><\/div>\n<\/figure>\n<p><em>crackmapexec smb hostname_or_IP &#8212;local-auth -u username -p &#8216;password&#8217; \u2013lsa<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/098\/54d\/fb4\/09854dfb4b3eebf51843854821984b2b.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 LSA \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec\" title=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 LSA \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec\" width=\"974\" height=\"317\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/098\/54d\/fb4\/09854dfb4b3eebf51843854821984b2b.png\"\/><\/p>\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 LSA \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec<\/figcaption><\/div>\n<\/figure>\n<h4>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c<\/h4>\n<p>\u0414\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044e \u0441 SAM, \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u0435\u0442\u0432\u0438 SAM \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u0445 \u0431\u0443\u0434\u0435\u0442 SECURITY (\u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u0435 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 SACL).<\/p>\n<h3>Cached Domain Credential (T1003.005)<\/h3>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043d\u0430 \u0445\u043e\u0441\u0442\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0434\u043e\u043c\u0435\u043d, \u0435\u0433\u043e \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u044d\u0448\u0438\u0440\u0443\u044e\u0442\u0441\u044f. \u042d\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u043b\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0432 \u041e\u0421 \u043d\u0430 \u0445\u043e\u0441\u0442\u0435 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0430 \u0441\u0435\u0442\u0435\u0432\u0430\u044f \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u0445\u043e\u0441\u0442\u043e\u043c \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u0430. <\/p>\n<h4>\u041a\u0430\u043a \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u0434\u0430\u043c\u043f\u044f\u0442 Cached Domain Credential<\/h4>\n<p>\u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 (DCC2-\u0445\u0435\u0448\u0438) \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b \u0438\u0437 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\Security \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043a\u0430\u043a \u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u044b LSA. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0442\u0430\u043a\u0438\u0435 \u0436\u0435, \u043a\u0430\u043a \u0438 \u043f\u0440\u0438 \u0434\u0430\u043c\u043f\u0435 LSA.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ae8\/026\/bb0\/ae8026bb0a2325d016eb25e47307b85e.png\" alt=\"\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\" title=\"\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\" width=\"974\" height=\"351\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ae8\/026\/bb0\/ae8026bb0a2325d016eb25e47307b85e.png\"\/><\/p>\n<div><figcaption>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6a8\/674\/71a\/6a867471a306d4dfa4fee1544cb20d6d.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py\" title=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py\" width=\"974\" height=\"497\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6a8\/674\/71a\/6a867471a306d4dfa4fee1544cb20d6d.png\"\/><\/p>\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ec1\/cd8\/e74\/ec1cd8e74f947816915e6201af751753.png\" alt=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec\" title=\"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec\" width=\"974\" height=\"317\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ec1\/cd8\/e74\/ec1cd8e74f947816915e6201af751753.png\"\/><\/p>\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec<\/figcaption><\/div>\n<\/figure>\n<h3>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c<\/h3>\n<p>\u0414\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044e \u0441 SAM, \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u0435\u0442\u0432\u0438 SAM \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u0445 \u0431\u0443\u0434\u0435\u0442 SECURITY (\u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u0435 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 SACL).<\/p>\n<h3>DCSync (T1003.006)<\/h3>\n<p>\u0410\u0442\u0430\u043a\u0430 DCSync \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0430\u0442\u0430\u043a\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u0438\u0442\u0432\u043e\u0440\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u0430 \u0438 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 (\u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 NTDS.dit). <\/p>\n<h4>\u041a\u0430\u043a \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u043f\u0440\u043e\u0432\u043e\u0434\u044f\u0442 \u0430\u0442\u0430\u043a\u0443 DCSync<\/h4>\n<p>\u0421\u0430\u043c\u044b\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 mimikatz:<\/p>\n<p>lsadump::dcsync \/all<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/dee\/d0b\/b01\/deed0bb01de5f31db24ea940c013a9ce.png\" alt=\"\u0410\u0442\u0430\u043a\u0430 DCSync \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikat\" title=\"\u0410\u0442\u0430\u043a\u0430 DCSync \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikat\" width=\"974\" height=\"732\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dee\/d0b\/b01\/deed0bb01de5f31db24ea940c013a9ce.png\"\/><\/p>\n<div><figcaption>\u0410\u0442\u0430\u043a\u0430 DCSync \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikat<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/71f\/d8b\/209\/71fd8b2094597a9cf1b53b5c7231c78e.png\" alt=\"\u0410\u0442\u0430\u043a\u0430 DCSync \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikatz\" title=\"\u0410\u0442\u0430\u043a\u0430 DCSync \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikatz\" width=\"974\" height=\"627\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/71f\/d8b\/209\/71fd8b2094597a9cf1b53b5c7231c78e.png\"\/><\/p>\n<div><figcaption>\u0410\u0442\u0430\u043a\u0430 DCSync \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikatz<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u043b\u0430\u0433 <em>-just-dc<\/em> \u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0445\u043e\u0441\u0442\u0430 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430: <\/p>\n<p><em>secretsdump.py -just-dc domain.local\/username:&#8217;password&#8217;@dc_hostname_or_IP<\/em><\/p>\n<p>\u00a0<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c5f\/55a\/1f9\/c5f55a1f9548eeba535c585be5de4efe.png\" alt=\"\u0410\u0442\u0430\u043a\u0430 DCSync \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump\" title=\"\u0410\u0442\u0430\u043a\u0430 DCSync \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump\" width=\"974\" height=\"506\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c5f\/55a\/1f9\/c5f55a1f9548eeba535c585be5de4efe.png\"\/><\/p>\n<div><figcaption>\u0410\u0442\u0430\u043a\u0430 DCSync \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump<\/figcaption><\/div>\n<\/figure>\n<h3>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c<\/h3>\n<p>\u0412 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 Active Directory (ntds.dit) \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0434\u043e\u043c\u0435\u043d\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u043b\u0443\u0436\u0431 AD DS (4662 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u0414\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u0430\u0443\u0434\u0438\u0442\u0430 <u>DS Access \u2013 Audit Directory Service Access <\/u>\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c SACL \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6f0\/1b1\/eed\/6f01b1eed7e7c0622206279a33652c0b.png\" alt=\"\u0410\u0443\u0434\u0438\u0442 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439\" title=\"\u0410\u0443\u0434\u0438\u0442 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439\" width=\"974\" height=\"173\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6f0\/1b1\/eed\/6f01b1eed7e7c0622206279a33652c0b.png\"\/><\/p>\n<div><figcaption>\u0410\u0443\u0434\u0438\u0442 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d31\/402\/7a5\/d314027a537e04e3edcde4101ff3e101.png\" alt=\"SACL \u043d\u0430 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e ntds.dit\" title=\"SACL \u043d\u0430 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e ntds.dit\" width=\"974\" height=\"641\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d31\/402\/7a5\/d314027a537e04e3edcde4101ff3e101.png\"\/><\/p>\n<div><figcaption>SACL \u043d\u0430 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e ntds.dit<\/figcaption><\/div>\n<\/figure>\n<p><em>Event ID =\u00a0<\/em><strong><em>4662<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Access Mask = <\/em><strong><em>0x100<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Properties = \u201c*<\/em><strong><em>1131f6aa-9c07-11d1-f79f-00c04fc2dcd2*<\/em><\/strong><em>\u201d      \u0438\u043b\u0438 \u201c*<\/em><strong><em>1131f6ad-9c07-11d1-f79f-00c04fc2dcd2*<\/em><\/strong><em>\u201d      \u0438\u043b\u0438 \u201c*<\/em><strong><em>89e95b76-444d-4c62-991a-0facbeda640c*<\/em><\/strong><em>\u201d      \u0438\u043b\u0438 \u201c*<\/em><strong><em>9923a32a-3607-11d2-b9be-0000f87a36b2*<\/em><\/strong><em>\u201d<\/em><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/eaf\/0be\/5f2\/eaf0be5f2006189aa9eae44d3242ffad.png\" alt=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4662 \u043f\u0440\u0438 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 ntds.dit\" title=\"\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4662 \u043f\u0440\u0438 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 ntds.dit\" width=\"715\" height=\"834\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/eaf\/0be\/5f2\/eaf0be5f2006189aa9eae44d3242ffad.png\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4662 \u043f\u0440\u0438 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 ntds.dit<\/figcaption><\/div>\n<\/figure>\n<details class=\"spoiler\">\n<summary>\u041f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p>event.id = \u201c4662\u201d AND access.mask = \u201c0x100\u201d AND (properties contains \u201c1131f6aa-9c07-11d1-f79f-00c04fc2dcd2\u201d OR properties contains \u201c1131f6ad-9c07-11d1-f79f-00c04fc2dcd2\u201d OR properties contains \u201c89e95b76-444d-4c62-991a-0facbeda640c\u201d OR properties contains \u201c9923a32a-3607-11d2-b9be-0000f87a36b2\u201d)<\/p>\n<\/div>\n<\/details>\n<p>\u041f\u043e\u043b\u0435 <em>Properties <\/em>\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b GUID \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u044b\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f:<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0 1131f6aa-9c07-11d1-f79f-00c04fc2dcd2 (Ds-Replication-Get-Changes \u2013 \u0420\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430)<\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0 1131f6ad-9c07-11d1-f79f-00c04fc2dcd2 (Ds-Replication-Get-Changes-All \u2013 \u0420\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430)<\/p>\n<p>3.\u00a0\u00a0\u00a0\u00a0 89e95b76-444d-4c62-991a-0facbeda640c (DS-Replication-Get-Changes-In-Filtered-Set \u2013 \u0420\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0432 \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043d\u0430\u0431\u043e\u0440\u0435)<\/p>\n<p>4.\u00a0\u00a0\u00a0\u00a0 9923a32a-3607-11d2-b9be-0000f87a36b2 (Ds-Install-Replica \u2013 \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0440\u0435\u043f\u043b\u0438\u043a\u0438 \u0432 \u0434\u043e\u043c\u0435\u043d\u0435)<\/p>\n<p><em>Access Mask<\/em> 0x100 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u043e\u0441\u0442\u0443\u043f \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a \u043f\u0440\u0430\u0432, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c.<\/p>\n<h3>\u0412 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u0448\u0435\u0441\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0430\u043c\u0438 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0440\u0435\u0435\u0441\u0442\u0440\u0430, \u043f\u0430\u043c\u044f\u0442\u0438 \u041e\u0421 Windows \u0438 \u0438\u0437 \u0431\u0430\u0437\u044b NTDS \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0434\u043e\u043c\u0435\u043d\u0430 Active Directory. \u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043f\u043e \u043f\u0435\u043d\u0442\u0435\u0441\u0442\u0430\u043c \u0438 <a href=\"https:\/\/cisoclub.ru\/purple-teaming-edinstvo-i-borba-protivopolozhnostej\/\">Purple Team<\/a> \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043c\u044b \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u043c, \u0447\u0442\u043e \u0443 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u043e\u0432 \u043f\u043e\u0434\u043b\u0435\u0436\u0438\u0442 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u043c\u043f \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 LSASS. \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0440\u0435\u0435\u0441\u0442\u0440\u0430. <\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0435\u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0438, \u0447\u0442\u043e \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0442\u043e \u0432 \u043d\u0438\u0445 \u0431\u044b\u0432\u0430\u044e\u0442 \u043e\u0448\u0438\u0431\u043a\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 \u0430\u0442\u0430\u043a\u0443 DCSync \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0430\u043b\u0435\u0440\u0442 \u043d\u0430 PetitPotam. \u041f\u0440\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u0430\u0442\u0430\u043a\u0435 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u044e\u0442 \u043b\u043e\u0436\u043d\u043e\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0432 \u0438\u043d\u0446\u0438\u0434\u0435\u043d\u0442.<\/p>\n<p>\u0410\u0442\u0430\u043a\u0443\u044e\u0449\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u043d\u043e\u0435 \u041f\u041e, \u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b. \u0412\u00a0\u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0438 \u0434\u043e\u043b\u0436\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0430\u0443\u0434\u0438\u0442\u0430 \u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 Security \u043e\u0441\u0442\u0430\u043d\u0443\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u044b. \u0422\u0430\u043a \u043a\u0430\u043a \u043e\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u0442\u0435\u0445\u043d\u0438\u043a \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c\u0441\u044f \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f (\u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043d\u0443\u0436\u043d\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b Active Directory), \u0442\u043e \u0432\u0430\u0436\u043d\u043e \u0441\u0432\u043e\u0435\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432\u044b\u044f\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0438 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043d\u0435\u0435. \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043c\u043e\u0436\u0435\u0442 \u0441\u0442\u0430\u0442\u044c \u0434\u043b\u044f \u0432\u0430\u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0442\u0435\u0445\u043d\u0438\u043a\u0438 T1003 OS Credential Dumping (Windows). \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u0442\u043e\u0438\u0442 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u0432 \u0432\u0430\u0448\u0435\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0444\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043b\u0435\u0433\u0438\u0442\u0438\u043c\u043d\u043e\u0439 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0438 \u043b\u043e\u0436\u043d\u043e\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0439.<\/p>\n<p>\u0410\u0432\u0442\u043e\u0440\u044b:<\/p>\n<p><strong>\u0412\u0430\u043b\u0435\u0440\u0438\u044f \u0428\u043e\u0442\u0442,<\/strong> \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a \u0446\u0435\u043d\u0442\u0440\u0430 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0438 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0438\u043d\u0446\u0438\u0434\u0435\u043d\u0442\u044b Jet CSIRT \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u00ab\u0418\u043d\u0444\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0414\u0436\u0435\u0442\u00bb<\/p>\n<p><strong>\u0418\u0440\u0438\u043d\u0430 \u0411\u0435\u043b\u044f\u0435\u0432\u0430,\u00a0<\/strong>\u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u043d\u0442 \u043f\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u00ab\u0418\u043d\u0444\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0414\u0436\u0435\u0442\u00bb  <\/p>\n<\/p>\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\/780650\/\"> https:\/\/habr.com\/ru\/articles\/780650\/<\/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<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0442\u0435\u0445\u043d\u0438\u043a \u043f\u0440\u0438 \u0430\u0442\u0430\u043a\u0430\u0445 \u2014 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0412\u00a0\u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0438\u0442\u0430\u044f \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0442\u0447\u0435\u0442\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439: \u0442\u0435\u0445\u043d\u0438\u043a\u0430 T1003 OS Credential Dumping \u0432 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0422\u041e\u041f-5. \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0443\u0447\u0435\u0442\u043a\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u043e \u0441\u0435\u0442\u0438 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u0430 \u0434\u0430\u043d\u043d\u0430\u044f \u0442\u0435\u0445\u043d\u0438\u043a\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430 \u043d\u0430 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0438 \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0438 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432. <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0430\u043a\u0446\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u0432\u043e\u0435\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0418\u0411 \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0448\u0442\u0430\u0442\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0430\u0443\u0434\u0438\u0442\u0430 \u041e\u0421 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u044b\u0442\u0430\u044e\u0442\u0441\u044f \u0441\u0434\u0430\u043c\u043f\u0438\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 Windows. \u041b\u043e\u0433\u0438\u043a\u0430 \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u043e\u0431\u0449\u0435\u043c \u0432\u0438\u0434\u0435 \u043f\u043e \u043f\u043e\u043b\u044f\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430. \u041d\u0443 \u0438 \u0434\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0430\u0432\u0438\u043b \u043a\u043e\u0440\u0440\u0435\u043b\u044f\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043a\u0440\u0430\u0442\u043a\u0430\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e \u0430\u0442\u0430\u043a\u0430\u043c \u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0438\u0445 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. <\/p>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u0442\u0430\u043a\u0438\u0445 \u043f\u043e\u0434\u0442\u0435\u0445\u043d\u0438\u043a, \u043a\u0430\u043a:<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0434\u0430\u043c\u043f <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/001\/\">\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 lsass.exe<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u043a\u0440\u0430\u0436\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0431\u0430\u0437\u044b <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/002\/\">SAM<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0434\u0430\u043c\u043f \u0431\u0430\u0437\u044b <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/003\/\">NTDS<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/004\/\">LSA<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/005\/\">\u0434\u0430\u043d\u043d\u044b\u0445<\/a>;<\/p>\n<p>\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u0430\u0442\u0430\u043a\u0430 <a href=\"https:\/\/attack.mitre.org\/techniques\/T1003\/006\/\">DCSync<\/a>.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0431\u043e\u0442\u043e\u043c Kandinsky (<a href=\"https:\/\/t.me\/kandinsky21_bot\">https:\/\/t.me\/kandinsky21_bot<\/a>)<\/figcaption><\/div>\n<\/figure>\n<h3>LSASS Memory (T1003.001)<\/h3>\n<p>LSASS \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441 Windows, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438 \u0441\u043e\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0438\u0442\u0438\u043a \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u0412\u00a0\u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, NT-\u0445\u0435\u0448\u0438 \u043f\u0430\u0440\u043e\u043b\u0435\u0439, Kerberos-\u0431\u0438\u043b\u0435\u0442\u044b. \u041c\u043e\u0433\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0438 \u043f\u0430\u0440\u043e\u043b\u0438 \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u0438\u0434\u0435, \u0435\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d WDigest. <\/p>\n<h4>\u041a\u0430\u043a \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u0434\u0430\u043c\u043f\u044f\u0442 \u043f\u0430\u043c\u044f\u0442\u044c LSASS<\/h4>\n<p>\u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e \u2014 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u00ab\u0441\u043d\u0438\u043c\u043e\u043a\u00bb \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0438\u043b\u0438 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0440\u0430\u0437\u0443 \u0438\u0437 \u043f\u0430\u043c\u044f\u0442\u0438. \u041c\u0435\u0442\u043e\u0434\u043e\u0432 \u043c\u043d\u043e\u0433\u043e, \u0438 \u0432 \u043e\u0434\u0438\u043d \u0440\u0430\u0437\u0434\u0435\u043b \u0438\u0445 \u043d\u0435 \u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c. \u042d\u0442\u0430 \u0442\u0435\u043c\u0430 \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u0430 \u0432 \u043a\u043b\u0430\u0441\u0441\u043d\u043e\u0439 <a href=\"https:\/\/habr.com\/ru\/companies\/angarasecurity\/articles\/661341\/\">\u0441\u0442\u0430\u0442\u044c\u0435<\/a>. <\/p>\n<h4>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c<\/h4>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430, \u043a\u0430\u043a \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043c\u043f \u043f\u0430\u043c\u044f\u0442\u0438 LSASS.<\/p>\n<p>\u0414\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u0443\u0436\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Object Access \u2013 Audit Kernel Object<\/u> \u0438<u> Object Access \u2013 Audit Handle Manipulation.<\/u><\/p>\n<p>1. \u041f\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (4656 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security)<\/p>\n<p><em>Event ID =\u00a0<\/em><strong><em>4656<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Object Type = <\/em><strong><em>Process<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object Name = *<\/em><strong><em>lsass.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Access List = <\/em><strong><em>*%%4484*<\/em><\/strong><\/p>\n<figure class=\"full-width\">\n<div><figcaption><em>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 \u043f\u0440\u0438 \u0434\u0430\u043c\u043f\u0435 lsass.exe \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e mimikatz.exe<\/em>  <\/figcaption><\/div>\n<\/figure>\n<\/li>\n<\/ul>\n<ol start=\"2\">\n<li>\n<p>\u041f\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044e \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0443 (4663 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security)<\/p>\n<\/li>\n<\/ol>\n<p><em>Event ID =\u00a0<\/em><strong><em>4663<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Object Type = <\/em><strong><em>Process<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object Name = *<\/em><strong><em>lsass.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Access List = <\/em><strong><em>*%%4484*<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4663 \u043f\u0440\u0438 \u0434\u0430\u043c\u043f\u0435 lsass.exe \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e comsvcs.dlll<\/figcaption><\/div>\n<\/figure>\n<details class=\"spoiler\">\n<summary>\u041f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p><em>(event.id = \u201c4656\u201d AND object.type = \u201cprocess\u201d AND object.name contains \u201clsass.exe\u201d AND access.list contains \u201c%%4484\u201d)<\/em><\/p>\n<p><em>OR<\/em><\/p>\n<p><em>(event.id = \u201c4663\u201d AND object.type = \u201cprocess\u201d AND object.name contains \u201clsass.exe\u201d AND access.list contains \u201c%%4484\u201d)<\/em><\/p>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041a\u043e\u0434 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 *%%4484 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u00ab\u0427\u0442\u0435\u043d\u0438\u0435 \u0438\u0437 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u00bb.<\/p>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0441 id 4663 \u043e\u0442 4656:<\/p>\n<p>&#8212;\u00a0\u00a0\u00a0\u00a0\u00a0 4663 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u0440\u0430\u0432\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043e;<\/p>\n<p>&#8212;\u00a0\u00a0\u00a0\u00a0\u00a0 4663 \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<h3>SAM (T1003.002)<\/h3>\n<p>\u0418\u0437 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 SAM (Security Account Manager) \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c NT-\u0445\u0435\u0448\u0438 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. <\/p>\n<h4>\u041a\u0430\u043a \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u0434\u0430\u043c\u043f\u044f\u0442 SAM<\/h4>\n<p>\u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u2014 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SAM \u0438 HKLM\\SYSTEM, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0438\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u0445\u043e\u0441\u0442\u0435. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0438\u043b\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<p><em>reg save HKLM\\sam path_to_sam_file<\/em><\/p>\n<p><em>reg save HKLM\\system path_to_system_file<\/em><\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0443\u0436\u0435 \u043d\u0430 \u0441\u0432\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0445\u0435\u0448\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py \u0438\u0437 <a href=\"https:\/\/github.com\/fortra\/impacket\">impacket<\/a> \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b: <\/p>\n<p><em>secretsdump.py LOCAL -sam sam -system system<\/em><\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/figcaption><\/div>\n<\/figure>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e. \u0427\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f secretsdump.py \u0438\u043b\u0438 crackmapexec. \u041d\u0443\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u043d\u0430 \u0445\u043e\u0441\u0442\u0435: <\/p>\n<p><em>secretsdump.py domain.local\/username:&#8217;password&#8217;@hostname_or_IP<\/em><\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0445\u0435\u0448\u0435\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438\u0437 \u0431\u0430\u0437\u044b SAM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py<\/figcaption><\/div>\n<\/figure>\n<p><em>crackmapexec smb hostname_or_IP &#8212;local-auth -u username -p &#8216;password&#8217; &#8212;sam<\/em><\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0445\u0435\u0448\u0435\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0438\u0437 \u0431\u0430\u0437\u044b SAM \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e crackmapexec<\/figcaption><\/div>\n<\/figure>\n<h3>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c<\/h3>\n<p>\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b <em>reg<\/em> \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 (4688 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u0414\u043b\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u0430\u0443\u0434\u0438\u0442\u0430:<\/p>\n<p><u>Process Tracking \u2013 Process Creation<\/u><\/p>\n<p><u>System \u2013 Audit Process Creation \u2013 Include command line in process creation events<\/u><\/p>\n<p><em>Event ID =\u00a0<\/em><strong><em>4688<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>New Process Name = <\/em><strong><em>*reg.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Process Command Line = <\/em><strong><em>\u201c*save*\u201d \u0438 (\u201c*HKLM\\SAM*\u201d      \u0438\u043b\u0438 \u201c*HKEY_LOCAL_MACHINE\\SAM*\u201d \u0438\u043b\u0438 \u201c*HKLM\\System*&#187; \u0438\u043b\u0438 \u201c*HKEY_LOCAL_MACHINE\\System*\u201d)<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SAM<\/figcaption><\/div>\n<\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (4656 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security): \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Object Access \u2013 Registry<\/u> \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430 Sam \u0438 System (\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435).<\/p>\n<figure class=\"full-width\">\n<div><figcaption>SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SAM<\/figcaption><\/div>\n<\/figure>\n<p><em>Event ID =\u00a0<\/em><strong><em>4656<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Process Name = <\/em><strong><em>*reg.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object Name = <\/em><strong><em>\u201c\\REGISTRY\\MACHINE\\SAM\u201d \u0438\u043b\u0438 \u201c\\REGISTRY\\MACHINE\\SYSTEM\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SAM<\/figcaption><\/div>\n<\/figure>\n<p>\u0421\u043e\u0431\u044b\u0442\u0438\u044f 4688 \u0438 4656 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0432 \u0441\u0432\u044f\u0437\u043a\u0435, \u0441\u0432\u044f\u0437\u0443\u044e\u0449\u0438\u043c\u0438 \u0431\u0443\u0434\u0443\u0442 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0443\u0437\u0435\u043b \u0438 \u043e\u0434\u043d\u0430 \u0443\u0447\u0435\u0442\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p><em>(event.id = \u201c4688\u201d AND new.process.name contains \u201creg.exe\u201d AND process.command.line contains \u201csave\u201d AND (process.command.line contains \u201cHKLM\\SAM\u201d OR process.command.line contains \u201cHKEY_LOCAL_MACHINE\\SAM\u201d OR process.command.line contains \u201cHKLM\\System\u201d OR process.command.line contains \u201cHKEY_LOCAL_MACHINE\\System\u201d))<\/em><\/p>\n<p><em>AND<\/em><\/p>\n<p><em>(event.id = \u201c4656\u201d AND process.name contains \u201creg.exe\u201d AND (object.name = \u201c\\REGISTRY\\MACHINE\\SAM\u201d OR object.name = \u201c\\REGISTRY\\MACHINE\\<\/em> <em>SYSTEM\u201d))<\/em><\/p>\n<p><em>WITH IDENTICAL destination.hostname, source.username TIMER 30s<\/em><\/p>\n<\/div>\n<\/details>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 SAM \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e (secretsdump\/crackmapexec) \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u0446\u0435\u043f\u043e\u0447\u043a\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439:<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0 \u0412\u0445\u043e\u0434 \u0432 \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0431\u044b\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d (4624 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u041d\u0443\u0436\u043d\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Logon\/Logoff \u2013 Logon<\/u><\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0 \u041e\u0431\u044a\u0435\u043a\u0442 \u043e\u0431\u0449\u0435\u0439 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043f\u0430\u043f\u043a\u0438 \u0431\u044b\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 (5145 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u041d\u0443\u0436\u043d\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Object Access \u2013 Detailed File Share<\/u><\/p>\n<p>3.\u00a0\u00a0\u00a0\u00a0 \u0417\u0430\u043f\u0440\u043e\u0448\u0435\u043d \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (4656 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u041d\u0443\u0436\u043d\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0430\u0443\u0434\u0438\u0442\u0430 <u>Object Access \u2013 Registry<\/u> \u0438 SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SAM (\u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u0440\u0430\u043d\u043d\u0435\u0435) \u0438 HKLM\\SYSTEM\\CurrentControlSet\\Control\\Lsa<\/p>\n<figure class=\"full-width\">\n<div><figcaption>SACL \u0434\u043b\u044f \u0432\u0435\u0442\u043a\u0438 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 HKLM\\SYSTEM\\CurrentControlSet\\Control\\Lsa<\/figcaption><\/div>\n<\/figure>\n<p><em>Event ID =\u00a0<\/em><strong><em>4624<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Source Network Address != \u201c<\/em><strong><em>localhost\u201d      \u0438 \u201c127.0.0.1\u201d \u0438 \u201c\u2013\u201d<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Logon Type = <\/em><strong><em>3<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<p><em>Event ID =\u00a0<\/em><strong><em>5145<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Share Name = <\/em><strong><em>\\\\*\\IPC$<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Share Path = <\/em><strong><em>winreg<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<p><em>Event ID =\u00a0<\/em><strong><em>4656<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Process Name = <\/em><strong><em>*svchost.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object      Name = <\/em><strong><em>\u201c\\REGISTRY\\MACHINE\\SAM\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<p><em>Event ID =\u00a0<\/em><strong><em>4656<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>Process Name = <\/em><strong><em>*svchost.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Object      Name = <\/em><strong><em>\u201c*\\Control\\Lsa\\*\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0446\u0435\u043b\u0435\u0432\u043e\u043c \u0443\u0437\u043b\u0435 \u0438 \u0441 \u043e\u0434\u043d\u043e\u0439 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4624 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 5145 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 (\u0432\u0435\u0442\u043a\u0430 SAM) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4656 (\u0432\u0435\u0442\u043a\u0430 LSA) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 crackmapexec<\/figcaption><\/div>\n<\/figure>\n<details class=\"spoiler\">\n<summary>\u041f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p><em>(event.id = \u201c4624\u201d AND source.network.address != \u201clocalhost\u201d AND source.network.address != \u201c127.0.0.1\u201d AND source.network.address != \u201c\u2013\u201d AND logon.type = \u201c3\u201d)<\/em><\/p>\n<p><em>AND<\/em><\/p>\n<p><em>(event.id = \u201c5145\u201d AND share.name = \u201c\\\\*\\IPC$\u201d AND share.path = \u201cwinreg\u201d)<\/em><\/p>\n<p><em>AND<\/em><\/p>\n<p><em>(event.id = \u201c4656\u201d AND process.name contains \u201csvchost.exe\u201d AND object.name = \u201c\\REGISTRY\\MACHINE\\SAM\u201d)<\/em><\/p>\n<p><em>AND<\/em><\/p>\n<p><em>(event.id = \u201c4656\u201d AND process.name contains \u201csvchost.exe\u201d AND object.name contains \u201c\\Control\\Lsa\\\u201d)<\/em><\/p>\n<p><em>WITH IDENTICAL destination.hostname, source.username TIMER 30s<\/em><\/p>\n<\/div>\n<\/details>\n<h3>NTDS (T1003.003)<\/h3>\n<p>NTDS.dit \u2014 \u044d\u0442\u043e \u0444\u0430\u0439\u043b \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u0445 \u0434\u043e\u043c\u0435\u043d\u0430, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 Active Directory. \u0418\u0437 \u043d\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c NT-\u0445\u0435\u0448\u0438 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u0432 \u0432 \u0434\u043e\u043c\u0435\u043d\u0435. \u0415\u0441\u043b\u0438 \u0434\u043b\u044f \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 Active Directory \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u00ab\u0425\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u0438\u043c\u043e\u0433\u043e \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00bb, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u0438\u0434\u0435. <\/p>\n<h4>\u041a\u0430\u043a \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0438 \u0434\u0430\u043c\u043f\u044f\u0442 NTDS<\/h4>\n<p><strong>\u041f\u0435\u0440\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/strong> \u2014 Shadow Copy. \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u00ab\u0442\u0435\u043d\u0435\u0432\u0443\u044e \u043a\u043e\u043f\u0438\u044e\u00bb \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0434\u043e\u043c\u0435\u043d\u0430 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e vssadmin:<\/p>\n<p><em>vssadmin create shadow \/for=C:<\/em><\/p>\n<p><em>copy $ShadowCopyName\\Windows\\NTDS\\NTDS.dit C:\\ntds.dit.save<\/em><\/p>\n<p><em>copy $ShadowCopyName\\Windows\\System32\\config\\SYSTEM C:\\system.save<\/em><\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 Shadow Copy<\/figcaption><\/div>\n<\/figure>\n<p>\u0417\u0430\u0442\u0435\u043c \u0444\u0430\u0439\u043b\u044b <em>ntds.dit.save<\/em> \u0438 <em>system.save<\/em> \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0445\u043e\u0441\u0442 \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0438\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<p><em>secretsdump.py LOCAL -ntds ntds.dit.save -system system.save<\/em><\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<p><strong>\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/strong> \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 NTDSUtil \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0434\u043e\u043c\u0435\u043d\u0430: <\/p>\n<p><em>ntdsutil &#171;activate instance ntds&#187; &#171;ifm&#187; &#171;create full C:\\NTDS&#187; quit quit<\/em><\/p>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u0444\u0430\u0439\u043b\u044b C:\\NTDS\\Active Directory\\ntds.dit, C:\\NTDS\\registry\\SECURITY \u0438 C:\\NTDS\\registry\\SYSTEM, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0445\u043e\u0441\u0442 \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e secretsdump.py \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0438\u0445 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<p><em>secretsdump.py LOCAL -ntds ntds.dit -system SYSTEM<\/em><\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043f\u0438\u0438 NTDS.dit \u0438 \u0432\u0435\u0442\u043e\u043a \u0440\u0435\u0435\u0441\u0442\u0440\u0430 SYSTEM \u0438 SECURITY<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<h4>\u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c<\/h4>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u00ab\u0442\u0435\u043d\u0435\u0432\u043e\u0439 \u043a\u043e\u043f\u0438\u0438\u00bb \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b <em>vssadmin<\/em> \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 (4688 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p>\u0414\u043b\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u0430\u0443\u0434\u0438\u0442\u0430:<\/p>\n<p><u>Process Tracking \u2013 Process Creation<\/u><\/p>\n<p><u>System \u2013 Audit Process Creation \u2013 Include command line in process creation events<\/u><\/p>\n<p><em>Event ID =\u00a0<\/em><strong><em>4688<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>New Process Name = <\/em><strong><em>*vssadmin.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Process Command Line = <\/em><strong><em>\u201c*vssadmin*\u201d \u0438 \u201c*create*\u201d      \u0438 \u201c*shadow*\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u00ab\u0442\u0435\u043d\u0435\u0432\u043e\u0439 \u043a\u043e\u043f\u0438\u0438\u00bb<\/figcaption><\/div>\n<\/figure>\n<p>\u0414\u0430\u043c\u043f <em>ntds.dit<\/em> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b ntdsutil \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 (4688 \u2013 \u0436\u0443\u0440\u043d\u0430\u043b Security).<\/p>\n<p><em>Event ID =\u00a0<\/em><strong><em>4688<\/em><\/strong><\/p>\n<ul>\n<li>\n<p><em>New Process Name = <\/em><strong><em>*ntdsutil.exe<\/em><\/strong><\/p>\n<\/li>\n<li>\n<p><em>Process Command Line = <\/em><strong><em>\u201c*ac*\u201d \u0438 \u201c*i*\u201d \u0438 \u201c*ntds*\u201d \u0438 \u201c*ifm*\u201d \u0438 \u201c*create*\u201d \u0438 \u201c*full*\u201d<\/em><\/strong><\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0431\u044b\u0442\u0438\u0435 4688 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u044b ntdsutil<\/figcaption><\/div>\n<\/figure>\n<details class=\"spoiler\">\n<summary>\u041f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434<\/summary>\n<div class=\"spoiler__content\">\n<p><em>(event.id = \u201c4688\u201d AND new.process.name contains \u201cvssadmin.exe\u201d AND process.command.line contains \u201cvssadmin\u201d AND process.command.line contains \u201ccreate\u201d AND process.command.line contains \u201cshadow\u201d) OR (event.id = \u201c4688\u201d AND new.process.name contains<\/em><\/p>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-362934","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/362934","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=362934"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/362934\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=362934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=362934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=362934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}