Join our Newsletter — 33% off our NHI Course
Home› Guides› M1028 Operating System Configuration: OS Settings That Shut…
Guide SOC & Detection Engineering

M1028 Operating System Configuration: OS Settings That Shut Down Common Techniques

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 12 November 2026 12 min read
On this page

Many ATT&CK techniques work only because an operating system setting was left at a permissive value: NTLM still accepted, administrator names listed at the elevation prompt, setuid bits on binaries that do not need them. MITRE ATT&CK M1028 Operating System Configuration is the mitigation for these cases: specific OS settings that remove the condition a technique depends on. This guide takes the ATT&CK point of view: the 39 technique and sub-technique mappings ATT&CK v20 gives M1028, grouped into 20 concrete settings and ranked by how many techniques each one addresses, then how to roll them out safely, what they leave uncovered and how to measure coverage. It is for detection engineers, endpoint and server platform owners and security architects who already run a baseline and want to know which settings carry the most ATT&CK weight.

Key takeaways

  • M1028 is a list of specific settings, not general hardening. Each ATT&CK mapping names a concrete change: restrict NTLM, stop UAC listing administrator accounts, keep sudo tty_tickets on, reduce BITS job lifetime.
  • Credential and persistence settings carry the most weight. NTLM restriction, authentication package controls, scheduled task context, domain controller hardening and setuid reduction each cover three mappings.
  • A good baseline already contains most of it. Vendor and CIS baselines set many of these values; the work is confirming that every one of the 20 is enforced and not excepted away.
  • Audit before you block. NTLM restriction, SMBv1 removal and LSA plug-in checks all have audit modes that show what would break first.
  • Configuration drift is the real failure. Measure the share of hosts that match the baseline, not whether a baseline document exists.

What M1028 is

ATT&CK v20 defines Operating System Configuration as "adjusting system settings and hardening the default configurations of an operating system (OS) to mitigate adversary exploitation and prevent abuse of system functionality." Its implementation guidance covers disabling unused features (SMBv1, LLMNR, NetBIOS, remote registry), enforcing OS protections (DEP, ASLR and Control Flow Guard on Windows; AppArmor or SELinux on Linux), secure access settings (UAC, restricted sudo), file system permissions, restricting RDP, SSH and VNC with Network Level Authentication for RDP, boot hardening with Secure Boot and disk encryption, and regular audits against CIS Benchmarks or SCAP content.

In D3FEND, M1028 is related to Platform Hardening (D3-PH), "hardening components of a Platform with the intention of making them more difficult to exploit." D3FEND places countermeasures such as System Configuration Permissions (D3-SCP), Driver Load Integrity Checking (D3-DLIC), Disk Encryption (D3-DENCR), TPM Boot Integrity (D3-TBI) and Software Update (D3-SU) under Platform Hardening.

How to build and run a baseline programme is covered in the CIS Benchmarks Guide, the Windows Endpoint Hardening Guide and the Linux Server Hardening Guide. This page does not repeat them; it shows which settings ATT&CK credits and why.

Settings ranked by ATT&CK technique coverage

The 39 mappings collapse into 20 settings. The count column is the number of ATT&CK v20 technique or sub-technique mappings each setting addresses, according to ATT&CK's own usage text. Coverage count is a prioritisation aid, not a measure of risk: a single-mapping setting on a domain controller can matter more than a three-mapping setting on a kiosk.

