2018-01-27 10:57:30 +01:00
title : Weak Encryption Enabled and Kerberoast
2019-11-12 23:12:27 +01:00
id : f6de9536-0441-4b3f-a646-f4e00f300ffd
2021-11-27 11:33:14 +01:00
status : test
2017-04-03 09:12:58 -04:00
description : Detects scenario where weak encryption is enabled for a user profile which could be used for hash/password cracking.
2017-07-30 11:42:25 -04:00
author : '@neu5ron'
2021-11-27 11:33:14 +01:00
references :
- https://adsecurity.org/?p=2053
- https://www.harmj0y.net/blog/activedirectory/roasting-as-reps/
2020-01-30 16:07:37 +01:00
date : 2017 /07/30
2021-11-27 11:33:14 +01:00
modified : 2021 /11/27
2017-04-03 09:12:58 -04:00
logsource :
2021-11-27 11:33:14 +01:00
product : windows
service : security
definition: 'Requirements: Audit Policy : Account Management > Audit User Account Management, Group Policy : Computer Configuration\Windows Settings\Security Settings\Advanced Audit Policy Configuration\Audit Policies\Account Management\Audit User Account Management'
2017-04-03 09:12:58 -04:00
detection :
2021-11-27 11:33:14 +01:00
selection :
EventID : 4738
2021-08-13 15:46:30 +02:00
# According to Microsoft, the bit values are listed here: https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4720
# However, that seems to be a simple copy from https://docs.microsoft.com/en-US/troubleshoot/windows-server/identity/useraccountcontrol-manipulate-account-properties
# and the actual flags that are used are quite different and, unfortunately, not documented.
# https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/ contains a number of EVTX files with relevant events, which can be used to extract
# the following values.
2021-11-27 11:33:14 +01:00
olduac_des : # 0x8000
OldUacValue|endswith :
- 8 ? ? ?
- 9 ? ? ?
- A???
- B???
- C???
- D???
- E???
- F???
newuac_des :
NewUacValue|endswith :
- 8 ? ? ?
- 9 ? ? ?
- A???
- B???
- C???
- D???
- E???
- F???
olduac_preauth : # 0x10000
OldUacValue|endswith :
- 1 ? ? ? ?
- 3 ? ? ? ?
- 5 ? ? ? ?
- 7 ? ? ? ?
- 9 ? ? ? ?
- B????
- D????
- F????
newuac_preauth :
NewUacValue|endswith :
- 1 ? ? ? ?
- 3 ? ? ? ?
- 5 ? ? ? ?
- 7 ? ? ? ?
- 9 ? ? ? ?
- B????
- D????
- F????
olduac_encrypted : # 0x800
OldUacValue|endswith :
- 8 ? ?
- 9 ? ?
- A??
- B??
- C??
- D??
- E??
- F??
newuac_encrypted :
NewUacValue|endswith :
- 8 ? ?
- 9 ? ?
- A??
- B??
- C??
- D??
- E??
- F??
condition : selection and ((newuac_des and not olduac_des) or (newuac_preauth and not olduac_preauth) or (newuac_encrypted and not olduac_encrypted))
2020-01-30 16:07:37 +01:00
falsepositives :
2021-11-27 11:33:14 +01:00
- Unknown
2017-04-03 09:12:58 -04:00
level : high
2021-11-27 11:33:14 +01:00
tags :
- attack.defense_evasion
- attack.t1562.001