Active Directory / ARTICLECheat Sheet
By Anas Abdelrahman · Detecting AD Attacks
بسم الله والصلاة والسلام على رسول الله
اللهم علمنا ما ينفعنا وانفعنا بما علمتنا وقنا عذاب النار
Detecting AD Credential Attacks
| Technique |
Event ID |
Detection Signal |
Log Source |
Privilege Required |
| Kerberoasting |
Security 4769 |
Ticket_Encryption_Type=0x17, multiple SPNs from one account |
DC Security Log |
Any domain user |
| AS-REP Roasting |
Security 4768 |
Pre_Authentication_Type=0, no follow-up authentication |
DC Security Log |
None (just a username) |
| LSASS Dumping |
Sysmon 10 |
TargetImage=lsass.exe, suspicious GrantedAccess and CallTrace |
Endpoint Sysmon |
Local admin |
| DCSync |
Security 4662 |
Access_Mask=0x100, replication GUIDs, non-machine account |
DC Security Log |
Domain Admin (replication rights) |
| NTDS.dit Extraction |
Sysmon 1, 11 |
ntdsutil.exe or vssadmin.exe with IFM/shadow copy arguments |
DC Sysmon |
Local admin on DC |
سبحانك اللهم وبحمد أشهد أن لا إله إلا أنت أستغفرك وأتوب إليك