#EKFiddle [Regex update]: Added Radix Web Skimmer identified by @unmaskparasites (https://t.co/3YJM9YeyAw).
Additional domain seen in campaigns: checkip[.]bizhttps://t.co/U67qZosp1e pic.twitter.com/ZWwGZG6zyN
— EKFiddle (@EKFiddle) March 17, 2019
Just a brief round up of the Twitter discussion.
Neither the credit card swiper malware campaign from “dnsden[.]biz” nor the “radix obfuscation” trick is new.
We track that campaign at least since 2016. Here are some of the (still active) URLs with various types of credit card stealers:
- hxxp://dnsden[.]biz/a.js – 220.127.116.11
- hxxp://checkip[.]biz/e.js – 18.104.22.168
- hxxps://logistic[.]tw/js/jquery-1.9.2.min.js – 22.214.171.124
- hxxps://cloudservice[.]tw/payment/index.php – 126.96.36.199
The “radix obfuscation” trick can also be found in different malware campaigns. For example, it can be found in scripts from the pcap file in this 2017-08-02 – MAGNITUDE EK SENDS CERBER RANSOMWARE post.
In that case, the radix obfuscation is mixed with tricks based on the comma operator and useless function parameters. To show how it works, let’s take this expression:
(71,286363763856>57,477066499943).toString(30,411135) // “location”
Comma operator returns the value of the last operand so everything before the last comma is ignored by the toString.
(71,286363763856>57,477066499943) // returns 477066499943
toStrings([radix]) accepts only one parameter, so all extra parameters after the first 30 are ignored. The whole expression is reduced to this:
(477066499943).toString(30) //returns “location”
The word “location” is a representation of a decimal number 477066499943 in base 30.
During their life spans, malware campaigns may play with different types of URLs and obfuscations. While most credit card stealer domains live for a relatively short period of time of just a few months, this one sticks to the same domains for more than two years, moving them from one server to another.
If you believe that your website has been compromised and you need help identifying the issue or cleaning up the infection, we can help.
*** This is a Security Bloggers Network syndicated blog from Sucuri Blog authored by Denis Sinegubko. Read the original post at: https://blog.sucuri.net/2019/03/more-on-dnsden-biz-swipers-and-radix-obfuscation.html