type.inbound
and any(ml.nlu_classifier(body.current_thread.text).intents,
.name == 'cred_theft' and .confidence != 'low'
)
and any(body.current_thread.links,
any(html.xpath(ml.link_analysis(., mode="aggressive").final_dom,
"//script"
).nodes,
// unique visit token
regex.icontains(.raw,
'Date\.now\(\)\.toString\(36\)\s*\+\s*Math\.random\(\)\.toString\(36\)\.slice\(2'
)
and strings.icontains(.raw, 'new Image();')
and regex.icontains(.raw, '.src=[a-z][+]')
)
)
Playground
Test against your own EMLs or sample data.