微软已经警告Windows10的用户,他们已经收到了关于Netlogon协议受到攻击的“少量报告”,它在8月份修补了它。
Windows maker继9月份警告攻击者利用提升影响Netlogon远程协议的权限漏洞(MS-NRPC)。
这是管理员用来验证Windows服务器的协议作为域控制器。它所包含的缺陷非常严重,以至于国土安全部的网络安全和基础设施安全局(CISA)命令美国政府机构为该漏洞应用微软的补丁–跟踪为CVE-2020-1472,也叫Zerologon——在8月份的补丁周二更新中发布后的三天内。
防御安全研究人员发现,该漏洞很容易被利用,成为更多机会主义攻击者的首要目标。但是当微软在8月11日星期二发布补丁时,一些系统管理员并不知道它的严重性。
攻击者可以利用该漏洞在欺骗Active Directory域控制器帐户后在网络上的设备上运行恶意软件。作为一种武器,在微软发布补丁后不久,它就有了一个额外的优势,即可以公开获取的概念证明zerolong漏洞攻击。
CISA警告各机构迅速修补该漏洞,因为Windows Server域控制器在美国政府网络中广泛使用,而且该漏洞的严重性评级罕见地达到10分之10。这促使CISA指示代理商在微软8月11日发布补丁的同一周应用该补丁。
微软已经更新了其该错误的支持文档以进一步明确。它建议管理员用补丁更新域控制器,监视连接到服务器的设备的日志,并启用强制模式。
微软和CISA特别担心网络攻击者可能利用该漏洞破坏美国选举。9月的公司警告说,中国、伊朗和俄罗斯黑客瞄准了拜登和特朗普阵营
”我们联系了CISA,它有发出额外警报提醒州和地方机构,包括参与美国大选的机构,“关于应用必要的步骤来解决这个漏洞,”微软说。
这个漏洞严重到足以让微软在2月9日强制实施“强制模式”之前发布一个注册表项,帮助管理员启用“强制模式”,2021年。
随着特斯拉全自动驾驶进入beta阶段,自动驾驶仪被评为通用汽车超级巡航的“第二名”
FCC启动90亿美元基金,以提高美国农村5G覆盖率
a, .nav-item > a, .dropdown-menu a');
allLinks.forEach(link => {
let href = link.getAttribute('href');
if (!href || href === '#' || href === 'javascript:;') return;
// 4. 提取菜单中的核心路径
// 例如 /articles.html -> articles
let cleanHref = href.replace(/^\/|\/$/g, '').replace(/\.(html|php)$/, '').toLowerCase();
let isMatch = false;
// 5. 精确匹配逻辑
if (cleanHref === 'index') {
// 只有当前是首页时,才高亮首页
if (cleanPath === 'index') isMatch = true;
} else {
// 如果当前路径完全等于菜单路径 (如 /articles 匹配 /articles)
// 或者当前路径以 "菜单路径/" 开头 (如 /articles/154 匹配 /articles)
// 或者当前路径包含 "菜单路径." (防某些带点号的特殊情况)
if (cleanPath === cleanHref || cleanPath.startsWith(cleanHref + '/')) {
isMatch = true;
}
}
// 6. 如果匹配成功,加上高亮
if (isMatch) {
link.classList.add('active');
// 如果匹配的是下拉菜单里的子项,顺便把它的父级分类也高亮
const parentNavItem = link.closest('.nav-item');
if (parentNavItem && !parentNavItem.classList.contains('active')) {
const parentLink = parentNavItem.querySelector('a');
if (parentLink) parentLink.classList.add('active');
}
}
});
})();
// ================= 移动端菜单逻辑 =================
const toggle = document.getElementById("menuToggle");
const nav = document.getElementById("navLinks");
// 1. 汉堡按钮:切换主菜单显示/隐藏
if (toggle && nav) {
toggle.addEventListener("click", function (e) {
e.stopPropagation();
const expanded = this.getAttribute("aria-expanded") === "true";
this.setAttribute("aria-expanded", String(!expanded));
nav.classList.toggle("active");
});
}
// 2. 处理下拉子菜单的展开/折叠
if (window.innerWidth <= 768) {
const navItems = document.querySelectorAll(".nav-item");
navItems.forEach((item) => {
const titleLink = item.querySelector("a");
const dropdownMenu = item.querySelector(".dropdown-menu");
const arrowIcon = item.querySelector(".arrow-icon");
if (titleLink && dropdownMenu) {
titleLink.addEventListener("click", function (e) {
e.preventDefault(); // 阻止链接跳转
e.stopPropagation();
// 手风琴效果:收起其他已展开的菜单
navItems.forEach((otherItem) => {
if (otherItem !== item) {
const otherMenu = otherItem.querySelector(".dropdown-menu");
const otherArrow = otherItem.querySelector(".arrow-icon");
if (otherMenu) otherMenu.classList.remove("active");
if (otherArrow) otherArrow.style.transform = "rotate(0)";
}
});
// 切换当前菜单
dropdownMenu.classList.toggle("active");
if (arrowIcon) {
arrowIcon.style.transform = dropdownMenu.classList.contains(
"active",
)
? "rotate(180deg)"
: "rotate(0)";
}
});
}
});
}
// 3. 点击普通菜单项后,自动关闭整个主菜单
if (nav) {
nav.querySelectorAll("a").forEach(function (link) {
if (!link.querySelector(".arrow-icon")) {
link.addEventListener("click", function () {
nav.classList.remove("active");
if (toggle) toggle.setAttribute("aria-expanded", "false");
});
}
});
}
// ================= 返回顶部逻辑 =================
(function () {
const backToTop = document.getElementById("backToTop");
window.addEventListener("scroll", function () {
if (window.scrollY > 300) {
backToTop.classList.add("show");
} else {
backToTop.classList.remove("show");
}
});
backToTop.addEventListener("click", function () {
window.scrollTo({ top: 0, behavior: "smooth" });
});
})();
// 多语言
document.addEventListener("DOMContentLoaded", function() {
let path = window.location.pathname;
let isEn = path.startsWith('/en/');
if (isEn) {
document.cookie = "my_lang=en; path=/; max-age=" + (30 * 24 * 3600);
} else {
document.cookie = "my_lang=zh; path=/; max-age=" + (30 * 24 * 3600);
}
// 【2. 首页记忆】如果访问的是首页(没带 en),但记忆是英文,前端自动跳去英文首页
if (!isEn && (path === '/' || path === '/index.html')) {
if (document.cookie.includes('my_lang=en')) {
window.location.replace('/en' + path);
return;
}
}
// 【3. 菜单不掉线】如果是英文页面,自动给菜单链接加上 /en/
if (isEn) {
document.querySelectorAll('a').forEach(function(link) {
let href = link.getAttribute('href');
// 站内链接,且没带 /en/
if (href && href.startsWith('/') && !href.startsWith('/en/') && !href.startsWith('http')) {
link.setAttribute('href', '/en' + href);
}
});
}
});