This hunt targets adversary behavior characterized by the execution of malicious Bash scripts and network connections to known Bashlite infrastructure indicators of compromise. Proactively hunting for these specific IOCs in Azure Sentinel is critical because Bashlite often serves as an early-stage foothold for lateral movement, allowing the SOC team to identify and contain potential breaches before they escalate into broader organizational compromises.
Malware Family: Bashlite Total IOCs: 2 IOC Types: domain, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | lifeisabouthavingfun448.duckdns.org | botnet_cc | 2026-07-21 | 100% |
| ip:port | 185[.]196[.]41[.]201:35342 | botnet_cc | 2026-07-21 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Bashlite
let malicious_ips = dynamic(["185.196.41.201"]);
CommonSecurityLog
| where DestinationIP in (malicious_ips) or SourceIP in (malicious_ips)
| project TimeGenerated, SourceIP, DestinationIP, DestinationPort, DeviceAction, Activity
| order by TimeGenerated desc
// Hunt in Defender for Endpoint network events
let malicious_ips = dynamic(["185.196.41.201"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - Bashlite
let malicious_domains = dynamic(["lifeisabouthavingfun448.duckdns.org"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
DnsEvents | Ensure this data connector is enabled |
Here are 5 specific false positive scenarios for the ThreatFox: Bashlite IOCs detection rule in an enterprise environment, along with suggested filters or exclusions:
Automated Patch Management Scans
Ansible Worker, SCCM Agent) and restrict the alert to only trigger if the parent process is not a known system service or scheduled task runner.Cloud Infrastructure Provisioning Scripts
bash-completion or specific monitoring agents), which matches the detection logic for legitimate infrastructure-as-code activities.TERRAFORM_VERSION, PACKER_BUILDER_TYPE) in the process arguments.Endpoint Security Agent Updates