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
    16/11/2022, 04:26

General

  • Target
    file.exe
  • Size 194KB
  • Sample221116-e2h4qahb46
  • SHA256 93b989003e13ab464859ef3ebb61624e87c84a89c8afba2dd06c25f9e8a66896
  • 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:4656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ftcfmyds\
      2⤵
        PID:4288
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ngdlcvpm.exe" C:\Windows\SysWOW64\ftcfmyds\
        2⤵
          PID:1132
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ftcfmyds binPath= "C:\Windows\SysWOW64\ftcfmyds\ngdlcvpm.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3720
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ftcfmyds "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4904
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ftcfmyds
          2⤵
          • Launches sc.exe
          PID:3404
        • 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:4196
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4656 -s 1040
          2⤵
          • Program crash
          PID:424
      • C:\Windows\SysWOW64\ftcfmyds\ngdlcvpm.exe
        C:\Windows\SysWOW64\ftcfmyds\ngdlcvpm.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5048
        • 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:808
          • 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:5040
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5048 -s 552
          2⤵
          • Program crash
          PID:392
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4656 -ip 4656
        1⤵
          PID:4456
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 5048 -ip 5048
          1⤵
            PID:1456

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ngdlcvpm.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ngdlcvpm.exe
                • Size 12.2MB
                • SHA256 95d7b35afeac84185336390af5574eb39fe528f4c511ac5daea1af0ff69f76ba
                • MD5 SHA1 SHA512 SSDEEP

                ngdlcvpm.exe

                • Path C:\Windows\SysWOW64\ftcfmyds\ngdlcvpm.exe
                • Size 12.2MB
                • SHA256 95d7b35afeac84185336390af5574eb39fe528f4c511ac5daea1af0ff69f76ba
                • MD5 SHA1 SHA512 SSDEEP

                memory/808-165-0x0000000007080000-0x000000000748B000-memory.dmp

                memory/808-150-0x00000000004E0000-0x00000000004F5000-memory.dmp

                memory/808-159-0x0000000001970000-0x0000000001980000-memory.dmp

                memory/808-162-0x00000000025D0000-0x00000000025D5000-memory.dmp

                memory/808-168-0x00000000025E0000-0x00000000025E7000-memory.dmp

                memory/808-145-0x00000000004E0000-0x00000000004F5000-memory.dmp

                memory/808-156-0x0000000001960000-0x0000000001966000-memory.dmp

                memory/808-152-0x00000000004E0000-0x00000000004F5000-memory.dmp

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

                memory/4656-132-0x00000000006A9000-0x00000000006B9000-memory.dmp

                memory/4656-151-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/4656-143-0x00000000006A9000-0x00000000006B9000-memory.dmp

                memory/4656-133-0x00000000022F0000-0x0000000002303000-memory.dmp

                memory/4656-134-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/5040-172-0x0000000001000000-0x00000000010F1000-memory.dmp

                memory/5040-177-0x0000000001000000-0x00000000010F1000-memory.dmp

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

                memory/5048-148-0x00000000006D3000-0x00000000006E3000-memory.dmp