Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / ACTIVE DIRECTORY / CREDENTIAL ACCESS / ROASTING

ASREP Roasting

This note documents detection patterns related to ASREP Roasting within Active Directory environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security4768Kerberos TGT requestCriticalPrimary signal. Accounts with Do not require Kerberos preauthentication will return AS-REP responses containing crackable material. Review TargetUserName, IpAddress, TicketEncryptionType, PreAuthType. (Logon without Pre-Authentication)
Security4771Kerberos pre-authentication failedMediumOften appears when attackers test accounts before identifying those without preauth. Review FailureCode and TargetUserName.
Security4624Successful logonMediumUseful for correlation if attacker later logs in using cracked credentials.
Security4688Process creationHighOn compromised hosts may reveal tools like Rubeus, Impacket scripts, or PowerShell enumeration used for ASREP roasting.
Sysmon1Process creationCriticalLook for execution of Rubeus, PowerView, Python-based Impacket scripts, or suspicious PowerShell commands.
Sysmon3Network connectionMediumKerberos traffic to domain controllers (port 88) from unusual hosts performing repeated TGT requests.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
Accounts without preauthenticationUserAccountControl flag: <br>Logon without Pre-Authentication enabledCriticalThese accounts are directly vulnerable to ASREP roasting.
High volume of TGT requestsMultiple 4768 events for many different usernamesHighAttackers often enumerate domain users and attempt AS-REP requests for each.
Enumeration before roastingLDAP queries for user objects with preauth disabledHighOften performed via PowerView, SharpHound, or LDAP queries.
Unusual source hostKerberos requests originating from workstation not typically performing authentication enumerationMediumUseful contextual indicator.
Subsequent successful logon4624 events for previously roasted accountsCriticalIndicates cracked credential usage.

Common Tools

ToolUsage
Rubeusasreproast module requests AS-REP responses for vulnerable accounts.
Impacket GetNPUsers.pyRequests AS-REP responses for accounts without Kerberos preauthentication.
PowerViewEnumerates accounts vulnerable to ASREP roasting.
SharpHoundIdentifies roastable users as part of BloodHound collection.
Hashcat / JohnOffline cracking of AS-REP hashes.

Relevant Artifacts

  • Domain controller Security logs (4768 primary)
  • LDAP query logs (if directory service auditing enabled)
  • Endpoint process execution telemetry
  • Sysmon process and network logs
  • PowerShell logs (4103, 4104)
  • Prefetch execution artifacts
  • MFT and USN Journal file creation artifacts
  • EDR telemetry showing Kerberos enumeration behavior

MITRE ATT&CK References

  • T1558.004 AS-REP Roasting
  • T1558 Steal or Forge Kerberos Tickets
  • T1110 Brute Force (offline cracking stage)
  • T1078 Valid Accounts

Decision Tree

  1. Is the suspicious event present?
    • Review Security Event 4768 patterns for accounts requesting TGT without preauthentication.
  2. What host generated the event?
    • Identify the source IP making repeated Kerberos authentication requests.
  3. Is the account expected to perform this action?
    • Determine if the account is normal user authentication or enumeration behavior.
  4. Pivot:
    • Source host → investigate process execution and scripts.
    • Account → check for privilege escalation or password reuse.
    • Network → examine lateral movement attempts.
  5. Confirm exploitation
    • Determine if cracked credentials were used for later logon events.

Example Detection Templates

KQL

SecurityEvent
| where EventID == 4768
| summarize count(), UniqueUsers=dcount(TargetUserName) by IpAddress, bin(TimeGenerated, 5m)
| where UniqueUsers > 10
| order by UniqueUsers desc
SecurityEvent
| where EventID == 4768
| where PreAuthType == 0
| project TimeGenerated, TargetUserName, IpAddress, TicketEncryptionType

EQL

any where event.code == "4768"
| stats count(), users=cardinality(winlog.event_data.TargetUserName)
  by source.ip, date_trunc(5 minutes, @timestamp)
| where users >= 10

Sigma

title: ASREP Roasting Suspicious Activity
id: asrep-roasting-detection
status: experimental
description: Detects potential ASREP roasting via abnormal volume of Kerberos TGT requests
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4768
  timeframe: 5m
  condition: selection | count() by IpAddress >= 20
fields:
  - TargetUserName
  - IpAddress
  - TicketEncryptionType
falsepositives:
  - Misconfigured authentication systems
  - High authentication bursts from legitimate services
level: high
tags:
  - attack.credential_access
  - attack.t1558.004

Splunk

Accounts with Pre_Authentication_Type=0

index=main source="WinEventLog:Security" EventCode=4768 Pre_Authentication_Type=0
| rex field=src_ip "(\:\:ffff\:)?(?<src_ip>[0-9\.]+)"
| stats count dc(user) as UniqueUsers values(user) as Users by src_ip
| where UniqueUsers > 2
| sort - count

AS-REP Burst Detection

index=main source="WinEventLog:Security" EventCode=4768 Pre_Authentication_Type=0
| bin span=1m _time
| stats count values(user) as Users by src_ip _time
| where count > 5

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
Account configurationDisable Do not require Kerberos preauthentication on all accountsHighPrimary defense against ASREP roasting.
Password strengthUse long, complex passwords for service accountsHighReduces offline cracking success.
MonitoringAlert on high volumes of 4768 events for many usernamesHighEffective detection of enumeration attempts.
Privileged accountsEnsure admin accounts require Kerberos preauthenticationCriticalPrevents high-value credential exposure.
Account auditingRegularly audit accounts with DONT_REQ_PREAUTH flagHighIdentify and remediate misconfigurations.
Network monitoringTrack abnormal Kerberos request patterns from endpointsMediumProvides early detection of attack staging.