Analysis

  • max time kernel
    153s
  • max time network
    157s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/12/2022, 10:40

General

  • Target
    file.exe
  • Size 185KB
  • Sample221201-mqldpsad74
  • SHA256 1969b4f5d2e6b114591c04d5eface4778e34056427fa2cbc1458cb1543348d5e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • svartalfheim.top

  • jotunheim.name

Signatures

  • Tofsee

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

  • 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 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

    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.

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wbcqtoat\
      2⤵
        PID:4980
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kwftsoxc.exe" C:\Windows\SysWOW64\wbcqtoat\
        2⤵
          PID:2256
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wbcqtoat binPath= "C:\Windows\SysWOW64\wbcqtoat\kwftsoxc.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:368
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wbcqtoat "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3056
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wbcqtoat
          2⤵
          • Launches sc.exe
          PID:4188
        • 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⤵
          • Modifies Windows Firewall
          PID:212
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4284 -s 1040
          2⤵
          • Program crash
          PID:1028
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4284 -ip 4284
        1⤵
          PID:4032
        • C:\Windows\SysWOW64\wbcqtoat\kwftsoxc.exe
          C:\Windows\SysWOW64\wbcqtoat\kwftsoxc.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:848
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            • Drops file in System32 directory
            • Suspicious use of SetThreadContext
            • Modifies data under HKEY_USERS
            • Suspicious use of WriteProcessMemory
            PID:2348
            • C:\Windows\SysWOW64\svchost.exe
              svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
              3⤵
              • Suspicious use of AdjustPrivilegeToken
              PID:3996
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 848 -s 516
            2⤵
            • Program crash
            PID:1800
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 848 -ip 848
          1⤵
            PID:2200

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                kwftsoxc.exe

                • Path C:\Users\Admin\AppData\Local\Temp\kwftsoxc.exe
                • Size 11.3MB
                • SHA256 f08a7d9f1e4e545c3aae6f4f5ef345275188511fc9a66026ae753f48c75864c9
                • MD5 SHA1 SHA512 SSDEEP

                kwftsoxc.exe

                • Path C:\Windows\SysWOW64\wbcqtoat\kwftsoxc.exe
                • Size 11.3MB
                • SHA256 f08a7d9f1e4e545c3aae6f4f5ef345275188511fc9a66026ae753f48c75864c9
                • MD5 SHA1 SHA512 SSDEEP

                memory/848-147-0x0000000000400000-0x0000000000464000-memory.dmp

                memory/848-146-0x0000000000570000-0x0000000000670000-memory.dmp

                memory/848-153-0x0000000000400000-0x0000000000464000-memory.dmp

                memory/2348-162-0x0000000002320000-0x0000000002330000-memory.dmp

                memory/2348-171-0x00000000023E0000-0x00000000023E7000-memory.dmp

                memory/2348-159-0x0000000002310000-0x0000000002316000-memory.dmp

                memory/2348-156-0x0000000002C00000-0x0000000002E0F000-memory.dmp

                memory/2348-155-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

                memory/2348-168-0x0000000007D00000-0x000000000810B000-memory.dmp

                memory/2348-165-0x00000000023D0000-0x00000000023D5000-memory.dmp

                memory/2348-149-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

                memory/2348-152-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

                memory/3996-175-0x0000000001000000-0x00000000010F1000-memory.dmp

                memory/3996-180-0x0000000001000000-0x00000000010F1000-memory.dmp

                memory/4284-132-0x0000000000719000-0x000000000072A000-memory.dmp

                memory/4284-138-0x0000000000719000-0x000000000072A000-memory.dmp

                memory/4284-154-0x0000000000400000-0x0000000000464000-memory.dmp

                memory/4284-139-0x00000000005B0000-0x00000000005C3000-memory.dmp

                memory/4284-133-0x00000000005B0000-0x00000000005C3000-memory.dmp

                memory/4284-134-0x0000000000400000-0x0000000000464000-memory.dmp