Kaspersky · Vendor blog

ValleyRAT masquerading as adware

Published · Source: Kaspersky

11 entities4 ATT&CK behaviors16 indicators12 claims

Entities & attribution

  • Artifact

    fs_setup_dd_173.exe

    “FS_SETUP_DD_173.exe Installs DingTalk, a workplace collaboration platform”

    Page 1 · Paragraph 6

  • Artifact

    fs_setup_gg_173.exe

    “FS_SETUP_GG_173.exe Installs Google Chrome”

    Page 1 · Paragraph 7

  • Artifact

    fs_setup_hy_173.exe

    “FS_SETUP_HY_173.exe Opens hxxps://meeting[.]tencent[.]com/download/”

    Page 1 · Paragraph 8

  • Artifact

    qnwallpeper.exe

    “…6d9d636c9e7e967733850e Archive containing the adware files QnWallpeper.exe and QnwPlayer.exe, along with the modules needed to run the…”

    Page 1 · Paragraph 13

  • Artifact

    qnwplayer.exe

    “…0e Archive containing the adware files QnWallpeper.exe and QnwPlayer.exe, along with the modules needed to run them”

    Page 1 · Paragraph 13

  • Artifact

    7z.dll

    “7z.dll 96b4c1d0683dce22bd3223e1e40689c1 7z archiver library”

    Page 1 · Paragraph 14

  • Artifact

    7z.exe

    “7z.exe 9b86d3ab6cef15c633933fbbeab39c0a Archiver”

    Page 1 · Paragraph 15

  • Artifact

    chrome_elf.dll

    “chrome_elf.dll edfdc30cbd85879776b8f735ea7de1f1 Library used to launch E…”

    Page 1 · Paragraph 16

  • Artifact

    libcef.dll

    “libcef.dll 07ddbbe2c71c45577a7a4fbcdba0df91 Malicious library”

    Page 1 · Paragraph 17

  • Artifact

    qnwallpaper.exe

    “QnWallpaper.exe 6c158c0f8e029342192d4f0d72e102b7 Adware module”

    Page 1 · Paragraph 19

  • Artifact

    nedca.exe

    “Nedca.exe c24e99f9437feacaa63766a3cde3fe3d Malicious installer copy”

    Page 1 · Paragraph 21

