``` Threat: Outlook CVE-2026-124194: Exploited NTLM Hash Leak (Hunt Only) Author: Daniel Jeremiah | Date: 2026-11-12 Ref: https://github.com/daniyyell-dev/rapid-threat-intel/tree/main/threats/2026-11_November-2026/2026-11-12/Outlook-CVE-2026-124194-NTLM-Hash-Leak ``` search `rti_endpoint((445 OR 139))` | eval dest_ip=coalesce(DestinationIp, RemoteIP, dest_ip), dest_port=tonumber(coalesce(DestinationPort, RemotePort, dest_port)), dest_host=lower(coalesce(DestinationHostname, RemoteUrl, "-")) | where (dest_port=445 OR dest_port=139) AND match(coalesce(dest_ip, ""), "^\d{1,3}(\.\d{1,3}){3}$") | where NOT cidrmatch("10.0.0.0/8", dest_ip) AND NOT cidrmatch("172.16.0.0/12", dest_ip) AND NOT cidrmatch("192.168.0.0/16", dest_ip) AND NOT cidrmatch("127.0.0.0/8", dest_ip) AND NOT cidrmatch("169.254.0.0/16", dest_ip) AND NOT cidrmatch("100.64.0.0/10", dest_ip) AND NOT cidrmatch("0.0.0.0/8", dest_ip) AND NOT cidrmatch("224.0.0.0/3", dest_ip) AND NOT like(dest_host, "%.file.core.windows.net") | where NOT match(dest_ip, "^(your\.public\.prefix)\.") | eval kind="smb", ord=1, h=lower(mvindex(split(dest, "."), 0)), by_outlook=if(match(coalesce(process_name, ""), "(?i)outlook\.exe$"), 1, 0) | eventstats min(_time) AS estate_first dc(h) AS estate_devices BY dest_ip | addinfo | where estate_first >= info_min_time + 86400 AND _time <= estate_first + 86400 | append [ search `rti_endpoint((msg OR eml))` | where (match(coalesce(file_path, ""), "(?i)Content\.Outlook") AND match(coalesce(file_name, file_path, ""), "(?i)\.(msg|eml)$")) OR (match(coalesce(process_name, ""), "(?i)outlook\.exe$") AND match(coalesce(process, ""), "(?i)\.(msg|eml)\b")) | eval kind="open", ord=0, h=lower(mvindex(split(dest, "."), 0)), trigger="Outlook opened ".coalesce(file_name, process) ] | eval open_t=if(kind="open", _time, null()), open_trigger=if(kind="open", trigger, null()) | sort 0 h, _time, ord | streamstats last(open_t) AS last_open last(open_trigger) AS last_trigger BY h | where kind="smb" AND (by_outlook=1 OR (isnotnull(last_open) AND _time - last_open <= 120)) | eval host=h, user=coalesce(user, "-"), src=dest, dest=dest_ip, detail="SMB port ".dest_port." by ".coalesce(process_name, "System").if(isnotnull(last_open) AND _time - last_open <= 120, " ".round(_time - last_open)."s after ".last_trigger, "")."; new destination, ".estate_devices." device(s)" | fillnull value="-" host user src dest detail | stats count min(_time) AS first_seen max(_time) AS last_seen BY host user src dest detail | eval data_model="endpoint" | eval ioc="Outlook message file opened, then SMB to a new public address", ioc_type="behaviour (alert)" | append [ search `rti_endpoint((davclnt.dll OR DavSetCookie))` | where match(coalesce(process, ""), "(?i)davclnt\.dll.{0,3}DavSetCookie") | rex field=process "(?i)https?://(?[^/\s:@\\]+)" | eval dav_host=lower(dav_host), kind="dav", ord=1, h=lower(mvindex(split(dest, "."), 0)) | where like(dav_host, "%.%") AND NOT match(dav_host, "(^|\.)(sharepoint\.com|sharepoint-df\.com|sharepointonline\.com|onedrive\.com|live\.net|live\.com|office\.com|office\.net|office365\.com|microsoft\.com|microsoftonline\.com|windows\.net|azure\.com|msedge\.net|azureedge\.net)$") AND NOT match(dav_host, "(^|\.)(your-domain\.example)$") | where NOT match(dav_host, "^\d{1,3}(\.\d{1,3}){3}$") OR (NOT cidrmatch("10.0.0.0/8", dav_host) AND NOT cidrmatch("172.16.0.0/12", dav_host) AND NOT cidrmatch("192.168.0.0/16", dav_host) AND NOT cidrmatch("127.0.0.0/8", dav_host) AND NOT cidrmatch("169.254.0.0/16", dav_host) AND NOT cidrmatch("100.64.0.0/10", dav_host) AND NOT cidrmatch("0.0.0.0/8", dav_host) AND NOT cidrmatch("224.0.0.0/3", dav_host)) | append [ search `rti_endpoint((msg OR eml))` | where (match(coalesce(file_path, ""), "(?i)Content\.Outlook") AND match(coalesce(file_name, file_path, ""), "(?i)\.(msg|eml)$")) OR (match(coalesce(process_name, ""), "(?i)outlook\.exe$") AND match(coalesce(process, ""), "(?i)\.(msg|eml)\b")) | eval kind="open", ord=0, h=lower(mvindex(split(dest, "."), 0)), trigger="Outlook opened ".coalesce(file_name, process) ] | eval open_t=if(kind="open", _time, null()), open_trigger=if(kind="open", trigger, null()) | sort 0 h, _time, ord | streamstats last(open_t) AS last_open last(open_trigger) AS last_trigger BY h | where kind="dav" AND isnotnull(last_open) AND _time - last_open <= 120 | eval host=h, src="-", dest=dav_host, detail="WebDAV fallback ".round(_time - last_open)."s after ".last_trigger.": ".process | fillnull value="-" host user src dest detail | stats count min(_time) AS first_seen max(_time) AS last_seen BY host user src dest detail | eval data_model="endpoint" | eval ioc="Outlook message file opened, then WebDAV to a public host", ioc_type="behaviour (alert)" ] | append [ search index=* EventCode=8001 (NTLM OR "Microsoft-Windows-NTLM") | rex field=_raw "(?i)\b(?:cifs|http|host|ldap|www)/(?\d{1,3}(?:\.\d{1,3}){3})\b" | where isnotnull(ntlm_target) AND NOT cidrmatch("10.0.0.0/8", ntlm_target) AND NOT cidrmatch("172.16.0.0/12", ntlm_target) AND NOT cidrmatch("192.168.0.0/16", ntlm_target) AND NOT cidrmatch("127.0.0.0/8", ntlm_target) AND NOT cidrmatch("169.254.0.0/16", ntlm_target) AND NOT cidrmatch("100.64.0.0/10", ntlm_target) AND NOT cidrmatch("0.0.0.0/8", ntlm_target) AND NOT cidrmatch("224.0.0.0/3", ntlm_target) | where NOT match(ntlm_target, "^(your\.public\.prefix)\.") | eval kind="ntlm", ord=1, h=lower(mvindex(split(coalesce(ComputerName, Computer, host), "."), 0)) | append [ search `rti_endpoint((msg OR eml))` | where (match(coalesce(file_path, ""), "(?i)Content\.Outlook") AND match(coalesce(file_name, file_path, ""), "(?i)\.(msg|eml)$")) OR (match(coalesce(process_name, ""), "(?i)outlook\.exe$") AND match(coalesce(process, ""), "(?i)\.(msg|eml)\b")) | eval kind="open", ord=0, h=lower(mvindex(split(dest, "."), 0)), trigger="Outlook opened ".coalesce(file_name, process) ] | eval open_t=if(kind="open", _time, null()), open_trigger=if(kind="open", trigger, null()) | sort 0 h, _time, ord | streamstats last(open_t) AS last_open last(open_trigger) AS last_trigger BY h | where kind="ntlm" AND isnotnull(last_open) AND _time - last_open <= 120 | eval host=h, user=coalesce(user, "-"), src=h, dest=ntlm_target, detail="Outgoing NTLM (8001) ".round(_time - last_open)."s after ".last_trigger | fillnull value="-" host user src dest detail | stats count min(_time) AS first_seen max(_time) AS last_seen BY host user src dest detail | eval data_model="wineventlog" | eval ioc="Outlook message file opened, then NTLM sent to a public IP", ioc_type="behaviour (hunt)" ] | sort 0 - last_seen | eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S") | table first_seen last_seen ioc ioc_type data_model host user src dest detail count