Analysis

  • max time kernel
    150s
  • 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
    13/11/2022, 17:35

General

  • Target
    file.exe
  • Size 173KB
  • Sample221113-v51e6sca85
  • SHA256 4711af005ee21e51a6c7d8aad94076bfa69bc9dfdb694fa751e7be93c57aa788
  • 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\limahdme\
      2⤵
        PID:496
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xngebkrq.exe" C:\Windows\SysWOW64\limahdme\
        2⤵
          PID:204
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create limahdme binPath= "C:\Windows\SysWOW64\limahdme\xngebkrq.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4172
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description limahdme "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2668
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start limahdme
          2⤵
          • Launches sc.exe
          PID:4940
        • 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:4216
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2224 -s 800
          2⤵
          • Program crash
          PID:4476
      • C:\Windows\SysWOW64\limahdme\xngebkrq.exe
        C:\Windows\SysWOW64\limahdme\xngebkrq.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4936
        • 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:3668
          • 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:1316
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4936 -s 532
          2⤵
          • Program crash
          PID:2216
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2224 -ip 2224
        1⤵
          PID:4688
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4936 -ip 4936
          1⤵
            PID:460

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                xngebkrq.exe

                • Path C:\Users\Admin\AppData\Local\Temp\xngebkrq.exe
                • Size 13.6MB
                • SHA256 05cf8a61eb7cd78553253e37466431317b78e2b23fa8ad60c24db3445be90b4b
                • MD5 SHA1 SHA512 SSDEEP

                xngebkrq.exe

                • Path C:\Windows\SysWOW64\limahdme\xngebkrq.exe
                • Size 13.6MB
                • SHA256 05cf8a61eb7cd78553253e37466431317b78e2b23fa8ad60c24db3445be90b4b
                • MD5 SHA1 SHA512 SSDEEP

                memory/1316-177-0x0000000000E20000-0x0000000000F11000-memory.dmp

                memory/1316-172-0x0000000000E20000-0x0000000000F11000-memory.dmp

                memory/2224-132-0x0000000000629000-0x000000000063A000-memory.dmp

                memory/2224-134-0x0000000000400000-0x0000000000591000-memory.dmp

                memory/2224-133-0x0000000000710000-0x0000000000723000-memory.dmp

                memory/2224-143-0x0000000000629000-0x000000000063A000-memory.dmp

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

                memory/3668-146-0x0000000000480000-0x0000000000495000-memory.dmp

                memory/3668-156-0x00000000017F0000-0x00000000017F6000-memory.dmp

                memory/3668-168-0x00000000025F0000-0x00000000025F7000-memory.dmp

                memory/3668-165-0x0000000007000000-0x000000000740B000-memory.dmp

                memory/3668-151-0x0000000000480000-0x0000000000495000-memory.dmp

                memory/3668-152-0x0000000000480000-0x0000000000495000-memory.dmp

                memory/3668-153-0x0000000002000000-0x000000000220F000-memory.dmp

                memory/3668-159-0x0000000002310000-0x0000000002320000-memory.dmp

                memory/3668-162-0x00000000025E0000-0x00000000025E5000-memory.dmp

                memory/4936-150-0x0000000000400000-0x0000000000591000-memory.dmp

                memory/4936-149-0x00000000006E3000-0x00000000006F3000-memory.dmp