---
title: Detecting Dreambot variants using RSA NetWitness
description: Ursnif, also known as Gozi and ISFB, is a banking Trojan that primarily targets English-speaking countries. It was first discovered in 2007 and in 201
---

<https://mydev.netwitness.com/netwitness-security-llc-blog>

# [Detecting Dreambot variants using RSA NetWitness](https://mydev.netwitness.com/netwitness-security-llc-blog/detectingdreambotvariantsusingrsanetwitness)

 Written by [AhmedSonbol1](https://mydev.netwitness.com/netwitness-security-llc-blog/author/ahmedsonbol1) | Apr 4, 2017, 4:00:00 AM

Ursnif, also known as Gozi and ISFB, is a banking Trojan that primarily targets English-speaking countries. It was first discovered in 2007 and in 2010 its source code was unintentionally leaked \[1\]; which provided the basis for much of the legacy Ursnif variant diagnosis and detection. Dreambot is a newer variant (ca 2016) of Ursnif that incorporates capabilities such as Tor communications and peer-to-peer functionality \[2\].

Dreambot malware has been observed to spread via many of the conventional crimeware avenues to include exploit kits, e-mail attachments and links \[2\] \[3\]. To evade automated malware analysis, Dreambot uses password protected macro attachments and also delays for 250 seconds prior to downloading the malware \[4\].

This threat advisory discusses how to detect Dreambot beaconing activity using RSA NetWitness Logs & Packets.

A system infected with Dreambot reaches out to its command and control server as follows:

The behavior is consistent across many Dreambot samples:

Then a Tor client is retrieved:

The check-in is different for other Dreambot variants:

Assuming that the appropriate meta keys are enabled, the following queries can be used to detect Dreambot network activity:

- Detect the check-in activity you can use:
  
  action = 'get' && filename = '.avi' && extension = 'avi' && directory contains '/images/' && direction = 'outbound'
  
  action = 'post' && directory begins '/images/' && query begins 'filename=' && extension = 'bin' && direction='outbound'

- Detect the Tor client retrieval you can use:
  
  action = 'get' && filename = 'test32.dll',' t32.dll', ' t64.dll' && extension = 'dll' && directory contains '/tor/' && direction = 'outbound'

Dreambot samples can be found on VirusTotal [here](https://www.virustotal.com/en/file/f637a35012ab04171ef5f4b8b3bfde4c6cba25bab7d63a0e281e1fea22ebe631/analysis/) and [here](https://www.virustotal.com/en/file/898f244d58414fcb456c4c89edbf52ac263c8f2935a21b41bcd58b43409e5d92/analysis/), and on Payload Security [here](https://www.hybrid-analysis.com/sample/f637a35012ab04171ef5f4b8b3bfde4c6cba25bab7d63a0e281e1fea22ebe631?environmentId=100) and [here](https://www.hybrid-analysis.com/sample/898f244d58414fcb456c4c89edbf52ac263c8f2935a21b41bcd58b43409e5d92?environmentId=100).

All the IOCs from those sessions were added to the following feeds on Live:

- RSA FirstWatch Command and Control Domains
- RSA FirstWatch Command and Control IPs

To find those IOCs using RSA NetWitness, please refer to [this post](https://community.rsa.com/community/products/netwitness/blog/2016/11/30/what-kind-of-meta-is-generated-for-commodity-malware).

In addition, the following Application Rule is now available on Live:

Below is a screenshot of the Application Rule detecting Dreambot traffic:

Thanks go to [Rajas Save](https://community.netwitness.com/rsa-users/48724) for contributing to this threat advisory.

References:

1. [https://securityintelligence.com/gozi-goes-to-bulgaria-is-cybercrime-heading-to-less-chartered-territory/#.VdQEtfnddi8](https://securityintelligence.com/gozi-goes-to-bulgaria-is-cybercrime-heading-to-less-chartered-territory/#.VdQEtfnddi8)
2. [https://www.proofpoint.com/us/threat-insight/post/ursnif-variant-dreambot-adds-tor-functionality](https://www.proofpoint.com/us/threat-insight/post/ursnif-variant-dreambot-adds-tor-functionality)
3. [RIG EK at 92.53.127.21 Drops Dreambot – MALWARE BREAKDOWN](https://malwarebreakdown.com/2017/03/06/rig-ek-at-92-53-127-21-drops-dreambot/)
4. [New Password Protected Macro Malware evades Sandbox and Infects the victims with Ursnif Malware !! - Cysinfo](https://cysinfo.com/new-password-protected-macro-malware-evades-sandbox-infects-victims-ursnif-malware/)

[View full post](https://mydev.netwitness.com/netwitness-security-llc-blog/detectingdreambotvariantsusingrsanetwitness)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "AhmedSonbol1"
  },
  "dateModified" : "2026-06-18T14:27:01.329Z",
  "datePublished" : "2017-04-04T04:00:00Z",
  "headline" : "Detecting Dreambot variants using RSA NetWitness",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://mydev.netwitness.com/netwitness-security-llc-blog/detectingdreambotvariantsusingrsanetwitness",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "NetWitness Blogs"
  }
}
```