Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/10/2022, 23:58

General

  • Target
    file.exe
  • Size 267KB
  • Sample221027-3z53gaeah2
  • SHA256 8309fac22e7f17ab7d5d487264695060b048df2dddede3427988e63bfb39076f
  • 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:812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mlubeaph\
      2⤵
        PID:3560
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\suxidxmn.exe" C:\Windows\SysWOW64\mlubeaph\
        2⤵
          PID:4968
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mlubeaph binPath= "C:\Windows\SysWOW64\mlubeaph\suxidxmn.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4772
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mlubeaph "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2660
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mlubeaph
          2⤵
          • Launches sc.exe
          PID:3672
        • 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:520
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 812 -s 1188
          2⤵
          • Program crash
          PID:2312
      • C:\Windows\SysWOW64\mlubeaph\suxidxmn.exe
        C:\Windows\SysWOW64\mlubeaph\suxidxmn.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1580
        • 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:4720
          • 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:3816
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1580 -s 516
          2⤵
          • Program crash
          PID:5116
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 812 -ip 812
        1⤵
          PID:1844
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 1580 -ip 1580
          1⤵
            PID:3436

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                suxidxmn.exe

                • Path C:\Users\Admin\AppData\Local\Temp\suxidxmn.exe
                • Size 13.3MB
                • SHA256 34b8a49537bed18150627e8ce4d6821d6ea79a09f95d9a7d7d4c2f7459949ffb
                • MD5 SHA1 SHA512 SSDEEP

                suxidxmn.exe

                • Path C:\Windows\SysWOW64\mlubeaph\suxidxmn.exe
                • Size 13.3MB
                • SHA256 34b8a49537bed18150627e8ce4d6821d6ea79a09f95d9a7d7d4c2f7459949ffb
                • MD5 SHA1 SHA512 SSDEEP

                memory/812-144-0x0000000000400000-0x0000000002C30000-memory.dmp

                memory/812-133-0x0000000002CB0000-0x0000000002CC3000-memory.dmp

                memory/812-135-0x0000000000400000-0x0000000002C30000-memory.dmp

                memory/812-132-0x0000000002CE7000-0x0000000002CFC000-memory.dmp

                memory/812-143-0x0000000002CE7000-0x0000000002CFC000-memory.dmp

                memory/1580-149-0x0000000002C82000-0x0000000002C97000-memory.dmp

                memory/1580-151-0x0000000000400000-0x0000000002C30000-memory.dmp

                memory/3816-173-0x0000000000460000-0x0000000000551000-memory.dmp

                memory/3816-172-0x0000000000461000-0x0000000000532000-memory.dmp

                memory/3816-177-0x0000000000460000-0x0000000000551000-memory.dmp

                memory/4720-146-0x00000000007C0000-0x00000000007D5000-memory.dmp

                memory/4720-152-0x00000000007C0000-0x00000000007D5000-memory.dmp

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

                memory/4720-156-0x0000000001D30000-0x0000000001D36000-memory.dmp

                memory/4720-159-0x0000000001D40000-0x0000000001D50000-memory.dmp

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

                memory/4720-165-0x0000000007700000-0x0000000007B0B000-memory.dmp

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

                memory/4720-150-0x00000000007C0000-0x00000000007D5000-memory.dmp