Setting (per ATT&CK usage text)PlatformTechniques addressedCount
Disable or restrict NTLM; disable WDigest authenticationWindowsT1003 OS Credential Dumping, T1003.001 LSASS Memory, T1003.002 Security Account Manager3
Allow only valid password filters (registered in Lsa\Notification Packages, present in System32); disable EnableMPRNotificationsWindowsT1556 Modify Authentication Process, T1556.002 Password Filter DLL, T1556.008 Network Provider DLL3
Force scheduled tasks to run as the authenticated account, not SYSTEM (Lsa\SubmitControl)WindowsT1053 Scheduled Task/Job, T1053.002 At, T1053.005 Scheduled Task3
Stop UAC enumerating administrator accounts (CredUI\EnumerateAdministrators)WindowsT1087 Account Discovery, T1087.001 Local Account, T1087.002 Domain Account3
Harden domain controllers; limit unnecessary protocols such as SMB file sharingWindowsT1136 Create Account, T1136.002 Domain Account, T1098 Account Manipulation3
Minimise setuid and setgid binaries; keep sudo tty_tickets enabledLinux, macOST1548 Abuse Elevation Control Mechanism, T1548.001 Setuid and Setgid, T1548.003 Sudo and Sudo Caching3
Protect shell history: HISTCONTROL set to ignoredups, not ignoreboth or ignorespace; prevent history being disabledLinux, macOST1552 Unsecured Credentials, T1552.003 Shell History, T1690 Prevent Command History Logging3
RDP session time limits and disconnected-session limits; Network Level AuthenticationWindowsT1021.001 Remote Desktop Protocol, T1563.002 RDP Hijacking, T1546.008 Accessibility Features3
Driver Signature Enforcement enabledWindowsT1543 Create or Modify System Process, T1543.003 Windows Service2
Manage root certificates by Group Policy; ProtectedRoots Flags set to 1WindowsT1553 Subvert Trust Controls, T1553.004 Install Root Certificate2
Prevent creation of new network adapters (for example Bluetooth)WindowsT1011 Exfiltration Over Other Network Medium, T1011.001 Exfiltration Over Bluetooth2
Limit cached domain logons (CachedLogonsCount)WindowsT1003.005 Cached Domain Credentials1
"Do not allow anonymous enumeration of SAM accounts and shares"WindowsT1135 Network Share Discovery1
Protect recovery services and files; keep WinRE enabled (reagentc /enable)WindowsT1490 Inhibit System Recovery1
Reduce BITS job lifetime (JobInactivityTimeout, MaxDownloadTime)WindowsT1197 BITS Jobs1
Restrict removable media by policyWindowsT1092 Communication Through Removable Media1
Turn off "hide extensions for known file types"WindowsT1036.007 Double File Extension1
Restrict hiding users (Group Policy; protect Hide500Users in the macOS login window preferences)Windows, macOST1564.002 Hidden Users1
Keep System Integrity Protection on; use Hardened RuntimemacOST1574.006 Dynamic Linker Hijacking1
Vendor device hardening: disable unused features and default passwords on network devicesNetwork devicesT1542.005 TFTP Boot1

By tactic, the mappings cluster in Credential Access, Persistence and Privilege Escalation, with a tail across Discovery, Stealth, Lateral Movement, Exfiltration, Impact and Command and Control. That shape is why M1028 pays off most on identity-bearing systems: domain controllers, jump hosts and servers that run service accounts.

Implementation priorities

The order below is an NHI Mgmt Group recommendation that weighs coverage, blast radius and rollout risk.

  1. Domain controllers and tier 0 first. Apply the domain controller hardening, password filter and authentication package checks, and NTLM audit there before any other tier. A change to the authentication path on a domain controller affects every identity in the domain.
  2. NTLM: audit, add exceptions, then deny. Microsoft's documented sequence is to set "Network security: Restrict NTLM: Audit NTLM authentication in this domain" to the option you plan to enforce, review the NTLM Operational log under Applications and Services Logs\Microsoft\Windows\NTLM, add legitimate servers to "Add server exceptions in this domain", and only then set "Restrict NTLM: NTLM authentication in this domain" to a deny option. See the NTLM Deprecation and Elimination Guide.
  3. Remove SMBv1 with auditing first. Microsoft documents Set-SmbServerConfiguration -AuditSmb1Access $true, which logs event ID 3000 in the Microsoft-Windows-SMBServer\Audit log for each SMBv1 client, before Set-SmbServerConfiguration -EnableSMB1Protocol $false. SMBv1 is not installed by default on Windows 11 and Windows Server 2019 and later, so the remaining cases are usually older systems and devices.
  4. Credential exposure settings on all Windows hosts. Set CachedLogonsCount deliberately: Microsoft gives a default of 10, a range of 0 to 50, and suggests 2 for end-user and mobile computers as a balance, or 0 where offline sign-in is not needed. Set EnableMPRNotifications to disabled (the documented default behaviour sends empty password fields; the policy applies to Windows 11 22H2 and later).
  5. Linux and macOS privilege paths. Inventory setuid and setgid binaries, remove the bit where it is not needed, confirm sudo timestamps are per terminal, and set shell history options. See the sudo and sudoers Security Guide.
  6. Remote access and session settings. Enforce NLA and RDP session time limits by GPO; restrict RDP, SSH and VNC to management networks (pairs with M1030 Network Segmentation).
  7. The single-mapping tail. BITS lifetime, file extensions, removable media, new network adapters, hidden users, WinRE, root certificate protection. These are cheap Group Policy or MDM settings; batch them into one baseline release.

Testing and rollback: deliver each group as a separate GPO, Intune profile or configuration management role, pilot it on a ring of representative hosts, and keep the previous version ready to re-link. Microsoft recommends starting from its published security baselines (Security Compliance Toolkit for Group Policy, MDM baselines for Intune) rather than building from scratch, and notes they assume standard users without administrative rights.

Where identity fits

Several M1028 settings are really identity controls in OS form. NTLM restriction and cached-logon limits decide which reusable credential material sits on a host. Scheduled task context matters because tasks are a common home for service accounts with stored passwords; forcing tasks to run as the authenticated account instead of SYSTEM limits abuse. Domain controller hardening protects the system that creates every account. When you audit NTLM, expect the long tail to be non-human: legacy service accounts, scanners and appliances that authenticate by NTLM. Each one needs an owner and a migration plan rather than a permanent exception. See the Local Administrator Password Solution (LAPS) Guide for local administrator credentials, which M1028 does not cover.

