Skip to content

Commit

Permalink
Merge pull request Orange-Cyberdefense#56 from naksyn/patch-1
Browse files Browse the repository at this point in the history
 LmCompatibilityLevel value correction
  • Loading branch information
Mayfly277 authored Oct 7, 2022
2 parents 28d4010 + 1af7d08 commit 69ae1a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ansible/roles/vulns/ntlmdowngrade/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# values : https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/network-security-lan-manager-authentication-level
# NTLMv1 downgrade attacks are possible with LmCompatibilityLevel 2 and below
- name: Enable LmCompatibilityLevel
win_regedit:
path: HKLM:\System\CurrentControlSet\Control\Lsa
name: LmCompatibilityLevel
data: 0x3
type: dword
data: 0x2
type: dword

0 comments on commit 69ae1a1

Please sign in to comment.