MITRE ATT&CK behaviors

  • T1574.002 · DLL Side-Loading

    Defense Evasion · DLL sideloading

    “…n this case, however, the attackers use it to carry out DLL sideloading , a technique that allows malicious code to run under th…”

    Page 1 · Paragraph 10

  • T1218 · System Binary Proxy Execution

    Defense Evasion · Signed binary proxy

    “…We suspect the attackers intended to invoke it manually via rundll32 or planned to use a separate executable for this purpose, o…”

    Page 1 · Paragraph 29

  • T1071.001 · Web Protocols

    Command and Control · C2 over HTTPS

    “…ence between them is their configuration, specifically, the C2 server addresses. After decryption, libcef.dll checks the m…”

    Page 1 · Paragraph 43

  • T1055 · Process Injection

    Privilege Escalation · Process injection

    “sh Whether to inject code into svchost that will restart the malicious process (…”

    Page 1 · Paragraph 62

Indicators of compromise

  • md5

    c24e99f9437feacaa63766a3cde3fe3d
    “… ago, a client asked us to analyze a file with the MD5 hash c24e99f9437feacaa63766a3cde3fe3d and add it to our detection database. We initially classifi…”

    Page 1 · Paragraph 2

  • domain

    meeting.tencent[.]com
    “FS_SETUP_HY_173.exe Opens hxxps://meeting[.]tencent[.]com/download/”

    Page 1 · Paragraph 8

  • domain

    qnwallpaper.keansoft[.]cn
    “…ktop wallpaper management tool called QN Wallpaper (hxxps://qnwallpaper[.]keansoft[.]cn/) and adds it to the registry’s autorun entries.”

    Page 1 · Paragraph 9

  • filepath

    C:\Program
    “…dules, along with the malicious components, are unpacked to C:\Program Files\QNWallpaper\5.4.0.1662\ . The following files are sav…”

    Page 1 · Paragraph 11

  • md5

    7ad1e3ef4e6d9d636c9e7e967733850e
    “1.zip 7ad1e3ef4e6d9d636c9e7e967733850e Archive containing the adware files QnWallpeper.exe and Qn…”

    Page 1 · Paragraph 13

  • md5

    96b4c1d0683dce22bd3223e1e40689c1
    “7z.dll 96b4c1d0683dce22bd3223e1e40689c1 7z archiver library”

    Page 1 · Paragraph 14

  • md5

    9b86d3ab6cef15c633933fbbeab39c0a
    “7z.exe 9b86d3ab6cef15c633933fbbeab39c0a Archiver”

    Page 1 · Paragraph 15

  • md5

    edfdc30cbd85879776b8f735ea7de1f1
    “chrome_elf.dll edfdc30cbd85879776b8f735ea7de1f1 Library used to launch Electron-based applications”

    Page 1 · Paragraph 16

  • md5

    07ddbbe2c71c45577a7a4fbcdba0df91
    “libcef.dll 07ddbbe2c71c45577a7a4fbcdba0df91 Malicious library”

    Page 1 · Paragraph 17

  • md5

    48826d5ca845979d2e6ebd66dc1aae90
    “PeLoader 48826d5ca845979d2e6ebd66dc1aae90 File containing the encrypted backdoor”

    Page 1 · Paragraph 18

  • md5

    6c158c0f8e029342192d4f0d72e102b7
    “QnWallpaper.exe 6c158c0f8e029342192d4f0d72e102b7 Adware module”

    Page 1 · Paragraph 19

  • md5

    9a71d6a41cd258b9e89cdc5fc224de73
    “QnwPlayer.exe 9a71d6a41cd258b9e89cdc5fc224de73 Adware module”

    Page 1 · Paragraph 20

  • filepath

    C:\Documents
    “…iation and drops a file with the corresponding extension in C:\Documents and Settings\ \Start Menu\Programs\Startup\.”

    Page 1 · Paragraph 32

  • md5

    8a626d844943da3456b044f38deae3a2
    “8a626d844943da3456b044f38deae3a2”

    Page 1 · Paragraph 112

  • ipv4

    103.45.66[.]18
    “103.45.66.18:441”

    Page 1 · Paragraph 114

  • ipv4

    192.253.225[.]173
    “192.253.225.173:6666”

    Page 1 · Paragraph 117

Claims & evidence

  • Reported Claim

    ValleyRAT masquerading as adware exhibits DLL sideloading (T1574.002)

    “…n this case, however, the attackers use it to carry out DLL sideloading , a technique that allows malicious code to run under th…”

    Page 1 · Paragraph 10

  • Reported Claim

    ValleyRAT masquerading as adware exhibits Signed binary proxy (T1218)

    “…We suspect the attackers intended to invoke it manually via rundll32 or planned to use a separate executable for this purpose, o…”

    Page 1 · Paragraph 29

  • Reported Claim

    ValleyRAT masquerading as adware exhibits C2 over HTTPS (T1071.001)

    “…ence between them is their configuration, specifically, the C2 server addresses. After decryption, libcef.dll checks the m…”

    Page 1 · Paragraph 43

  • Reported Claim

    ValleyRAT masquerading as adware exhibits Process injection (T1055)

    “sh Whether to inject code into svchost that will restart the malicious process (…”

    Page 1 · Paragraph 62

  • Inferred Relationship

    DLL sideloading precedes Signed binary proxy

    “…We suspect the attackers intended to invoke it manually via rundll32 or planned to use a separate executable for this purpose, o…”

    Page 1 · Paragraph 29

  • Inferred Relationship

    Signed binary proxy precedes C2 over HTTPS

    “…ence between them is their configuration, specifically, the C2 server addresses. After decryption, libcef.dll checks the m…”

    Page 1 · Paragraph 43

  • Inferred Relationship

    C2 over HTTPS precedes Process injection

    “sh Whether to inject code into svchost that will restart the malicious process (…”

    Page 1 · Paragraph 62

  • Reported Claim

    meeting.tencent.com used as network infrastructure

    “FS_SETUP_HY_173.exe Opens hxxps://meeting[.]tencent[.]com/download/”

    Page 1 · Paragraph 8

  • Reported Claim

    qnwallpaper.keansoft.cn used as network infrastructure

    “…ktop wallpaper management tool called QN Wallpaper (hxxps://qnwallpaper[.]keansoft[.]cn/) and adds it to the registry’s autorun entries.”

    Page 1 · Paragraph 9

  • Reported Claim

    103.45.66.18 used as network infrastructure

    “103.45.66.18:441”

    Page 1 · Paragraph 114

  • Reported Claim

    192.253.225.173 used as network infrastructure

    “192.253.225.173:6666”

    Page 1 · Paragraph 117

  • Lore Hypothesis

    Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant

    “…n this case, however, the attackers use it to carry out DLL sideloading , a technique that allows malicious code to run under th…”

    Page 1 · Paragraph 10