What M1028 does not stop

  • Credential theft from memory by an administrator. Restricting NTLM reduces what is stored and accepted, but protecting LSASS itself is the job of M1043 Credential Access Protection and M1025 Privileged Process Integrity (LSA protection, Credential Guard).
  • Abuse of features you still need. If RDP, SMB or scheduled tasks are required, configuration narrows their abuse but does not remove it; detection carries the rest.
  • Valid credentials. No OS setting stops an attacker who logs in with a legitimate, correctly privileged account.
  • Exploited vulnerabilities. Hardening reduces attack surface; patching is M1051 Update Software.
  • Drift. A setting applied once and later excepted for a project gives no protection. ATT&CK's own guidance calls for regular audits with CIS Benchmarks or SCAP tools.

Detection and measurement

Configuration is measurable, which makes M1028 one of the easier mitigations to report on. Use CIS-CAT, OpenSCAP or your MDM's compliance view to score hosts against the baseline, and add explicit checks for each of the 20 settings above.

  • Watch the settings themselves: alert on changes to HKLM\SYSTEM\CurrentControlSet\Control\Lsa values (Notification Packages, SubmitControl), new password filter or network provider DLLs, Driver Signature Enforcement being disabled, and root certificate additions.
  • Use the audit logs the settings produce: NTLM Operational events, SMBServer Audit event 3000, and Code Integrity events for LSA plug-ins.
  • Linux: monitor setuid bit changes and sudoers edits with auditd rules, and history file truncation.
MetricWhat it shows
Baseline compliance by tierShare of tier 0, server and endpoint hosts passing all 20 M1028 checks
Active exceptionsNumber of approved deviations, each with an owner and an expiry date
NTLM authentications per weekTrend from the NTLM Operational log; the residual list is your migration backlog
Setuid and setgid binaries per Linux hostShould fall to the documented minimum
Drift time to remediateTime from a setting changing to being restored

Common failure patterns

  • Blocking NTLM without auditing. Microsoft warns that skipping the audit step can cause many NTLM authentications to fail; the resulting outage usually ends with the restriction rolled back entirely.
  • Baselines applied to endpoints but not servers. Many of the highest-count settings (domain controller hardening, password filters, scheduled task context) matter most on servers.
  • Exceptions that never expire. A service account that needs NTLM becomes a permanent hole when nobody owns the migration.
  • Cloud and container images outside the baseline. Golden images built by pipelines skip GPO and need the same settings applied in the image build.
  • Treating the baseline score as coverage. A 95 percent CIS score can still miss specific ATT&CK-credited settings that the chosen profile leaves at default.

Framework mapping

FrameworkReferenceRelevance
MITRE D3FENDD3-PH Platform Hardening (with D3-SCP, D3-DLIC, D3-DENCR, D3-TBI, D3-SU beneath it)Related countermeasure listed for M1028
NIST SP 800-53 Rev. 5CM-2 Baseline Configuration; CM-6 Configuration Settings; CM-6(1) Automated Management, Application, and Verification; CM-7 Least FunctionalityBaseline, enforcement and removal of unneeded functions
NIST CSF 2.0PR.PS-01Configuration management practices established and applied
CIS Controls v8.14.1 Establish and Maintain a Secure Configuration Process; 4.8 Uninstall or Disable Unnecessary Services on Enterprise Assets and SoftwareSecure configuration and removal of unused services
ISO/IEC 27001:2022 Annex AA.8.9 Configuration managementDocumented, monitored configurations

Practitioner checklist

  • Score every host tier against the 20 settings in the coverage table, starting with domain controllers.
  • Run NTLM in audit mode, build the exception list from the NTLM Operational log, then enforce a deny option.
  • Audit SMBv1 use with event 3000 and remove it where no client depends on it.
  • Verify only expected password filters and network providers are registered on domain controllers and servers.
  • Set scheduled tasks to run as the authenticated account and review tasks that store service account passwords.
  • Set CachedLogonsCount deliberately per device type and disable EnableMPRNotifications.
  • Reduce setuid and setgid binaries and confirm per-terminal sudo timestamps on Linux and macOS.
  • Bake the same settings into cloud and container golden images, not only Group Policy and MDM.
  • Alert on changes to the LSA registry key, Driver Signature Enforcement and root certificate stores.
  • Give every exception an owner and an expiry date and report the count monthly.

Standards and references

Related NHI Mgmt Group resources: CIS Benchmarks Guide · Windows Server Hardening Guide · NTLM Deprecation and Elimination Guide · CIS Control 4 Secure Configuration of Enterprise Assets and Software Guide

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 12 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org